gdb - dgbserver problem
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
Which version of Fedora Core are u using? Because I experience similar = problem (with different board though) and I have Fedora Core 4 while I = know lady with precisely same setup and Fedora Core 5 and everything is = working fine for her... so how stupid it may seem I started suspect = FC4...
Leonid.
________________________________________
From: [email protected] = [mailto:[email protected]] On = Behalf Of Ami Levi Waves
Sent: Monday, February 19, 2007 8:41 AM
To: [email protected]
Subject: gdb - dgbserver problem
=A0
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
=A0
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.=20
I'm using IP to connect the gdb to gdbserver. I'm following the exact = guidelines described on DENX web site.=20
In order to simplify the problem I'm using a simple "hello world" = program.=20
Any ideas?
Thanks.
Ami Levi
Hi Leonid,
You're the second person that tells me there might be a problem with gdb-gdbserver in Fedora core (I'm using Fedora core 4).
I don't mind giving it a shot. I'll try to upgrade today to Fedora core = 5.
Thanks.
Ami
Quoted 9 lines
-----Original Message-----
From: Leonid [mailto:[email protected]]
Sent: Monday, February 19, 2007 5:54 PM
To: [email protected]; [email protected]
Subject: RE: gdb - dgbserver problem
=20
Which version of Fedora Core are u using? Because I experience similar problem (with different board though) and I have Fedora Core 4 while I know lady with precisely same setup and Fedora Core 5 and everything =
is
Quoted 1 line
working fine for her... so how stupid it may seem I started suspect =
FC4...
Quoted 6 lines
=20
Leonid.
=20
________________________________________
From: [email protected] [mailto:[email protected]] On =
Behalf
Quoted 9 lines
Of Ami Levi Waves
Sent: Monday, February 19, 2007 8:41 AM
To: [email protected]
Subject: gdb - dgbserver problem
=20
=20
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
Quoted 1 line
(the target just hangs, no response, no messages on the Linux =
console).
Quoted 22 lines
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.
Quoted 8 lines
Ignoring packet error, continuing...
Reply contains invalid hex digit 116
=20
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
Quoted 4 lines
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.
Quoted 3 lines
Any ideas?
Thanks.
Ami Levi