[Gambas-user] gdb and gambas

Benoit Minisini gambas at ...1...
Tue Feb 3 22:40:07 CET 2004


On Sunday 01 February 2004 11:18, Charlie Reinl wrote:
> Salut,
>
> While trying to debug the IDE, to find my X-freez .
> I'v got the following.
>
> charlie at ...351... gambas-0.82 $ cd /opt/gambas/gambas-0.82/app/gambas
> charlie at ...351... gambas $ gdb gbx
> GNU gdb 5.3
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are welcome to change it and/or distribute copies of it under certain
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...
> (gdb) run
> Starting program: /usr/bin/gbx
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x400009b0 in _start () from /lib/ld-linux.so.2
> (gdb)
>
> Any idea ?
> Where I'm wrong ?
>
> Amicalement
> Charlie
>

Before running the gbx process, you must type "set args -p", so that share 
library preloading is disabled - This make gdb mad :-)

Elsewhere, I don't know why you get a trap. You shouldn't. Try to type "cont" 
to continue.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list