From d3abc0cee08121f4957a1286e93a3fcb0e969869 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 21 Jan 2021 14:07:45 -0500 Subject: [PATCH] gdb: remove unused f77_array_offset_tbl from f-valprint.c This variable appears to be unused. Its uses were removed in commit 3e2e34f8623d ("fort_dyn_array: Use value constructor instead of raw-buffer manipulation.") back in 2016. gdb/ChangeLog: * f-valprint.c (f77_array_offset_tbl): Remove. Change-Id: I39ff8d1b402e54ca2ade936f65e540f500cce86e --- gdb/ChangeLog | 4 ++++ gdb/f-valprint.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea92bcbf4dd..b074b1babe5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2021-01-21 Simon Marchi + + * f-valprint.c (f77_array_offset_tbl): Remove. + 2021-01-21 Simon Marchi * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file. diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 613da3e4696..066827f21f2 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -39,11 +39,6 @@ static void f77_get_dynamic_length_of_aggregate (struct type *); -int f77_array_offset_tbl[MAX_FORTRAN_DIMS + 1][2]; - -/* Array which holds offsets to be applied to get a row's elements - for a given array. Array also holds the size of each subarray. */ - LONGEST f77_get_lowerbound (struct type *type) { -- 2.30.2