From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19763 invoked by alias); 13 Oct 2007 20:26:21 -0000 Received: (qmail 19753 invoked by uid 22791); 13 Oct 2007 20:26:21 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 Oct 2007 20:26:19 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id D6CA1982AD; Sat, 13 Oct 2007 20:26:16 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B94E2981F3; Sat, 13 Oct 2007 20:26:16 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IgnYt-0002ey-6w; Sat, 13 Oct 2007 16:26:15 -0400 Date: Sat, 13 Oct 2007 21:09:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [rfc] Teach i386 prologue reader about _alloca and __main Message-ID: <20071013202615.GA9946@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <47112285.2080100@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47112285.2080100@portugalmail.pt> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00363.txt.bz2 On Sat, Oct 13, 2007 at 08:54:45PM +0100, Pedro Alves wrote: > * gdbarch.sh (gdbarch_skip___main_call): New. > * gdbarch.h, gdbarch.c: Regenerate. I don't have time or experience to look at this thoroughly right now, but I did notice this: you can just put this in i386's gdbarch_tdep. -- Daniel Jacobowitz CodeSourcery