aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-08-10 18:41:33 +0000
committerPedro Alves <palves@redhat.com>2008-08-10 18:41:33 +0000
commit6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd (patch)
tree55f10f37832e0a87b21b37f65dda187008b0a781 /gdb/buildsym.c
parent91f4687cf05df5b7e2c74e326764081a52afdfc0 (diff)
downloadgdb-6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd.zip
gdb-6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd.tar.gz
gdb-6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd.tar.bz2
* buildsym.c (start_subfile): Properly cast sentinel in concat
call. * cp-name-parser.y: Include "config.h". * xml-tdesc.c (fetch_xml_from_file): Properly cast sentinel in concat call. * gdb_select.h: Include sys/time.h if sys/select.h is not available.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index f3850a2..e8bf973 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -547,7 +547,7 @@ start_subfile (char *name, char *dirname)
&& !IS_ABSOLUTE_PATH (subfile->name)
&& subfile->dirname != NULL)
subfile_name = concat (subfile->dirname, SLASH_STRING,
- subfile->name, NULL);
+ subfile->name, (char *) NULL);
else
subfile_name = subfile->name;