diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-01 19:02:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-01 19:02:11 +0000 |
commit | 55699d593f51fb72de21a8860f53b5b5a11207bd (patch) | |
tree | e7c0a916c9ccb68e556d8d2dba443a5ba1dbbbf7 /gdb/frame.h | |
parent | fcf70625fc153c636f89293d48208d39033c2c41 (diff) | |
download | gdb-55699d593f51fb72de21a8860f53b5b5a11207bd.zip gdb-55699d593f51fb72de21a8860f53b5b5a11207bd.tar.gz gdb-55699d593f51fb72de21a8860f53b5b5a11207bd.tar.bz2 |
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_set_frame_type): Delete declaration.
* frame.c (deprecated_set_frame_type): Delete function, update
comments.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index eb8243d..617d3a1 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -343,9 +343,9 @@ extern int frame_relative_level (struct frame_info *fi); enum frame_type { /* The frame's type hasn't yet been defined. This is a catch-all - for legacy code that uses really strange technicques, such as - deprecated_set_frame_type, to set the frame's type. New code - should not use this value. */ + for legacy_get_prev_frame that uses really strange techniques to + determine the frame's type. New code should not use this + value. */ UNKNOWN_FRAME, /* A true stack frame, created by the target program during normal execution. */ @@ -359,18 +359,6 @@ enum frame_type }; extern enum frame_type get_frame_type (struct frame_info *); -/* FIXME: cagney/2002-11-10: Some targets want to directly mark a - frame as being of a specific type. This shouldn't be necessary. - DEPRECATED_PC_IN_CALL_DUMMY() indicates a DUMMY_FRAME. I suspect - the real problem here is that get_prev_frame() only sets - initialized after DEPRECATED_INIT_EXTRA_FRAME_INFO as been called. - Consequently, some targets found that the frame's type was wrong - and tried to fix it. The correct fix is to modify get_prev_frame() - so that it initializes the frame's type before calling any other - functions. */ -extern void deprecated_set_frame_type (struct frame_info *, - enum frame_type type); - /* Unwind the stack frame so that the value of REGNUM, in the previous (up, older) frame is returned. If VALUEP is NULL, don't fetch/compute the value. Instead just return the location of the |