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


On Thu, 2003-09-04 at 13:47, Kristian Otnes wrote:
> >Does command line gdb (of the same version) suffer from the same
> >problem?
> 
> I am not too familiar with GDB, but if I used the GDB console and
> changed the directory to where the source file was, then I would be
> able to see the source code for all source files in that directory.

Try:

$ gdb myexecutable
(gdb) list FUNCTION

Try setting breakpoints and running, too:

(gdb) break FUNCTION
(gdb) run
or
(gdb) target TARGET
(gdb) load
(gdb) run (if sim) or cont (if board)

Keith



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