aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-05-03 09:21:27 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-05-03 09:21:27 -0400
commit35837774a77d641ba3ae75930a7b08ed853759ad (patch)
tree631a95adaa1f77d303d42044e7c178ebb1784500 /gdb/gdbarch.h
parentc94fee56f5f8e5e26a115a1ca155ddada9d43b31 (diff)
downloadgdb-35837774a77d641ba3ae75930a7b08ed853759ad.zip
gdb-35837774a77d641ba3ae75930a7b08ed853759ad.tar.gz
gdb-35837774a77d641ba3ae75930a7b08ed853759ad.tar.bz2
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.h')
-rw-r--r--gdb/gdbarch.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 442bef1..15a8141 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -128,11 +128,7 @@ extern const struct target_desc * gdbarch_target_desc (struct gdbarch *gdbarch);
extern int gdbarch_bits_big_endian (struct gdbarch *gdbarch);
extern void set_gdbarch_bits_big_endian (struct gdbarch *gdbarch, int bits_big_endian);
-/* 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. */
+/* Number of bits in a short or unsigned short for the target machine. */
extern int gdbarch_short_bit (struct gdbarch *gdbarch);
extern void set_gdbarch_short_bit (struct gdbarch *gdbarch, int short_bit);