From 652099717dbb767c9d3eaed4c533486dd99d5e5b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 20 Nov 2021 21:54:11 -0500 Subject: gdb: remove SYMTAB_OBJFILE macro Remove the macro, replace with an equivalent method. Change-Id: I8f9ecd290ad28502e53c1ceca5006ba78bf042eb --- gdb/ada-lang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index f3b8442..e6bfb8e 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -11388,8 +11388,8 @@ is_known_support_routine (struct frame_info *frame) re_comp (known_runtime_file_name_patterns[i]); if (re_exec (lbasename (sal.symtab->filename))) return 1; - if (SYMTAB_OBJFILE (sal.symtab) != NULL - && re_exec (objfile_name (SYMTAB_OBJFILE (sal.symtab)))) + if (sal.symtab->objfile () != NULL + && re_exec (objfile_name (sal.symtab->objfile ()))) return 1; } -- cgit v1.1