Hey Daniel

Use “make debug=yes”.  That should work for you.

GC

Gregory Casamento
GNUstep Lead Developer / Black Lotus, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
https://www.patreon.com/bePatron?u=352392 - Become a Patron
https://www.openhub.net/languages/objective_c
https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-implementation


On Sun, Nov 24, 2024 at 14:17 Daniel Santos <daniel.d...@gmail.com> wrote:

> Hi,
>
> I am trying to do some changes in the sources of project center and am
> using gdb to debug.
> How do I disable gcc optimisations ?
> I tried putting :
> CFLAGS = -g -O0
> in the GNUmakefile.preamble, but I am still getting values that show
> <optimized out> when I print them, and unexpected jumps in the code.
>
> Thanks,
> Regards
>
> Daniel Santos
>
>
>
>
>

Reply via email to