diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-06-07 19:19:32 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-06-07 19:19:32 +0000 |
commit | 86fc4239597ab2f5f06dde7abbd9b703f40f68e0 (patch) | |
tree | ca2dfabc660e8368b912c33df57b7d9653648916 /gdb/blockframe.c | |
parent | 7bda8502330f896cfee8270608707492d9621feb (diff) | |
download | gdb-86fc4239597ab2f5f06dde7abbd9b703f40f68e0.tar.gz |
import gdb-1999-06-07 snapshot
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 0ead9483fa9..8f93d6ed531 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -1107,7 +1107,8 @@ pc_in_call_dummy_at_entry_point (pc, sp, frame_address) * zero, and CALL_DUMMY_LOCATION to AT_ENTRY. Then you must remember * to define PUSH_RETURN_ADDRESS, because no call instruction will be * being executed by the target. Also FRAME_CHAIN_VALID as - * generic_frame_chain_valid. */ + * generic_frame_chain_valid and FIX_CALL_DUMMY as + * generic_fix_call_dummy. */ /* Dummy frame. This saves the processor state just prior to setting up the inferior function call. Older targets save the registers @@ -1272,6 +1273,23 @@ generic_frame_chain_valid (fp, fi) && !inside_entry_file (FRAME_SAVED_PC(fi))); } +/* Function: fix_call_dummy + Stub function. Generic dumy frames typically do not need to fix + the frame being created */ + +void +generic_fix_call_dummy (dummy, pc, fun, nargs, args, type, gcc_p) + char *dummy; + CORE_ADDR pc; + CORE_ADDR fun; + int nargs; + struct value **args; + struct type *type; + int gcc_p; +{ + return; +} + /* Function: get_saved_register Find register number REGNUM relative to FRAME and put its (raw, target format) contents in *RAW_BUFFER. |