projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5624d0a
)
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
author
Daniel Jacobowitz
<drow@false.org>
Sun, 3 Feb 2002 23:11:33 +0000
(23:11 +0000)
committer
Daniel 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
patch
|
blob
|
history
gdb/ax-gdb.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 3b1edb3e606b5c213d7b53e2399e85b7fbd73e58..115f8a1c8d98fb4212a3c646fa3c585bc0bc770f 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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
diff --git
a/gdb/ax-gdb.c
b/gdb/ax-gdb.c
index 535b150808dded03035d015d61d3c8bb60686c5c..aa9f92a9610b430d043aba13780c80ae2fbc0f9c 100644
(file)
--- 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;
}