]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.5-tls-of-separate-debuginfo.patch
- NOTE: does not build with -j2
[packages/gdb.git] / gdb-6.5-tls-of-separate-debuginfo.patch
CommitLineData
3a58abaf
AM
1Dependency on: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
2
3
42006-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5
6 * target.c (target_translate_tls_address): Fix for separate debuginfo.
7
8
9diff -rup gdb-6.5.orig/gdb/target.c gdb-6.5/gdb/target.c
10--- gdb-6.5.orig/gdb/target.c 2006-09-20 17:13:35.000000000 -0400
11+++ gdb-6.5/gdb/target.c 2006-09-20 17:15:53.000000000 -0400
12@@ -769,6 +769,12 @@ target_translate_tls_address (struct obj
13 ptid_t ptid = inferior_ptid;
14 volatile struct gdb_exception ex;
15
16+ /* Resolve: Cannot find shared library
17+ `/usr/lib/debug/lib/lib....so.debug' in dynamic linker's load
18+ module list */
19+ if (objfile->separate_debug_objfile_backlink != NULL)
20+ objfile = objfile->separate_debug_objfile_backlink;
21+
22 TRY_CATCH (ex, RETURN_MASK_ALL)
23 {
24 CORE_ADDR lm_addr;
This page took 0.06631 seconds and 4 git commands to generate.