This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/Ada] Remove some unused routines ...


It's the fact that some of the routines in ada-tasks were made static
that clued me on the fact that these routines might not be used at all.
In fact, all these are used in AdaCore's sources, but not in the FSF
tree.  There are some features that make use of these routines that
unfortunately need to be re-implemented a different way for these to
be submittable.

For the curious, AdaCore's tree is available at:

    https://libre.adacore.com/GDB/

2009-03-02  Joel Brobecker  <brobecker@adacore.com>

        Remove some unused routines.

        * ada-lang.c (is_suppressed_name, ada_suppress_symbol_printing):
        Delete.
        * ada-lang.c (ada_task_list_iterator_ftype)
        (iterate_over_live_ada_tasks): Delete.
        * ada-tasks.c (ada_get_environment_task, iterate_over_live_ada_tasks):
        Delete.

Tested on x86-linux by rebuilding GDB. Checked in.

-- 
Joel

PS: I have loads of other patches waiting in my queue for submission,
    but I have neglected it in favor of patch reviews. I hope to be
    able to send at least some of the most urgent ones this week.

Attachment: unused.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]