This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Resurrect v850
On Tue, May 17, 2005 at 10:29:53PM +0200, Mark Kettenis wrote:
> Date: Tue, 17 May 2005 16:09:35 +0200
> From: Corinna Vinschen <vinschen@redhat.com>
>
> Hi Daniel,
>
> Ok, I *think* I have followed all your suggestions and hints throughout
> the file. The result is attached below.
>
> This looks pretty good. I noticed that v850_register_type returns
> builtin_type_uint32 for your E_PC_REGNUM. Did you consider returning
> builtin_type_void_func_ptr for that register? It has the nice
> side-effect that "info registers" displays the function name the pc is
> currently in.
Would "set $pc = $pc + 2" still work if $pc is a function pointer?
--
Daniel Jacobowitz
CodeSourcery, LLC