aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index 546c25e..0201945 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -910,7 +910,7 @@ DEFUN(struct_type, (dip, thisdie, enddie),
TYPE_LENGTH (type) = dip -> at_byte_size;
tpart3 = "";
}
- TYPE_NAME (type) = concat (tpart1, tpart2, tpart3);
+ TYPE_NAME (type) = concat (tpart1, tpart2, tpart3, NULL);
thisdie += dip -> dielength;
while (thisdie < enddie)
{
@@ -1326,7 +1326,7 @@ DEFUN(enum_type, (dip), struct dieinfo *dip)
TYPE_LENGTH (type) = dip -> at_byte_size;
tpart3 = "";
}
- TYPE_NAME (type) = concat (tpart1, tpart2, tpart3);
+ TYPE_NAME (type) = concat (tpart1, tpart2, tpart3, NULL);
if ((scan = dip -> at_element_list) != NULL)
{
(void) memcpy (&temp, scan, sizeof (temp));