Re: Debug ProjectCenter
Gregory Casamento <[email protected]> Sun, 24 Nov 2024 14:19:17 -0500
| Newsgroups | gmane.comp.lib.gnustep.devel |
|---|---|
| Message-ID | <CA+BLX-zBHpZYasZ6yPL-xPE5HSQ1gexk1101GmovJsmCH=ZBVg@mail.gmail.com> |
--000000000000a714af0627ad7e43 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Daniel Use =E2=80=9Cmake debug=3Dyes=E2=80=9D. 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=3D352392 - 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 <[email protected]> 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 =3D -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 > > > > > --000000000000a714af0627ad7e43 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Hey=C2=A0Daniel</div><div dir=3D"auto"><br></div><div dir= =3D"auto">Use =E2=80=9Cmake debug=3Dyes=E2=80=9D.=C2=A0 That should work fo= r you.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">GC<br clear= =3D"all"><br clear=3D"all"><div dir=3D"auto"><div dir=3D"ltr" class=3D"gmai= l_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div dir= =3D"ltr"><div><div dir=3D"ltr"><font face=3D"monospace" style=3D"font-famil= y:monospace;color:rgb(0,0,0)">Gregory Casamento<br>GNUstep Lead Developer /= Black Lotus, Principal Consultant<br><a href=3D"http://www.gnustep.org" ta= rget=3D"_blank" style=3D"font-family:monospace">http://www.gnustep.org</a> = - <a href=3D"http://heronsperch.blogspot.com" target=3D"_blank" style=3D"fo= nt-family:monospace">http://heronsperch.blogspot.com</a><br><a href=3D"http= s://www.patreon.com/bePatron?u=3D352392" target=3D"_blank" style=3D"font-fa= mily:monospace">https://www.patreon.com/bePatron?u=3D352392</a>=C2=A0- Beco= me a Patron</font></div></div><div dir=3D"ltr"><font face=3D"monospace" sty= le=3D"font-family:monospace;color:rgb(136,136,136)"><a href=3D"https://www.= openhub.net/languages/objective_c" style=3D"font-family:monospace;color:rgb= (17,85,204)" target=3D"_blank">https://www.openhub.net/languages/objective_= c</a></font><br></div><div dir=3D"ltr"><font face=3D"monospace" style=3D"fo= nt-family:monospace;color:rgb(0,0,0)"><a href=3D"https://www.gofundme.com/f= /cacao-linux-a-gnustep-reference-implementation" target=3D"_blank" style=3D= "font-family:monospace">https://www.gofundme.com/f/cacao-linux-a-gnustep-re= ference-implementation</a></font><br></div></div></div></div></div></div><d= iv><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"= gmail_attr">On Sun, Nov 24, 2024 at 14:17 Daniel Santos <<a href=3D"mail= to:[email protected]">[email protected]</a>> wrote:<br></div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(= 204,204,204)">Hi,<br> <br> I am trying to do some changes in the sources of project center and am usin= g gdb to debug.<br> How do I disable gcc optimisations ?<br> I tried putting :<br> CFLAGS =3D -g -O0<br> in the GNUmakefile.preamble, but I am still getting values that show <op= timized out> when I print them, and unexpected jumps in the code.<br> <br> Thanks,<br> Regards<br> <br> Daniel Santos<br> <br> <br> <br> <br> </blockquote></div></div> --000000000000a714af0627ad7e43--