This is the mail archive of the ecos-discuss@sources.redhat.com 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]

[Fwd: GDB load error]


 



--- Jonathan Larmour <jlarmour@redhat.com> wrote:
> Piteir wrote:
> > 
> > Hi,
> > 
> > I have build ecos configuration for Cirrus Logic
> > EDB7211
> > using "default" template.
> > 
> > with RAM startup and enable "Cirrus Logic EDB7XXX
> > serial port 1 driver"
> 
> Try it with just the default configuration (no
> serial driver) just to be
> sure. That should work.
> 
> Also if you built your own redboot you can use the
> redboot_ROM binaries for
> the edb7211 at
>
http://sources.redhat.com/ecos/boards/redbootbins/edb7211
> to
> be sure it isn't something with yours.
> 


Sorry for my last email (I didn't see that before)

I follow your suggestion (just default configuration,
no other setting) but it still failed.

I have tried to enter GDB-stub mode in Redboot by
typing '$Hc-1#09' and Redboot respond +$OK#9a then I
try to debug but after I type 'Continue' it just
hanged there no respond at all.

So I tried another way, I didn't enter GDB-stub mode.
When I tried to debug I got two result:
1)

.....
(gdb) continue
Continuing.
[New thread 1]

Program received signal SIGTRAP, Trace/breakpoint
trap.
[Switching to thread 1]
Cyg_StdioStream::Cyg_StdioStream (this=0x34108,
dev=0x50,
    open_mode=CYG_STREAM_READ, append=0,
binary=213256, buffer_mode=50001,
    buffer_size=256, buffer_addr=0x13 "å")
    at
//C/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/stdio/current/src/com
mon/stream.cxx:71
71          : io_buf( buffer_size, buffer_addr )
Current language:  auto; currently c++
(gdb)



and in another result ( I mostly got this respond):

.....
9f00000000e7e81260e518f09f00000000d4010300dc010300d8010300443e030013000000
warning: Malformed packet(b) (missing colon):
Packet:
'T05thread:000018e5;2f:200403000000000020040300000018e5d051000005000000e
4130000dc010300d8010300483d0300383d03004c6700e0c47900e0d81300005c3d03004c3d03007
c6700e0446700e0d8130000783d0300603d03000c5c00e06c6700e0943d030034480000d40103009
03d03007c3d0300cc4b00e0805b00e00200000000000000103e0300943d0300ec0500e0804b00e00
0000000e518f09f00000000e7e81260e518f09f00000000d4010300dc010300d8010300443e03001
3000000'

warning: Remote sent bad register number 2147483647:
Packet:
'T05thread:000018e5;2f:200403000000000020040300000018e5d051000005000000e
4130000dc010300d8010300483d0300383d03004c6700e0c47900e0d81300005c3d03004c3d03007
c6700e0446700e0d8130000783d0300603d03000c5c00e06c6700e0943d030034480000d40103009
03d03007c3d0300cc4b00e0805b00e00200000000000000103e0300943d0300ec0500e0804b00e00
0000000e518f09f00000000e7e81260e518f09f00000000d4010300dc010300d8010300443e03001
3000000'

warning: Remote reply is too short:
T05thread:000018e5;2f:2004030000000000200403
00000018e5d051000005000000e4130000dc010300d8010300483d0300383d03004c6700e0c47900
e0d81300005c3d03004c3d03007c6700e0446700e0d8130000783d0300603d03000c5c00e06c6700
e0943d030034480000d4010300903d03007c3d0300cc4b00e0805b00e00200000000000000103e03
00943d0300ec0500e0804b00e000000000e518f09f00000000e7e81260e518f09f00000000d40103
00dc010300d8010300443e030013000000
Reply contains invalid hex digit 0
(gdb)


What should I do next? please suggest

> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK.
> Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous
> Huxley || Opinions==mine
> Come to the Red Hat TechWorld open source conference
> in Brussels!
> Keynotes, techie talks and exhibitions   
http://www.redhat-techworld.com/


=====
Regards,
Piteir

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



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