projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f0b5d
)
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
author
Doug Evans
<dje@google.com>
Wed, 8 Dec 2010 17:31:52 +0000
(17:31 +0000)
committer
Doug Evans
<dje@google.com>
Wed, 8 Dec 2010 17:31:52 +0000
(17:31 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/dwarf2read.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 6611a84dc04220091c9b4576036f18953f95edd9..17d67afc735ac026d5fc7605a9b50b3cf53f1b23 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2010-12-08 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
+
2010-12-07 Doug Evans <dje@google.com>
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
diff --git
a/gdb/dwarf2read.c
b/gdb/dwarf2read.c
index 1cc5258a56581a6afd2303c55e1b64911354e131..82cde1bf4f6b759032b04d51eee3a38337543b62 100644
(file)
--- a/
gdb/dwarf2read.c
+++ b/
gdb/dwarf2read.c
@@
-2339,7
+2339,7
@@
dw2_expand_symtabs_with_filename (struct objfile *objfile,
for (j = 0; j < per_cu->v.quick->lines->num_file_names; ++j)
{
const char *this_name = per_cu->v.quick->file_names[j];
- if (
strcmp
(this_name, filename) == 0)
+ if (
FILENAME_CMP
(this_name, filename) == 0)
{
dw2_instantiate_symtab (objfile, per_cu);
break;