This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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: 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


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