This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: PTRACE_SINGLESTEP into signal handler
- From: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 29 Nov 2004 15:12:32 +0100
- Subject: Re: PTRACE_SINGLESTEP into signal handler
Daniel Jacobowitz <drow@false.org> wrote on 11/28/2004 12:28:14 AM:
> I'm pretty sure that the answer is yes - we should stop on the first
> instruction. It does seem a little strange as a behavior when
> requesting single-step to step no instructions, but we have no other
> way to get to the beginning of the handler. i386 was changed recently.
Ok; so we'll change the s390 kernel to also stop at the beginning of
the handler. I've asked Martin to push the patch upstream.
Bye,
Ulrich
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com