binutils-gdb/gdb/doc
Andrew Burgess 055303e28f gdb: Use add_setshow_zuinteger_unlimited_cmd in remote.c
Switch to use add_setshow_zuinteger_unlimited_cmd for some of the
control variables in remote.c.  The variables
hardware-watchpoint-limit, hardware-breakpoint-limit, and
hardware-watchpoint-length-limit are all changed.  For example, a user
will now see this:

    (gdb) show remote hardware-breakpoint-limit
    The maximum number of target hardware breakpoints is unlimited.

Instead of this:

    (gdb) show remote hardware-breakpoint-limit
    The maximum number of target hardware breakpoints is -1.

And can do this:

    (gdb) set remote hardware-breakpoint-limit unlimited

However, previously any negative value implied "unlimited", now only
-1, or the text "unlimited" can be used for unlimited.  Any other
negative value will give an error about invalid input.  This is a
small change in the user interface, but, hopefully, this will not
cause too many problems.

I've also added show functions for these three variables to allow for
internationalisation.

gdb/ChangeLog:

	* remote.c (show_hardware_watchpoint_limit): New function.
	(show_hardware_watchpoint_length_limit): New function.
	(show_hardware_breakpoint_limit): New function.
	(_initialize_remote): Use add_setshow_zuinteger_unlimited_cmd
	where appropriate, update help text.

gdb/doc/ChangeLog:

	* gdb.texinfo (Remote Configuration): Update descriptions for
	set/show of hardware-watchpoint-limit, hardware-breakpoint-limit,
	and hardware-watchpoint-length-limit variables.
2018-07-09 18:07:01 +01:00
..
.gitignore
ChangeLog gdb: Use add_setshow_zuinteger_unlimited_cmd in remote.c 2018-07-09 18:07:01 +01:00
Doxyfile-base.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
Doxyfile-gdb-api.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
Doxyfile-gdb-xref.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
Doxyfile-gdbserver.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
Makefile.in Install and generate docs for gdb-add-index 2018-01-12 15:29:06 -05:00
a4rc.sed
agentexpr.texi Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
all-cfg.texi Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
annotate.texinfo Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
doxy-index.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
fdl.texi
filter-for-doxygen
filter-params.pl
gdb.texinfo gdb: Use add_setshow_zuinteger_unlimited_cmd in remote.c 2018-07-09 18:07:01 +01:00
gpl.texi
guile.texi Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
lpsrc.sed
psrc.sed
python.texi Fix "set" handling of Python parameters 2018-05-31 15:02:01 -06:00
refcard.tex Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
stabs.texinfo Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
stack_frame.eps
stack_frame.pdf
stack_frame.png
stack_frame.svg
stack_frame.txt