From bd2b40ac129b167f1a709589dee9c009a04a6e21 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 25 Jul 2022 14:06:35 -0300 Subject: Change GDB to use frame_info_ptr This changes GDB to use frame_info_ptr instead of frame_info * The substitution was done with multiple sequential `sed` commands: sed 's/^struct frame_info;/class frame_info_ptr;/' sed 's/struct frame_info \*/frame_info_ptr /g' - which left some issues in a few files, that were manually fixed. sed 's/\ Approved-by: Tom Tomey --- gdb/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index 54c7c92..e979418 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -491,7 +491,7 @@ void check_frame_language_change (void) { static int warned = 0; - struct frame_info *frame; + frame_info_ptr frame; /* First make sure that a new frame has been selected, in case the command or the hooks changed the program state. */ -- cgit v1.1