aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-03 23:11:33 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-03 23:11:33 +0000
commit7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3 (patch)
tree99944a282473dff3502c7cd63cb60ea3708c16bc /gdb
parent5624d0a9f3b9d7a323ffe1c4f02f89f6c9e54e54 (diff)
downloadgdb-7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3.zip
gdb-7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3.tar.gz
gdb-7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3.tar.bz2
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead of accessing tag_name directly.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ax-gdb.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3b1edb3..115f8a1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 535b150..aa9f92a 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -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;
}