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 | 893691a276602c6f990c851393362bc596cda7d3 (patch) | |
tree | 929b46e60eca0ae21ec5fd86a90c8ea4a472bfc3 /gdb/value.h | |
parent | daa3ca32274622d34739a72f3c4c17a63d5868b9 (diff) | |
download | gdb-893691a276602c6f990c851393362bc596cda7d3.tar.gz |
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 95f5a2c7991..e87582e579c 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); |