This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 7c50a93137df660f7b2d9d68c0db748a9cb7868f
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 4 Dec 2014 19:34:38 -0000
- Subject: gdb and binutils branch master updated. 7c50a93137df660f7b2d9d68c0db748a9cb7868f
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 7c50a93137df660f7b2d9d68c0db748a9cb7868f (commit)
from fbad6518c1397939ea2d832eea7e53f2147759a8 (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=7c50a93137df660f7b2d9d68c0db748a9cb7868f
commit 7c50a93137df660f7b2d9d68c0db748a9cb7868f
Author: Doug Evans <dje@google.com>
Date: Thu Dec 4 11:32:24 2014 -0800
New python attribute gdb.Objfile.build_id.
gdb/ChangeLog:
* NEWS: Mention gdb.Objfile.build_id.
* build-id.c (build_id_bfd_get): Make non-static.
* build-id.h (build_id_bfd_get): Add declaration.
* python/py-objfile.c: #include "build-id.h", "elf-bfd.h".
(OBJFPY_REQUIRE_VALID): New macro.
(objfpy_get_build_id): New function.
(objfile_getset): Add "build_id".
* utils.c (make_hex_string): New function.
* utils.h (make_hex_string): Add declaration.
gdb/doc/ChangeLog:
* python.texi (Objfiles In Python): Document Objfile.build_id.
gdb/testsuite/ChangeLog:
* lib/gdb.exp (get_build_id): New function.
(build_id_debug_filename_get): Rewrite to use it.
* gdb.python/py-objfile.exp: Add test for objfile.build_id.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 12 ++++++++
gdb/NEWS | 2 +
gdb/build-id.c | 4 +-
gdb/build-id.h | 4 ++
gdb/doc/ChangeLog | 4 ++
gdb/doc/python.texi | 11 +++++++
gdb/python/py-objfile.c | 48 +++++++++++++++++++++++++++++++
gdb/testsuite/ChangeLog | 6 ++++
gdb/testsuite/gdb.python/py-objfile.exp | 10 ++++++
gdb/testsuite/lib/gdb.exp | 23 +++++++++++----
gdb/utils.c | 17 +++++++++++
gdb/utils.h | 5 +++
12 files changed, 138 insertions(+), 8 deletions(-)
hooks/post-receive
--
gdb and binutils