This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
help using GDB
- From: Ecos Temp <ecos1 at sorensontech dot com>
- To: ecos <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 11 Apr 2002 17:10:04 -0600
- Subject: [ECOS] help using GDB
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