diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-12-19 23:54:26 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-12-19 23:54:26 +0000 |
commit | eb17f91b974436d6a25f4151777db8f3a006e7e4 (patch) | |
tree | 2caff41a3e66aee8c25a291229f751c94786b0cd /gdb/gdbcore.h | |
parent | a3be872cc14c6934c8eb88d99b42281cb51d40c4 (diff) | |
download | gdb-eb17f91b974436d6a25f4151777db8f3a006e7e4.tar.gz |
2001-12-19 Elena Zannoni <ezannoni@redhat.com>
* corefile.c (do_captured_read_memory_integer,
safe_read_memory_integer): New functions.
* gdbcore.h (safe_read_memory_integer): Export.
* arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
to read the frame value, to capture calls to error().
Diffstat (limited to 'gdb/gdbcore.h')
-rw-r--r-- | gdb/gdbcore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h index 03ac7991dcb..88594554080 100644 --- a/gdb/gdbcore.h +++ b/gdb/gdbcore.h @@ -55,6 +55,7 @@ extern void read_memory (CORE_ADDR memaddr, char *myaddr, int len); bytes. */ extern LONGEST read_memory_integer (CORE_ADDR memaddr, int len); +extern int safe_read_memory_integer (CORE_ADDR memaddr, int len, LONGEST *return_value); /* Read an unsigned integer from debugged memory, given address and number of bytes. */ |