X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fxml-syscall.c;h=105b265385d2a7dec562fbcded61e0e64a0fd896;hb=9f3a5c850eddd9e804c20a9c664e90b9e3d14140;hp=369fb73058b6e1f9ecd0c02a0d937f5041e7bf1c;hpb=154f592e0cc9561eb246ab6791e3cd5acb56fab5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c index 369fb73058..105b265385 100644 --- a/gdb/xml-syscall.c +++ b/gdb/xml-syscall.c @@ -1,7 +1,7 @@ /* Functions that provide the mechanism to parse a syscall XML file and get its values. - Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2009-2012 Free Software Foundation, Inc. This file is part of GDB. @@ -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. */