diff options
author | Pedro Alves <palves@redhat.com> | 2011-01-25 17:59:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-01-25 17:59:00 +0000 |
commit | ab2188aa2a7958d3954f98229002036867278636 (patch) | |
tree | decbfba60b0a7e0f21b6b3f5362675a349aad13b /gdb/ChangeLog | |
parent | 66d61a4cabfc231963c2d901d345198498d9aa21 (diff) | |
download | gdb-ab2188aa2a7958d3954f98229002036867278636.zip gdb-ab2188aa2a7958d3954f98229002036867278636.tar.gz gdb-ab2188aa2a7958d3954f98229002036867278636.tar.bz2 |
* printcmd.c (print_formatted): Use val_print_scalar_formatted
instead of print_scalar_formatted.
(print_scalar_formatted): Don't handle 's' format strings here,
and add an assertion that we never see such format here.
* valprint.h (val_print_scalar_formatted): Declare.
* valprint.c (val_print_scalar_formatted): New.
* c-valprint.c (c_val_print): Use val_print_scalar_formatted
instead of print_scalar_formatted.
* jv-valprint.c (java_val_print): Ditto.
* p-valprint.c (pascal_val_print): Ditto.
* ada-valprint.c (ada_val_print_1): Ditto.
* f-valprint.c (f_val_print): Ditto.
* infcmd.c (registers_info): Ditto.
* m2-valprint.c (m2_val_print): Ditto.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ad1b84..c56abe1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,22 @@ 2011-01-25 Pedro Alves <pedro@codesourcery.com> + * printcmd.c (print_formatted): Use val_print_scalar_formatted + instead of print_scalar_formatted. + (print_scalar_formatted): Don't handle 's' format strings here, + and add an assertion that we never see such format here. + * valprint.h (val_print_scalar_formatted): Declare. + * valprint.c (val_print_scalar_formatted): New. + * c-valprint.c (c_val_print): Use val_print_scalar_formatted + instead of print_scalar_formatted. + * jv-valprint.c (java_val_print): Ditto. + * p-valprint.c (pascal_val_print): Ditto. + * ada-valprint.c (ada_val_print_1): Ditto. + * f-valprint.c (f_val_print): Ditto. + * infcmd.c (registers_info): Ditto. + * m2-valprint.c (m2_val_print): Ditto. + +2011-01-25 Pedro Alves <pedro@codesourcery.com> + * m2-valprint.c (print_unbounded_array): Pass value_contents_for_printing rather than value_contents, to m2_print_array_contents. Also pass in the value. |