public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@ecoscentric.com>
To: Ottawa Guy <ottawaguy81@yahoo.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] gdb stubs in ecos.
Date: Fri, 17 Oct 2003 09:32:00 -0000	[thread overview]
Message-ID: <m31xtc5i59.fsf@miso.calivar.com> (raw)
In-Reply-To: <20031016205203.79811.qmail@web13005.mail.yahoo.com>

Ottawa Guy <ottawaguy81@yahoo.com> writes:

> Hello everyone, 
> I have an interesting problem. I am running a
> simulator. This simulator has interface similar to
> redBoot. That means I could request the simulator to
> load an ELF object file and start executing code at
> some memory address. 
> 
> 
> Now I want to run gdb-stubs on that simulator and then
> use the host gdb program to connect to the simulator.
> 
> Can someone suggest me what to do.

This all depends on the level of hardware emulation that the simulator
supports. Does the simulator have full emulation of things like the
interrupt controller, UARTs, etc?

One approach we used in the past was for the simulator to connect its
UART device emulation to a TCP socket. We could then connect GDB to
that socket and treat it like a serial line. However, it was all very
slow because all debug interations were handled by simuated target
code.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

  reply	other threads:[~2003-10-17  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 19:06 [ECOS] PPP on eCos(eb40a), continued Transferencia de Archivos
2003-10-16 20:54 ` [ECOS] gdb stubs in ecos Ottawa Guy
2003-10-17  9:32   ` Nick Garnett [this message]
2003-10-17  8:26 ` [ECOS] PPP on eCos(eb40a), continued Eric de Jong

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=m31xtc5i59.fsf@miso.calivar.com \
    --to=nickg@ecoscentric.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=ottawaguy81@yahoo.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).