diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-13 16:26:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-13 16:26:02 +0000 |
commit | 18ea5ba4f05d572ec1513a37c22544c6037b21fa (patch) | |
tree | c1422f040ea448054f341e59df03abd1bed19526 /gdb/frame.h | |
parent | 2c517d0eb4a66f872b052972e5a76990efb8cf3f (diff) | |
download | gdb-18ea5ba4f05d572ec1513a37c22544c6037b21fa.zip gdb-18ea5ba4f05d572ec1513a37c22544c6037b21fa.tar.gz gdb-18ea5ba4f05d572ec1513a37c22544c6037b21fa.tar.bz2 |
2002-12-13 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (run_stack_dummy): Create a frame ID directly and then
pass that to set_momentary_breakpoint. Move comments to where they
belong.
* frame.h (set_current_frame): Delete declaration.
* frame.c (set_current_frame): Delete function.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index d42780d..5a45502 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -625,23 +625,9 @@ extern void return_command (char *, int); extern struct frame_info *deprecated_selected_frame; -/* NOTE: cagney/2002-11-28: +/* Create a frame using the specified BASE and PC. */ - These functions are used to explicitly create and set the inner - most (current) frame vis: - - set_current_frame (create_new_frame (read_fp(), stop_pc))); - - Such code should be removed. Instead that task can be left to - get_current_frame() which will update things on-demand. - - The only vague exception is found in "infcmd.c" (and a few - architectures specific files) as part of the code implementing the - command ``(gdb) frame FRAME PC''. There, the frame should be - created/selected in a single shot. */ - -extern void set_current_frame (struct frame_info *); -extern struct frame_info *create_new_frame (CORE_ADDR, CORE_ADDR); +extern struct frame_info *create_new_frame (CORE_ADDR base, CORE_ADDR pc); /* Create/access the frame's `extra info'. The extra info is used by |