diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-12-19 23:54:27 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-12-19 23:54:27 +0000 |
commit | 16a0f3e75ec06dd9d4ff578c2ae5273c364f165c (patch) | |
tree | 76bf6c3dc271a1e5a6b541049b927b39124ac562 /gdb/gdbcore.h | |
parent | 47a70901841dedf5a3067a6798e29da42fb14fbe (diff) | |
download | binutils-gdb-16a0f3e75ec06dd9d4ff578c2ae5273c364f165c.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. */ |