This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
RE: Problem with source paths with new Cygwin release
- From: Kristian Otnes <kristian dot otnes at tevero dot no>
- To: insight <insight at sources dot redhat dot com>
- Date: Thu, 4 Sep 2003 23:11:58 +0200
- Subject: RE: Problem with source paths with new Cygwin release
>Try:
>
>$ gdb myexecutable
>(gdb) list FUNCTION
>
This would typically give a GDB printout:
879 foo.c: No such file or directory.
in foo.c
whereas it shows a few lines of C code if I use the older
cygwin/cygutils modules
>Try setting breakpoints and running, too:
>
>(gdb) break FUNCTION
>(gdb) run
Setting a break point at a valid function works. When the
CPU gets there, it is halted, and Insight will only show the
assembly code.
Kristian Otnes (kristian.otnes@tevero.no)
Tevero AS (www.tevero.no)
P.O.Box 96
NO-1317 Baerums Verk
Norway
Phone: +47 67 56 29 95