mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
2002-10-11 Klee Dienes <kdienes@apple.com>
* findvar.c (read_memory_typed_address): New function. * gdbcore.h (read_memory_typed_address): Add prototype. * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address to read a value destined for a CORE_ADDR, not read_memory_integer. * f-valprint.c (f77_get_dynamic_upperbound): Ditto. (f77_get_dynamic_lowerbound): Ditto.
This commit is contained in:
@ -64,8 +64,15 @@ extern ULONGEST read_memory_unsigned_integer (CORE_ADDR memaddr, int len);
|
||||
|
||||
/* Read a null-terminated string from the debuggee's memory, given address,
|
||||
* a buffer into which to place the string, and the maximum available space */
|
||||
|
||||
extern void read_memory_string (CORE_ADDR, char *, int);
|
||||
|
||||
/* Read the pointer of type TYPE at ADDR, and return the address it
|
||||
represents. */
|
||||
|
||||
CORE_ADDR
|
||||
read_memory_typed_address (CORE_ADDR addr, struct type *type);
|
||||
|
||||
/* This takes a char *, not void *. This is probably right, because
|
||||
passing in an int * or whatever is wrong with respect to
|
||||
byteswapping, alignment, different sizes for host vs. target types,
|
||||
|
Reference in New Issue
Block a user