[RFA/ARM] Framificate the ARM port [3/3]

Andrew Cagney ac131313@redhat.com
Tue Jul 1 23:24:00 GMT 2003


> Just in case you're wondering.
>> 
>> This would break any architecture that didn't have an FP called "fp". 
>> This is because, "$fp" defaults to get_frame_base() ... :-(
> 
> 
> Argh!

:-)

> get_frame_base_address defaults to get_frame_base; I could update
> value_of_builtin_frame_fp_reg safely, I think.  But I have no idea
> where that would end up, so I'm going to defer to your judgement on
> this if you've got a preference...

kfail arm-*-* gdb/497?

Having value_of_builtin_frame_fp_reg return get_frame_base_address is 
certainly more correct.  The intent was for $fp to return the ABI's 
virtual frame base register.

Try it.

PS: ARM $fp confusion fixed?
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=479




More information about the Gdb-patches mailing list