gdb7.x missing symbols for some functions

2010-12-09 Thread Soren
Hi, I am developing code in C++ on RHEL4.7 with gcc4.4.4 and using gdb7.1. I am encountering a very strange problem debugging code in a shared library (.so) with gdb7.x. The shared library is built on a RHEL4.7 platform with gcc4.4.4. The library is linked from a mix of object files most of whic

Re: gdb: How to run debugger on start

2010-12-09 Thread Aleksandr Vinokurov
kenorb writes: > Tried this: >> echo run | gdb ls > (gdb) Hangup detected on fd 0 > error detected on stdin > > And this: >> echo run | gdb -x /dev/stdin ls > Program exited normally. > (gdb) Hangup detected on fd 0 > error detected on stdin > > Nothing in help and manual. > Anything? $ echo ru

gdb: How to run debugger on start

2010-12-09 Thread kenorb
Tried this: > echo run | gdb ls (gdb) Hangup detected on fd 0 error detected on stdin And this: > echo run | gdb -x /dev/stdin ls Program exited normally. (gdb) Hangup detected on fd 0 error detected on stdin Nothing in help and manual. Anything? ___ b

Symbols are not loaded from QT33 (even there are)

2010-12-09 Thread kenorb
I've qt33 which is compiled with debug symbols: > objdump -t /usr/local/lib/libqt-mt.so.3 | wc -l 25160 > nm /usr/local/lib/libqt-mt.so.3 | wc -l 24715 But still have backtrace as follows: #6 0x00b48546 in QDragObject::metaObject () #7 0x00080172daaa in QWidget::event () from /