diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-07-22 15:41:59 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-07-22 15:41:59 +0000 |
commit | c3228f12381fe247c089a315455beced163f88e0 (patch) | |
tree | b99844b4d7586619066e3d0b5182e567fdc4ee8a /gdb/symtab.h | |
parent | b41b1f95b76030c2f695d94485afab9212a20a06 (diff) | |
download | gdb-c3228f12381fe247c089a315455beced163f88e0.zip gdb-c3228f12381fe247c089a315455beced163f88e0.tar.gz gdb-c3228f12381fe247c089a315455beced163f88e0.tar.bz2 |
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Remove case for thread local storage
variables. It is now entirely handled by the dwarf2 location
expression code.
* printcmd.c (address_info): Ditto.
* symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC
enumeration value.
(struct symbol): Remove objfile field, which was used by
LOC_THREAD_LOCAL_STATIC only.
* dwarf2read.c (decode_locdesc): Remove is_thread_local variable.
* dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about
usage of objfile pointer.
* dwarf2loc.c (locexpr_describe_location): Add case to handle
thread local variables.
Add include of objfiles.h.
* dwarf2expr.c (execute_stack_op): Add comments about thread local
storage variables.
* Makefile.in (dwarf2loc.o): Update dependencies.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 642b960..29df929 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -482,14 +482,6 @@ enum address_class LOC_HP_THREAD_LOCAL_STATIC, - /* Value is at a thread-specific location calculated by a - target-specific method. SYMBOL_OBJFILE gives the object file - in which the symbol is defined; the symbol's value is the - offset into that objfile's thread-local storage for the current - thread. */ - - LOC_THREAD_LOCAL_STATIC, - /* The variable does not actually exist in the program. The value is ignored. */ @@ -606,12 +598,6 @@ struct symbol /* Used by LOC_BASEREG and LOC_BASEREG_ARG. */ short basereg; - /* Used by LOC_THREAD_LOCAL_STATIC. The objfile in which this - symbol is defined. To find a thread-local variable (e.g., a - variable declared with the `__thread' storage class), we may - need to know which object file it's in. */ - struct objfile *objfile; - /* For a LOC_COMPUTED or LOC_COMPUTED_ARG symbol, this is the baton and location_funcs structure to find its location. For a LOC_BLOCK symbol for a function in a compilation unit compiled |