On 06/12/2012 19:05, Ken Brown wrote:
This isn't the program you're trying to debug.  This file contains the
debugging symbols.  You need to run gdb on pv.exe, as before; gdb will
know to look in /usr/lib/debug/usr/bin/pv.exe.dbg for the symbols.


$ gdb pv
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
Copyright [...]
Reading symbols from /usr/bin/pv...Reading symbols from /usr/lib/debug/usr/bin/pv.exe.dbg...done.
done.
(gdb) list
35
36      #ifdef ENABLE_NLS
37              setlocale(LC_ALL, "");
38              bindtextdomain(PACKAGE, LOCALEDIR);
39              textdomain(PACKAGE);
40      #endif
41
42              opts = opts_parse(argc, argv);
43              if (!opts)
44                      return 1;
(gdb) target exec pv
(gdb) run
Starting program: /usr/bin/pv
[New Thread 5796.0x1fc0]
[New Thread 5796.0x15c4]

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


--
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

Reply via email to