Comments (9)
I don't know if you noticed, but I recently added support for .gnu_debuglink
-- https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html -- which is the standard way of doing this sort of thing with GDB/MinGW.
I'm afraid I'm not interesting in supporting a non-standard way.
from drmingw.
Do you know that feature no more works?
from drmingw.
Do you know that feature no more works?
@dismine , are you saying that .gnu_debuglink
doesn't work anymore?
I wrote a unit test for it (test_mgwhelp_stripped
) , and it is passing on multiple machines. So it works at least in some cases. If it doesn't work for you please file a bug report and provide more information.
from drmingw.
@dismine , are you saying that .gnu_debuglink doesn't work anymore?
Yes, i do. And wrote you a letter about it.
If it doesn't work for you please file a bug report and provide more information.
Ok, i will make a bug report.
from drmingw.
Yes, i do. And wrote you a letter about it.
OK. Indeed I got your email about the regression, and I got it starred for further action, but when I read it, I somehow mixed up with your other email thread about line number differences, and not the split debug symbols issue.
Thanks for the issue report though. It's easier for me to track these things in the issue tracker.
from drmingw.
@jrfonseca, GDB seems to organize the symbol files based on FHS structure, which is usually not applicable to Windows programs. They will unlikely support non-FHS models such as Program Files. So instead of spreading .debug
files or subdirectories all over the place, your application is usually better organized if you keep them within a simple, separate subdirectory. The commit I mentioned allows for this with SetDebugInfoDir
.
from drmingw.
Currently the debug files have to be in same dir as the executables.
If that's insufficient I'd rather add support for searching the MinGW debug files into _NT_SYMBOL_PATH
from drmingw.
Using the structure expected by GDB instead of implementing SetDebugInfoDir
is convenient because it can find the symbols automatically, yes. But GDB will also search for the symbol files within a .debug
folder alongside the executable, so could you implement this as well?
from drmingw.
But GDB will also search for the symbol files within a
.debug
folder alongside the executable, so could you implement this as well?
Yes, that seems a good idea. I'm not sure exactly when to do it -- I'm tired of ugly and buggy filepath manipulation code, and want to start using strsafe.h
or std::string
. But please file a bug and I'll eventually get around to do it.
from drmingw.
Related Issues (20)
- add copy to Clipboard
- Faulting location incorrect if executable uses ASLR. HOT 3
- Have it handle stack corruption HOT 3
- No source code is showing for projects built with MSYS2 HOT 4
- Reason for erroring out with posix threads? HOT 2
- Can exchndl be made to catch RaiseFailFastException? HOT 4
- catchsegv not resolving gnu_debuglink correctly HOT 8
- catchsegv clobbers Unicode arguments
- Feature request: Support ARM64 HOT 23
- Feature request: Allow opt-in to use system provided zlib HOT 1
- ExcHndl.dll can't print the crash call stack under Windows 7 HOT 20
- Dumping register values on x86_64 HOT 1
- Write minidump from exchndl.dll
- Support minidump locations/filenames containing unicode (wide char) characters HOT 4
- Release 0.9.8: Naming of link libraries different between 32 and 64 bit HOT 3
- What is the minimal OS to run the official drmingw release? HOT 2
- libwinpthread-1.dll missing from release HOT 9
- Save the result automatically HOT 3
- Is it possible to update drmingw to the latest version in the msys2 package? HOT 2
- better sample code in the home page HOT 1
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 drmingw.