aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-tdesc.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/xml-tdesc.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/xml-tdesc.c')
-rw-r--r--gdb/xml-tdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xml-tdesc.c b/gdb/xml-tdesc.c
index e1aefd1..d66c0e3 100644
--- a/gdb/xml-tdesc.c
+++ b/gdb/xml-tdesc.c
@@ -443,7 +443,7 @@ fetch_xml_from_file (const char *filename, void *baton)
if (dirname && *dirname)
{
- char *fullname = concat (dirname, "/", filename, NULL);
+ char *fullname = concat (dirname, "/", filename, (char *) NULL);
if (fullname == NULL)
nomem (0);
file = fopen (fullname, FOPEN_RT);