From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21417 invoked by alias); 3 Mar 2004 00:37:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21410 invoked from network); 3 Mar 2004 00:37:49 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 3 Mar 2004 00:37:49 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AyKOT-0007n3-8g; Tue, 02 Mar 2004 19:37:49 -0500 Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Daniel Jacobowitz To: cagney@gnu.org, gdb-patches@sources.redhat.com Subject: sigtramp shortcut Message-ID: <20040303003748.GA29902@nevyn.them.org> Mail-Followup-To: cagney@gnu.org, gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00037.txt.bz2 [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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21417 invoked by alias); 3 Mar 2004 00:37:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21410 invoked from network); 3 Mar 2004 00:37:49 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 3 Mar 2004 00:37:49 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AyKOT-0007n3-8g; Tue, 02 Mar 2004 19:37:49 -0500 Date: Wed, 03 Mar 2004 00:37:00 -0000 From: Daniel Jacobowitz To: cagney@gnu.org, gdb-patches@sources.redhat.com Subject: sigtramp shortcut Message-ID: <20040303003748.GA29902@nevyn.them.org> Mail-Followup-To: cagney@gnu.org, gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03.o/txt/msg00037.txt Message-ID: <20040303003700.saSpUCv5lVumGJrPxMxevb2GZjDu-nbX-ozTkXIwRrY@z> [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