gdb/
authorPedro Alves <palves@redhat.com>
Tue, 15 Mar 2011 14:05:38 +0000 (14:05 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 15 Mar 2011 14:05:38 +0000 (14:05 +0000)
commitc917473769c83e9779a9e65568a2a9b2acf2fb42
tree852e10696c603412020db05bcaba9d7afdc56e00
parent028f6515424e832ee10a1e4cb1f96ea241e2acae
gdb/
* printcmd.c (ALL_DISPLAYS_SAFE): New.
(map_display_numbers): New.
(do_delete_display): New.
(undisplay_command): Use map_display_numbers.
(do_enable_disable_display): New.
(enable_disable_display_command): New function.
(enable_display): Delete.
(enable_display_command): New.
(disable_display_command): Reimplement.
(_initialize_printcmd): Adjust "enable display" command to use
`enable_display_command' as callback.

gdb/doc/
* gdb.texinfo (Auto Display) <undisplay, enable display, disable
display>: Explain that the commands accept number ranges.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/printcmd.c