This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
sigtramp shortcut
- From: Daniel Jacobowitz <drow at false dot org>
- To: cagney at gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Tue, 2 Mar 2004 19:37:49 -0500
- Subject: sigtramp shortcut
[Sorry about breaking the thread - this came to me after deleting your
message...]
You could probably predicate the code inspection on find_pc_section. You're
looking for the kernel-generated trampoline if it has no name, so it should
be outside any of the objfiles GDB knows about - and this is one of a very
limited set of things (in most applications) that will meet that criteria.
Would that work?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer