2009-01-07 Pierre Muller <muller@ics.u-strasbg.fr>
authorTom Tromey <tromey@redhat.com>
Thu, 5 Feb 2009 00:13:43 +0000 (00:13 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 5 Feb 2009 00:13:43 +0000 (00:13 +0000)
commitfa8a61dc873c4e7ede0738fc44d4d4a5bf0a77df
tree01574d2b45332dfaa07b4e91f87e46d5339b67ec
parentd50297662acb52582480a91d5e61b2417fed2ada
2009-01-07  Pierre Muller  <muller@ics.u-strasbg.fr>
    Tom Tromey  <tromey@redhat.com>

PR breakpoints/8079:
* breakpoint.c (print_one_breakpoint): Use exp_string field
to display expression of watchpoints.
(mention): Likewise.
(watch_command_1): Remove trailing whitespace from expression.
* printcmd.c (struct display) <exp_string>: New field.
(display_command): Set exp_string.
(free_display): Free exp_string.
(clear_displays): Use free_display.
(do_one_display): Print exp_string.
(display_info): Likewise.
gdb/ChangeLog
gdb/breakpoint.c
gdb/printcmd.c