NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GDB debug problems



On Mon, Mar 26, 2012 at 04:45:09PM +0200, Riccardo Mottola wrote:
> no one has a clue on this? Or reproduces a similar problem?

Yes - there is a similar thread starting at

  http://mail-index.NetBSD.org/current-users/2012/03/19/msg019561.html

Cheers,

Patrick

> On 03/20/12 10:05, Riccardo Mottola wrote:
> >Hi,
> >
> >while using current NetBSD (6.99.3), but it has been happening
> >with current since several weeks, I have troubles while debugging.
> >
> >I debug Objective-C, GNUstep application and I always get this
> >when I start an application:
> >
> >
> >grid$ gdb GWorkspace/GWorkspace.app/GWorkspace
> >GNU gdb (GDB) 7.3.1
> >Copyright (C) 2011 Free Software Foundation, Inc.
> >License GPLv3+: GNU GPL version 3 or later
> ><http://gnu.org/licenses/gpl.html>
> >This is free software: you are free to change and redistribute it.
> >There is NO WARRANTY, to the extent permitted by law.  Type "show
> >copying"
> >and "show warranty" for details.
> >This GDB was configured as "i486--netbsdelf".
> >For bug reporting instructions, please see:
> ><http://www.gnu.org/software/gdb/bugs/>...
> >Reading symbols from 
> >/home/multix/gnustep-cvs/devmodules/usr-apps/gworkspace/GWorkspace/GWorkspace.app/GWorkspace...done.
> >(gdb) r
> >Starting program: 
> >/home/multix/gnustep-cvs/devmodules/usr-apps/gworkspace/GWorkspace/GWorkspace.app/GWorkspace
> >
> >[New LWP 1]
> >
> >Program received signal SIGTRAP, Trace/breakpoint trap.
> >[Switching to LWP 1]
> >0xbbbf3954 in _rtld () from /usr/libexec/ld.elf_so
> >(gdb)
> >
> >If I hit "c" the application will then run and I am able to debug
> >it. It is a bit inconvenient though.
> >
> >Any ideas?
> >
> >Riccardo
> 


Home | Main Index | Thread Index | Old Index