diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-05-08 04:58:45 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-05-08 04:58:45 +0000 |
commit | 48cb83fdd097716c0f21511e0e5b475bb1f2aa41 (patch) | |
tree | 4c4ba04451d6ee4b092fede123544b4d0238fa45 /gdb/mdebugread.c | |
parent | 8ef4892fb60c863e960a860b4adc40ad79215294 (diff) | |
download | gdb-48cb83fdd097716c0f21511e0e5b475bb1f2aa41.zip gdb-48cb83fdd097716c0f21511e0e5b475bb1f2aa41.tar.gz gdb-48cb83fdd097716c0f21511e0e5b475bb1f2aa41.tar.bz2 |
gdb/
* dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg
list for the obconcat call.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol, read_member_functions, read_cpp_abbrev):
Likewise.
* symfile.c (obconcat): Replace the s1, s2 and s3 parameters by `...'.
New variable ap. Remove variables len and val.
* symfile.h (obconcat): Likewise for the prototype.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 20bf3a3..5fb9c49 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -998,8 +998,8 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, if (sh->iss == 0 || name[0] == '.' || name[0] == '\0') TYPE_TAG_NAME (t) = NULL; else - TYPE_TAG_NAME (t) = obconcat (¤t_objfile->objfile_obstack, - "", "", name); + TYPE_TAG_NAME (t) = obconcat (¤t_objfile->objfile_obstack, name, + (char *) NULL); TYPE_CODE (t) = type_code; TYPE_LENGTH (t) = sh->value; |