gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Dec 2012 17:35:42 +0000 (17:35 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Dec 2012 17:35:42 +0000 (17:35 +0000)
commit1b80a9fa753094ce0a6a4b3aa133c9b55e3c12ce
tree27b3c5b81fc21543d68f5afe7d2fd9cff85555c6
parent8f072179955ab72e58da4790823b638e1709c89d
gdb/
* dwarf2read.c (struct dwarf2_cu): New field producer_is_gcc_lt_4_3.
Update the comment for checked_producer.
(check_producer): New forward declaration.
(producer_is_gcc_lt_4_3): New function.
(find_file_and_directory): Simulate *COMP_DIR only for gcc < 4.3.
(check_producer): Initialize also PRODUCER_IS_GCC_LT_4_3.

gdb/testsuite/
* gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
* gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.exp [new file with mode: 0644]