This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: pv-1.3.9-1


On 12/6/2012 6:37 PM, Aaron Schneider wrote:
On 06/12/2012 13:12, Corinna Vinschen wrote:

You know, you could actually grab GDB and debug the application without the requirement to dive into Cygwin. Debugging the application is the same thing on every OS.


This are the errors I get with a simple debugging:


(gdb) target exec pv
(gdb) run
Starting program: /usr/bin/pv
[New Thread 1508.0x6bc]
[New Thread 1508.0x5e0]

Program received signal SIGSYS, Bad system call.
0x00000000 in ?? ()
(gdb)

$ gdb pv.exe.dbg
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
Copyright [...]
Reading symbols from /usr/bin/pv.exe.dbg...done.
(gdb) list
22      /usr/src/debug/pv-1.3.9-1/src/main/main.c: No such file or
directory.
(gdb) file
No executable file now.
Discard symbol table from `/usr/bin/pv.exe.dbg'? (y or n) n
Not confirmed.
(gdb) run
Starting program:
No executable specified, use `target exec'.
(gdb) target exec pv.exe.dbg
(gdb) run
Starting program: /usr/bin/pv.exe.dbg
[New Thread 2736.0xb18]

Program received signal SIGSEGV, Segmentation fault.
mainCRTStartup () at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/crt0.c:23
23      /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/crt0.c: No such
file or directory.
(gdb)

you should at least install the cygwin debuginfo package




-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]