[Gambas-devel] Debugging gambas-source-code

Brandon Bergren bdragon at ...185...
Mon Mar 28 23:22:58 CEST 2005



> and here more about my box
>
> Using:
>  - gambas-1.0.4  (downloaded from the gambas-shrine)
>  - X Window System Version 6.8.2 Release Date: 9 February 2005
>   X Protocol Version 11, Revision 0, Release 6.8.2
>   Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF]
>   Current Operating System: Linux gentoo01 2.6.8-gentoo-r3 #1 SMP
>    Sun Feb 13 21:57:11 CET 2005 i686
> - gentoo 1.4 (last Updated 27.03.2005) on Gentoo Base System version
> 1.4.16
> - Qt: 3.3.3
>  - KDE: 3.3.1
>  - gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2,
> pie-8.7.6)

I see. Gentoo hardened, right?

Seems to be a known issue.
http://bugs.gentoo.org/show_bug.cgi?id=52100

The temporary solution appears to be re-emerging glibc with feature 
"nostrip" added to your make.conf.

Oh, another thing.

If you use GDB 6.1 or later, you can set breakpoints to functions not 
resolved yet. That means you wouldn't need to use the instructions I 
wrote. Just do "break blabla.cpp:222" and it will ask you

Make breakpoint pending on future shared library load? (y or [n])

Tell it "y" and it will retry setting the breakpoint when a new module is 
loaded into the process automatically.

--Brandon

>  - mysql  Ver 12.22 Distrib 4.0.22, for pc-linux-gnu (i686)
>  - psql (PostgreSQL) 7.4.6
>  - sqlite 2.8.15
>  - GNU Make 3.80>>


More information about the Devel mailing list