From: Philippe Gerum <rpm@xenomai.org>
To: Drew <pythondrew@gmail.com>
Cc: "Xenomai@xenomai.org" <Xenomai@xenomai.org>
Subject: Re: [Xenomai] gdb / threads on beaglebone black
Date: Mon, 26 May 2014 15:23:56 +0200 [thread overview]
Message-ID: <5383406C.4070902@xenomai.org> (raw)
In-Reply-To: <CAO0fa7YQ0TxiAhbmFmt+41o+rugoLXKjXxtHygpthNOiu8gd9w@mail.gmail.com>
On 05/26/2014 02:50 PM, Drew wrote:
>
> On Mon, May 26, 2014 at 3:09 AM, Philippe Gerum <rpm@xenomai.org
> <mailto:rpm@xenomai.org>> wrote:
>
>
> Any change with this?
>
> - pause();
> + for (;;)
> + pause();
>
> --
> Philippe.
>
>
> I get the "thread exited" messages before the "hello, world" is
> printed.. that's before the pause() call and even before the tasks have
> been started..
Do not trust stdio printouts for debugging in a dual kernel system, they
may be delayed in different ways, despite your termios are set to
canonical mode.
In addition, testing return codes of syscalls would be a good idea, e.g.
rt_task_start(), assuming rt_task_create() did succeed since GDB told
you about two new threads.
PS: please keep the list posted.
--
Philippe.
next prev parent reply other threads:[~2014-05-26 13:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-26 1:49 [Xenomai] gdb / threads on beaglebone black Drew
2014-05-26 7:09 ` Philippe Gerum
[not found] ` <CAO0fa7YQ0TxiAhbmFmt+41o+rugoLXKjXxtHygpthNOiu8gd9w@mail.gmail.com>
2014-05-26 13:23 ` Philippe Gerum [this message]
2014-05-27 12:05 ` Drew
2014-05-27 22:21 ` Drew
2014-05-28 14:08 ` Drew
2014-05-28 14:24 ` Philippe Gerum
2014-05-28 14:45 ` Michael Haberler
2014-05-28 17:54 ` Gilles Chanteperdrix
2014-05-28 19:19 ` Drew
2014-05-28 19:28 ` Philippe Gerum
2014-05-28 20:06 ` Gilles Chanteperdrix
2014-05-28 20:24 ` Gilles Chanteperdrix
2014-05-28 20:31 ` Michael Haberler
2014-05-28 20:36 ` Philippe Gerum
2014-05-28 21:01 ` Drew
2014-05-28 21:08 ` Gilles Chanteperdrix
2014-05-28 22:27 ` Gilles Chanteperdrix
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=5383406C.4070902@xenomai.org \
--to=rpm@xenomai.org \
--cc=Xenomai@xenomai.org \
--cc=pythondrew@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.