mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
2011-10-17 Joost van der Sluis <joost@cnoc.nl>
* gdbtypes.h: Added TYPE_SAFE_NAME macro to get the name of a type or "<unnamed type"> when there is no name assigned. * gnu-v3-abi.c (gnuv3_rtti_type): Use TYPE_SAFE_NAME macro to avoid a sigint when no name is assigned.
This commit is contained in:
@ -319,7 +319,7 @@ gnuv3_rtti_type (struct value *value,
|
||||
|| strncmp (vtable_symbol_name, "vtable for ", 11))
|
||||
{
|
||||
warning (_("can't find linker symbol for virtual table for `%s' value"),
|
||||
TYPE_NAME (values_type));
|
||||
TYPE_SAFE_NAME (values_type));
|
||||
if (vtable_symbol_name)
|
||||
warning (_(" found `%s' instead"), vtable_symbol_name);
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user