This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: m68k_register_virtual_type


|> > + else if ((unsigned) regnum >= E_FPC_REGNUM)
|> > + return builtin_type_int;
|> |> builtin_type_int32 is better
|> |> > else if ((unsigned) regnum >= FP0_REGNUM)
|> > return builtin_type_long_double;
|> > + else if (regnum == PS_REGNUM)
|> > + return builtin_type_int
|> |> Ditto.

What about the default case for the d0-d7 registers? Should it be changed
to builtin_type_int32 as well?
Er, yes. (And eventually long_double to builtin_type_m68881_ext but the last one might have fallout related to register conversions).

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]