Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: "Oldham, Adam" <adam.oldham@marconi.com>
Cc: "'gdb@sourceware.cygnus.com'" <gdb@sourceware.cygnus.com>
Subject: Re: GDB & SCHED_RR
Date: Wed, 02 Jan 2002 15:00:00 -0000	[thread overview]
Message-ID: <20020102180119.A18480@nevyn.them.org> (raw)
In-Reply-To: <A3E34B558F5CD211B4980008C7A4A99004D45374@sparrow.gso.mcs.marconi.com>

On Wed, Jan 02, 2002 at 07:54:11AM -0500, Oldham, Adam wrote:
> Hey people....
> 
> I have a Linux 2.4.8 system runnign GDB 5.0.  I am trying to debug a program
> that starts all its threads using SCHED_RR and running the threads a
> different priorities.
> 
> I wanted to ask this to see if I could get a good answer before writing up
> any kind of bug.  So, is GDB supposed to be able to debug executables that
> have Real Time threads?  Debug is a vague word, but my problem is that, when
> GDB is started and my executable is run through GDB, it appears as though
> the thread priorities are not being set up correctly.  The threads do not
> seem to execute in the same order as when the executable is run standalone.

I'd certainly not expect them to be.

Thread debugging is intrusive.  We can (perhaps) make it a little less
obtrusive than it is currently; but the presence of a debugger is
noticeable even to basic multithreaded applications.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


      reply	other threads:[~2002-01-02 23:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-02  4:56 Oldham, Adam
2002-01-02 15:00 ` Daniel Jacobowitz [this message]

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=20020102180119.A18480@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=adam.oldham@marconi.com \
    --cc=gdb@sourceware.cygnus.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