From 9ed8433a04bf0430e2da3cd44c18667859782410 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 10 Apr 2023 10:50:09 -0600 Subject: Rename objfile::sections I think objfile::sections makes sense as the name of the method to iterate over an objfile's sections, so this patch renames the existing field to objfile::sections_start in preparation for that. --- gdb/solib-frv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/solib-frv.c') diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index 240b4da..7cce11d 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -757,7 +757,7 @@ frv_relocate_main_executable (void) int osect_idx; int seg; - osect_idx = osect - objf->sections; + osect_idx = osect - objf->sections_start; /* Current address of section. */ addr = osect->addr (); -- cgit v1.1