mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 21:34:13 +08:00
* typeprint.c (*): Whitespace cleanup.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2008-02-02 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* typeprint.c (*): Whitespace cleanup.
|
||||||
|
|
||||||
2008-02-02 Mark Kettenis <kettenis@gnu.org>
|
2008-02-02 Mark Kettenis <kettenis@gnu.org>
|
||||||
Luis Machado <luisgpm@br.ibm.com>
|
Luis Machado <luisgpm@br.ibm.com>
|
||||||
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||||
|
@ -133,10 +133,9 @@ whatis_exp (char *exp, int show)
|
|||||||
|
|
||||||
if (objectprint)
|
if (objectprint)
|
||||||
{
|
{
|
||||||
if (((TYPE_CODE (type) == TYPE_CODE_PTR) ||
|
if (((TYPE_CODE (type) == TYPE_CODE_PTR)
|
||||||
(TYPE_CODE (type) == TYPE_CODE_REF))
|
|| (TYPE_CODE (type) == TYPE_CODE_REF))
|
||||||
&&
|
&& (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_CLASS))
|
||||||
(TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_CLASS))
|
|
||||||
{
|
{
|
||||||
real_type = value_rtti_target_type (val, &full, &top, &using_enc);
|
real_type = value_rtti_target_type (val, &full, &top, &using_enc);
|
||||||
if (real_type)
|
if (real_type)
|
||||||
@ -309,7 +308,6 @@ maintenance_print_type (char *typename, int from_tty)
|
|||||||
void
|
void
|
||||||
_initialize_typeprint (void)
|
_initialize_typeprint (void)
|
||||||
{
|
{
|
||||||
|
|
||||||
add_com ("ptype", class_vars, ptype_command, _("\
|
add_com ("ptype", class_vars, ptype_command, _("\
|
||||||
Print definition of type TYPE.\n\
|
Print definition of type TYPE.\n\
|
||||||
Argument may be a type name defined by typedef, or \"struct STRUCT-TAG\"\n\
|
Argument may be a type name defined by typedef, or \"struct STRUCT-TAG\"\n\
|
||||||
@ -318,5 +316,4 @@ The selected stack frame's lexical context is used to look up the name."));
|
|||||||
|
|
||||||
add_com ("whatis", class_vars, whatis_command,
|
add_com ("whatis", class_vars, whatis_command,
|
||||||
_("Print data type of expression EXP."));
|
_("Print data type of expression EXP."));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user