diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-01-21 14:07:45 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-01-21 14:07:45 -0500 |
commit | d3abc0cee08121f4957a1286e93a3fcb0e969869 (patch) | |
tree | 14274c984eb51da533139fb5edc2fe7804635e71 | |
parent | 1e15fcac9425190648b10407d82bd305ac97e336 (diff) | |
download | gdb-d3abc0cee08121f4957a1286e93a3fcb0e969869.zip gdb-d3abc0cee08121f4957a1286e93a3fcb0e969869.tar.gz gdb-d3abc0cee08121f4957a1286e93a3fcb0e969869.tar.bz2 |
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
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/f-valprint.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea92bcb..b074b1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> + * f-valprint.c (f77_array_offset_tbl): Remove. + +2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> + * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file. 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 613da3e..066827f 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) { |