use bdi2000

4 messages, 4 authors, 2003-07-09 · open the first message on its own page

use bdi2000

From: <hidden>
Date: 2003-07-09 09:55:15

Hi,
I have some problem with the use of the bdi 2000 to debug linux kernel with DDD. In fact, I am connecting to the bdi2000 (target remote ....). And then, if I do step by step. But When I click  on "step", DDD print: " error accessing memory access". And then, when I click again on "step" it steps. Is it normal???

Moreover I want to see the values in  the structure skbuff in netif_rx. So I make a break point here, and then click on "continue". (As before I have to click twice because of the DDD message " error accessing memory access".)
It stops well on the begining of the function netif_rx, but I can't what there are in the values of the skbuff, I only see MAC=0,..., everything is NULL or 0!

Can someone has ever use the bdiGdb well?

gregory
greggiraud@netcourrier.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: use bdi2000

From: Seb James <hidden>
Date: 2003-07-09 11:12:54

greggiraud@netcourrier.com wrote:
Hi,
I have some problem with the use of the bdi 2000 to debug linux kernel with DDD. In fact, I am connecting to the bdi2000 (target remote ....). And then, if I do step by step. But When I click  on "step", DDD print: " error accessing memory access". And then, when I click again on "step" it steps. Is it normal???
I've never seen this happen. It doesn't sound normal.
Moreover I want to see the values in  the structure skbuff in netif_rx. So I make a break point here, and then click on "continue". (As before I have to click twice because of the DDD message " error accessing memory access".)
It stops well on the begining of the function netif_rx, but I can't what there are in the values of the skbuff, I only see MAC=0,..., everything is NULL or 0!

Can someone has ever use the bdiGdb well?

gregory
greggiraud@netcourrier.com





** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: use bdi2000

From: Omanakuttan <hidden>
Date: 2003-07-09 11:29:23

greggiraud@netcourrier.com wrote:
Hi,
I have some problem with the use of the bdi 2000 to debug linux kernel with DDD. In fact, I am connecting to the bdi2000 (target remote ....). And then, if I do step by step. But When I click  on "step", DDD print: " error accessing memory access". And then, when I click again on "step" it steps. Is it normal???
seems like you have not enabled MMU XLAT in the configuration file of bdi.
check if the .cfg file contains the following lines, whithout an initial
semi colon.
MMU         XLAT        ;translate effective to physical address


Regards,
Om.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: use bdi2000

From: dong in kang <hidden>
Date: 2003-07-09 21:34:17

 Actually, I also have the same problem.
I tried to use SOFT break, and the problem seems to disappear.
Am I doing right?

 Here is my configuration file.

BREAKMODE SOFT
MMY  XLAT
BDIMODE  AGENT

 Thanks,

 Dong-In



-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org] On Behalf Of Omanakuttan
Sent: Wednesday, July 09, 2003 7:29 AM
To: greggiraud@netcourrier.com; linuxppc-embedded@lists.linuxppc.org
Subject: Re: use bdi2000



greggiraud@netcourrier.com wrote:
Hi,
I have some problem with the use of the bdi 2000 to debug linux kernel
with DDD. In fact, I am connecting to the bdi2000 (target remote ....).
And then, if I do step by step. But When I click  on "step", DDD print: "
error accessing memory access". And then, when I click again on "step" it
steps. Is it normal???
seems like you have not enabled MMU XLAT in the configuration file of bdi.
check if the .cfg file contains the following lines, whithout an initial
semi colon.
MMU         XLAT        ;translate effective to physical address


Regards,
Om.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help