- Fix crash on C++ symbol failing to be demangled (BZ 206813).
- Fix attach to stopped process, supersede
`gdb-6.3-attach-stop-20051011.patch'.
- Fix TLS symbols resolving for objects with separate .debug file
(-debuginfo).
- Fix TLS symbols resolving for shared libraries with a relative pathname.
- Support TLS symbols (+`errno' suggestion if no pthread is found) (BZ
185337).
This commit is contained in:
parent
2c3eddc55e
commit
ba67a7996c
5 changed files with 1473 additions and 5 deletions
24
gdb-6.5-tls-of-separate-debuginfo.patch
Normal file
24
gdb-6.5-tls-of-separate-debuginfo.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
Dependency on: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
|
||||
|
||||
|
||||
2006-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* target.c (target_translate_tls_address): Fix for separate debuginfo.
|
||||
|
||||
|
||||
diff -rup gdb-6.5.orig/gdb/target.c gdb-6.5/gdb/target.c
|
||||
--- gdb-6.5.orig/gdb/target.c 2006-09-20 17:13:35.000000000 -0400
|
||||
+++ gdb-6.5/gdb/target.c 2006-09-20 17:15:53.000000000 -0400
|
||||
@@ -769,6 +769,12 @@ target_translate_tls_address (struct obj
|
||||
ptid_t ptid = inferior_ptid;
|
||||
volatile struct gdb_exception ex;
|
||||
|
||||
+ /* Resolve: Cannot find shared library
|
||||
+ `/usr/lib/debug/lib/lib....so.debug' in dynamic linker's load
|
||||
+ module list */
|
||||
+ if (objfile->separate_debug_objfile_backlink != NULL)
|
||||
+ objfile = objfile->separate_debug_objfile_backlink;
|
||||
+
|
||||
TRY_CATCH (ex, RETURN_MASK_ALL)
|
||||
{
|
||||
CORE_ADDR lm_addr;
|
||||
Loading…
Reference in a new issue