Re: [gnome-love] Weird behaviour debugging with GDB
- From: Sean Middleditch <elanthis awesomeplay com>
- To: Jaap Haitsma <jaap haitsma org>
- Cc: Gnome-Love <gnome-love gnome org>
- Subject: Re: [gnome-love] Weird behaviour debugging with GDB
- Date: Sun, 10 Apr 2005 18:03:19 -0400
On Sun, 2005-04-10 at 23:30 +0200, Jaap Haitsma wrote:
Elijah Newren wrote:
Sounds like you're trying to debug code that has been optimized (e.g.
compiled with '-O2'). It's much easier to debug code compiled without
such optimization flags.
Thanks, already thought of that. ;-) I just compiled with -g, or does
that not disable all optimisation.
No, it does not. Use -O0 to force optimizations off (that should be the
default, though).
--
Sean Middleditch <elanthis awesomeplay com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]