This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Resurrect v850


   Date: Tue, 17 May 2005 16:32:55 -0400
   From: Daniel Jacobowitz <drow@false.org>

   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?

Seems to work for me on the i386 target that I just modified to do
this ;-).  And amd64 and sparc/sparc64 already do this for quite some
time.  Actually I was surprised to find out that i386 didn't.  Expect
that to be fixed soon ;-).

Mark


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