This is the mail archive of the gdb-patches@sourceware.org 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] correct m68k_convert_register_p for coldfire


On Friday 06 November 2009 13:04:18, Vladimir Prus wrote:
>   Index: gdb/m68k-tdep.c
> ===================================================================
> --- gdb/m68k-tdep.c?????(revision 219692)
> +++ gdb/m68k-tdep.c?????(revision 219693)
> @@ -177,7 +177,7 @@
> ? ?if (!gdbarch_tdep (gdbarch)->fpregs_present)
> ? ? ?return 0;
> ? ?return (regnum >= M68K_FP0_REGNUM && regnum <= M68K_FP0_REGNUM + 7
> -??????? ?&& type != builtin_type_m68881_ext);
> +??????? ?&& type != register_type (current_gdbarch, M68K_FP0_REGNUM));
> ?}
> ?

Please don't apply this as is without at least trying to
build it...  current_gdbarch doesn't exist anymore.

-- 
Pedro Alves


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