default_read_var_value <LOC_UNRESOLVED>: Include minsym kind in error message.
authorDoug Evans <xdje42@gmail.com>
Sat, 19 Sep 2015 04:43:38 +0000 (21:43 -0700)
committerDoug Evans <xdje42@gmail.com>
Sat, 19 Sep 2015 04:43:38 +0000 (21:43 -0700)
commit015d2e7e49056e0d5fea1c18bf8de9b1be7c096f
tree5e18796c5f9b2e007b0f0a5449f1fae6a1357625
parentd96c806b9210f2a9dc07f9ebfc811b3fc0c0f870
default_read_var_value <LOC_UNRESOLVED>: Include minsym kind in error message.

bfd/ChangeLog:

* targets.c (enum bfd_flavour): Add comment.
(bfd_flavour_name): New function.
* bfd-in2.h: Regenerate.

gdb/ChangeLog:

* findvar.c (default_read_var_value) <LOC_UNRESOLVED>: Include the
kind of minimal symbol in the error message.
* objfiles.c (objfile_flavour_name): New function.
* objfiles.h (objfile_flavour_name): Declare.

gdb/testsuite/ChangeLog:

* gdb.dwarf2/dw2-bad-unresolved.c: New file.
* gdb.dwarf2/dw2-bad-unresolved.exp: New file.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/targets.c
gdb/ChangeLog
gdb/findvar.c
gdb/objfiles.c
gdb/objfiles.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-bad-unresolved.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-bad-unresolved.exp [new file with mode: 0644]