This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc-gdb-ecos-reboot question


I found that it might be because that hdlcDrv::initIpIf is
reinitializing the ethernet port.

Do I have to take that ethernet init part off the downloaded file,
which is a standalone app.

Or there're other good work-around?

Thanks,

Bob

On Mon, Oct 13, 2008 at 5:57 PM, Bob <bobvrpf@gmail.com> wrote:
> Hi there!
>
> I'm trying to setup a remote gdb environment on my ppc based board
> through redboot. reboot was built by others. I cannot find the source
> code and don't know if remote gdb ever worked on it before.
> Luckily, the connection b/w gdb and the stub and loading debug file
> can be successfully done.
> Unfortunately, the program stops execution at some point after the
> continue command is issued.
> attached is the debug output, could you please give me some hints on
> this issue or how to dig it deeper?
>
> Thanks,
>
> Bob
>
> ************************************
> GNU gdb 5.3 (eCosCentric)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-eabi"...
> (gdb) set debug remote 1
> (gdb) set remotelogfile ~/tmp/gdblog
> (gdb) target remote 10.30.232.27:9000
> Remote debugging using 10.30.232.27:9000
> Sending packet: $Hc-1#09...putpkt: Junk: RedBoot>
> Ack
> Packet received: OK
> Sending packet: $qC#b4...Ack
> Packet received: E02
> Sending packet: $qOffsets#4b...Ack
> Packet received:
> Sending packet: $?#3f...Ack
> Packet received: S05
> Sending packet: $Hg0#df...Ack
> Packet received: OK
> Sending packet: $g#67...Ack
> Packet received:
> 0000aa44000056ccffffffff000000010000563cffffffff00000000000000000000000e000000000000000100003200020000000800000004000000000000000080000000000000000000000200000000000000000000000000000000400000fffffffd0000000000000000000032000001000000000002000000000000320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ff80d2bc0002301256443333ff80fc68ff81a538a000006f00000000
> 0xff80d2bc in ?? ()
> Sending packet: $qSymbol::#5b...Ack
> Packet received:
> Packet qSymbol (symbol-lookup) is NOT supported
> (gdb) load
> .................voluminous printout during loading is ignored here
>
> Packet received: OK
> Start address 0x20000, load size 1869976
> Sending packet: $P40=00020000#73...Ack
> Packet received: OK
> Transfer rate: 216808 bits/sec, 511 bytes/write.
>
> (gdb) c
> Continuing.
> Sending packet: $Z0,20010,4#09...Ack
> Packet received:
> Packet Z0 (software-breakpoint) is NOT supported
> Sending packet: $m20010,4#c0...Ack
> Packet received: 3c600000
> Sending packet: $X20010,4:}]\202\020\b#59...Ack
> Packet received: OK
> Sending packet: $Hc0#db...Ack
> Packet received: OK
> Sending packet: $c#63...Ack
> Packet received: T0540:00020010;01:000056cc;
> Sending packet: $X20010,4:<`\000\000#81...Ack
> Packet received: OK
> Sending packet: $Hc0#db...Ack
> Packet received: OK
> Sending packet: $s#73...Ack
> Packet received: T0540:00020014;01:000056cc;
> Sending packet: $m20010,4#c0...Ack
> Packet received: 3c600000
> Sending packet: $X20010,4:}]\202\020\b#59...Ack
> Packet received: OK
> Sending packet: $Hc0#db...Ack
> Packet received: OK
> Sending packet: $c#63...Ack
> Packet received: O68646C634472763A20696E6974497049660A
> hdlcDrv: initIpIf
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]