This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug threads/9635] Cannot find new threads: generic error


http://sourceware.org/bugzilla/show_bug.cgi?id=9635

John Carter <john.carter at tait dot co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.carter at tait dot
                   |                            |co.nz
            Version|6.8                         |7.2
           Severity|enhancement                 |normal

--- Comment #3 from John Carter <john.carter at tait dot co.nz> 2011-05-27 05:34:33 UTC ---
If file being debugged uses libpthread AND has an external symbol "stack_used"
gdb dies before the debugged program enters "main" with the message...
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error

In the attached file, for example you change all occurrences of "stack_used" by
"tack_used" and recompile and run gdb executes normally.

If you leave it as "stack_used", gdb dies with an entirely mystifying error
message!

Thanks.

Environment

uname -a
Linux parore 2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15 UTC 2011
i686 GNU/Linux
/usr/bin/gcc --version
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]