public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Select a source file
@ 2003-06-11 17:38 Alex Genkin
  2003-06-11 17:57 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Genkin @ 2003-06-11 17:38 UTC (permalink / raw)
  To: insight

Hi!
At the start, source window shows one of my source code files - one that it
chooses somehow.
How do I open the source code file that I choose?
File|Source seems to look for some other kind of file, some mysterious GDB
command file...
Thanks!

Alexander Genkin
agenkin@dimacs.rutgers.edu
732 445 4579


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Select a source file
  2003-06-11 17:38 Select a source file Alex Genkin
@ 2003-06-11 17:57 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-06-11 17:57 UTC (permalink / raw)
  To: Alex Genkin; +Cc: insight

On Wed, 2003-06-11 at 10:36, Alex Genkin wrote:
> Hi!
> At the start, source window shows one of my source code files - one that it
> chooses somehow.

Heuristic is very simple: find main(). Failing that, find the entry
point.

> How do I open the source code file that I choose?
> File|Source seems to look for some other kind of file, some mysterious GDB
> command file...

File->Source reads in (aks "sources") a gdb script file. Type or choose
the name of the file you want in the file combobox at the top of the
source window. Alternatively, just type in the name of the function you
want in the function combo.

There is extensive online help on using the source window. It's in need
of some cleanup, but the information is accurate.

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-11 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-11 17:38 Select a source file Alex Genkin
2003-06-11 17:57 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).