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] mingw64: Skip over __main in main


> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Date: Mon, 27 Sep 2010 18:25:25 +0200
> 
>   This patch enables recognition of call to __main
> as part of the prologue of main for mingw64 binaries.
> 
>   It's almost a copy of the i386-tdep.c counterpart
> (expect that I removed the 32-bit specific overflow code).
> 
>   It makes things more consistent with the way 32-bit binaries
> are treated and allows to run testsuite on Cygwin
> (after a few tricks ...).
> 
>   Is this patch OK?

Fine with me.

> 2010-09-27  Pierre Muller  <muller@ics.u-strasbg.fr>
> 
> 	* src/gdb/amd64-windows-tdep.c (amd64_skip_main_prologue): New function.
> 	(amd64_windows_init_abi): Register amd64_skip_main_prologue
> 	as gdbarch skip_main_prologue method.


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