OSDN Git Service

PR gdb/2424
authoraristovski <aristovski>
Tue, 15 Apr 2008 14:32:11 +0000 (14:32 +0000)
committeraristovski <aristovski>
Tue, 15 Apr 2008 14:32:11 +0000 (14:32 +0000)
commit735c79f253e0787cda0bc25af18ced7d7d9a84d4
treeacad586a8c83f63b8b9525e9552f2b7c52e9c0ab
parentd81709cb9c099319d10ae0fd5c2bc59447304c23
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".
gdb/ChangeLog
gdb/breakpoint.c
gdb/infrun.c