From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22164 invoked by alias); 14 Jun 2004 13:17:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21892 invoked from network); 14 Jun 2004 13:17:03 -0000 Received: from unknown (HELO arbetsmyra.dyndns.org) (81.225.25.34) by sourceware.org with SMTP; 14 Jun 2004 13:17:03 -0000 Received: by arbetsmyra.dyndns.org (Postfix, from userid 501) id 6C219837; Mon, 14 Jun 2004 15:16:59 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ronny L Nilsson To: gdb@sources.redhat.com Subject: Re: Small backtrace tool? Date: Mon, 14 Jun 2004 13:17:00 -0000 References: <20040612010626.494D4819@arbetsmyra.dyndns.org> In-Reply-To: <20040612010626.494D4819@arbetsmyra.dyndns.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20040614131659.6C219837@arbetsmyra.dyndns.org> X-SW-Source: 2004-06/txt/msg00141.txt.bz2 > Since GDB is quite big on disk and ain't suited for non-interactive > small-sized embedding I've created a backtracetool of my own. Sized > to about 12 kb it sure ain't full of features but can parse a Linux > i386 corefile and show a simplified backtrace. My question is, are > there any tools available doing this already (besides gdb), or is it > worth the effort continue my work? Hi Regarding this issue I'm woundering if anyone could give me a hint of when Linux is using "signal trampolines"? When reading in gdb/i386-linux-tdep.c large portion of it handles them but I can't get the kernel to generate them. Using a simple signal handler in my userspace test-app seems not enough. regards /Ronny