public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Bill Morgan <arthurwilliammorgan@gmail.com>
To: christo.crause@gmail.com
Cc: gdb@sourceware.org
Subject: Re: gdb tcp connection closing
Date: Fri, 21 Sep 2018 13:16:00 -0000	[thread overview]
Message-ID: <CAM4wpo8HTP661k94g53yEytMwDVU2UzvDdXYBAADORSccBrZeA@mail.gmail.com> (raw)
In-Reply-To: <CAM4wpo_V3LuS-aFbyA7j_BNU4JKrw0PtAdZQw7HUZ-8rAfKJiw@mail.gmail.com>

On Fri, Sep 21, 2018 at 7:56 AM Bill Morgan <arthurwilliammorgan@gmail.com>
wrote:

>
> On Thu, Sep 20, 2018 at 11:49 PM Christo <christo.crause@gmail.com> wrote:
>
>> On Thu, 2018-09-20 at 17:48 -0500, Bill Morgan wrote:
>> > I'm trying to write a GDB stub for an embedded application
>> >
>> > For some reason the GDB host is closing the TCP connection after it
>> > requests qOffsets, and the stub sends an empty reply.
>> >
>> > Is that expected?
>>
>> Have you activated the debug remote option in gdb (set debug remote 1)?
>> This is sometimes useful
>> in pinpointing rsp problems.
>>
>
> Thanks. It is saying the remote register packet is badly formatted.
>
> Which part of the packet is wrong?
>
> gdb.error: Remote register badly formatted:
> T050b:00000000;0d:d87e2030;0f:d4523060;thread:9
>

I was missing the trailing semicolon ';'

      reply	other threads:[~2018-09-21 13:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20 22:49 Bill Morgan
2018-09-21  4:49 ` Christo
2018-09-21 12:57   ` Bill Morgan
2018-09-21 13:16     ` Bill Morgan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM4wpo8HTP661k94g53yEytMwDVU2UzvDdXYBAADORSccBrZeA@mail.gmail.com \
    --to=arthurwilliammorgan@gmail.com \
    --cc=christo.crause@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).