aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcore.h
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-12-19 23:54:27 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-12-19 23:54:27 +0000
commit16a0f3e75ec06dd9d4ff578c2ae5273c364f165c (patch)
tree76bf6c3dc271a1e5a6b541049b927b39124ac562 /gdb/gdbcore.h
parent47a70901841dedf5a3067a6798e29da42fb14fbe (diff)
downloadfsf-binutils-gdb-16a0f3e75ec06dd9d4ff578c2ae5273c364f165c.zip
fsf-binutils-gdb-16a0f3e75ec06dd9d4ff578c2ae5273c364f165c.tar.gz
fsf-binutils-gdb-16a0f3e75ec06dd9d4ff578c2ae5273c364f165c.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h
index 03ac799..8859455 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. */