* cross debug with gdb/gdbserver on 405GP
@ 2002-09-20 5:12 sjk
2002-09-20 15:09 ` Matt Porter
0 siblings, 1 reply; 3+ messages in thread
From: sjk @ 2002-09-20 5:12 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I am porting Linux on CSB272 405gp board.The Linux kernel works.
But I can't debug applications with gdb and gdbserver.
The problem is described as following:
I want to cross debug applications by gdbserver and gdb.But only one
breakpoint can break. Any excute comand including stepi make the
application run over and exit. The application runs correctlly. Why
can't I debug the program step by step?
ppc_405gdb version 5.2.
debug information:
on host:
#ppc_405 -g -ggdb -o hello hello.c
#ddd --debugger ppc_405-gdb --gdb hello
(gdb) target remote target:1000
0x30013a00 in ?? ()
(gdb) break hello.c:4
Breakpoint 1 at 0x100004f8: file hello.c, line 4.
(gdb) cont
Breakpoint 1, main () at hello.c:4
(gdb) step
Program exited with code 037.
(gdb)
on target:
#gdbserver host:1000 hello
rocess hello created; pid = 97
Remote debugging using 192.9.200.69:1000
Hello World
Child exited with retcode = c
Child exited with status 253
GDBserver exiting
please give some suggestions!
thanks
Jikun Sun
jack.sun@bmrtech.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross debug with gdb/gdbserver on 405GP
2002-09-20 5:12 cross debug with gdb/gdbserver on 405GP sjk
@ 2002-09-20 15:09 ` Matt Porter
2002-09-20 15:26 ` Kenneth Johansson
0 siblings, 1 reply; 3+ messages in thread
From: Matt Porter @ 2002-09-20 15:09 UTC (permalink / raw)
To: sjk; +Cc: linuxppc-embedded
On Fri, Sep 20, 2002 at 01:12:13PM +0800, sjk wrote:
>
> Hi,
>
> I am porting Linux on CSB272 405gp board.The Linux kernel works.
> But I can't debug applications with gdb and gdbserver.
You weren't kind enough to tell us what kernel you are using. :)
ASSuming that you are using a recent 2_4_devel kernel, I explained
the broken 4xx debug situation in the thread, "kgdb with 2.4.20pre7
kernel on 405 target", three days ago. Check the archives.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross debug with gdb/gdbserver on 405GP
2002-09-20 15:09 ` Matt Porter
@ 2002-09-20 15:26 ` Kenneth Johansson
0 siblings, 0 replies; 3+ messages in thread
From: Kenneth Johansson @ 2002-09-20 15:26 UTC (permalink / raw)
To: Matt Porter; +Cc: sjk, Linuxppc embedded
On Fri, 2002-09-20 at 17:09, Matt Porter wrote:
>
> On Fri, Sep 20, 2002 at 01:12:13PM +0800, sjk wrote:
> >
> > Hi,
> >
> > I am porting Linux on CSB272 405gp board.The Linux kernel works.
> > But I can't debug applications with gdb and gdbserver.
>
> You weren't kind enough to tell us what kernel you are using. :)
> ASSuming that you are using a recent 2_4_devel kernel, I explained
> the broken 4xx debug situation in the thread, "kgdb with 2.4.20pre7
> kernel on 405 target", three days ago. Check the archives.
>
> Regards,
> --
> Matt Porter
What's the ETA on the fix? It's been this way since start of sep.
--
Kenneth Johansson
Ericsson AB Tel: +46 8 404 71 83
Borgafjordsgatan 9 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson@etx.ericsson.se
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-20 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 5:12 cross debug with gdb/gdbserver on 405GP sjk
2002-09-20 15:09 ` Matt Porter
2002-09-20 15:26 ` Kenneth Johansson
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).