mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 09:58:33 +08:00
Fix indentation in value_has_field
value_has_field had a mis-indented line. This fixes it. gdb/ChangeLog 2019-08-19 Tom Tromey <tromey@adacore.com> * python/py-value.c (value_has_field): Fix indentation.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2019-08-19 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
|
* python/py-value.c (value_has_field): Fix indentation.
|
||||||
|
|
||||||
2019-08-19 Tom Tromey <tromey@adacore.com>
|
2019-08-19 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* printcmd.c (do_one_display, info_display_command): Update.
|
* printcmd.c (do_one_display, info_display_command): Update.
|
||||||
|
@ -847,7 +847,7 @@ value_has_field (struct value *v, PyObject *field)
|
|||||||
val_type = value_type (v);
|
val_type = value_type (v);
|
||||||
val_type = check_typedef (val_type);
|
val_type = check_typedef (val_type);
|
||||||
if (TYPE_IS_REFERENCE (val_type) || TYPE_CODE (val_type) == TYPE_CODE_PTR)
|
if (TYPE_IS_REFERENCE (val_type) || TYPE_CODE (val_type) == TYPE_CODE_PTR)
|
||||||
val_type = check_typedef (TYPE_TARGET_TYPE (val_type));
|
val_type = check_typedef (TYPE_TARGET_TYPE (val_type));
|
||||||
|
|
||||||
type_code = TYPE_CODE (val_type);
|
type_code = TYPE_CODE (val_type);
|
||||||
if ((type_code == TYPE_CODE_STRUCT || type_code == TYPE_CODE_UNION)
|
if ((type_code == TYPE_CODE_STRUCT || type_code == TYPE_CODE_UNION)
|
||||||
|
Reference in New Issue
Block a user