summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/include/coff
diff options
context:
space:
mode:
authorJoshua Lang <joshualang@google.com>2016-12-14 23:05:00 -0800
committerJoshua Lang <joshualang@google.com>2017-01-31 15:41:47 -0800
commit9bf6cbf6dd88777719c5757922aff0190ec46539 (patch)
treea6fb4e5541581d7bf6925b298bcb3f4910836bc4 /binutils-2.25/include/coff
parent249bab53c3518fccd432baf1447422b25d884732 (diff)
downloadtoolchain_binutils-9bf6cbf6dd88777719c5757922aff0190ec46539.tar.gz
toolchain_binutils-9bf6cbf6dd88777719c5757922aff0190ec46539.tar.bz2
toolchain_binutils-9bf6cbf6dd88777719c5757922aff0190ec46539.zip
Set CodeView pdb path/name to base name
The CodeView pdb path/name field is empty leading windows minidumps to have empty module paths for the binary. This patch sets the path to the base name of the binary. Bug: 33668347 Change-Id: I4138998239b07b54cc36dc2d2e3484c4b63f5435
Diffstat (limited to 'binutils-2.25/include/coff')
-rw-r--r--binutils-2.25/include/coff/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils-2.25/include/coff/internal.h b/binutils-2.25/include/coff/internal.h
index 47e85d9f..2fd0264e 100644
--- a/binutils-2.25/include/coff/internal.h
+++ b/binutils-2.25/include/coff/internal.h
@@ -167,7 +167,7 @@ typedef struct _CODEVIEW_INFO
char Signature[CV_INFO_SIGNATURE_LENGTH];
unsigned int SignatureLength;
unsigned long Age;
- // char PdbFileName[];
+ char PdbFileName[];
} CODEVIEW_INFO;
/* Default image base for NT. */