public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nadine.Albiez-extern@ascom.fr
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Debugging multi-threaded eCos application using GDB
Date: Mon, 23 Apr 2001 00:28:00 -0000	[thread overview]
Message-ID: <OF8761DF62.DD359E81-ONC1256A37.00272947@ascom.fr> (raw)

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


             reply	other threads:[~2001-04-23  0:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-23  0:28 Nadine.Albiez-extern [this message]
2001-04-23  5:52 ` Bart Veer
2001-08-03  2:49 Stefan Syberichs
2001-08-03  6:21 ` Jonathan Larmour
2001-08-03  7:39 ` Bart Veer
2001-08-03  8:11   ` Jonathan Larmour
2001-08-03  9:46     ` Bart Veer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF8761DF62.DD359E81-ONC1256A37.00272947@ascom.fr \
    --to=nadine.albiez-extern@ascom.fr \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).