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: Re: ppc-gdb-ecos-reboot question


Hi Jonathan,

Thanks for the reply. I am just using the redboot and I believe that
the source code is there and I just didn't find it.

Still wondering how to continue setup debugging. I'll try to dig deeper.

Bob

On Wed, Oct 15, 2008 at 7:41 AM, Jonathan Larmour <jifl@ecoscentric.com> wrote:
> Bob wrote:
>> I found that it might be because that hdlcDrv::initIpIf is
>> reinitializing the ethernet port.
>
> This must be something specific to that port. That's not a standard part of
> eCos/RedBoot.
>
> eCos and RedBoot code is covered by the GPL licence. You are legally
> entitled to obtain the source code from whoever provided you the binary. If
> you have difficulties doing so, contact the eCos maintainers
> <ecos-maintainers@ecos.sourceware.org> including full information about
> where the binary is from, any legal/licensing information that came with
> it, who you have contacted to obtain the source code, and their response.
> If it comes to it, the GPL enforcement team at the FSF can put legal weight
> behind it.
>
> Jifl
>
>
>> 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
>>>
>>
>
>
> --
> eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
> Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
> Registered in England and Wales: Reg No 4422071.
> ------["Si fractum non sit, noli id reficere"]------       Opinions==mine
>

-- 
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]