From: Daniel Jacobowitz <dan@debian.org>
To: Mark and Janice Juszczec <juszczec@hotmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: cross debugging r3912 cpu with gdb
Date: Sun, 7 Dec 2003 17:54:38 -0500 [thread overview]
Message-ID: <20031207225438.GA15049@nevyn.them.org> (raw)
In-Reply-To: <Law10-F17iieCGDqfgx00015870@hotmail.com>
On Sun, Dec 07, 2003 at 10:28:33PM +0000, Mark and Janice Juszczec wrote:
>
> Hi folks
>
> I'm trying to track down a SIGSEGV generated by kaffe on the Helio pda. It
> uses a Phillips R3912 cpu.
You left out lots of details. What operating system is the r3900
running? From the list name, I assume it's Linux/MIPS. So why did you
configure for mips-idt-ecoff?
If you're using gdbserver, then you want target=mips-linux and "target
remote", not "target mips".
>
> The gdb 6.0 docs say configure as follows: configure
> --target=mips-idt-ecoff. I did and mips shows up as an available target.
>
> Unfortunately, when I try to connect to the pda via a USB serial
> connection, I get:
>
> (gdb) set debug remote 2
> (gdb) target mips /dev/ttyUSB0
> Expected "<IDT>", got "": FAIL
> Expected "<IDT>", got "": FAIL
> Expected "<IDT>", got "": FAIL
> Failed to initialize.
> Ending remote MIPS debugging.
> You can't do that without a process to debug
>
> Further research shows there is supposed to be a target named r3900. It
> doesn't show up under my available targets and
>
> (gdb) target r3900 /dev/ttyUSB0
>
> gives and error saying there is no target named r3900.
>
> Can anyone out there give me advice about gdb and mips cross debugging?
>
> Mark
>
> _________________________________________________________________
> Shop online for kids? toys by age group, price range, and toy category at
> MSN Shopping. No waiting for a clerk to help you! http://shopping.msn.com
>
>
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-12-07 22:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-07 22:28 cross debugging r3912 cpu with gdb Mark and Janice Juszczec
2003-12-07 22:54 ` Daniel Jacobowitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-08 0:02 Mark and Janice Juszczec
2003-12-08 0:02 ` Mark and Janice Juszczec
2003-12-08 3:10 ` Daniel Jacobowitz
2003-12-08 12:48 Mark and Janice Juszczec
2003-12-08 15:39 ` Daniel Jacobowitz
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=20031207225438.GA15049@nevyn.them.org \
--to=dan@debian.org \
--cc=juszczec@hotmail.com \
--cc=linux-mips@linux-mips.org \
/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