[pushed] gdb: remove unused struct call_site_stuff forward declaration

Message ID 20210611153722.2109499-1-simon.marchi@polymtl.ca
State New
Headers show
Series
  • [pushed] gdb: remove unused struct call_site_stuff forward declaration
Related show

Commit Message

Simon Marchi via Gdb-patches June 11, 2021, 3:37 p.m.
This is unused (and was event when it was introduced).  Remove it.

gdb/ChangeLog:

	* dwarf2/loc.h (struct call_site_stuff): Remove.

Change-Id: Iaa82cb7cfd9768998553b4c9211aca7529eb402f
---
 gdb/ChangeLog    | 4 ++++
 gdb/dwarf2/loc.h | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.32.0

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 30c2aa73d873..3b2693dd1f64 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2021-06-11  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* dwarf2/loc.h (struct call_site_stuff): Remove.
+
 2021-06-11  Tom Tromey  <tom@tromey.com>
 
 	PR rust/23427
diff --git a/gdb/dwarf2/loc.h b/gdb/dwarf2/loc.h
index 2943baf91d22..ff05a7e2dd5f 100644
--- a/gdb/dwarf2/loc.h
+++ b/gdb/dwarf2/loc.h
@@ -243,7 +243,6 @@  struct call_site_chain
     struct call_site *call_site[1];
   };
 
-struct call_site_stuff;
 extern gdb::unique_xmalloc_ptr<call_site_chain> call_site_find_chain
   (struct gdbarch *gdbarch, CORE_ADDR caller_pc, CORE_ADDR callee_pc);