This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [m68k] correct m68k_convert_register_p for coldfire
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Vladimir Prus <vladimir at codesourcery dot com>, Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Fri, 6 Nov 2009 13:23:52 +0000
- Subject: Re: [m68k] correct m68k_convert_register_p for coldfire
- References: <200911061604.18419.vladimir@codesourcery.com>
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