From: "Ami Levi Waves" <ami@waves.com>
To: <linuxppc-embedded@ozlabs.org>
Subject: gdb - dgbserver problem
Date: Mon, 19 Feb 2007 17:40:31 +0100 [thread overview]
Message-ID: <000801c75444$c5e24c40$0600000a@waves.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
Hi there,
I'm having a problem when using gdb to debug an application via the
gdbserver. It seems the gdbserver crashes when I issue "continue" command
(the target just hangs, no response, no messages on the Linux console).
This is what I'm getting on the gdb side (I'm using verbose and debug
modes):
(gdb) continue
Continuing.
Sending packet: $Z0,100004dc,4#02...Ack
Packet received:
Packet Z0 (software-breakpoint) is NOT supported
Sending packet: $m100004dc,4#b9...Ack
Packet received: 3d201000
Sending packet: $X100004dc,0:#da...Ack
Packet received:
binary downloading NOT suppported by target
Sending packet: $M100004dc,4:7d821008#a1...Ack
Timed out.
Timed out.
Timed out.
Ignoring packet error, continuing...
Sending packet: $m3000c380,4#8e...Sending packet: $m3000c380,4#8e...Sending
packet: $m3000c380,4#8e...Sending packet: $m3000c380,4#8e...Timed out.
Timed out.
Timed out.
Ignoring packet error, continuing...
Reply contains invalid hex digit 116
Here are a few words about my setup:
I'm using an Arabella 2.6.12 custom kernel that contains USB support.
Everything is working fine (Except for this problem).
I'm using the new DENX 4.1 toolchain to compile both my kernel &
application. I'm using Fedora desktop to run the gdb and the gdbserver is on
my custom MPC880 board.
I'm using IP to connect the gdb to gdbserver. I'm following the exact
guidelines described on DENX web site.
In order to simplify the problem I'm using a simple "hello world" program.
Any ideas?
Thanks.
Ami Levi
[-- Attachment #2: Type: text/html, Size: 6391 bytes --]
next reply other threads:[~2007-02-19 16:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-19 16:40 Ami Levi Waves [this message]
2007-02-19 16:54 ` gdb - dgbserver problem Leonid
2007-02-20 7:20 ` Ami Levi Waves
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='000801c75444$c5e24c40$0600000a@waves.com' \
--to=ami@waves.com \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).