diff options
author | Michael Snyder <msnyder@vmware.com> | 1998-11-24 23:50:20 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 1998-11-24 23:50:20 +0000 |
commit | 4183a62a97c424ac777cdc2b72f7dc7c8e0f3e7a (patch) | |
tree | 1c10c4fee52378bf7664092e2782a8f1a9212fca /gdb/config/mn10300/tm-mn10300.h | |
parent | 15af627cc04ef46b1ba61c77ec2cbc1c6dfe09ee (diff) | |
download | gdb-4183a62a97c424ac777cdc2b72f7dc7c8e0f3e7a.zip gdb-4183a62a97c424ac777cdc2b72f7dc7c8e0f3e7a.tar.gz gdb-4183a62a97c424ac777cdc2b72f7dc7c8e0f3e7a.tar.bz2 |
Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER):
new target macro.
* mn10300-tdep.c (mn10300_virtual_frame_pointer): new function.
* tracepoint.c (encode_actions): Use the new target macro to
determine the virtual frame pointer, for collecting locals/args.
(add_local_symbols, collect_symbol): add a register/offset pair of
arguments so that the virtual frame pointer can be passed in.
Diffstat (limited to 'gdb/config/mn10300/tm-mn10300.h')
-rw-r--r-- | gdb/config/mn10300/tm-mn10300.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index 4898df4..a2bc298 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -166,6 +166,11 @@ extern use_struct_convention_fn mn10300_use_struct_convention; one that takes account of generic CALL_DUMMY frames */ #define GET_SAVED_REGISTER +/* Cons up virtual frame pointer for trace */ +extern void mn10300_virtual_frame_pointer PARAMS ((CORE_ADDR, long *, long *)); +#define TARGET_VIRTUAL_FRAME_POINTER(PC, REGP, OFFP) \ + mn10300_virtual_frame_pointer ((PC), (REGP), (OFFP)) + /* Define this for Wingdb */ #define TARGET_MN10300 |