From: Keith Seitz Date: Wed, 29 Aug 2018 22:12:23 +0000 (-0700) Subject: Remove VEC definitions from linespec.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63e8c3daad1eae11cef5b6d1833507d9d4d6b0c0;p=binutils-gdb.git Remove VEC definitions from linespec.c Since they are now no longer necessary, this patch removes the typedefs and VEC definitions for bound_minimal_symbol_d and symbolp. gdb/ChangeLog: * linespec.c (symbolp): Remove typedef and VEC definitions. (bound_minimal_symbol_d): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 729c20b0521..b345ec51523 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-08-29 Keith Seitz + + * linespec.c (symbolp): Remove typedef and VEC definitions. + (bound_minimal_symbol_d): Likewise. + 2018-08-29 Keith Seitz * linespec.c (decode_compound_collector::decode_compound_collector): diff --git a/gdb/linespec.c b/gdb/linespec.c index 3da673effa5..06ec78bb599 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -81,9 +81,6 @@ enum class linespec_complete_what typedef std::unique_ptr> symtab_vector_up; -typedef struct symbol *symbolp; -DEF_VEC_P (symbolp); - /* An address entry is used to ensure that any given location is only added to the result a single time. It holds an address and the program space from which the address came. */ @@ -94,10 +91,6 @@ struct address_entry CORE_ADDR addr; }; -typedef struct bound_minimal_symbol bound_minimal_symbol_d; - -DEF_VEC_O (bound_minimal_symbol_d); - /* A linespec. Elements of this structure are filled in by a parser (either parse_linespec or some other function). The structure is then converted into SALs by convert_linespec_to_sals. */