Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro_alves@portugalmail.pt>
To: gdb@sourceware.org
Subject: Re: TUI + gdbserver broken?
Date: Mon, 19 Mar 2007 01:54:00 -0000	[thread overview]
Message-ID: <45FDECDB.6040000@portugalmail.pt> (raw)
In-Reply-To: <45FB3AA9.4040105@portugalmail.pt>

Pedro Alves wrote:
>
> But it is.  Going back to cvs before the following patch
> fixes both problems I see on Cygwin.
>
> 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
>
>    * frame.c (deprecated_selected_frame): Rename to...
>    (selected_frame): ...this.  Make static.
>    (get_selected_frame, select_frame): Update.
>    * frame.h (deprected_select_frame): Delete.
>    (deprecated_safe_get_selected_frame): Update comments.
>
>    * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
>    infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
>    tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
>    parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
>    tui/tui.c: Replace references to deprecated_selected_frame.
>
>
>>> (gdb) c
>>> Continuing.
>>> Remote communication error: Software caused connection abort.
>>>     
>>
>> I recommend set debug remote.  What does gdbserver do when this happens?
>>
>>   
>
> It ends successfully.
> I'm out of time for today to look further.
>

I've looked further.

Here's what happens, on TUI + gdbserver:

(...)
Packet vCont (verbose-resume) is supported
Sending packet: $vCont;c#a8...Ack
Packet received: W00
Sending packet: $g#67...Remote communication error: Software caused
connection abort.
(gdb) c
Continuing.

gdb is sending a g packet after a W.  Something in gdb didn't
realize that the the target already exited.  I'm posting
a patch at gdb-patches with a deeper rationale.

Cheers,
Pedro Alves




  reply	other threads:[~2007-03-19  1:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14  0:58 Pedro Alves
2007-03-14  2:29 ` Daniel Jacobowitz
2007-03-17  0:48   ` Pedro Alves
2007-03-19  1:54     ` Pedro Alves [this message]
2007-03-14  9:29 ` Denis PILAT
2007-03-14  9:42   ` Pedro Alves
2007-03-14 11:55     ` Denis PILAT

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=45FDECDB.6040000@portugalmail.pt \
    --to=pedro_alves@portugalmail.pt \
    --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