2002-02-03 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Sun, 3 Feb 2002 23:11:33 +0000 (23:11 +0000)
committerDaniel Jacobowitz <drow@false.org>
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 3b1edb3e606b5c213d7b53e2399e85b7fbd73e58..115f8a1c8d98fb4212a3c646fa3c585bc0bc770f 100644 (file)
@@ -1,3 +1,8 @@
+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
index 535b150808dded03035d015d61d3c8bb60686c5c..aa9f92a9610b430d043aba13780c80ae2fbc0f9c 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;
 }