diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-10-21 14:55:18 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-10-21 14:55:18 +0000 |
commit | 407caf07a4b0da14b9efbe68a0d75bd6c273c192 (patch) | |
tree | ae2ad951eb44c3a1cc5029db501e1a37d003132e | |
parent | ef485c0196b0e61d6c0ef992bd6c8c761e76bdbd (diff) | |
download | gdb-407caf07a4b0da14b9efbe68a0d75bd6c273c192.zip gdb-407caf07a4b0da14b9efbe68a0d75bd6c273c192.tar.gz gdb-407caf07a4b0da14b9efbe68a0d75bd6c273c192.tar.bz2 |
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* symtab.h (address_class): Rename
LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
* hpread.c (hpread_process_one_debug_symbol): Ditto.
* printcmd.c (address_info): Ditto.
* findvar.c (symbol_read_needs_frame, read_var_value): Ditto.
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/findvar.c | 4 | ||||
-rw-r--r-- | gdb/hpread.c | 2 | ||||
-rw-r--r-- | gdb/printcmd.c | 2 | ||||
-rw-r--r-- | gdb/symtab.h | 4 |
5 files changed, 14 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f1be8a8..eaf09e6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2002-10-21 Elena Zannoni <ezannoni@redhat.com> + + * symtab.h (address_class): Rename + LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC. + * hpread.c (hpread_process_one_debug_symbol): Ditto. + * printcmd.c (address_info): Ditto. + * findvar.c (symbol_read_needs_frame, read_var_value): Ditto. + 2002-10-20 Mark Kettenis <kettenis@gnu.org> * i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use diff --git a/gdb/findvar.c b/gdb/findvar.c index d259132..e48ccc6 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -391,7 +391,7 @@ symbol_read_needs_frame (struct symbol *sym) case LOC_LOCAL_ARG: case LOC_BASEREG: case LOC_BASEREG_ARG: - case LOC_THREAD_LOCAL_STATIC: + case LOC_HP_THREAD_LOCAL_STATIC: return 1; case LOC_UNDEF: @@ -529,7 +529,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i case LOC_BASEREG: case LOC_BASEREG_ARG: - case LOC_THREAD_LOCAL_STATIC: + case LOC_HP_THREAD_LOCAL_STATIC: { struct value *regval; diff --git a/gdb/hpread.c b/gdb/hpread.c index 4cc5f18..72985fb 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -5742,7 +5742,7 @@ hpread_process_one_debug_symbol (union dnttentry *dn_bufp, char *name, { /* Thread-local variable. */ - SYMBOL_CLASS (sym) = LOC_THREAD_LOCAL_STATIC; + SYMBOL_CLASS (sym) = LOC_HP_THREAD_LOCAL_STATIC; SYMBOL_BASEREG (sym) = CR27_REGNUM; if (objfile->flags & OBJF_SHARED) diff --git a/gdb/printcmd.c b/gdb/printcmd.c index c5487a2..2f7f865 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1279,7 +1279,7 @@ address_info (char *exp, int from_tty) } break; - case LOC_THREAD_LOCAL_STATIC: + case LOC_HP_THREAD_LOCAL_STATIC: printf_filtered ( "a thread-local variable at offset %ld from the thread base register %s", val, REGISTER_NAME (basereg)); diff --git a/gdb/symtab.h b/gdb/symtab.h index 6dfc9d4..520e81e 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -625,9 +625,9 @@ enum address_class LOC_UNRESOLVED, /* Value is at a thread-specific location calculated by a - target-specific method. */ + target-specific method. This is used only by hppa. */ - LOC_THREAD_LOCAL_STATIC, + LOC_HP_THREAD_LOCAL_STATIC, /* The variable does not actually exist in the program. The value is ignored. */ |