public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* BDI interfering with gdbserver on PPC target
@ 2007-11-22  0:12 Steve DeLaney
  2007-11-23  3:47 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Steve DeLaney @ 2007-11-22  0:12 UTC (permalink / raw)
  To: gdb


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


^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: help building gdb 6.7.1 for windows CE ARM
@ 2007-12-10 22:24 Pedro Alves
  0 siblings, 0 replies; 5+ messages in thread
From: Pedro Alves @ 2007-12-10 22:24 UTC (permalink / raw)
  To: gdb, onramp123

Steve DeLaney wrote:
 > I am attempting a build of gdb 6.7.1 for windows CE ARM target using
 > mingw32ce  the objective is to have gdbserver on target providing a "target
 > remote x" interface to the host development gdb.  in other words a standard
 > session configuration.
 >
 > can anyone help with the --target and --host configure options ?
 >

Build gdb with --target=arm-wince-mingw32ce
Build gdbserver with --host=arm-wince-mingw32ce

 > I think there is a bfd patch but not sure if it is located in the patches
 > archive ?
 >

I had never submitted it upstream ...

... until now:
http://sourceware.org/ml/binutils/2007-12/msg00051.html

-- 
Pedro Alves

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-10 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-22  0:12 BDI interfering with gdbserver on PPC target Steve DeLaney
2007-11-23  3:47 ` Daniel Jacobowitz
2007-12-10 16:40   ` Steve DeLaney
2007-12-10 17:32     ` help building gdb 6.7.1 for windows CE ARM Steve DeLaney
2007-12-10 22:24 Pedro Alves

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 read-only IMAP folder(s) and NNTP newsgroup(s).