This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Debugging multi-threaded eCos application using GDB
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] Debugging multi-threaded eCos application using GDB
- From: Nadine dot Albiez-extern at ascom dot fr
- Date: Mon, 23 Apr 2001 10:28:06 +0200
Hello,
I have a question about debugging an eCos multi-threaded application using gdb.
When I want to see the list of my threads , the command "info threads" returns nothing
(gdb) info threads
(gdb) thread 1
Thread ID 1 not known. Use the "info threads" command to
see the IDs of currently known threads.
What can I do for enabling the multi-threaded ? When I use a linux test application I have no problem, "info threads" returns the list of threads.....
Is there any option when generating the eCos kernel to allow Gdb to see the eCos's Thread (cyg_thread_create)?
I observe the same behavior with the example program "two_threaded".
Is there a package to add to ecos.ecc? I use eCos version 1.4.8. , gdb version 4.18 (I try gdb 5.0 with the same result) and work on a linux target .
Thanks for your help
Nadine Albiez