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]
Other format: [Raw text]

Pb to start application with GDB


Hi,


I'm developping an application RedBoot-Ecos for a new
motorola evaluation board with powerpc MPC8275.

I have developped a RedBoot in ROMRAM startup mode.

I have problems to start an application with GDB. When
I use continue command, application never start ....
The only way to start the application is to use the
following commands, nexti + jump *start_address. Any
suggestion?

 

Behavior with Cont command:

(gdb) set remotebaud 38400

(gdb) target remote com1

Remote debugging using com1

0x0000ece4 in ?? ()

(gdb) load

Loading section .text, size 0x7860 lma 0x51000

Loading section .rodata, size 0x9ec lma 0x58860

Loading section .data, size 0x538 lma 0x59250

Start address 0x51000, load size 34692

Transfer rate: 27753 bits/sec, 502 bytes/write.

 (gdb) cont

Continuing.

 

Behavior with nexti + jump command: 

 (gdb) set remotebaud 38400

(gdb) target remote com1

Remote debugging using com1

0x0000ece4 in ?? ()

(gdb) load

Loading section .text, size 0x7860 lma 0x51000

Loading section .rodata, size 0x9ec lma 0x58860

Loading section .data, size 0x538 lma 0x59250

Start address 0x51000, load size 34692

Transfer rate: 30837 bits/sec, 502 bytes/write.

 (gdb) nexti

[New Thread 1]

0x00015e24 in ?? ()

(gdb) jump *0x51000

Continuing at 0x51000.

Hello, eCos world!

Regards,

 

Alix



_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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


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