X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fframe-base.c;h=9d8dd52daa7a58e7f21841266a8de1388ca8120c;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=47897fc653dfdfc2cbc43fffef726818ffe7e0e4;hpb=4de283e4b5f21207fe12f99913d1f28d4f07843c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/frame-base.c b/gdb/frame-base.c index 47897fc653..9d8dd52daa 100644 --- a/gdb/frame-base.c +++ b/gdb/frame-base.c @@ -1,6 +1,6 @@ /* Definitions for frame address handler, for GDB, the GNU debugger. - Copyright (C) 2003-2019 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -21,6 +21,7 @@ #include "frame-base.h" #include "frame.h" #include "gdb_obstack.h" +#include "gdbarch.h" /* A default frame base implementations. If it wasn't for the old DEPRECATED_FRAME_LOCALS_ADDRESS and DEPRECATED_FRAME_ARGS_ADDRESS, @@ -120,8 +121,9 @@ frame_base_find_by_frame (struct frame_info *this_frame) return table->default_base; } +void _initialize_frame_base (); void -_initialize_frame_base (void) +_initialize_frame_base () { frame_base_data = gdbarch_data_register_pre_init (frame_base_init); }