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/ada-tasks.c | |
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/ada-tasks.c')
-rw-r--r-- | gdb/ada-tasks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index 5176d75..3639472 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -951,7 +951,7 @@ ada_task_list_changed (void) /* The 'normal_stop' observer notification callback. */ static void -ada_normal_stop_observer (struct bpstats *unused_args) +ada_normal_stop_observer (struct bpstats *unused_args, int unused_args2) { /* The inferior has been resumed, and just stopped. This means that our task_list needs to be recomputed before it can be used again. */ |