13 Commits

Author SHA1 Message Date
995f44ff35 Add PDB stubs to bfd
Most of the PDB stuff should be moved to bfd. This commit sets that up
and adds a reference to it from coffread.c.

The PDB path resolving will still be in gdb.
2020-07-11 13:00:01 +02:00
a8451d40c1 Remove psymtab stub
Because we weren't fully setting up the psymtab, we ended up
dereferencing invalid/null pointers when its functions were called. For
now, we just deal with 'no symbols found' errors, because it's better
than crashing.

Fixes main issue in #2
2020-07-10 21:47:40 +02:00
8f00d3d3cd Try to load PDB path from CodeView record 2020-07-10 21:47:40 +02:00
d82430d33c Fix formatting and apply clang-tidy fixes 2020-07-10 18:17:38 +02:00
43ba294701 Handle demangling API change on LLVM >10.0.0
Partially fixes #2
2020-07-01 17:02:02 +02:00
9f50eba524 Set section to -1 if we don't have it in our objfile 2020-06-21 16:49:53 +02:00
5c03599324 Remove '!' prefix from demangled name and add !DMGL_PARAMS support 2020-06-21 06:04:33 +02:00
817afcd046 Add basic PDB symbol reading using radare2's PDB library functions 2020-06-20 14:35:35 +02:00
e234ce54cd Save the PDB file name in CodeView info
We don't actually use this yet.
2020-06-20 14:24:53 +02:00
ef88a7721d Improve MSVC demangling output 2020-06-19 10:26:58 +02:00
6c5d6eb9b0 Add MSVC demangling support 2020-06-18 15:38:56 +02:00
3702438120 Add build directories to .gitignore 2020-06-18 10:13:28 +02:00
ce75aa9c80 Import GDB 9.2 9.2 2020-06-18 10:11:10 +02:00