This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] Enable range stepping for ARM on GDBServer


On Wed, Aug 31, 2016 at 7:39 PM, Pedro Alves <palves@redhat.com> wrote:
> On 08/31/2016 07:15 PM, Antoine Tremblay wrote:
>
> It sounds like gdbserver's event starvation avoidance isn't really
> working on sss targets with range stepping enabled.  E.g., are we
> doing the randomization too late?
>

We only randomize the events to be reported to GDB, however, we
don't randomize the pending events.  Every time, GDBserver select
pending events from the first one in thread list, threads in the end of
the list are likely starved.  This issue can be fixed by introducing pending
events randomization.

My patches are ready, and being regression tested.  During the
regression tests, some other issues are found (without my patches), so
I need to take a look at them first.

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]