Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5 v7] Common code cleanups (first four, and one new)
@ 2014-08-13  9:56 Gary Benson
  2014-08-13  9:56 ` [PATCH 3/5 v7] Move print-utils.h to common-defs.h Gary Benson
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: Gary Benson @ 2014-08-13  9:56 UTC (permalink / raw)
  To: gdb-patches; +Cc: Doug Evans, Pedro Alves

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/


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2014-08-28 13:31 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13  9:56 [PATCH 0/5 v7] Common code cleanups (first four, and one new) Gary Benson
2014-08-13  9:56 ` [PATCH 3/5 v7] Move print-utils.h to common-defs.h Gary Benson
2014-08-18 16:29   ` Doug Evans
2014-08-13  9:56 ` [PATCH 4/5 v7] Introduce common-debug.h Gary Benson
2014-08-18 16:38   ` Doug Evans
2014-08-19  9:12     ` Gary Benson
2014-08-19 23:22       ` Steve Ellcey
2014-08-20  8:53         ` Gary Benson
2014-08-20  9:42           ` Mike Frysinger
2014-08-20 12:09             ` Gary Benson
2014-08-20 13:32               ` Frank Ch. Eigler
2014-08-20 19:16                 ` Gary Benson
2014-08-20 21:41                   ` Frank Ch. Eigler
2014-08-20 21:58                     ` Doug Evans
2014-08-20 21:58                     ` Gary Benson
2014-08-20 22:48                       ` Frank Ch. Eigler
2014-08-21  1:19                         ` Mike Frysinger
2014-08-27  8:53                           ` [PING PATCH] Rename SIM's debug_printf (Was: [PATCH 4/5 v7] Introduce common-debug.h) Gary Benson
2014-08-28  0:09                             ` Frank Ch. Eigler
2014-08-28 13:31                               ` Gary Benson
2014-08-20 15:32               ` [PATCH 4/5 v7] Introduce common-debug.h Mike Frysinger
2014-08-20 19:14                 ` Gary Benson
2014-08-21  1:18                   ` Mike Frysinger
2014-08-13  9:56 ` [PATCH 2/5 v7] Introduce common-types.h Gary Benson
2014-08-18 16:25   ` Doug Evans
2014-08-13 10:34 ` [PATCH 5/5 v7] Introduce show_debug_regs Gary Benson
2014-08-18 16:40   ` Doug Evans
2014-08-13 10:55 ` [PATCH 1/5 v7] Introduce common/errors.h Gary Benson
2014-08-18 16:20   ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox