Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [RFA 6/6] Remove symbolp typedef
Date: Sat, 06 Jan 2018 00:26:00 -0000	[thread overview]
Message-ID: <20180106002621.21099-7-tom@tromey.com> (raw)
In-Reply-To: <20180106002621.21099-1-tom@tromey.com>

This removes the symbolp typedef from dwarf2read.c.  It is no longer
used.

2018-01-05  Tom Tromey  <tom@tromey.com>

	* dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
---
 gdb/ChangeLog    | 4 ++++
 gdb/dwarf2read.c | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e9b6023047..f8aa10d50a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2018-01-05  Tom Tromey  <tom@tromey.com>
 
+	* dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
+
+2018-01-05  Tom Tromey  <tom@tromey.com>
+
 	* gdbtypes.h (add_dyn_prop): Remove objfile parameter.
 	* gdbtypes.c (add_dyn_prop): Remove objfile parameter.
 	(create_array_type_with_stride): Update.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 3807251970..93e2419cc9 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -87,9 +87,6 @@
 #include <set>
 #include <forward_list>
 
-typedef struct symbol *symbolp;
-DEF_VEC_P (symbolp);
-
 /* When == 1, print basic high level tracing messages.
    When > 1, be more verbose.
    This is in contrast to the low level DIE reading of dwarf_die_debug.  */
-- 
2.13.6


  parent reply	other threads:[~2018-01-06  0:26 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-06  0:26 [RFA 0/6] Some DWARF reader polishing Tom Tromey
2018-01-06  0:26 ` [RFA 5/6] Remove objfile argument from add_dyn_prop Tom Tromey
2018-01-10 13:01   ` Yao Qi
2018-01-10 16:32     ` Tom Tromey
2018-01-16 16:00       ` Yao Qi
2018-01-16 15:33   ` Simon Marchi
2018-01-17 17:16     ` Tom Tromey
2018-01-06  0:26 ` [RFA 4/6] Change dwarf2_cu::method_info to be a std::vector Tom Tromey
2018-01-16 15:30   ` Simon Marchi
2018-01-17 17:15     ` Tom Tromey
2018-01-17 17:29       ` Simon Marchi
2018-01-06  0:26 ` Tom Tromey [this message]
2018-01-16 15:33   ` [RFA 6/6] Remove symbolp typedef Simon Marchi
2018-01-06  0:26 ` [RFA 3/6] Allocate dwarf2_cu with new Tom Tromey
2018-01-10 12:17   ` Yao Qi
2018-01-10 16:14     ` Tom Tromey
2018-01-10 16:28       ` Tom Tromey
     [not found]         ` <291f71dc-d6cd-f9fa-1da4-f949464eedd0@ericsson.com>
2018-01-17 17:10           ` Tom Tromey
2018-01-06  0:26 ` [RFA 1/6] Unify new_symbol and new_symbol_full Tom Tromey
2018-01-07  5:33   ` Simon Marchi
2018-01-06  0:26 ` [RFA 2/6] Allocate abbrev_table with new Tom Tromey
2018-01-07  5:29   ` Simon Marchi
2018-01-07 16:55     ` Simon Marchi
2018-01-09 18:56       ` Tom Tromey
2018-01-10 12:02         ` Yao Qi
2018-01-10 16:10           ` Tom Tromey
2018-01-10 12:45         ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180106002621.21099-7-tom@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox