[ECOS] help using GDB

Ecos Temp ecos1@sorensontech.com
Thu Apr 11 16:10:00 GMT 2002


questions on gdb:
- why is there 2 threads?
0x00013c38 in ?? ()
(gdb) info threads
  2 Thread 2 ( Name: main, State: ready, Priority: 10 )  0x00011650 in ?? ()
* 1 Thread 1 ( Name: Idle Thread, State: running, Priority: 31 )  0x00013c38
in
?? ()
(gdb) 

Also I load a program hello and use cont, nothing displays ie "Hello", but I
control C out from gdb, and start a terminal session over com1, and the
redboot prompt appears.  Any clues?
- Loading section .rom_vectors, size 0x40 lma 0x40000
Loading section .text, size 0xc7d0 lma 0x40040
Loading section .rodata, size 0x459 lma 0x4c810
Loading section .data, size 0x484 lma 0x4cc6c
Start address 0x40040, load size 53485
Transfer rate: 25169 bits/sec, 303 bytes/write.
(gdb) cont
Continuing.

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



More information about the Ecos-discuss mailing list