[m68k] correct m68k_convert_register_p for coldfire
Vladimir Prus
vladimir@codesourcery.com
Fri Nov 6 17:25:00 GMT 2009
Pedro Alves wrote:
> 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.
Doh! Here's what I've ended up checking it.
- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: final.diff
Type: text/x-diff
Size: 1310 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20091106/f3c40651/attachment.bin>
More information about the Gdb-patches
mailing list