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 v2 4/5, nios2] work around issues with unwritable signal handler trampoline code


Sandra Loosemore <sandra@codesourcery.com> writes:

> It was requested that I split the patch previously posted here:
>
> https://sourceware.org/ml/gdb-patches/2015-04/msg00907.html
>
> into two parts.  This is the second part.  There are no changes from
> v1 other than separating it from the part of the original patch that
> dealt with adjusting the register save area offset for the trampoline.

Hi Sandra,
I am inclined to fix this problem in a target-independent way.  There
was a discussion here https://sourceware.org/ml/gdb/2004-04/msg00089.html
and two approaches were discussed:

 1. insert the momentary breakpoint right to the place where signal was
 raised, to cross the signal handler trampoline,
 2. keep single stepping until it goes out the function or goes the
 right location.

These two are target-independent, and I don't have special preference on
them.

> OK to commit now?

Sorry, I am afraid this patch can't go in, but your first three patches
can go in independently.

-- 
Yao (éå)


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