aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2009-02-14 15:24:44 +0000
committerVladimir Prus <vladimir@codesourcery.com>2009-02-14 15:24:44 +0000
commit1d33d6baa4963c315d33807eea8ab33742a90369 (patch)
treed4952c79cf2d6ae732371322331643bc82ba8512 /gdb/infcmd.c
parentfaafb0471077b19764561b55cec06713cefd0c07 (diff)
downloadgdb-1d33d6baa4963c315d33807eea8ab33742a90369.zip
gdb-1d33d6baa4963c315d33807eea8ab33742a90369.tar.gz
gdb-1d33d6baa4963c315d33807eea8ab33742a90369.tar.bz2
Include frame information for *stopped due to CLI commands.
* ada-tasks.c (ada_normal_stop_observer): Adjust prototype. * infcmd.c (finish_command_continuation): Pass '1' for 'print_frame' parameter to the observer. * infrun.c (normal_stop): Don't print mi-specific information here. Pass 'stop_print_frame' to the 'print_frame' parameter of the observer. * mi/mi-interp.c (mi_on_normal_stop): Adjust prototype. If we need to print frame, and current uiout is not the MI one, print frame again.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index a0189c8..ba17109 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1374,7 +1374,7 @@ finish_command_continuation (void *arg)
next stop will be in the same thread that we started doing a
finish on. This suppressing (or some other replacement means)
should be a thread property. */
- observer_notify_normal_stop (bs);
+ observer_notify_normal_stop (bs, 1 /* print frame */);
suppress_stop_observer = 0;
delete_breakpoint (a->breakpoint);
}