public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: Michael Crowe <mike@timesys.com>,
	Insight <insight@sourceware.cygnus.com>
Subject: Re: Remote Debugging
Date: Thu, 08 Jun 2000 09:53:00 -0000	[thread overview]
Message-ID: <B5651D3E.DC1%jingham@apple.com> (raw)
In-Reply-To: <393EB035.5B3ABAC9@timesys.com>

Michael,

This is mostly a gdb question.  You need some kind of debugging monitor on
your target system - which as you rightly guessed is gdbserver.  Once you
have this built, you have to launch gdbserver on the target giving the
program for it to run, and a port to open (you also have to have an ethernet
connection on the board, by the way).  Then on the host gdb, you use "target
remote" to the embedded Linux box, using the port that you told gdbserver to
open.

Gdbserver is part of the standard gdb distribution in gdb/gdbserver; you
just need to build it for your target machine.  If you can build on your
target system, this is probably not too hard.  If you want to build it on
your development machine, that is a little harder, since host cross host
builds are not really supported with the Gnu tools right now.

There was a product from Red Hat (it's internal name was EL/IX but I don't
remember what the final product ended up being called) that does just what
you want, though not on the version of the target you are using.  It may
contain enough stuff to get you going, I don't know...  Anyway, it is going
in the same direction.

Hope this helps.

Jim

> Hey All,
> I'm new to Insight and even fairly new to GDB.  I'm trying to do
> some remote debugging of an embedded system.  I do have a monitor and
> keyboard/mouse for the target, so I hvae access to it.  I have tryed
> connecting to the target system, deathstar in this case, using a variety
> of port numbers but to no avail.  Do I need to be running gdbserver on
> the target.  I have Insight 5.0 running on the host.  The host is
> running Redhat Linux 6.2 and the Embedded system is running TimeSys
> Linux/RT 1.0.
> If I do need gdbserver, where do I get it or how do I invoke iit?
> 
> 
> Thanks,
> Michael E Crowe
> Software Engineer
> TimeSys Corporation
> mike@timesys.com
> 
> 
> 

  reply	other threads:[~2000-06-08  9:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-07 13:30 Michael Crowe
2000-06-08  9:53 ` Jim Ingham [this message]
2002-12-12  9:10 remote debugging Tim
2002-12-12  9:29 ` Keith Seitz
2002-12-12  9:38   ` Tim
2002-12-12 10:00     ` Keith Seitz
2002-12-12 10:20       ` Tim
2002-12-12 10:01 Rod Boyce

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=B5651D3E.DC1%jingham@apple.com \
    --to=jingham@apple.com \
    --cc=insight@sourceware.cygnus.com \
    --cc=mike@timesys.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).