[commit:avr] don't call set_gdbarch_bfd_vma_bit.
Theodore A. Roth
troth@openavr.org
Fri Jun 20 18:08:00 GMT 2003
Hi,
Committed the attached.
This was the only use of set_gdbarch_bfd_vma_bit that I could find in
gdb. I never really understood it's purpose anyways and removing it
doesn't affect anything that I can see.
The only use of TARGET_BFD_VMA_BIT I can find is in gdbtypes.c when
setting builtin_type_bfd_vma.
Ted Roth
2003-06-20 Theodore A. Roth <troth@openavr.org>
* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
-------------- next part --------------
2003-06-20 Theodore A. Roth <troth@openavr.org>
* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
Index: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.65
diff -u -r1.65 avr-tdep.c
--- avr-tdep.c 20 Jun 2003 16:55:51 -0000 1.65
+++ avr-tdep.c 20 Jun 2003 17:52:53 -0000
@@ -1315,7 +1315,6 @@
set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT);
set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT);
set_gdbarch_addr_bit (gdbarch, 32);
- set_gdbarch_bfd_vma_bit (gdbarch, 32); /* FIXME: TRoth/2002-02-18: Is this needed? */
set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);
set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT);
More information about the Gdb-patches
mailing list