* valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
authorMarkus Deuling <deuling@de.ibm.com>
Fri, 23 May 2008 04:28:05 +0000 (04:28 +0000)
committerMarkus Deuling <deuling@de.ibm.com>
Fri, 23 May 2008 04:28:05 +0000 (04:28 +0000)
commitd44e847372bc71608d46402a65034c8d40ba2e80
treece5f58b4b28c2cc83afc0a951a07e1a34ec314f5
parentcbc80391d0150f6926d2b18db4bafa7ce23f17a5
* valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
print_binary_chars, print_char_chars): Add byte_order parameter and
replace gdbarch_byte_order.
(print_decimal_chars): Replace START_P, NOT_END_P and NEXT_P by their
expressions and remove them.  Remove unused TWO_TO_FOURTH.
(val_print_type_code_int): Introduce gdbarch_byte_order to get at the
endianness.  Update call to print_hex_chars.
* valprint.h (print_hex_chars, print_octal_chars, print_decimal_chars,
print_binary_chars, print_char_chars): Add byte_order parameter.
* printcmd.c (print_scalar_formatted): Introduce gdbarch_byte_order to
get at the endianness.  Update print_*_char calls to use byte_order.
gdb/ChangeLog
gdb/printcmd.c
gdb/valprint.c
gdb/valprint.h