X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fmem-break.c;h=a251aa4337251c45687cba366b06fbc42b4082b5;hb=8380882108b7c11864212eab15eeb5d4c9a3b138;hp=abf8885b5adacf74007a832fa316edebbde9a0e6;hpb=42a4f53d2bf8938c2aeda9f52be7a20534b214a9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/mem-break.c b/gdb/mem-break.c index abf8885b5a..a251aa4337 100644 --- a/gdb/mem-break.c +++ b/gdb/mem-break.c @@ -1,6 +1,6 @@ /* Simulate breakpoints by patching locations in the target system, for GDB. - Copyright (C) 1990-2019 Free Software Foundation, Inc. + Copyright (C) 1990-2020 Free Software Foundation, Inc. Contributed by Cygnus Support. Written by John Gilmore. @@ -24,6 +24,8 @@ #include "breakpoint.h" #include "inferior.h" #include "target.h" +#include "gdbarch.h" + /* Insert a breakpoint on targets that don't have any better breakpoint support. We read the contents of the target location and stash it, then overwrite it with a breakpoint instruction.