This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4 v6] Common code cleanups (first four)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]