forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -744,6 +744,11 @@ const char *objfile_filename (const struct objfile *objfile);
|
||||
|
||||
extern const char *objfile_debug_name (const struct objfile *objfile);
|
||||
|
||||
/* Return the name of the file format of OBJFILE if the file has been opened,
|
||||
otherwise return NULL. */
|
||||
|
||||
const char *objfile_flavour_name (struct objfile *objfile);
|
||||
|
||||
/* Set the objfile's notion of the "main" name and language. */
|
||||
|
||||
extern void set_objfile_main_name (struct objfile *objfile,
|
||||
|
||||
Reference in New Issue
Block a user