Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3785 - GDB threads
Summary: GDB threads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-16 06:53 UTC by Marko Mikulicic
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
simple threaded programs (simplethread.c,340 bytes, text/plain)
2002-06-19 01:14 UTC, Marko Mikulicic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Mikulicic 2002-06-16 06:53:10 UTC
gdb 5.1.1 doesn't handle correctly threads.

when a thread is started gdb interrupts the program with signal SIG32,
instead of showing "[New Thread whatever (LWP whatever)]".
 The same version of gdb on Mandrake 8.2 works well.

I've tested it with glibc 2.2.5-r2
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-18 21:45:34 UTC
Attach the smallest C/C++ program that exhibits this bug, and I will conjure up
a fix.
Comment 2 Marko Mikulicic 2002-06-19 01:14:51 UTC
Created attachment 1609 [details]
simple threaded programs
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-24 17:04:36 UTC
Try:

export LD_ASSUME_KERNEL=2.2.5

before starting gdb.
Comment 4 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-07-25 17:02:02 UTC
There may have been a mail on this matter, but I forget. I assume that since
there is no reply to this bug, the workaround is successful.