How can I compile with debugging info under cygwin? I tried -g and it blew up on me.
Thanks, Rob
On Fri, Jul 23, 2010 at 5:14 AM, Rob Withers reefedjib@yahoo.com wrote:
How can I compile with debugging info under cygwin? I tried -g and it blew up on me.
Have a look at the Cog cygwin makefiles. They use -ggdb2 (-ggdb3 & -ggdb3 works too) and --add-gnu-debuglink to connect the stripped executable to the unstripped for debugging the stripped executable.
Thanks, Rob
So I should run CroquetUnstripped.exe to debug? I am a little confused by all the binaries.
From: Eliot Miranda Sent: Friday, July 23, 2010 1:06 PM To: Squeak Virtual Machine Development Discussion Subject: Re: [Vm-dev] debugging info
--------------------------------------------------------------------------------
On Fri, Jul 23, 2010 at 5:14 AM, Rob Withers reefedjib@yahoo.com wrote:
How can I compile with debugging info under cygwin? I tried -g and it blew up on me.
Have a look at the Cog cygwin makefiles. They use -ggdb2 (-ggdb3 & -ggdb3 works too) and --add-gnu-debuglink to connect the stripped executable to the unstripped for debugging the stripped executable.
Thanks, Rob
On Fri, Jul 23, 2010 at 11:37 PM, Rob Withers reefedjib@yahoo.com wrote:
So I should run CroquetUnstripped.exe to debug? I am a little confused by all the binaries.
You can use either Croquet.exe or CroquetUnstripped.exe. If footprint is a concern you deploy Croquet.exe and (if needed to debug in the field) grab a copy of CroquetUnstripped.exe, gdb Croquet.exe and say (gdb) file CroquetUnstripped.exe. If footprint isn't a concern just use CroquetUnstripped.exe.
The CroquetConsole.exe & its unstripped twin are there because WIndows divides binaries into those that run in their own window (effectively with no stdio) and those that in a console with stdio.
HTH Eliot
*From:* Eliot Miranda eliot.miranda@gmail.com *Sent:* Friday, July 23, 2010 1:06 PM *To:* Squeak Virtual Machine Development Discussionvm-dev@lists.squeakfoundation.org *Subject:* Re: [Vm-dev] debugging info
On Fri, Jul 23, 2010 at 5:14 AM, Rob Withers reefedjib@yahoo.com wrote:
How can I compile with debugging info under cygwin? I tried -g and it blew up on me.
Have a look at the Cog cygwin makefiles. They use -ggdb2 (-ggdb3 & -ggdb3 works too) and --add-gnu-debuglink to connect the stripped executable to the unstripped for debugging the stripped executable.
Thanks, Rob
vm-dev@lists.squeakfoundation.org