Debian Bug report logs - #37983
gdb still breaks when debugging threaded programs

version graph

Package: gdb; Maintainer for gdb is Héctor Orón Martínez <zumbi@debian.org>; Source for gdb is src:gdb (PTS, buildd, popcon).

Reported by: Daniel Burrows <Daniel_Burrows@brown.edu>

Date: Wed, 19 May 1999 13:18:01 UTC

Severity: normal

Merged with 28058, 36642, 37672, 44536

Found in versions 4.17-4.m68k.ob, 4.17.19981224-3.m68k.objc.threads.hwwp.fpu.gnat, 4.17-4.m68k.objc.threads.hwwp.fpu.gnat.3.1, 4.18-1, 4.18-1.1

Done: Vincent Renardias <vincent@echo.fr>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Vincent Renardias <vincent@waw.com>:
Bug#37983; Package gdb. (full text, mbox, link).


Acknowledgement sent to Daniel Burrows <Daniel_Burrows@brown.edu>:
New bug report received and forwarded. Copy sent to Vincent Renardias <vincent@waw.com>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel Burrows <Daniel_Burrows@brown.edu>
To: submit@bugs.debian.org
Subject: gdb still breaks when debugging threaded programs
Date: Wed, 19 May 1999 09:08:03 -0400
Package: gdb
Version: 4.18-1

  Hi,

  You closed a bug filed by me on this topic recently, but I still can't use
gdb with threaded programs.  Its behavior is improved, though: rather than
hanging when a thread spawns, it sends sigsuspend and returns me to a
(gdb) prompt:

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /home/daniel/gaime/gaime-0.5.0/fe-gtk/./gaime 

Program received signal ?, Unknown signal.
0x4054ef2f in sigsuspend () from /lib/libc.so.6
(gdb) 

  I wonder if maybe the threading support wasn't compiled in, since
'info threads' does nothing.

  It may be worth mentioning that RedHat's gdb *does* work with threads and
glibc2.1, so it might be worth looking at their code modifications and compile
flags to see how they got things working. (?)

  Daniel

-- 
Imagine if every Thursday your shoes exploded if you tied them the usual
way.  This happens to us all the time with computers, and nobody thinks of
complaining.
		-- Jeff Raskin


Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Renardias <vincent@waw.com>:
Bug#37983; Package gdb. (full text, mbox, link).


Acknowledgement sent to "J.H.M. Dassen" <jdassen@wi.leidenuniv.nl>:
Extra info received and forwarded to list. Copy sent to Vincent Renardias <vincent@waw.com>. (full text, mbox, link).


Message #10 received at 37983@bugs.debian.org (full text, mbox, reply):

From: "J.H.M. Dassen" <jdassen@wi.leidenuniv.nl>
To: 37983@bugs.debian.org
Subject: Re: Bug#37983: gdb still breaks when debugging threaded programs
Date: Wed, 19 May 1999 16:31:40 +0200
On Wed, May 19, 1999 at 09:08:03 -0400, Daniel Burrows wrote:
>   I wonder if maybe the threading support wasn't compiled in, since
> 'info threads' does nothing.

4.18 does not include the LinuxThreads patch that was in the Debian package
of 4.17; the gdb maintainers have said that it will be integrated in the
next upstream version.

Ray
-- 
UNFAIR  Term applied to advantages enjoyed by other people which we tried 
to cheat them out of and didn't manage. See also DISHONESTY, SNEAKY, 
UNDERHAND and JUST LUCKY I GUESS.     
- The Hipcrime Vocab by Chad C. Mulligan  


Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Renardias <vincent@waw.com>:
Bug#37983; Package gdb. (full text, mbox, link).


Acknowledgement sent to Ove Kaaven <ovek@arcticnet.no>:
Extra info received and forwarded to list. Copy sent to Vincent Renardias <vincent@waw.com>. (full text, mbox, link).


Message #15 received at 37983@bugs.debian.org (full text, mbox, reply):

From: Ove Kaaven <ovek@arcticnet.no>
To: 37983@bugs.debian.org
Subject: Re: Bug#37983: gdb still breaks when debugging threaded programs
Date: Fri, 18 Jun 1999 07:04:57 +0200 (CEST)
So is Debian going to include the linuxthreads patch before the couple of
years the upstream gdb maintainers spends on each release? I'd prefer not
to wait that long?



Severity set to `wishlist'. Request was from Vincent Renardias <vincent@ldsol.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 28058 36642 37672 37983 44536. Request was from Vincent Renardias <vincent@ldsol.com> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `important'. Request was from Daniel Burrows <Daniel_Burrows@brown.edu> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `normal'. Request was from Vincent Renardias <vincent@ldsol.com> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Renardias <vincent@debian.org>:
Bug#37983; Package gdb. (full text, mbox, link).


Acknowledgement sent to Vincent Renardias <vincent@ldsol.com>:
Extra info received and forwarded to list. Copy sent to Vincent Renardias <vincent@debian.org>. (full text, mbox, link).


Message #28 received at 37983@bugs.debian.org (full text, mbox, reply):

From: Vincent Renardias <vincent@ldsol.com>
To: 36642@bugs.debian.org, 37672@bugs.debian.org, 37983@bugs.debian.org, 44536@bugs.debian.org, 28058@bugs.debian.org
Subject: Is it fixed now?
Date: Tue, 26 Oct 1999 13:25:25 +0000 (GMT)
Can you please upgrade to:

- gdb 4.18.19990928-1
- libc6 & libc6-dev 2.1.2-6 (2.1.2-5 is not good enough)

and confirm the problem is fixed?
If not, can you please send an easy to reproduce test case (gdb session +
src code), so I can have a closer look at it.

	Cordialement,

-- 
- Vincent RENARDIAS  vincent@{{ldsol,pipo}.com,{debian,openhardware}.org} -
- Debian/GNU Linux:   http://www.openhardware.org        Executive Linux: -
- http://www.fr.debian.org   Open Hardware:       http://www.exelinux.com -
---------------------------------------------------------------------------
"Every man has two nations, and one of them is France"  [Benjamin Franklin]



Reply sent to Vincent Renardias <vincent@echo.fr>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Daniel Burrows <Daniel_Burrows@brown.edu>:
Bug acknowledged by developer. (full text, mbox, link).


Message #33 received at 28058-done@bugs.debian.org (full text, mbox, reply):

From: Vincent Renardias <vincent@echo.fr>
To: 28058-done@bugs.debian.org, 46311-done@bugs.debian.org
Subject: Should now work.
Date: Wed, 16 Aug 2000 19:51:52 +0000 (GMT)
Gdb-5.0 is now packaged, and is supposed to handle multithreaded programs.
(If you're using an other platform that i386, I'd be glad to head succes
reports)

	Cordialement,

-- 
"Les politiciens, c'est comme les couches bébés; il faut les changer
 régulièrement, et ce, pour les mêmes raisons!"




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 26 10:52:45 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.