stack corruption?
Daniel Jacobowitz
drow@false.org
Tue Jun 14 02:01:00 GMT 2005
On Mon, Jun 13, 2005 at 09:45:20PM -0400, Louis LeBlanc wrote:
> This might be a bit of a trivial question, but I am having trouble
> with stack corruption.
>
> I started seeing this after I began using gcc 3.3 with the -ggdb -g3
> flags to try to provide more detailed info for gdb. Can anyone tell
> me how these flags change the executable?
>
> Without the -ggdb switch, I don't get any debugging symbols at all.
>
> Anyone have any ideas what else I should be looking at?
Stack corruption in your program, or in GDB? Neither should change the
generated code at all. -g3 adds macro debugging information.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list