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: [patch] Have remote.c handle 0 .. NUM_REGS+NUM_PSEUDO_REGS, almost


> Hello,
> 
> The attached modifies remote.c so that it can, almost, handle registers
> that are not in the g-packet.  I say ``almost'' since it is also going
> to need a follow on change - p-packet support (Fernando proposed
> something a long time ago, I'll need to review that).
> 
>     Andrew
> 
> 
> 
> 2001-12-04  Andrew Cagney  <ac131313@redhat.com>
> 
> * remote.c (struct packet_reg): Add field in_g_packet.
> 	(struct remote_state): Rename field g_packet to regs;
> 	(free_remote_state): Update.
> 	(init_remote_state): Add pseudo-registers to table.  Initialize
> 	in_g_packet.  Drop sentinal from table.
> 	(packet_reg_from_regnum, packet_reg_from_pnum): Update.
> 	(remote_fetch_registers): Handle registers not in the g-packet.
> 	(remote_store_registers): Ditto.
> 
> 

Just FYI, I finally managed to test it - against a remote SID.  I've 
checked it in.

Andrew




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