PR gdb/2424
* infrun.c (normal_stop) Move breakpoint_auto_delete further down to allow printing to 'see' real reason of stop. This fixes PR 2424. * breakpoint.c (bpdisp_texst): New function. The function takes over the role of bpstats static array in print_one_breakpoint_location. (print_it_typical): Print "Temporary breakpoint" instead of just "Breakpoint" when breakpoint is, well, temporary. For mi-like protocols, print disp field. (print_one_breakpoint_location): Removed bpdisps static definition. Call new bpstat_text function to get value for 'disp' field. (mention): Print "Temporary breakpoint" instead of just "Breakpoint".
This commit is contained in:
parent
a5f245b565
commit
2cec12e55b
3 changed files with 43 additions and 13 deletions
|
@ -3132,11 +3132,6 @@ Further execution is probably impossible.\n"));
|
|||
}
|
||||
}
|
||||
|
||||
/* Delete the breakpoint we stopped at, if it wants to be deleted.
|
||||
Delete any breakpoint that is to be deleted at the next stop. */
|
||||
|
||||
breakpoint_auto_delete (stop_bpstat);
|
||||
|
||||
/* If an auto-display called a function and that got a signal,
|
||||
delete that auto-display to avoid an infinite recursion. */
|
||||
|
||||
|
@ -3275,6 +3270,9 @@ Further execution is probably impossible.\n"));
|
|||
done:
|
||||
annotate_stopped ();
|
||||
observer_notify_normal_stop (stop_bpstat);
|
||||
/* Delete the breakpoint we stopped at, if it wants to be deleted.
|
||||
Delete any breakpoint that is to be deleted at the next stop. */
|
||||
breakpoint_auto_delete (stop_bpstat);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue