Обсуждение: with -g and libpq.a ...

Поиск
Список
Период
Сортировка

with -g and libpq.a ...

От
Mathieu Dube
Дата:
even after compiling with -g and using the libpq.a it still outputs that on the
bt after the crash...

(gdb) bt
#0  0x40050768 in ?? ()
#1  0x4004ff25 in ?? ()
#2  0x804a3cd in main (argc=3, argv=0xbffff8e4) at therver.c:430
#3  0x400739ee in ?? ()

-- 
Mathieu Dube    
Mondo-Live            
www.flipr.com


Re: with -g and libpq.a ...

От
Tom Lane
Дата:
Mathieu Dube <mathieu_dube@videotron.ca> writes:
> even after compiling with -g and using the libpq.a it still outputs that on the
> bt after the crash...

> (gdb) bt
> #0  0x40050768 in ?? ()
> #1  0x4004ff25 in ?? ()
> #2  0x804a3cd in main (argc=3, argv=0xbffff8e4) at therver.c:430
> #3  0x400739ee in ?? ()

So what's the code in and around line 430 of therver.c?  Probably
you are looking at a crash in some libc routine, perhaps we can
guess which by seeing what was called.
        regards, tom lane