diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-12-02 14:51:01 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-12-02 14:51:01 +0000 |
commit | e0740f779c1471fbc565ceedae93dea09bc0eadf (patch) | |
tree | 2a5d38d0d285c60457f1be35f6b5ef641c863e8f /gdb/target.h | |
parent | c29235ac9f1b955c3f4c89c5c8bc4ea4d4f80ae1 (diff) | |
download | gdb-e0740f779c1471fbc565ceedae93dea09bc0eadf.zip gdb-e0740f779c1471fbc565ceedae93dea09bc0eadf.tar.gz gdb-e0740f779c1471fbc565ceedae93dea09bc0eadf.tar.bz2 |
gdb/
Fix resolving external references to TLS variables.
* findvar.c: Include `objfiles.h'.
(read_var_value <LOC_UNRESOLVED>): New variable `obj_section'. Handle
SEC_THREAD_LOCAL variables.
* printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL
variables.
gdb/testsuite/
Test resolving external references to TLS variables.
* gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
FILE2_THREAD_LOCAL.
(testfile2, srcfile2): New variables.
* gdb.threads/tls.c (file2_thread_local)
(function_referencing_file2_thread_local): New.
* gdb.threads/tls2.c: New file.
Diffstat (limited to 'gdb/target.h')
0 files changed, 0 insertions, 0 deletions