OSDN Git Service

ChangeLog:
authoruweigand <uweigand>
Wed, 3 Jun 2009 18:08:14 +0000 (18:08 +0000)
committeruweigand <uweigand>
Wed, 3 Jun 2009 18:08:14 +0000 (18:08 +0000)
commit65f7c755e02d8017d24b561aa400382aa1b56605
treed2ad1364a2691a73d2d8a49b7a1df9e8c27adf4a
parent34d8a799b459121019319d10ac9dca0cd7a510b7
ChangeLog:

* mdebugread.c (mdebug_type_void, mdebug_type_char, mdebug_type_short,
mdebug_type_int, mdebug_type_int_32, mdebug_type_int_64,
mdebug_type_long_32, mdebug_type_long_64, mdebug_type_long_long_64,
mdebug_type_unsigned_char, mdebug_type_unsigned_short,
mdebug_type_unsigned_int_32, mdebug_type_unsigned_int_64,
mdebug_type_unsigned_long_32, mdebug_type_unsigned_long_64,
mdebug_type_unsigned_long_long_64, mdebug_type_adr_32,
mdebug_type_adr_64, mdebug_type_float, mdebug_type_double,
mdebug_type_complex, mdebug_type_double_complex,
mdebug_type_fixed_dec, mdebug_type_float_dec, mdebug_type_string):
Remove.

(basic_type_data): New global variable.
(basic_type): New function.
(parse_type): Remove static basic type map map_bt.  Call basic_type
to get basic types instead of using mdebug_type_ variables.

(parse_symbol): Use builtin types instead of mdebug_type_ variables.
(upgrade_type): Likewise.
(parse_procedure): Likewise.
(psymtab_to_symtab_1): Likewise.

(_initialize_mdebugread): Do not initialize mdebug_type_ variables.
Initialize basic_type_data.

include/coff/ChangeLog:

* symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
btAdr64, btInt64, btUInt64): New defines.
gdb/ChangeLog
gdb/mdebugread.c
include/coff/ChangeLog
include/coff/symconst.h