diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-10-26 17:59:50 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-10-26 17:59:50 +0000 |
commit | 1e3fad37be22688d325e2e96ce308e790aa81120 (patch) | |
tree | 7da3f831640daa39e57dd8c7cacb0b1438255c19 /gdb/dwarf2read.c | |
parent | a67f917e4c10a7e12f3b6d2d212ecd28877ac6e6 (diff) | |
download | gdb-1e3fad37be22688d325e2e96ce308e790aa81120.zip gdb-1e3fad37be22688d325e2e96ce308e790aa81120.tar.gz gdb-1e3fad37be22688d325e2e96ce308e790aa81120.tar.bz2 |
replace strcmp by FILENAME_CMP for filename comparison
gdb/ChangeLog:
* dwarf2read.c (psymtab_include_file_name): Replace call to strcmp
by call to FILENAME_CMP.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 7c78454..e613d90 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -10087,7 +10087,7 @@ psymtab_include_file_name (const struct line_header *lh, int file_index, pst_filename = copied_name; } - file_is_pst = strcmp (include_name_to_compare, pst_filename) == 0; + file_is_pst = FILENAME_CMP (include_name_to_compare, pst_filename) == 0; if (include_name_to_compare != include_name) xfree (include_name_to_compare); |