X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fstd-regs.c;h=c4220733a819bf008af571798cd8df26435a0933;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=65c9723a5caee811e4802b2586e3adcfbb3307e7;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/std-regs.c b/gdb/std-regs.c index 65c9723a5c..c4220733a8 100644 --- a/gdb/std-regs.c +++ b/gdb/std-regs.c @@ -1,6 +1,6 @@ /* Builtin frame register, for GDB, the GNU debugger. - Copyright (C) 2002-2018 Free Software Foundation, Inc. + Copyright (C) 2002-2020 Free Software Foundation, Inc. Contributed by Red Hat. @@ -24,6 +24,8 @@ #include "frame.h" #include "gdbtypes.h" #include "value.h" +#include "gdbarch.h" + static struct value * value_of_builtin_frame_fp_reg (struct frame_info *frame, const void *baton) { @@ -89,8 +91,9 @@ value_of_builtin_frame_ps_reg (struct frame_info *frame, const void *baton) error (_("Standard register ``$ps'' is not available for this target")); } +void _initialize_frame_reg (); void -_initialize_frame_reg (void) +_initialize_frame_reg () { /* Frame based $fp, $pc, $sp and $ps. These only come into play when the target does not define its own version of these