diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-05-03 09:21:27 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-05-03 09:21:27 -0400 |
commit | 35837774a77d641ba3ae75930a7b08ed853759ad (patch) | |
tree | 631a95adaa1f77d303d42044e7c178ebb1784500 /gdb/gdbarch.sh | |
parent | c94fee56f5f8e5e26a115a1ca155ddada9d43b31 (diff) | |
download | binutils-gdb-35837774a77d641ba3ae75930a7b08ed853759ad.tar.gz |
gdbarch.sh: Remove commented out TARGET_CHAR_BIT definition
As Pedro commented on the patch "Change field separator in gdbarch.sh",
this commented out definition is probably not useful and should be
removed. It has been commented out for basically forever, and it
probably serves the same intent as addressable_memory_unit_size.
gdb/ChangeLog:
* gdbarch.sh: Remove commented out definition of
TARGET_CHAR_BIT.
* gdbarch.h: Re-generate.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 68163a19473..753819f321c 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -351,10 +351,6 @@ i;const struct target_desc *;target_desc;;;;;;;host_address_to_string (gdbarch-> # and such. Conceptually, it's quite separate from byte/word byte order. v;int;bits_big_endian;;;1;(gdbarch->byte_order == BFD_ENDIAN_BIG);;0 -# Number of bits in a char or unsigned char for the target machine. -# Just like CHAR_BIT in <limits.h> but describes the target machine. -# v;TARGET_CHAR_BIT;int;char_bit;;;;8 * sizeof (char);8;;0; -# # Number of bits in a short or unsigned short for the target machine. v;int;short_bit;;;8 * sizeof (short);2*TARGET_CHAR_BIT;;0 # Number of bits in an int or unsigned int for the target machine. |