List Info

Thread: BDI interfering with gdbserver on PPC target




BDI interfering with gdbserver on PPC target
country flaguser name
United States
2007-11-21 18:12:02
Hello, we are using BDI2000 on a PPC405 (Xilinx)
target.  earlier we used BDI for kernel hacking but
now we are testing applications.  but we are still
downloading linux using BDI.

with linux thus downloaded and running on target, we
next launch gdbserver debug stub on target and
powerpc-linux-gdb on host.  everything works OK up
until a breakpoint fires:

target remote 192.168.1.20:9999 
break main
continue

BDI reports
- TARGET:  core #0 has entered debug mode
bdi>info
Debug entry cause:  trap instruction

at which point gdbserver and gdb on host hang and the
session is stalled.  

can it be that BDI is interfering with the trap
instruction?

we turned on debug remote 1
gdb attempts software breakpoint, then binary
download, finally memory edits.  host gdb and
gdbserver appear to interact OK.

Any ideas?

thanks we are stuck...

/steverino2



Re: BDI interfering with gdbserver on PPC target
country flaguser name
United States
2007-11-22 21:47:32
On Wed, Nov 21, 2007 at 04:12:02PM -0800, Steve DeLaney
wrote:
> can it be that BDI is interfering with the trap
> instruction?

Yes, this happens on a lot of different targets.  There's
nothing we
can do about it - you'd have to talk to the kernel folks or
the BDI
supplier.

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )