From 9bf6cbf6dd88777719c5757922aff0190ec46539 Mon Sep 17 00:00:00 2001 From: Joshua Lang Date: Wed, 14 Dec 2016 23:05:00 -0800 Subject: 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 --- binutils-2.25/include/coff/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils-2.25/include') 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. */ -- cgit v1.2.3