2002-10-21 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 21 Oct 2002 14:55:18 +0000 (14:55 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 21 Oct 2002 14:55:18 +0000 (14:55 +0000)
* 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.

gdb/ChangeLog
gdb/findvar.c
gdb/hpread.c
gdb/printcmd.c
gdb/symtab.h

index f1be8a822ab1118a5668755eacc75a5458103dd0..eaf09e6860d48ea1379f56b08b4715b63f448259 100644 (file)
@@ -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
index d2591321d75dfb7958d9f29cd27c001c78e91e4c..e48ccc6f4addb5afa6a3279931adfb3f7b0f8d31 100644 (file)
@@ -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;
 
index 4cc5f18c4771e3caf4f8581ac7877786f052b4e8..72985fba629e1714a28dbe3289c9947c237808d9 100644 (file)
@@ -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)
index c5487a2b677bc791070f63f5b6db347c2821050e..2f7f865c6f4b4a995024619b7b626b19816fa16a 100644 (file)
@@ -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));
index 6dfc9d4b6f57535c113064da7f79dfbccbd5cd03..520e81efef750b330444268eb999f01b14555ff5 100644 (file)
@@ -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.  */