public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@cygnus.com>
To: Raja Gobi <raja.gobi@NetergyNet.COM>
Cc: insight@sourceware.cygnus.com
Subject: Re: Insight info?
Date: Tue, 16 Jan 2001 08:42:00 -0000	[thread overview]
Message-ID: <3A647A05.7F6FC1C2@cygnus.com> (raw)
In-Reply-To: <3A640851.9EE1F40E@netergynet.com>

Raja Gobi wrote:
> 
> Folks,
> 
>     I am a complete novice in this area. I have started working
> on a GDB to debug a remote target. Any advice on the following
> will be greatly appreciated. I am working with Version 4.18.
> 

4.18 is way to old.  Either base your work on the 5.0 (which is 
already getting old) or use recent snapshots or even the 
anonymous CVS version.


>     1. Is there any documentation on the overall code structure?

For gdb yes.  It comes with the source (the GDB Internals manual) as
the User manual does.

Nothing for the GUI part (yet).


>     2. What is the best approach to understand how all the pieces
> fit together?

Use SOurce Navigator.  It can be downloaded from the net.
Look at sources.redhat.com


>     3. What is a good book to read on the Tcl/Tk?

Welch Tcl and Tk 3/e

And the [incr Tcl/Tk] book by Smith

>     4. How can debug remote target? I did "set remotedebug 1" in
> the console window. I thought that this was supposed to display
> all the serial port transactions, but I did not see any. I also did
> "set serialdebug 1" and "set remotedebug 1", but these did not seem
> to have any effect either.

There are levels of verbosity.  Try "set remotedebug 2"
In newer releases it is "set debug remote 2".

And please, read the manuals and use the "help" command.

>     5. Where can I find the implementations of utilities like
> print_filtered(), printf_unfiltered(), etc. in the code base?
> 

Use "grep" in your sources and you'll find them.
Your life will be considerably easier if you download and use
Source Navigator.

Good luck.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

  reply	other threads:[~2001-01-16  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-16  0:37 Raja Gobi
2001-01-16  8:42 ` Fernando Nasser [this message]
2001-01-16 15:27 ` Insight build HowTo Wilson Kwan
2001-01-16 15:40   ` Mo DeJong
2001-01-16 16:00     ` Christopher Faylor
2001-01-17 17:04     ` Wilson Kwan

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=3A647A05.7F6FC1C2@cygnus.com \
    --to=fnasser@cygnus.com \
    --cc=insight@sourceware.cygnus.com \
    --cc=raja.gobi@NetergyNet.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).