OSDN Git Service

2002-02-03 Daniel Jacobowitz <drow@mvista.com>
authordrow <drow>
Sun, 3 Feb 2002 23:11:33 +0000 (23:11 +0000)
committerdrow <drow>
Sun, 3 Feb 2002 23:11:33 +0000 (23:11 +0000)
        * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
        of accessing tag_name directly.

gdb/ChangeLog
gdb/ax-gdb.c

index 3b1edb3..115f8a1 100644 (file)
@@ -1,5 +1,10 @@
 2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
 
+       * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
+       of accessing tag_name directly.
+
+2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
+
        PR gdb/280
        * gdbtypes.c (replace_type): New function.
        * gdbtypes.h (replace_type): Add prototype.
index 535b150..aa9f92a 100644 (file)
@@ -1165,7 +1165,7 @@ find_field (struct type *type, char *name)
     }
 
   error ("Couldn't find member named `%s' in struct/union `%s'",
-        name, type->tag_name);
+        name, TYPE_TAG_NAME (type));
 
   return 0;
 }