public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Alex Genkin <agenkin@dimacs.rutgers.edu>
Cc: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: Re: Select a source file
Date: Wed, 11 Jun 2003 17:57:00 -0000	[thread overview]
Message-ID: <1055354546.1567.12.camel@lindt.uglyboxes.com> (raw)
In-Reply-To: <006401c33040$3970a670$874b0680@AG>

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


      reply	other threads:[~2003-06-11 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 17:38 Alex Genkin
2003-06-11 17:57 ` Keith Seitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1055354546.1567.12.camel@lindt.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=agenkin@dimacs.rutgers.edu \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).