From: Quality Quorum <qqi@world.std.com>
To: Nitin Gupta <nitin@mobilygen.com>
Cc: gdb@sources.redhat.com
Subject: Re: Target code for remote debugging
Date: Mon, 30 Apr 2001 17:33:00 -0000 [thread overview]
Message-ID: <Pine.SGI.4.21.0104302022450.27651-100000@world.std.com> (raw)
In-Reply-To: <3AEDF290.278C6B2@mobilygen.com>
On Mon, 30 Apr 2001, Nitin Gupta wrote:
> Hi,
>
> I am working on a port of m32r processor. I am interested in doing the
> remote debugging of target board.
>
> As now, I got m32r-stub.c, m32r-rom.c and remote.c with the original
> code, so which code do I need to "port"? From a previous message in this
> mailing list, I have this impression thatI either need a ROM
> monitor(m32r-rom.c?)
This is incorrect, m32r-rom.c is an interface to the ROM monitor and it
is compiled into gdb. You have to have ROM monitor from somewhere
else (e.g. write it yourself). If you do not have ROM monitor
you can use m32r-stub.c, I would say using stub is preferable method.
> or a m32r-sub.c, at the target.
This file should be compiled as a part of the target image, once you
hooked it up onto your serial driver and exception handler you can debug
you board using 'remote' gdb-target.
I would say, that usually in order to make it work, you have to
understand your CPU and serial interface well enough. Good thing
is that once it is done it usually works great.
> I would like to know, what is the piece of code needed that has to run
> on the target machine?
>
> I will appreciate any direction.
>
> Thanks,
> Nitin
>
> nitin@mobilygen.com
>
Thanks,
Aleksey
prev parent reply other threads:[~2001-04-30 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-30 16:17 Nitin Gupta
2001-04-30 17:33 ` Quality Quorum [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=Pine.SGI.4.21.0104302022450.27651-100000@world.std.com \
--to=qqi@world.std.com \
--cc=gdb@sources.redhat.com \
--cc=nitin@mobilygen.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