Add a readme

This commit is contained in:
Les De Ridder 2020-07-12 18:52:07 +02:00
parent b65dd571b3
commit 23a86f466c
3 changed files with 32 additions and 0 deletions

View File

28
README.md Normal file
View File

@ -0,0 +1,28 @@
# gdb-msvc
gdb-msvc is a series of patches for GDB (and bfd) for easier debugging of Microsoft Visual C++ (MSVC) binaries.
## Main features
The main features in this patchset are:
* MSVC demangling support (using [LLVM](https://llvm.org/))
* PDB debug symbol loading (using [radare2](https://github.com/radareorg/radare2)'s libr)
(Note: we can't currently use LLVM for PDB loading as LLVM doesn't yet expose its PDB functions as a C API and bfd is written in C, not C++.)
## Building
* `mkdir build && cd build`
* `../configure --target=i686-w64-mingw32 <other configure flags>`
* `make` (and `make install`)
Packages:
* Arch Linux: [gdb-msvc-git](https://aur.archlinux.org/packages/gdb-msvc-git/) (AUR)
## License
Most of the code is available under the terms of the [GNU GPLv3 license](/gdb/COPYING). See [the original README](/README-GDB) and license notices in source files for details.
By contributing you agree to make your code available under the same license.

View File

@ -1,5 +1,9 @@
/* PDB support for BFD. */
/* Includes code from radare2:
radare - LGPL - Copyright 2014 - inisider
(https://github.com/radareorg/radare2) */
#include "pdb.h"
/* Called when the BFD is being closed to do any necessary cleanup. */