Re: gdb bt gives many question marks

2013-03-14 Thread Christopher Faylor
On Thu, Mar 14, 2013 at 09:34:45AM -0400, Ryan Johnson wrote: >On 14/03/2013 3:37 AM, Ken Huang wrote: >> Hi all, >> >> I have a problem when using gdb to debug my program in cygwin, the 'bt' >> command >> gives me many '??'. >> >> So I write a quite easy program named abort.c which just aborts. a

Re: gdb bt gives many question marks

2013-03-14 Thread Ryan Johnson
On 14/03/2013 3:37 AM, Ken Huang wrote: Hi all, I have a problem when using gdb to debug my program in cygwin, the 'bt' command gives me many '??'. So I write a quite easy program named abort.c which just aborts. after compiled with "gcc -g abort.c -o abort" and run with " gdb abort", it aborts

Re: gdb bt gives many question marks

2013-03-14 Thread jojelino
On 2013-03-14 PM 6:30, Ken Huang wrote: 2013/3/14 jojelino : On 2013-03-14 PM 4:37, Ken Huang wrote: Hi all, I have a problem when using gdb to debug my program in cygwin, the 'bt' command gives me many '??'. (gdb) bt full #0 0x7c92e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/

Re: gdb bt gives many question marks

2013-03-14 Thread Ken Huang
2013/3/14 jojelino : > On 2013-03-14 PM 4:37, Ken Huang wrote: >> >> Hi all, >> >> I have a problem when using gdb to debug my program in cygwin, the 'bt' >> command >> gives me many '??'. >> (gdb) bt full >> #0 0x7c92e514 in ntdll!LdrAccessResource () from >> /cygdrive/c/WINDOWS/system32/ntdll.dl

Re: gdb bt gives many question marks

2013-03-14 Thread jojelino
On 2013-03-14 PM 4:37, Ken Huang wrote: Hi all, I have a problem when using gdb to debug my program in cygwin, the 'bt' command gives me many '??'. (gdb) bt full #0 0x7c92e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll No symbol table info available. #1 0x7c92df5

gdb bt gives many question marks

2013-03-14 Thread Ken Huang
Hi all, I have a problem when using gdb to debug my program in cygwin, the 'bt' command gives me many '??'. So I write a quite easy program named abort.c which just aborts. after compiled with "gcc -g abort.c -o abort" and run with " gdb abort", it aborts as expected. At this time I type "bt" in