Comments (3)
Perhaps _wexec could be used instead of CreateProcess so that the gdborig.exe processe replaces the gdb-wrapper gdb.exe process?
from mingw-builds.
Yeah, I guess you're right.
http://msdn.microsoft.com/en-us/library/y5zz48s1.aspx
from mingw-builds.
_wexec* functions doesn't work in our case because when parent process destroy gdb got an exception and detach from console with error:
$ Exception condition detected on fd 0
error detected on stdin
It is gdb issue because examples from msdn is working. Possible solution is to use jobs (CreateJobObject, SetInformationJobObject). In this case child process die with parent process if you kill parent, but before die I got error in console as I write earlier.
from mingw-builds.
Related Issues (20)
- C++ threads without winpthreads library HOT 17
- No gdb tui? HOT 4
- Invoking gcc via symlink does not work HOT 19
- Toolchain updates are breaking build versions that were built normally HOT 3
- Could not build sjlj posix ucrt mingw-builds from the develop branch ! HOT 33
- Fetching sources fails HOT 12
- Building with --mode=gcc-12.2.0 fails
- configure: error: cannot find output from flex; giving up HOT 1
- any way to chnage 'msvcrt' to 'ucrt' using script? HOT 3
- `ld` does not work with non-ASCII file path HOT 6
- Please update GNU Make to 4.4.1
- Building a toolchain for Windows 2000? HOT 4
- Do you have any interest in the mcf thread model? HOT 7
- Not found level for patch HOT 1
- localization of GCC HOT 28
- C preprocessor "/lib/cpp" fails sanity check HOT 3
- not all compiling message in native language
- Update expat to 2.6.2 HOT 1
- GitHub took down xz-utils HOT 1
- Build with posix threads depends on libwinpthread-1.dll HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mingw-builds.