diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2007-06-23 08:40:54 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2007-06-23 08:40:54 +0000 |
commit | 0d4a14760da3691d09645cbed5aef74604fb2e69 (patch) | |
tree | 84300771ad6baa059bd48323f6655cc5c7bb6c88 /bfd/dwarf2.c | |
parent | 3447842b6e4315cdd24c5fab12172bb5f5f3057b (diff) | |
download | gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.zip gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.tar.gz gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.tar.bz2 |
* configure.in (--with-separate-debug-dir): New option.
* configure: Regenerate.
* Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR.
* Makefile.in: Regenerate.
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to
bfd_follow_gnu_debuglink.
(_bfd_dwarf2_find_line): Likewise.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 18d139c..2ba3152 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -2378,7 +2378,7 @@ _bfd_dwarf2_find_nearest_line (bfd *abfd, msec = find_debug_info (abfd, NULL); if (msec == NULL) { - char * debug_filename = bfd_follow_gnu_debuglink (abfd, NULL); + char * debug_filename = bfd_follow_gnu_debuglink (abfd, DEBUGDIR); if (debug_filename == NULL) /* No dwarf2 info, and no gnu_debuglink to follow. @@ -2617,7 +2617,7 @@ _bfd_dwarf2_find_line (bfd *abfd, msec = find_debug_info (abfd, NULL); if (msec == NULL) { - char * debug_filename = bfd_follow_gnu_debuglink (abfd, NULL); + char * debug_filename = bfd_follow_gnu_debuglink (abfd, DEBUGDIR); if (debug_filename == NULL) /* No dwarf2 info, and no gnu_debuglink to follow. |