This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/5 v7] Common code cleanups (first four, and one new)
- From: Gary Benson <gbenson at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Doug Evans <dje at google dot com>, Pedro Alves <palves at redhat dot com>
- Date: Wed, 13 Aug 2014 10:56:14 +0100
- Subject: [PATCH 0/5 v7] Common code cleanups (first four, and one new)
- Authentication-results: sourceware.org; auth=none
Hi all,
This series contains updated versions of the first four common
cleanups patches I last posted Monday, and a new patch to deal
with issues regarding the debug_hw_points flag.
Patches 1-3 are unchanged from their previous versions.
The debug_hw_points code was moved from patch 4 into patch 5.
Patch 4 now contains only the new functions debug_printf and
debug_vprintf. It is otherwise unchanged from the previous
version.
Patch 5 is a new patch. gdbserver has a flag, debug_hw_points,
that switches on some debug printing in the x86 and AArch64 Linux
ports. GDB's x86 and AArch64 Linux also define debug_hw_points,
with identical meaning, accessed via "maint set/show show-debug-regs".
GDB's Linux MIPS port also has "maint set/show show-debug-regs",
but there the variable is called maint_show_dr. In some ports the
flag is static to one file, in other ports and in gdbserver it is
global. Patch 5 defines one global for this, show_debug_regs, in
common-debug.h. All other definitions are removed, and all ports
are modified to use the new global.
Is this ok to commit?
Doug, if patches 1-4 are ok please let me know (regardless of the
status of 5) so I can commit them. (If all five are ok then great!)
Thanks,
Gary
--
http://gbenson.net/