This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4 v6] Common code cleanups (first four)
- 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: Mon, 11 Aug 2014 16:17:31 +0100
- Subject: [PATCH 0/4 v6] Common code cleanups (first four)
- Authentication-results: sourceware.org; auth=none
Hi all,
This series contains updated versions of the first four patches
from the common code cleanups series I last posted on August 1.
The rest of the series is awaiting Pedro's input, but these four
patches can go in now if they are approved.
Patch 1 (Introduce common/errors.h) is changed from the previous
version in that:
- Functions that must be provided by the client code are
documented as such in their header file comments.
- common/errors.c is added to SFILES in gdb's Makefile.in.
Patch 2 (Introduce common-types.h) is unchanged from the previous
version.
Patch 3 (Move print-utils.h to common-defs.h) is likewise unchanged.
Patch 4 (Introduce common-debug.h) is changed from the previous
version in that:
- Functions that must be provided by the client code are
documented as such in their header file comments.
- common/common-debug.c is added to SFILES in gdb's Makefile.in.
- The static function debug_agent_print in agent.c has been renamed
debug_agent_printf.
- The various debug_hw_points declarations throughout GDB and
gdbserver have been replaced with one in common/common-debug.[ch].
This addresses an issue noted against patch 10 of the previous
version of this series [1].
Built and regtested on x86_64 RHEL6.5.
Ok to commit?
Thanks,
Gary
--
[1] https://sourceware.org/ml/gdb-patches/2014-08/msg00136.html