diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-01-18 17:07:40 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-01-18 17:07:40 +0000 |
commit | 32c9a7957208ebe4d7a833cecbf552f3f852e733 (patch) | |
tree | e9504294b71969645a7458f45621802f01b00d6d /gdb/doc | |
parent | 1e5e79d0ce60af39979b37292669ec6dae3a9975 (diff) | |
download | gdb-32c9a7957208ebe4d7a833cecbf552f3f852e733.zip gdb-32c9a7957208ebe4d7a833cecbf552f3f852e733.tar.gz gdb-32c9a7957208ebe4d7a833cecbf552f3f852e733.tar.bz2 |
* gdbarch.sh (function_list): Add new property bits_big_endian to
gdbarch structure.
* gdbarch.{c,h}: Regenerate.
* value.c (struct value): Replace BITS_BIG_ENDIAN by
gdbarch_bits_big_endian (comment).
(unpack_field_as_long, modify_field): Likewise.
* value.h: Likewise (comment).
* valops.c (value_slice): Likewise.
* valarith.c (value_subscript, value_bit_index): Likewise.
* gdbtypes.h (field): Likewise (comment).
* eval.c (evaluate_subexp_standard): Likewise.
* dwarf2read.c (dwarf2_add_field): Likewise.
* ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
(move_bits, ada_value_assign, value_assign_to_component): Likewise.
* defs.h (BITS_BIG_ENDIAN): Remove.
* gdbint.texinfo (Target Conditionals): Replace the description of
BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9a47760..5de8244 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-01-18 Markus Deuling <deuling@de.ibm.com> + + * gdbint.texinfo (Target Conditionals): Replace the description of + BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian. + 2008-01-12 Paul Hilfinger <hilfinger@adacore.com> * gdb.texinfo (C Operators): Remove incorrect parenthetical comment diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index da2cd7b..8aa7410 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3344,12 +3344,18 @@ Used to notify if the compiler promotes a @code{short} or @code{char} parameter to an @code{int}, but still reports the parameter as its original type, rather than the promoted type. -@item BITS_BIG_ENDIAN -@findex BITS_BIG_ENDIAN -Define this if the numbering of bits in the targets does @strong{not} match the -endianness of the target byte order. A value of 1 means that the bits +@item gdbarch_bits_big_endian (@var{gdbarch}) +@findex gdbarch_bits_big_endian +This is used if the numbering of bits in the targets does @strong{not} match +the endianness of the target byte order. A value of 1 means that the bits are numbered in a big-endian bit order, 0 means little-endian. +@item set_gdbarch_bits_big_endian (@var{gdbarch}, @var{bits_big_endian}) +@findex set_gdbarch_bits_big_endian +Calling set_gdbarch_bits_big_endian with a value of 1 indicates that the +bits in the target are numbered in a big-endian bit order, 0 indicates +little-endian. + @item BREAKPOINT @findex BREAKPOINT This is the character array initializer for the bit pattern to put into |