aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
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/doc
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/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/observer.texi7
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 7a5f0c4..7d913d6 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ * observer.texi: Add parameter 'print_frame' to normal_stop
+ observer.
+
2009-02-07 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Basic Python): Fix change from 2009-02-04.
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index 636658a..c8e8b96 100644
--- a/gdb/doc/observer.texi
+++ b/gdb/doc/observer.texi
@@ -88,8 +88,11 @@ Send a notification to all @var{event} observers.
The following observable events are defined:
-@deftypefun void normal_stop (struct bpstats *@var{bs})
-The inferior has stopped for real.
+@deftypefun void normal_stop (struct bpstats *@var{bs}, int @var{print_frame})
+The inferior has stopped for real. The @var{bs} argument describes
+the breakpoints were are stopped at, if any. Second argument
+@var{print_frame} non-zero means display the location where the
+inferior has stopped.
@end deftypefun
@deftypefun void target_changed (struct target_ops *@var{target})