aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-05-23 04:28:05 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-05-23 04:28:05 +0000
commitd44e847372bc71608d46402a65034c8d40ba2e80 (patch)
treece5f58b4b28c2cc83afc0a951a07e1a34ec314f5 /gdb/valprint.h
parentcbc80391d0150f6926d2b18db4bafa7ce23f17a5 (diff)
downloadgdb-d44e847372bc71608d46402a65034c8d40ba2e80.zip
gdb-d44e847372bc71608d46402a65034c8d40ba2e80.tar.gz
gdb-d44e847372bc71608d46402a65034c8d40ba2e80.tar.bz2
* 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.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r--gdb/valprint.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h
index ed18490..669f59d 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -69,17 +69,17 @@ extern void val_print_type_code_flags (struct type *type,
struct ui_file *stream);
extern void print_binary_chars (struct ui_file *, const gdb_byte *,
- unsigned int);
+ unsigned int, enum bfd_endian);
extern void print_octal_chars (struct ui_file *, const gdb_byte *,
- unsigned int);
+ unsigned int, enum bfd_endian);
extern void print_decimal_chars (struct ui_file *, const gdb_byte *,
- unsigned int);
+ unsigned int, enum bfd_endian);
extern void print_hex_chars (struct ui_file *, const gdb_byte *,
- unsigned int);
+ unsigned int, enum bfd_endian);
extern void print_char_chars (struct ui_file *, const gdb_byte *,
- unsigned int);
+ unsigned int, enum bfd_endian);
#endif