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] TLS resolving for separate_debug_objfile


Hi,

attached patch will fix
	(gdb) print errno

otherwise producing 
	Cannot find shared library `/usr/lib/debug/lib/libc-2.4.90.so.debug' in dynamic linker's load module list

for me on Fedora Core 5/devel.  Despite I also attached the testsuite the
testsuite itself is probably not suitable for the mainline as I failed to
reproduce the bug on CVS version of GDB (OK, I did not try too much, I believe
mainline GDB will not find the separate debuginfo file there at all).

I hope the patch looks correct and harmless enough.


2006-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2loc.c (dwarf_expr_tls_address): Fix for separate debuginfo.


Regards,
Jan

Attachment: gdb-separate_debug_objfile_backlink.patch
Description: Text document

Attachment: gdb-separate_debug_objfile_backlink-testsuite-fedoracore.patch
Description: Text document


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