mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 04:29:49 +00:00
* printcmd.c (print_formatted): Handle references as for unformatted
prints.
This commit is contained in:
parent
ce75a98f14
commit
4e885b20aa
@ -1,3 +1,8 @@
|
||||
2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
|
||||
|
||||
* printcmd.c (print_formatted): Handle references as for unformatted
|
||||
prints.
|
||||
|
||||
2008-01-30 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* eval.c (evaluate_subexp_standard): Add handling of user
|
||||
|
@ -285,6 +285,7 @@ print_formatted (struct value *val, int format, int size,
|
||||
}
|
||||
|
||||
if (format == 0 || format == 's'
|
||||
|| TYPE_CODE (type) == TYPE_CODE_REF
|
||||
|| TYPE_CODE (type) == TYPE_CODE_ARRAY
|
||||
|| TYPE_CODE (type) == TYPE_CODE_STRING
|
||||
|| TYPE_CODE (type) == TYPE_CODE_STRUCT
|
||||
|
Loading…
Reference in New Issue
Block a user