This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 34abf635b3edf9d70b24aa655ffd7d4696d48cde
- From: gary at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 19 Aug 2014 09:10:27 -0000
- Subject: gdb and binutils branch master updated. 34abf635b3edf9d70b24aa655ffd7d4696d48cde
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 34abf635b3edf9d70b24aa655ffd7d4696d48cde (commit)
via f6e94d78b2fe30977ffefcb26420109940ca7bb1 (commit)
via 9239eeabe340e1662c5df8f816785477309e1c0b (commit)
via ef87c8bbe7d1c4a987578626655f4a15555c7f4a (commit)
from 196a707b15ab32c29ba021b4f5b9ea202c109fe1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34abf635b3edf9d70b24aa655ffd7d4696d48cde
commit 34abf635b3edf9d70b24aa655ffd7d4696d48cde
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Jul 30 16:21:55 2014 +0100
Introduce common-debug.h
This introduces common-debug.h. This holds the functions debug_printf
and debug_vprintf, two functions that the common code can use to print
debugging messages. Clients of the common code are expected to
implement debug_vprintf; a debug_vprintf function is written from
scratch for GDB, and gdbserver's existing debug_printf is repurposed
as debug_vprintf.
common/agent.c is changed to use debug_vprintf rather than
defining the macro DEBUG_AGENT depending on GDBSERVER.
nat/i386-dregs.c is changed to use the externally-implemented
debug_printf, rather than defining it itself.
gdb/ChangeLog:
* common/common-debug.h: New file.
* common/common-debug.c: Likewise.
* debug.c: Likewise.
* Makefile.in (SFILES): Add common/common-debug.c.
(HFILES_NO_SRCDIR): Add common/common-debug.h.
(COMMON_OBS): Add common-debug.o and debug.o.
(common-debug.o): New rule.
* common/common-defs.h: Include common-debug.h.
* common/agent.c (debug_agent_printf): New function.
(DEBUG_AGENT): Redefine.
* nat/i386-dregs.c (debug_printf): Undefine.
gdb/gdbserver/ChangeLog:
* Makefile.in (SFILES): Add common/common-debug.c.
(OBS): Add common-debug.o.
(common-debug.o): New rule.
* debug.h (debug_printf): Don't declare.
* debug.c (debug_printf): Renamed and rewritten as...
(debug_vprintf): New function.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f6e94d78b2fe30977ffefcb26420109940ca7bb1
commit f6e94d78b2fe30977ffefcb26420109940ca7bb1
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Jul 30 16:14:21 2014 +0100
Move print-utils.h to common-defs.h
This commit moves the inclusion of print-utils.h to common-defs.h
and removes all other inclusions.
gdb/ChangeLog:
* common/common-defs.h: Include print-utils.h.
* utils.h: Do not include print-utils.h.
gdb/gdbserver/ChangeLog:
* utils.h: Do not include print-utils.h.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9239eeabe340e1662c5df8f816785477309e1c0b
commit 9239eeabe340e1662c5df8f816785477309e1c0b
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Jul 30 15:31:10 2014 +0100
Introduce common-types.h
This introduces common-types.h. This file defines various standard
types used by gdb and gdbserver.
Currently these types are conditionally defined based on GDBSERVER.
The long term goal is to remove all such tests; however, this is
difficult as currently gdb uses definitions from BFD. In the meantime
this is still a step in the right direction.
gdb/ChangeLog:
* common/common-types.h: New file.
* Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
* common/common-defs.h: Include common-types.h.
* defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
(ULONGEST): Remove.
gdb/gdbserver/ChangeLog:
* server.h: Add static assertion.
(gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Remove.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef87c8bbe7d1c4a987578626655f4a15555c7f4a
commit ef87c8bbe7d1c4a987578626655f4a15555c7f4a
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Jul 30 14:09:07 2014 +0100
Introduce common/errors.h
This introduces common/errors.h. This holds some error- and warning-
related declarations that can be used by the code in common, nat and
target. Some of the declared functions must be provided by the client
as documented by the header file comments.
gdb/ChangeLog:
* common/errors.h: New file.
* common/errors.c: Likewise.
* Makefile.in (SFILES): Add common/errors.c.
(HFILES_NO_SRCDIR): Add common/errors.h.
(COMMON_OBS): Add errors.o.
(errors.o): New rule.
* common/common-defs.h: Include errors.h.
* utils.h (perror_with_name, error, verror, warning, vwarning):
Don't declare.
* common/common-utils.h: (malloc_failure, internal_error):
Likewise.
gdb/gdbserver/ChangeLog:
* Makefile.in (SFILES): Add common/errors.c.
(OBS): Add errors.o.
(IPA_OBS): Add errors-ipa.o.
(errors.o): New rule.
(errors-ipa.o): Likewise.
* utils.h (perror_with_name, error, warning): Don't declare.
* utils.c (warning): Renamed and rewritten as...
(vwarning): New function.
(error): Renamed and rewritten as...
(verror): New function.
(internal_error): Renamed and rewritten as...
(internal_verror): New function.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 44 ++++++++++++++++++++++++++
gdb/Makefile.in | 16 ++++++++--
gdb/common/agent.c | 24 +++++++++-----
gdb/common/common-debug.c | 37 ++++++++++++++++++++++
gdb/common/common-debug.h | 36 +++++++++++++++++++++
gdb/common/common-defs.h | 4 ++
gdb/common/common-types.h | 61 ++++++++++++++++++++++++++++++++++++
gdb/common/common-utils.h | 4 --
gdb/common/errors.c | 61 ++++++++++++++++++++++++++++++++++++
gdb/common/errors.h | 75 +++++++++++++++++++++++++++++++++++++++++++++
gdb/debug.c | 28 +++++++++++++++++
gdb/defs.h | 29 -----------------
gdb/gdbserver/ChangeLog | 36 +++++++++++++++++++++
gdb/gdbserver/Makefile.in | 20 ++++++++++--
gdb/gdbserver/debug.c | 11 ++----
gdb/gdbserver/debug.h | 1 -
gdb/gdbserver/server.h | 13 +------
gdb/gdbserver/utils.c | 23 ++++---------
gdb/gdbserver/utils.h | 5 ---
gdb/nat/i386-dregs.c | 4 --
gdb/utils.c | 36 ---------------------
gdb/utils.h | 16 ---------
22 files changed, 440 insertions(+), 144 deletions(-)
create mode 100644 gdb/common/common-debug.c
create mode 100644 gdb/common/common-debug.h
create mode 100644 gdb/common/common-types.h
create mode 100644 gdb/common/errors.c
create mode 100644 gdb/common/errors.h
create mode 100644 gdb/debug.c
hooks/post-receive
--
gdb and binutils