This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch v2 4/5, nios2] work around issues with unwritable signal handler trampoline code
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>, Yao Qi <qiyaoltc at gmail dot com>
- Date: Fri, 08 May 2015 12:08:20 +0100
- Subject: Re: [patch v2 4/5, nios2] work around issues with unwritable signal handler trampoline code
- Authentication-results: sourceware.org; auth=none
- References: <554172F8 dot 2020108 at codesourcery dot com> <554178D2 dot 7070508 at codesourcery dot com>
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 (éå)