diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-07-11 05:42:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-07-11 05:42:25 +0000 |
commit | 173155e86672ba4294d2687fe1758137b80b6d61 (patch) | |
tree | 2afe9926a7ddf82940e64c4537a08e784bd28fb7 /gdb/value.h | |
parent | b71e277823b0b8e12b2f53f6fe77a9b401357407 (diff) | |
download | ppe42-binutils-173155e86672ba4294d2687fe1758137b80b6d61.tar.gz ppe42-binutils-173155e86672ba4294d2687fe1758137b80b6d61.zip |
Add read_signed_register{,_pid}(). Change return type of
read_register{,_pid}() to ULONGEST.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h index 95f5a2c799..e87582e579 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -461,9 +461,15 @@ extern void read_register_gen (int regno, char *myaddr); extern void write_register_gen (int regno, char *myaddr); -extern CORE_ADDR read_register (int regno); +/* Rename to read_unsigned_register()? */ +extern ULONGEST read_register (int regno); -extern CORE_ADDR read_register_pid (int regno, int pid); +extern LONGEST read_signed_register (int regno); + +/* Rename to read_unsigned_register_pid()? */ +extern ULONGEST read_register_pid (int regno, int pid); + +extern LONGEST read_signed_register_pid (int regno, int pid); extern void write_register (int regno, LONGEST val); |