This is the mail archive of the gdb@sourceware.org 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: PowerPC 603 Register Set Clarification



--- Daniel Jacobowitz <drow@false.org> wrote:
> The best way to answer this question is to configure
> GDB appropriately
> to talk to a 603 target, and then run "maint info
> registers".  That
> will tell you the expected offsets of every
> register.

There isn't a registers subcommand under maintenance
info but there is a maintenance print raw-registers
command that looks like it gives the desired
information.  It says that ASR and the two placeholder
registers have a size of zero.  So, that would imply
that both the 'G' and 'g' packets would just omit them
all.  However, I do see GDB trying to read these three
registers via the 'p' packet.  In that case, should a
stub reply with an error or an empty response?  It
doesn't seem possible to returns zeroes since there is
no size associated with these registers.

Thanks for the help!

Ron McCall


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