diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-03-30 16:37:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-03-30 16:37:13 +0000 |
commit | 7abfe01489d2422ae0ae519e0e9aa1ec0cc3c288 (patch) | |
tree | 8041c183051b014ad47063adfb9dd827142afa7f /gdb/stack.c | |
parent | 0ec9a092fd18d6b1c38ae330194bf90534a9b681 (diff) | |
download | gdb-7abfe01489d2422ae0ae519e0e9aa1ec0cc3c288.zip gdb-7abfe01489d2422ae0ae519e0e9aa1ec0cc3c288.tar.gz gdb-7abfe01489d2422ae0ae519e0e9aa1ec0cc3c288.tar.bz2 |
* frame.h (set_current_sal_from_frame): New prototype.
* stack.c (set_current_sal_from_frame): Make global.
* infrun.c (normal_stop): Call set_current_sal_from_frame.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 435bb0c..d0bbc87 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -61,8 +61,6 @@ static void print_frame (struct frame_info *frame, int print_level, enum print_what print_what, int print_args, struct symtab_and_line sal); -static void set_current_sal_from_frame (struct frame_info *, int); - /* Zero means do things normally; we are interacting directly with the user. One means print the full filename and linenumber when a frame is printed, and do so in a format emacs18/emacs19.22 can @@ -373,7 +371,7 @@ print_args_stub (void *args) FRAME, if possible. When CENTER is true, adjust so the relevant line is in the center of the next 'list'. */ -static void +void set_current_sal_from_frame (struct frame_info *frame, int center) { struct symtab_and_line sal; |