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

Re: running debugger




Hi Beni,

Try to use ddd, it worked for me.

Cheers,
         Sascha


On Thu, 21 May 2009, Beni Zihlmann wrote:

> Hi All,
> I try to run hdgeant in debug mode and get the following:
> after starting the debugger and run hdgeant_d it suspends the process
> it start to run but never gets anywhere. any ideas? below is what I
> see on the screen:
>
> ifarml3> gdb /group/halld/Users/zihlmann/HALLD//bin/linux/hdgeant_d
> GNU gdb Red Hat Linux (6.6-35.fc8rh)
> Copyright (C) 2006 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 "i386-redhat-linux-gnu"...
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) run
> Starting program: 
> /u/group/halld/Users/zihlmann/HALLD/bin/Linux_Fedora8-i686-gcc4.1.2/hdgeant_d 
>
> Suspended (tty output)
> ifarml3> fg
> gdb /group/halld/Users/zihlmann/HALLD//bin/linux/hdgeant_d
>
> warning: Missing the separate debug info file: 
> /usr/lib/debug/.build-id/ac/2eeb206486bb7315d6ac4cd64de0cb50838ff6.debug
>
> Program received signal SIGTTOU, Stopped (tty output).
> 0x00614eb6 in _dl_debug_vdprintf () from /lib/ld-linux.so.2
> (gdb) bt
> #0  0x00614eb6 in _dl_debug_vdprintf () from /lib/ld-linux.so.2
> #1  0x006151dc in _dl_dprintf () from /lib/ld-linux.so.2
> #2  0x006143fa in _dl_signal_error () from /lib/ld-linux.so.2
> #3  0x006137a1 in _dl_map_object_deps () from /lib/ld-linux.so.2
> #4  0x0060944d in dl_main () from /lib/ld-linux.so.2
> #5  0x0061a3db in _dl_sysdep_start () from /lib/ld-linux.so.2
> #6  0x006072f8 in _dl_start () from /lib/ld-linux.so.2
> #7  0x00606857 in _start () from /lib/ld-linux.so.2
> (gdb)
>
> cheers,
> Beni
>
> -- 
> ***********************************************************
> Benedikt Zihlmann
> TJNAF
> HallD 12C/ F350
> Suite 8
> 12000 Jefferson Av.
> Newport News VA, 23606
>
> tel: 757 269 5310 fax: 757 269 6331                zihlmann@jlab.org
> ***********************************************************
>
>