Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bill Morgan <arthurwilliammorgan@gmail.com>
To: palves@redhat.com
Cc: Simon Marchi <simon.marchi@polymtl.ca>, gdb@sourceware.org
Subject: Re: gdb ignoring vCont supported commands
Date: Fri, 19 Oct 2018 17:12:00 -0000	[thread overview]
Message-ID: <CAM4wpo8C-Bct-Bhuht_nV7hPFSZahSysaWBek8Vs3jWviEdA8Q@mail.gmail.com> (raw)
In-Reply-To: <818ac329-32b3-219d-ad28-11a7961b24ad@redhat.com>

On Fri, Oct 19, 2018 at 8:35 AM Pedro Alves <palves@redhat.com> wrote:

> On 10/18/2018 02:42 PM, Bill Morgan wrote:
> > On Tue, Oct 9, 2018 at 4:12 PM Pedro Alves <palves@redhat.com> wrote:
> >
> >> On 10/09/2018 09:29 PM, Bill Morgan wrote:
> >>>
> >>> So it is now recognizing the vContSupported, but it is still sending
> >>> vCont;s
> >>>
> >>
> >> Argh, I forgot that this only really works on ARM GNU/Linux.
> >> What is your target?
> >>
> >> We're missing the small infrastructure change in GDB
> >> mentioned in the discussion I linked before.
> >>
> >
> > I couldn't get the change on the other thread to work,
>
> What change do you mean?
>
> The change you posted here:
https://sourceware.org/ml/gdb-patches/2018-09/msg00312.html

"The only think missing then I think is moving the only call to

target_can_do_single_step out of the arm-linux-tdep.c file:

 static std::vector<CORE_ADDR>
 arm_linux_software_single_step (struct regcache *regcache)
 {
   struct gdbarch *gdbarch = regcache->arch ();
   struct arm_get_next_pcs next_pcs_ctx;

   /* If the target does have hardware single step, GDB doesn't have
      to bother software single step.  */
   if (target_can_do_single_step () == 1)
     return {};


into somewhere more generic, around infrun.c:maybe_software_singlestep."


      reply	other threads:[~2018-10-19 17:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-09 13:42 Bill Morgan
2018-10-09 18:30 ` Pedro Alves
2018-10-09 20:12   ` Bill Morgan
2018-10-09 20:17     ` Simon Marchi
2018-10-09 20:29       ` Bill Morgan
2018-10-09 21:12         ` Pedro Alves
2018-10-09 21:17           ` Bill Morgan
2018-10-09 21:34             ` Bill Morgan
2018-10-19 13:40               ` Pedro Alves
2018-10-19 21:18                 ` Bill Morgan
2018-10-11 17:23           ` Bill Morgan
2018-10-18 13:42           ` Bill Morgan
2018-10-19 13:35             ` Pedro Alves
2018-10-19 17:12               ` 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=CAM4wpo8C-Bct-Bhuht_nV7hPFSZahSysaWBek8Vs3jWviEdA8Q@mail.gmail.com \
    --to=arthurwilliammorgan@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=palves@redhat.com \
    --cc=simon.marchi@polymtl.ca \
    /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