diff options
author | DJ Delorie <dj@redhat.com> | 2000-06-29 15:06:34 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2000-06-29 15:06:34 +0000 |
commit | b4b415e5714b8d5e3ebc8c09c6d6da5dda67b464 (patch) | |
tree | c4d35d3e49e6546c3c96dd5f506269ebb1a4d8cf /bfd | |
parent | 23f2f29f40ed179e15397304dbd4a0306a15d841 (diff) | |
download | gdb-b4b415e5714b8d5e3ebc8c09c6d6da5dda67b464.zip gdb-b4b415e5714b8d5e3ebc8c09c6d6da5dda67b464.tar.gz gdb-b4b415e5714b8d5e3ebc8c09c6d6da5dda67b464.tar.bz2 |
* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/syms.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d69be79..e0469e0 100644 --- 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. @@ -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 { |