2010-04-19 Stan Shebs <stan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com> * tracepoint.c (tfind_1): Add missing newline, report exit from tfind mode as such. * target.c (update_current_target): Make default to_trace_find return -1.
This commit is contained in:
parent
0c4b2e6393
commit
4136fdd244
3 changed files with 13 additions and 3 deletions
|
@ -1949,8 +1949,10 @@ tfind_1 (enum trace_find_type type, int num,
|
|||
{
|
||||
if (ui_out_is_mi_like_p (uiout))
|
||||
ui_out_field_string (uiout, "found", "0");
|
||||
else
|
||||
printf_unfiltered (_("No trace frame found"));
|
||||
else if (type == tfind_number && num == -1)
|
||||
printf_unfiltered (_("No longer looking at any trace frame\n"));
|
||||
else /* this case may never occur, check */
|
||||
printf_unfiltered (_("No trace frame found\n"));
|
||||
}
|
||||
|
||||
/* If we're in nonstop mode and getting out of looking at trace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue