From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: pierre.muller@ics-cnrs.unistra.fr
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] mingw64: Skip over __main in main
Date: Mon, 27 Sep 2010 19:01:00 -0000 [thread overview]
Message-ID: <201009271743.o8RHh7YS014909@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <007f01cb5e60$971b6f20$c5524d60$@muller@ics-cnrs.unistra.fr> (pierre.muller@ics-cnrs.unistra.fr)
> 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.
next prev parent reply other threads:[~2010-09-27 17:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 17:43 Pierre Muller
2010-09-27 19:01 ` Mark Kettenis [this message]
2010-09-28 9:21 ` Pierre Muller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201009271743.o8RHh7YS014909@glazunov.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sourceware.org \
--cc=pierre.muller@ics-cnrs.unistra.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox