]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/breakpoint.c
PR gdb/2424
authorAleksandar Ristovski <aristovski@qnx.com>
Tue, 15 Apr 2008 14:32:12 +0000 (14:32 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Tue, 15 Apr 2008 14:32:12 +0000 (14:32 +0000)
commit2cec12e55bda9d647ec2de43e45638d1bd4e102e
tree1fdf29a51cb67d0e45c713a2ea9c134c5dfe1204
parenta5f245b565ed163ca77b73cdbd923f50800bb83c
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