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/11362] New: Debugging from CDT raises "thread.c:79: internal-error: inferior_thread: Assertion `tp' failed."


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.


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