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]

Re: [PATCH] change gdb to use BFD's "dwz" functions


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> BFD recently got a few functions related to "dwz" files.  This patch
Tom> changes gdb to use them, just to share a bit more code.

Tom> This changes dwarf2_get_dwz_file to possibly return NULL.  This
Tom> simplified a bit of code elsewhere.

Tom> Built and regtested on x86-64 Fedora 18.  I specifically regtested it
Tom> using my pending dwz test case.

Tom> 	* dwarf2read.c (dwarf2_get_dwz_file): Return NULL if
Tom> 	.gnu_debugaltlink not found.  Use bfd_get_alt_debug_link_info.
Tom> 	(dwarf2_read_index, create_all_comp_units): Update.

I'm checking this in.

Tom


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