diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2009-02-14 15:24:44 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2009-02-14 15:24:44 +0000 |
commit | 1d33d6baa4963c315d33807eea8ab33742a90369 (patch) | |
tree | d4952c79cf2d6ae732371322331643bc82ba8512 /gdb/testsuite/gdb.mi/mi-cli.exp | |
parent | faafb0471077b19764561b55cec06713cefd0c07 (diff) | |
download | gdb-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/testsuite/gdb.mi/mi-cli.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-cli.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-cli.exp b/gdb/testsuite/gdb.mi/mi-cli.exp index b77a4d4..b469acb 100644 --- a/gdb/testsuite/gdb.mi/mi-cli.exp +++ b/gdb/testsuite/gdb.mi/mi-cli.exp @@ -140,6 +140,9 @@ mi_gdb_test "500-stack-select-frame 0" \ {500\^done} \ "-stack-select-frame 0" +mi_execute_to "interpreter-exec console step" "" "callee4" "" ".*basics.c" "29" \ + "" "check *stopped from CLI command" + # NOTE: cagney/2003-02-03: Not yet. # mi_gdb_test "-break-insert -t basics.c:$line_main_hello" \ # {.*=breakpoint-create,number="3".*\^done} \ |