This is the mail archive of the gdb-patches@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: [Patch, microblaze]: Add slr and shr regs


On 05/23/14 02:46, Ajit Kumar Agarwal wrote:


Let's try this one more time:  GDB is connected to something when you tell it to connect to the target with the "target remote" command.
This is returning a different sized G packet.  What is it that you are connecting to?

Here is the flow from GBD Client to XMD that's what is happening:

1. XMD connects to the hardware target through JTAG.
2. XMD Opens a GDB Server on the local host 1234.
3. GDB Client will connect to  the host:1234 through TCP, when the command "tar remote localhost:1234" is given.

Ajit --

Let me suggest this description of the problem:
  Prior to version x.xx, XMD's gdbserver stub returned 57 registers in
  response to GDB's G request.  Starting with version x.xx, XMD added the
  slr and shr register, for a count of 59 registers.  This patch adds
  these registers to the expected G response.

Please resubmit the patch, in full, with ChangeLog.


--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


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