Add a readme
This commit is contained in:
parent
b65dd571b3
commit
23a86f466c
28
README.md
Normal file
28
README.md
Normal 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.
|
@ -1,5 +1,9 @@
|
|||||||
/* PDB support for BFD. */
|
/* PDB support for BFD. */
|
||||||
|
|
||||||
|
/* Includes code from radare2:
|
||||||
|
radare - LGPL - Copyright 2014 - inisider
|
||||||
|
(https://github.com/radareorg/radare2) */
|
||||||
|
|
||||||
#include "pdb.h"
|
#include "pdb.h"
|
||||||
|
|
||||||
/* Called when the BFD is being closed to do any necessary cleanup. */
|
/* Called when the BFD is being closed to do any necessary cleanup. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user