]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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:35:51 +0000 (09:35 -0700)
commit509cc2cf714f6a194ab27610f4db429579f6090b
treebc38f82869b1094b2d2c38a91ede4b3d095ba84b
parent1ebc3038c19262bc1118579c859b78566c8d2384
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.

(cherry picked from commit c8f6c93cb29febd6b8174a20eb35368e70f62faa)
gdb/ChangeLog
gdb/osabi.c