aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-02 23:20:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-02 23:20:50 +0000
commitddc135a4120b0abe7833c16c234e1f92ddedd9da (patch)
tree86214931a5f40195e2c8bcf0e3f10bfa1d7ed0b6 /gdb/dummy-frame.h
parentd15bfd3a43117017e919e0b1fc2bb09a7dd535fd (diff)
downloadgdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.zip
gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.tar.gz
gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.tar.bz2
2004-04-02 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_init_extra_frame_info): Replace DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify. * dummy-frame.h: Delete out-of-date comments. * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete. * gdbarch.h, gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/dummy-frame.h')
-rw-r--r--gdb/dummy-frame.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/dummy-frame.h b/gdb/dummy-frame.h
index 6d565d1..7f4c38f 100644
--- a/gdb/dummy-frame.h
+++ b/gdb/dummy-frame.h
@@ -27,24 +27,6 @@ struct regcache;
struct frame_unwind;
struct frame_id;
-/* GENERIC DUMMY FRAMES
-
- The following code serves to maintain the dummy stack frames for
- inferior function calls (ie. when gdb calls into the inferior via
- call_function_by_hand). This code saves the machine state before
- the call in host memory, so we must maintain an independent stack
- and keep it consistant etc. I am attempting to make this code
- generic enough to be used by many targets.
-
- The cheapest and most generic way to do CALL_DUMMY on a new target
- is probably to define CALL_DUMMY to be empty,
- DEPRECATED_CALL_DUMMY_LENGTH to 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 DEPRECATED_FRAME_CHAIN_VALID as
- generic_{file,func}_frame_chain_valid and do not set
- DEPRECATED_FIX_CALL_DUMMY. */
-
/* If the PC falls in a dummy frame, return a dummy frame
unwinder. */