summaryrefslogtreecommitdiff
path: root/gdb/xml-syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xml-syscall.c')
-rw-r--r--gdb/xml-syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index 369fb73058b..d4261966503 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -281,7 +281,7 @@ static void
init_sysinfo (void)
{
/* Should we re-read the XML info for this target? */
- if (my_gdb_datadir && strcmp (my_gdb_datadir, gdb_datadir) != 0)
+ if (my_gdb_datadir && filename_cmp (my_gdb_datadir, gdb_datadir) != 0)
{
/* The data-directory changed from the last time we used it.
It means that we have to re-read the XML info. */