This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog dwarf2read.c
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Mon, 01 Jul 2013 19:55:17 +0000
- Subject: src/gdb ChangeLog dwarf2read.c
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2013-07-01 19:55:17
Modified files:
gdb : ChangeLog dwarf2read.c
Log message:
change gdb to use BFD's "dwz" functions
BFD recently got a few functions related to "dwz" files. This patch
changes gdb to use them, just to share a bit more code.
This changes dwarf2_get_dwz_file to possibly return NULL. This
simplified a bit of code elsewhere.
Built and regtested on x86-64 Fedora 18. I specifically regtested it
using my pending dwz test case.
* dwarf2read.c (dwarf2_get_dwz_file): Return NULL if
.gnu_debugaltlink not found. Use bfd_get_alt_debug_link_info.
(dwarf2_read_index, create_all_comp_units): Update.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15777&r2=1.15778
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.809&r2=1.810