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/dwarf2read.c | |
parent | 540b09cb7df7c3b34dd5dd9d8e5e6fea5d482baf (diff) | |
download | gdb-1754f103e6323b908fc004d992930933a04183ce.zip gdb-1754f103e6323b908fc004d992930933a04183ce.tar.gz gdb-1754f103e6323b908fc004d992930933a04183ce.tar.bz2 |
* 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/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index a6a7684..eb6cec9 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1,7 +1,7 @@ /* DWARF 2 debugging format support for GDB. Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004 + 2004, 2005 Free Software Foundation, Inc. Adapted by Gary Funck (gary@intrepid.com), Intrepid Technology, @@ -6632,15 +6632,15 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd, if (!IS_ABSOLUTE_PATH (include_name) && dir_name != NULL) { - include_name = - concat (dir_name, SLASH_STRING, include_name, NULL); + include_name = concat (dir_name, SLASH_STRING, + include_name, (char *)NULL); make_cleanup (xfree, include_name); } if (!IS_ABSOLUTE_PATH (pst_filename) && pst->dirname != NULL) { - pst_filename = - concat (pst->dirname, SLASH_STRING, pst_filename, NULL); + pst_filename = concat (pst->dirname, SLASH_STRING, + pst_filename, (char *)NULL); make_cleanup (xfree, pst_filename); } @@ -6679,7 +6679,7 @@ dwarf2_start_subfile (char *filename, char *dirname) if (!IS_ABSOLUTE_PATH (filename) && dirname != NULL) { struct subfile *subfile; - char *fullname = concat (dirname, "/", filename, NULL); + char *fullname = concat (dirname, "/", filename, (char *)NULL); for (subfile = subfiles; subfile; subfile = subfile->next) { |