Fix AMD64/X86 typo in MD_CONTEXT_AMD64_ALL

Use MD_CONTEXT_AMD64_DEBUG_REGISTERS instead of
MD_CONTEXT_AMD64_DEBUG_REGISTERS in the definition of
MD_CONTEXT_AMD64_ALL. This previously happened to work because the two
flags happened to have the same values and every includer of
minidump_cpu_amd64.h also happened to previously include
minidump_cpu_x86.h.

Change-Id: If8b422d3623936f4a0b57a4cf6dac4f348daa024
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4480251
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Ben Wagner 2023-04-26 11:08:05 -04:00 committed by Joshua Peraza
parent 57bed07ad4
commit 68f5a4d11a

View file

@ -227,7 +227,7 @@ typedef struct {
#define MD_CONTEXT_AMD64_ALL (MD_CONTEXT_AMD64_FULL | \
MD_CONTEXT_AMD64_SEGMENTS | \
MD_CONTEXT_X86_DEBUG_REGISTERS)
MD_CONTEXT_AMD64_DEBUG_REGISTERS)
/* CONTEXT_ALL */