aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-12 17:50:14 +0000
committerFred Fish <fnf@specifix.com>1991-11-12 17:50:14 +0000
commit58ae87f612e884727a3fc18a2d623534589463a4 (patch)
tree652f140e43ab5430a3d59bb72c8e2e32ae2470a6 /gdb/dwarfread.c
parentecb1b520dee9279c9ab81a0352122f88619a90d4 (diff)
downloadgdb-58ae87f612e884727a3fc18a2d623534589463a4.zip
gdb-58ae87f612e884727a3fc18a2d623534589463a4.tar.gz
gdb-58ae87f612e884727a3fc18a2d623534589463a4.tar.bz2
Remove internal gdb definition of fixed arg count concat() function and
convert to use of variable arg count concat() in libiberty.
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));