From: Pedro Alves <palves@redhat.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>,
GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix PR remote/21852: Remote run without specifying a local binary crashes GDB
Date: Wed, 23 Aug 2017 19:32:00 -0000 [thread overview]
Message-ID: <5f5fd8bf-2a6a-f98e-71e3-3c3ff4c03c8e@redhat.com> (raw)
In-Reply-To: <20170823173608.17654-1-sergiodj@redhat.com>
On 08/23/2017 06:36 PM, Sergio Durigan Junior wrote:
> A testcase is provided. Regtested on buildbot.
Looks good to me. A question below.
> gdb/ChangeLog:
> 2017-08-23 Pedro Alvex <palves@redhat.com>
Love my new name, thanks. :-)
> + # Let's start gdbserver in extended-remote mode now.
> + set res [gdbserver_start "--multi" ""]
> + set gdbserver_protocol [lindex $res 0]
> + if { [string first "extended-" $gdbserver_protocol] != 0} {
> + set gdbserver_protocol "extended-$gdbserver_protocol"
> + }
> + set gdbserver_gdbport [lindex $res 1]
> + set use_gdb_stub 0
I guess this can't use gdbserver_start_extended because that
somehow assumes you're starting with a binary? Can you add
a comment?
Thanks,
Pedro Alves
next prev parent reply other threads:[~2017-08-23 19:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-22 14:05 Sergio Durigan Junior
2017-08-22 18:09 ` Pedro Alves
2017-08-22 22:56 ` Sergio Durigan Junior
2017-08-22 23:19 ` Pedro Alves
2017-08-23 17:36 ` Sergio Durigan Junior
2017-08-23 19:32 ` Pedro Alves [this message]
2017-08-23 21:29 ` Sergio Durigan Junior
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=5f5fd8bf-2a6a-f98e-71e3-3c3ff4c03c8e@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=sergiodj@redhat.com \
/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