Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB & SCHED_RR
@ 2002-01-02  4:56 Oldham, Adam
  2002-01-02 15:00 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Oldham, Adam @ 2002-01-02  4:56 UTC (permalink / raw)
  To: 'gdb@sourceware.cygnus.com'

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.

Thanks,
Adam Oldham

-----------------------------------------------------------------------
C. Adam Oldham              Marconi Commerce Systems Inc.
Software Engineer           7300 West Friendly Ave.
adam.oldham@marconi.com     Greensboro, NC 27420-2087
Phone : 336.547.5952        Fax   : 336.547.5079
-----------------------------------------------------------------------
This document contains confidential information of Marconi Commerce
Systems Inc.  In consideration of the receipt of this document, the
recipient agrees not to reproduce, copy, use or transmit this document
and/or the information contained herein, in whole or in part, or to
suffer such actions by others, for any purpose except with written
permission, first obtained, of Marconi Commerce Systems Inc., and
further agrees to surrender the same to Marconi Commerce Systems Inc.
upon demand.
-----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GDB & SCHED_RR
  2002-01-02  4:56 GDB & SCHED_RR Oldham, Adam
@ 2002-01-02 15:00 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-01-02 15:00 UTC (permalink / raw)
  To: Oldham, Adam; +Cc: 'gdb@sourceware.cygnus.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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-02 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-02  4:56 GDB & SCHED_RR Oldham, Adam
2002-01-02 15:00 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox