summaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-07-04 13:29:13 +0000
committerMark Kettenis <kettenis@gnu.org>2005-07-04 13:29:13 +0000
commit1754f103e6323b908fc004d992930933a04183ce (patch)
tree82a936bf08000012e6ee16b4bb72b5beef75e05d /gdb/stabsread.c
parent540b09cb7df7c3b34dd5dd9d8e5e6fea5d482baf (diff)
downloadbinutils-gdb-1754f103e6323b908fc004d992930933a04183ce.tar.gz
* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
* coffread.c (patch_type, process_coff_symbol): Likewise. * corelow.c (core_open): Likewise. * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): * language.c (set_lang_str, set_type_str, set_range_str) (set_case_str): Likewise. * source.c (add_path, openp): Likewise. * stabsread.c: Likewise. * top.c (init_history): Likewise. * utils.c (xfullpath): Likewise. * value.c (lookup_internalvar): Likewise. * cli/cli-cmds.c (cd_command): Likewise. * cli/cli-dump.c (add_dump_command): Likewise.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index d3d4b318fc3..b387c25cb3f 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -1,8 +1,8 @@
/* Support routines for decoding "stabs" debugging information format.
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
- 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free
- Software Foundation, Inc.
+ 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -2527,7 +2527,8 @@ read_member_functions (struct field_info *fip, char **pp, struct type *type,
}
else if (has_destructor && new_fnlist->fn_fieldlist.name[0] != '~')
{
- new_fnlist->fn_fieldlist.name = concat ("~", main_fn_name, NULL);
+ new_fnlist->fn_fieldlist.name =
+ concat ("~", main_fn_name, (char *)NULL);
xfree (main_fn_name);
}
else if (!has_stub)