Re: [Anjuta-list] Enable Debugging for hello world project



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

prakinator ha scritto lo scorso 27/07/2008 23:24:
> Thank you for your help. This is the feature that I'm talking about and I
> have enabled that feature using your instructions. It loaded properly.
> However, I am having trouble having the debugger stop at the breakpoint
> properly. Is this something that I would have to check with gdb
> documentations/support?
> 

Simply make sure to build the executable with the proper gcc options:

- -O0    in orther to turn off any code optimization
- -g3    in order to have all debugging info into the binary code

You can have these flags in place simply by passing following string as
parameters of configuration process: CFLAGS="-O0 g3"

HTH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJIjXBPAAoJECVi+PFMdzdCJgQH/0udVpfucsKNvIB7mI4TMEWc
Tjsagqw8zmhPY+wefVr4kUoQ23yYoiTIhFK+6QVHddwADDmq0BJKCdbSkHoUZWPV
7rYEA/OMLhbF2/Fbevyyu9mnaDknx3PObRRLw18qsBonscI4CKonEVPKOk6x6CDA
NEd7N49ulfAuQVTPVTAYAioQww+LlmVrH/b0onYyKJmoYGlfFduYj/y7bBOW0Vls
oryuAbrMbGy89I3WqMUOb8EhyN0iOpoL/dC7FGaiawuCtllY99+t3ILNfMMieZV8
lJHwil3+8QyawKCPBzH93LoXZ9c2tSb3QqK/iGfQ0H/5Zoxmv9Pk6dWJ0qTBsvQ=
=Gya5
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]