All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Karch, Joshua" <jkarch@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] remote gdb debugging and Xenomai
Date: Wed, 02 Jul 2008 19:52:02 +0200	[thread overview]
Message-ID: <486BC042.5030300@domain.hid> (raw)
In-Reply-To: <51B669A8A7D2914E9AB2B3F40AC6553E647060@domain.hid>

Karch, Joshua wrote:
> Hi,
> 
> I began using GDB to debug rt-tasks in addition to pthreads and I
> found that placing a breakpoint within an RT-Task causes a
> termination of the debug session
> 
> "Child terminated with signal = 5 " is the error I get from gdbserver
> on the target device
> 
> In the Eclipse environment on my non-Xeno desktop, I receive the
> following error: <terminated>gdbserver Debugger (7/2/08 1:27 PM)
> (Exited. Signal 'SIGTRAP' received. Description: Trace/breakpoint
> trap.)
> 
> 
> I did some googling and found out I need symbol information available
> to GDB for Xenomai functions (in addition to PThreads). Where can I
> find libraries with the symbols?

Read README.INSTALL

> Is there anything else I need to know to be able to set breakpoints
> within RT- Tasks for debugging?  I haven't used GDB until now, so
> this is still new to me.

The main reason for such kind of errors is not using the same version of
gdb and gdbserver.

-- 
                                                  Gilles.


  reply	other threads:[~2008-07-02 17:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 17:47 [Xenomai-help] remote gdb debugging and Xenomai Karch, Joshua
2008-07-02 17:52 ` Gilles Chanteperdrix [this message]
2008-07-02 18:12   ` Karch, Joshua
2008-07-02 18:23     ` Gilles Chanteperdrix
2008-07-02 22:51       ` Karch, Joshua
2008-07-03  7:34         ` Gilles Chanteperdrix
2008-07-03 13:32           ` Karch, Joshua

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=486BC042.5030300@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jkarch@domain.hid \
    --cc=xenomai@xenomai.org \
    /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.