aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-03-30 16:37:13 +0000
committerDaniel Jacobowitz <drow@false.org>2006-03-30 16:37:13 +0000
commit7abfe01489d2422ae0ae519e0e9aa1ec0cc3c288 (patch)
tree8041c183051b014ad47063adfb9dd827142afa7f /gdb/stack.c
parent0ec9a092fd18d6b1c38ae330194bf90534a9b681 (diff)
downloadgdb-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.c4
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;