* m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.

This commit is contained in:
Stephane Carrez 2001-07-22 12:37:02 +00:00
parent 00d0c012ef
commit 7d32ba20c1
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* utils.c (init_page_info): Use tui_get_command_dimension.

View File

@ -1060,10 +1060,13 @@ m68hc11_gdbarch_init (struct gdbarch_info info,
default:
break;
}
/* Initially set everything according to the ABI. */
/* Initially set everything according to the ABI.
Use 16-bit integers since it will be the case for most
programs. The size of these types should normally be set
according to the dwarf2 debug information. */
set_gdbarch_short_bit (gdbarch, 16);
set_gdbarch_int_bit (gdbarch, 32);
set_gdbarch_int_bit (gdbarch, 16);
set_gdbarch_float_bit (gdbarch, 32);
set_gdbarch_double_bit (gdbarch, 64);
set_gdbarch_long_double_bit (gdbarch, 64);