diff options
author | Julian Brown <julian@codesourcery.com> | 2006-06-09 00:44:28 +0000 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2006-06-09 00:44:28 +0000 |
commit | 2b949cb6bbbb2e8a968026c0a0dfe378e7d1bfa5 (patch) | |
tree | dc41de6ef8f13be92cdff2a1d0d4f6f1b8ff290a /gdb/dwarf2read.c | |
parent | 5b031165ba273df6bc224e2b8d80cc2cec478adb (diff) | |
download | gdb-2b949cb6bbbb2e8a968026c0a0dfe378e7d1bfa5.zip gdb-2b949cb6bbbb2e8a968026c0a0dfe378e7d1bfa5.tar.gz gdb-2b949cb6bbbb2e8a968026c0a0dfe378e7d1bfa5.tar.bz2 |
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b776a57..057df7d 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1304,7 +1304,7 @@ partial_read_comp_unit_head (struct comp_unit_head *header, gdb_byte *info_ptr, info_ptr = read_comp_unit_head (header, info_ptr, abfd); - if (header->version != 2) + if (header->version != 2 && header->version != 3) error (_("Dwarf Error: wrong version in compilation unit header " "(is %d, should be %d) [in module %s]"), header->version, 2, bfd_get_filename (abfd)); |