This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [RFA] New skip __main version


I took the liberty to interpret this answer from Mark
as an approval and committed this patch.

Thanks to all,


Pierre Muller
Pascal language support maintainer for GDB



-----Message d'origine-----
De?: gdb-patches-owner@sourceware.org
[mailto:gdb-patches-owner@sourceware.org] De la part de Mark Kettenis
Envoyé?: Tuesday, June 10, 2008 3:49 PM
À?: muller@ics.u-strasbg.fr
Cc?: pedro@codesourcery.com; gdb-patches@sourceware.org; drow@false.org
Objet?: Re: [RFA] New skip __main version

> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> 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  <pedro_alves@portugalmail.pt>
> 	Pierre Muller  <muller@ics.u-strasbg.fr>
> 
> 	* 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]