discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProjectCenter on Windows (mingw32) : trouble launching gdb.


From: emmanuel
Subject: Re: ProjectCenter on Windows (mingw32) : trouble launching gdb.
Date: Tue, 8 Mar 2016 19:13:51 +0100

Indeed,

I've tried the new ProjectCenter version : no error message anymore when launching the debugger, but no debugging as well ! 
and when launching gdb from the command-line, I have a crash with this message :

-----
arch-utils.c:573: internal-error: initialize_current_architecture: Selection of initial architecture failed
A problem internal to GDB has been detected, further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
arch-utils.c:573: internal-error: initialize_current_architecture: Selection of initial architecture failed
A problem internal to GDB has been detected, further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
-----

2016-03-08 17:58 GMT+01:00 Riccardo Mottola <address@hidden>:
Hi,

emmanuel wrote:
I've made my "helloworld" first app, builded it and launched it from PC. Everything works fine !
But when I try to debug, I get this message : "No executable ! Please build the project first."

My config : in "Preferences…", the Root Build Directory is unset (blank) and the Debugger has been set to : "C:/GNUstep/bin/gdb.exe".

I fixed that... the debug code was not updated the same way as the run code to make a smart guess and detection of the executable launch path.
I fixed that.

However this reveals a crashed in windows which I do not knowwhere comes from and which does not reproduce on unix.

Furthermore, i doscovered that on Unix (at least on NetBSD) the debugger is not really usable anymore: while it has a console and launches, it never stops the run process with pause, so it is not very useful.  I am pretty sure it used to work though.

Riccardo



--
emmanuel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]