This is the mail archive of the gdb-prs@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]

[Bug threads/22381] New: GDB can not read TLS from cross-target core files


https://sourceware.org/bugzilla/show_bug.cgi?id=22381

            Bug ID: 22381
           Summary: GDB can not read TLS from cross-target core files
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: threads
          Assignee: unassigned at sourceware dot org
          Reporter: djordje.todorovic@rt-rk.com
  Target Milestone: ---

GDB loads native libthread_db that is only good for native debugging.

When GDB is configured to run on Linux x86_64 with MIPS target like this:
#  ./configure --target=mips-mti-linux-gnu

and when try to read value of TLS variable from MIPS cross-target core file
this message would be printed out:

(gdb) p tls_variable
Cannot find thread-local storage for LWP 21808, executable file ...
Cannot find thread-local variables on this target


The same problem would occur with all supported cross-target architectures.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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