This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [1/3] RFC - delete dead Fortran code
- From: Doug Evans <dje at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Aug 2012 15:03:05 -0700
- Subject: Re: [1/3] RFC - delete dead Fortran code
- References: <87ehn0fbz1.fsf@fleche.redhat.com>
On Tue, Aug 21, 2012 at 9:26 AM, Tom Tromey <tromey@redhat.com> wrote:
> We've had a variant of this patch in Fedora for quite a long time.
>
> This just removes a bunch of dead code from the Fortran support.
> Jan wrote most of this patch; I found a few more things to delete and
> rolled them in.
>
> Tested by rebuilding on x86-64 F16.
>
> Tom
>
> 2012-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
> Tom Tromey <tromey@redhat.com>
>
> * f-lang.c (allocate_saved_bf_node,
> allocate_saved_function_node, allocate_saved_f77_common_node,
> allocate_common_entry_node, tail_common_list, current_common,
> saved_bf_list, saved_bf_list_end, current_head_bf_list,
> tmp_bf_ptr, add_common_block, add_common_entry,
> find_first_common_named, patch_common_entries,
> patch_all_commons_by_name, ADD_BF_SYMNUM, clear_bf_list,
> global_remote_debug, get_bf_for_fcn, saved_function_list,
> saved_function_list_end, clear_function_list, struct saved_fcn,
> struct saved_bf_symnum, SAVED_FUNCTION, SAVED_FUNCTION_PTR,
> SAVED_BF, SAVED_BF_PTR): Remove.
> * f-lang.h (tail_common_list, current_common,
> UNINITIALIZED_SECNUM, COMMON_NEEDS_PATCHING,
> BLANK_COMMON_NAME_ORIGINAL, BLANK_COMMON_NAME_MF77,
> DEFAULT_UPPER_BOUND, DEFAULT_LOWER_BOUND, real_main_name,
> real_main_c_value): Remove.
> * f-valprint.c (there_is_a_visible_common_named): Remove.
ok by me