public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug threads/11362] New: Debugging from CDT raises "thread.c:79: internal-error: inferior_thread: Assertion `tp' failed."
@ 2010-03-09 17:29 gaknar at gmail dot com
  2010-03-09 17:31 ` [Bug threads/11362] " gaknar at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: gaknar at gmail dot com @ 2010-03-09 17:29 UTC (permalink / raw)
  To: gdb-prs

I currently use Eclipse C/C++ Development Tooling undex Windows XP SP2.
To compile and debug, I installed MinGW and MSYS. MinGW version is 5.1.6 but I
use GCC version 4.4.0 provided by MinGW. I also installed GDB 7.0.1 from the
MinGW website and libexpat-1.dll.
I programmed a simple C++ shared library together with a simple caller program
also written in C++. Compilation and linking is alright under Windows (I also
tried under Linux) and I can debug both caller and library from the Windows
command line.
The problem arise when trying to debug from Eclipse CDT using MI under Windows
(same operation under Linux is OK). gdb is launched with several commands but as
soon as -exec-run is issued, gdb stops with the message :

../../gdb-7.0.1/gdb/thread.c:79: internal-error: inferior_thread: Assertion `tp'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

I then tried to paste the extact same commands in command line using "gdb
--interpreter=mi program.exe" and everything runs fine. I have no problem
debugging a single program or a program with statically linked library inside.

-- 
           Summary: Debugging from CDT raises "thread.c:79: internal-error:
                    inferior_thread: Assertion `tp' failed."
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: threads
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: gaknar at gmail dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: 7.0.1 mingw
  GCC host triplet: Windows XP SP2 i386
GCC target triplet: Windows XP SP2 i386


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-11362-4717@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-05-28 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-09 17:29 [Bug threads/11362] New: Debugging from CDT raises "thread.c:79: internal-error: inferior_thread: Assertion `tp' failed." gaknar at gmail dot com
2010-03-09 17:31 ` [Bug threads/11362] " gaknar at gmail dot com
2010-03-09 17:40 ` gaknar at gmail dot com
2010-03-09 18:03 ` gaknar at gmail dot com
     [not found] <bug-11362-4717@http.sourceware.org/bugzilla/>
2011-07-01 20:41 ` dennis.wang at nrl dot navy.mil
2014-02-16 18:28 ` jackie.rosen at hushmail dot com
2014-05-28 19:43 ` schwab at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).