summaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-07-11 05:42:25 +0000
committerAndrew Cagney <cagney@redhat.com>2000-07-11 05:42:25 +0000
commit893691a276602c6f990c851393362bc596cda7d3 (patch)
tree929b46e60eca0ae21ec5fd86a90c8ea4a472bfc3 /gdb/value.h
parentdaa3ca32274622d34739a72f3c4c17a63d5868b9 (diff)
downloadgdb-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.h10
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);