This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

help i386-elf-gdb


 Hi,all,
 when we debug our remote target(PC),we use the given
 example:hello.c,but after we execute ,a error come out:
  "loading section .text size 0x4001 lma 0x1000"
     our commands list as follow:
 
     make hello
     i386-elf-gdb -b 38400
     target remote /dev/ttyS0
     load hello
 
     Then error occur and the "loading section .text size 0x4001 lma 0x1000"
 message display on the screen,and at the same time,our target pc display
 "#9a$OK" forever,even after we kill i386-elf-gdb,it still display the same
 message on and on .what is wrong here?How can I do now?
 

 And when we check the size of hello,and gdb_module.bin,find that the size of file hello  about 167K,and file gdb_module.bin for startup floppy is only 37k,is that alright?
 
 Our host is turbo linux v4.1,we make target as follow:
 ecosconfig pc stubs
 ecosconfig check,no confict found
 ecosconfig tree
 make
 dd if=BASEDIR/install/bin/gdb_module.bin of=/dev/fd0
 
Could anyone help me?
 
Best regards!
                        liqiaoxia

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