PR gdb/18464: Do not crash on unrecognized GNU .note.ABI-tag values
authorRoland McGrath <mcgrathr@chromium.org>
Fri, 29 May 2015 16:24:36 +0000 (09:24 -0700)
committerRoland McGrath <mcgrathr@chromium.org>
Fri, 29 May 2015 16:24:36 +0000 (09:24 -0700)
commitc8f6c93cb29febd6b8174a20eb35368e70f62faa
treed1212e8f15f4345363ee0a95c9a43a19d9ddd10b
parent14ae95f2208258d5957f47a3185fc5b068e18a5a
PR gdb/18464: Do not crash on unrecognized GNU .note.ABI-tag values

Diagnosis of unexpected input (in this case, in an executable file)
should not crash as if it were a bug in GDB.

gdb/
PR gdb/18464
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use warning
rather than internal_error for an unrecognized value.
gdb/ChangeLog
gdb/osabi.c