aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/frame-base.c')
-rw-r--r--gdb/frame-base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/frame-base.c b/gdb/frame-base.c
index 66a0106aa0b..e651b05b0e2 100644
--- a/gdb/frame-base.c
+++ b/gdb/frame-base.c
@@ -92,7 +92,7 @@ frame_base_table (struct gdbarch *gdbarch)
/* ULGH, called during architecture initialization. Patch
things up. */
table = frame_base_init (gdbarch);
- set_gdbarch_data (gdbarch, frame_base_data, table);
+ deprecated_set_gdbarch_data (gdbarch, frame_base_data, table);
}
return table;
}
@@ -146,5 +146,5 @@ extern initialize_file_ftype _initialize_frame_base; /* -Wmissing-prototypes */
void
_initialize_frame_base (void)
{
- frame_base_data = register_gdbarch_data (frame_base_init);
+ frame_base_data = gdbarch_data_register_post_init (frame_base_init);
}