From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15303 invoked by alias); 4 Jul 2002 11:24:24 -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 15256 invoked from network); 4 Jul 2002 11:24:21 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.114.42) by sources.redhat.com with SMTP; 4 Jul 2002 11:24:21 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.11.6/8.11.6) with ESMTP id g64BOIx00693; Thu, 4 Jul 2002 13:24:18 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.11.6/8.11.6) id g64BOI300563; Thu, 4 Jul 2002 13:24:18 +0200 (CEST) (envelope-from kettenis) Date: Thu, 04 Jul 2002 06:16:00 -0000 From: Mark Kettenis Message-Id: <200207041124.g64BOI300563@elgar.kettenis.dyndns.org> To: eliz@is.elta.co.il CC: gdb-patches@sources.redhat.com In-reply-to: (message from Eli Zaretskii on Thu, 4 Jul 2002 13:08:06 +0300 (IDT)) Subject: Re: [PATCH] Convert i386 target to generic dummy frames References: X-SW-Source: 2002-07/txt/msg00077.txt.bz2 Date: Thu, 4 Jul 2002 13:08:06 +0300 (IDT) From: Eli Zaretskii On Thu, 4 Jul 2002, Mark Kettenis wrote: > This patch converts the i386 target to use generic dummy frames. > Since this is supposed to be a prerequisit for using the DWARF2 frame > unwinding stuff, I'll try to figure out how I can use that stuff on > the i386. Does this change affect the non-DWARF2 targets in any way? It shouldn't. The generic dummy frame change influences the way functions are called from within GDB. We used to execute a bit of code on the stack, but now GDB directly calls the function and makes it return to the original entry point of your program where it places a breakpoint. I noticed some fall out with respect to signal handlers on FreeBSD and Linux but that should be fixed now. However there is a change in the way GDB handles these function calls, so there might be some other bugs that'll surface now. Once I start messing with the DWARF2 frame stuff, I'll make sure that when the necessary information isn't present, we fall back on the old code. Perhaps I'll even add a command to let the user choose. Mark