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:
23f2f29
)
* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
author
DJ Delorie
<dj@redhat.com>
Thu, 29 Jun 2000 15:06:34 +0000
(15:06 +0000)
committer
DJ Delorie
<dj@redhat.com>
Thu, 29 Jun 2000 15:06:34 +0000
(15:06 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/syms.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index d69be7962ecff5376588a217e9c998a8056a002e..e0469e01e8e10d547b9609fb0255d5abdc9e8929 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
+
2000-06-28 Mark Elbrecht <snowball3@bigfoot.com>
* go32stub.h: Update stub.
diff --git
a/bfd/syms.c
b/bfd/syms.c
index 6546f585054ac57673a13f43addbded5a15e1785..305c9b06c4d741d3d4f77f5a0b9b223560d1547b 100644
(file)
--- a/
bfd/syms.c
+++ b/
bfd/syms.c
@@
-1262,7
+1262,7
@@
_bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound,
*pfound = true;
- if (
file_name[0] == '/'
|| directory_name == NULL)
+ if (
IS_ABSOLUTE_PATH(file_name)
|| directory_name == NULL)
*pfilename = file_name;
else
{