diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-07-04 13:29:13 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-07-04 13:29:13 +0000 |
commit | 1754f103e6323b908fc004d992930933a04183ce (patch) | |
tree | 82a936bf08000012e6ee16b4bb72b5beef75e05d /gdb/coffread.c | |
parent | 540b09cb7df7c3b34dd5dd9d8e5e6fea5d482baf (diff) | |
download | binutils-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/coffread.c')
-rw-r--r-- | gdb/coffread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index 205b733b98a..36e4d813519 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -1,6 +1,6 @@ /* Read coff symbol tables and convert to internal format, for GDB. Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by David D. Johnson, Brown University (ddj@cs.brown.edu). @@ -1399,7 +1399,7 @@ patch_type (struct type *type, struct type *real_type) { if (TYPE_NAME (target)) xfree (TYPE_NAME (target)); - TYPE_NAME (target) = concat (TYPE_NAME (real_target), NULL); + TYPE_NAME (target) = concat (TYPE_NAME (real_target), (char *)NULL); } } @@ -1636,7 +1636,7 @@ process_coff_symbol (struct coff_symbol *cs, } else TYPE_NAME (SYMBOL_TYPE (sym)) = - concat (DEPRECATED_SYMBOL_NAME (sym), NULL); + concat (DEPRECATED_SYMBOL_NAME (sym), (char *)NULL); } /* Keep track of any type which points to empty structured type, @@ -1671,7 +1671,7 @@ process_coff_symbol (struct coff_symbol *cs, && *DEPRECATED_SYMBOL_NAME (sym) != '~' && *DEPRECATED_SYMBOL_NAME (sym) != '.') TYPE_TAG_NAME (SYMBOL_TYPE (sym)) = - concat (DEPRECATED_SYMBOL_NAME (sym), NULL); + concat (DEPRECATED_SYMBOL_NAME (sym), (char *)NULL); add_symbol_to_list (sym, &file_symbols); break; |