From: Antoine Tremblay <antoine.tremblay@ericsson.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: Pedro Alves <palves@redhat.com>,
Antoine Tremblay <antoine.tremblay@ericsson.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] Enable range stepping for ARM on GDBServer
Date: Thu, 01 Sep 2016 17:06:00 -0000 [thread overview]
Message-ID: <wwokoa47h7nx.fsf@ericsson.com> (raw)
In-Reply-To: <CAH=s-PN-T_VVrjF2tf71wD15mLALEHbd3Wy_DA2duDrFYnqXmQ@mail.gmail.com>
Yao Qi writes:
> [sigh, I am testing my arm range stepping patches today...]
>
Thanks for working on this :)
> On Thu, Sep 1, 2016 at 4:59 PM, Pedro Alves <palves@redhat.com> wrote:
>>>>
>>>>> I'm sorry I can't be more helpful at the moment but I wanted to post
>>>>> this issue before I have to leave for a while.
>>>>
>>>> Understood. Does enabling range stepping unblock something else?
>>>
>>> It would unblock ARM tracepoints, as per Yao's requirements...
>>
>> Tracepoints make gdbserver single-step and then not report the event
>> to gdb, so I do see the parallel with range-stepping. Throwing
>> while-stepping into the equation would make it even more clear.
>>
>
> Range-stepping makes gdbserver single-step and then not report the event
> to gdb if thread pc is within the range. It is similar to tracepoint, but much
> simpler.
>
> Both range-stepping and tracepoing needs to remove reinsert_breakpoint
> when gdbserver gets an event but doesn't report it back to gdb. However,
> gdbserver doesn't do so now. That is the reason I believe we need to
> support range-stepping first, and I am working on this (but interrupted by
> 7.12 release). The draft patch attached removes reinsert_breakpoint when
> gdbserver gets an event but not to report it back to gdb.
>
OK
> Beside "removing reinsert_breakpoint on gdbserver internal event", we'd
> better to think that "each backend unwinders don't have to worry about
> unavailable data". I posted a draft here
> https://sourceware.org/ml/gdb-patches/2016-05/msg00060.html, I need
> some review comments. Pedro,
> can you take a look? This is not a hard requirement for ARM tracepoint
> support.
Thanks for not making this one a hard requirement!
Regards,
Antoine
next prev parent reply other threads:[~2016-09-01 17:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-31 17:14 [PATCH 1/2] Fix lwp_suspend/unsuspend imbalance in linux_wait_1 Antoine Tremblay
2016-08-31 17:14 ` [PATCH 2/2] Enable range stepping for ARM on GDBServer Antoine Tremblay
2016-08-31 17:50 ` Pedro Alves
2016-08-31 18:15 ` Antoine Tremblay
2016-08-31 18:39 ` Pedro Alves
2016-08-31 19:14 ` Antoine Tremblay
2016-09-01 13:37 ` Pedro Alves
2016-09-01 15:21 ` Antoine Tremblay
2016-09-01 15:59 ` Pedro Alves
2016-09-01 16:44 ` Yao Qi
2016-09-01 17:02 ` Pedro Alves
2016-09-01 17:06 ` Antoine Tremblay [this message]
2016-09-01 16:46 ` Antoine Tremblay
2016-09-18 19:58 ` Yao Qi
2016-08-31 17:40 ` [PATCH 1/2] Fix lwp_suspend/unsuspend imbalance in linux_wait_1 Pedro Alves
2016-08-31 17:50 ` Antoine Tremblay
2016-08-31 17:52 ` Pedro Alves
2016-08-31 18:25 ` Antoine Tremblay
2016-08-31 19:16 ` Antoine Tremblay
2016-09-01 13:09 ` Pedro Alves
2016-09-01 15:12 ` Antoine Tremblay
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=wwokoa47h7nx.fsf@ericsson.com \
--to=antoine.tremblay@ericsson.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=qiyaoltc@gmail.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