Support .dwp with the name of symlinked binary file
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 24 Sep 2013 14:03:43 +0000 (14:03 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 24 Sep 2013 14:03:43 +0000 (14:03 +0000)
commit82bf32bc61ee1f2652fa848fe37b4e18429661c5
treea5107bcaa29a20941c8e971b1a0d81b68d4c82f3
parent24ba069af8a2078bc634bbf2599381fc0ea471ad
Support .dwp with the name of symlinked binary file

gdb/
2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf2read.c (open_and_init_dwp_file): Try open_dwp_file also with
objfile->original_name.

gdb/testsuite/
2013-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.dwarf2/dwp-symlink.c: New file.
* gdb.dwarf2/dwp-symlink.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dwp-symlink.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dwp-symlink.exp [new file with mode: 0644]