old-cross-binutils/gdb/common
Gary Benson c5e92cca56 Introduce show_debug_regs
This commit adds a new global flag show_debug_regs to common-debug.h
to replace the flag debug_hw_points used by gdbserver and by the
Linux x86 and AArch64 ports, and to replace the flag maint_show_dr
used by the Linux MIPS port.

Note that some debug printing in the AArch64 port was enabled only if
debug_hw_points > 1 but no way to set debug_hw_points to values other
than 0 and 1 was provided; that code was effectively dead.  This
commit enables all debug printing if show_debug_regs is nonzero, so
the AArch64 output will be more verbose than previously.

gdb/ChangeLog:

	* common/common-debug.h (show_debug_regs): Declare.
	* common/common-debug.c (show_debug_regs): Define.
	* aarch64-linux-nat.c (debug_hw_points): Don't define.  Replace
	all uses with show_debug_regs.  Replace all uses that considered
	debug_hw_points as a multi-value integer with straight boolean
	uses.
	* x86-nat.c (debug_hw_points): Don't define.  Replace all uses
	with show_debug_regs.
	* nat/x86-dregs.c (debug_hw_points): Don't declare.  Replace
	all uses with show_debug_regs.
	* mips-linux-nat.c (maint_show_dr): Don't define.  Replace all
	uses with show_debug_regs.

gdb/gdbserver/ChangeLog:

	* server.h (debug_hw_points): Don't declare.
	* server.c (debug_hw_points): Don't define.  Replace all uses
	with show_debug_regs.
	* linux-aarch64-low.c (debug_hw_points): Don't define.  Replace
	all uses with show_debug_regs.
2014-09-11 11:19:56 +01:00
..
agent.c Introduce common-debug.h 2014-08-19 10:07:20 +01:00
agent.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
ax.def Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
break-common.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
btrace-common.h Do not include defs.h or server.h in any header file 2014-07-31 13:25:01 +01:00
buffer.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
buffer.h Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
cleanups.c Move cleanups.[ch] to common 2014-08-29 10:53:35 +01:00
cleanups.h Move cleanups.[ch] to common 2014-08-29 10:53:35 +01:00
common-debug.c Introduce show_debug_regs 2014-09-11 11:19:56 +01:00
common-debug.h Introduce show_debug_regs 2014-09-11 11:19:56 +01:00
common-defs.h Introduce common-debug.h 2014-08-19 10:07:20 +01:00
common-exceptions.c Introduce common/common-exceptions.[ch] 2014-08-29 10:53:37 +01:00
common-exceptions.h Introduce common/common-exceptions.[ch] 2014-08-29 10:53:37 +01:00
common-types.h Introduce common-types.h 2014-08-19 10:07:19 +01:00
common-utils.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
common-utils.h Introduce common/errors.h 2014-08-19 10:07:18 +01:00
common.m4 Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
create-version.sh Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
errors.c Move internal_{,v}warning to common/errors.[ch] 2014-08-29 10:53:35 +01:00
errors.h Move internal_{,v}warning to common/errors.[ch] 2014-08-29 10:53:35 +01:00
filestuff.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
filestuff.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
format.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
format.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_assert.h Move common-utils.h to common-defs.h 2014-08-07 09:06:44 +01:00
gdb_locale.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_setjmp.h Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
gdb_signals.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_vecs.c Add delim_string_to_char_ptr_vec. 2014-01-17 10:23:29 -08:00
gdb_vecs.h Add delim_string_to_char_ptr_vec. 2014-01-17 10:23:29 -08:00
gdb_wait.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
host-defs.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
print-utils.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
print-utils.h share "cell" code 2014-02-12 09:59:13 -07:00
ptid.c Make all source files include defs.h or server.h first 2014-07-30 09:22:48 +01:00
ptid.h Move ptid_match to common/ptid.c. 2014-02-27 14:30:07 +00:00
queue.h Include gdb_assert.h in common-defs.h 2014-08-07 09:06:45 +01:00
rsp-low.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
rsp-low.h update rsp-low comments 2014-02-12 09:59:20 -07:00
signals.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
vec.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
vec.h Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
version.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
x86-xstate.h Rename 32- and 64-bit Intel files from "i386" to "x86" 2014-09-02 16:54:08 +01:00
xml-utils.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
xml-utils.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00