From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7902 invoked by alias); 10 Jun 2008 13:51:20 -0000 Received: (qmail 7888 invoked by uid 22791); 10 Jun 2008 13:51:18 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jun 2008 13:50:49 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id m5ADnOjl022944; Tue, 10 Jun 2008 15:49:24 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id m5ADnNrN013906; Tue, 10 Jun 2008 15:49:24 +0200 (CEST) Date: Tue, 10 Jun 2008 17:56:00 -0000 Message-Id: <200806101349.m5ADnNrN013906@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: muller@ics.u-strasbg.fr CC: pedro@codesourcery.com, gdb-patches@sourceware.org, drow@false.org In-reply-to: <000301c8c872$d9493660$8bdba320$@u-strasbg.fr> (muller@ics.u-strasbg.fr) Subject: Re: [RFA] New skip __main version References: <004f01c8ac58$06a1ddb0$13e59910$@u-strasbg.fr> <000c01c8c246$de300f50$9a902df0$@u-strasbg.fr> <200805301157.m4UBvOL5009408@brahms.sibelius.xs4all.nl> <001901c8c256$06f8be00$14ea3a00$@u-strasbg.fr> <001a01c8c263$f493b1d0$ddbb1570$@u-strasbg.fr> <200805301457.m4UEvnGD028393@brahms.sibelius.xs4all.nl> <000301c8c2ea$0c2d72a0$248857e0$@u-strasbg.fr> <20080605202640.GL25085@caradoc.them.org> <200806052041.m55Kfneh015684@brahms.sibelius.xs4all.nl> <002101c8c7a5$8066c850$813458f0$@u-strasbg.fr> <000301c8c872$d9493660$8bdba320$@u-strasbg.fr> 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: 2008-06/txt/msg00204.txt.bz2 > From: "Pierre Muller" > Date: Sat, 7 Jun 2008 09:48:15 +0200 > > Here is a new version of this patch: Looks ok to me. > ChangeLog entry: > > 2008-06-07 Pedro Alves > Pierre Muller > > * gdbarch.sh (gdbarch_skip_main_prologue): New. > * gdbarch.h, gdbarch.c: Regenerate. > * i386-tdep.h (i386_skip_main_prologue): Declare. > * i386-tdep.c (i386_skip_main_prologue): New. > * i386-cygwin-tdep.c (i386_cygwin_init_abi): Register > i386_skip_main_prologue as gdbarch_skip_main_prologue gdbarch > callback. > * symtab.c (find_function_start_sal): When pc points at the "main" > function, call gdbarch_skip_main_prologue.