This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: main(), registers and gdb
On Wed, Jan 10, 2007 at 04:50:59PM -0700, Greg Watson wrote:
> That would be nice. Although this seems like a trivial issue, it can
> potentially effect debugging all MPI programs since they always start
> with 'MPI_Init(&argc, &argv)'.
See my reply to the bug. This is specific to i686 32-bit compilers,
arguments, and functions named "main".
> >And honestly, I have no idea how that happened. Does it happen
> >with a current GDB? I suspect from the error message that this
> >one is not too recent.
>
> It's gdb 6.5, so reasonably recent.
Please try a current snapshot. Thanks.
--
Daniel Jacobowitz
CodeSourcery