public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove tui_exec_info_content
@ 2019-10-21 15:27 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-10-21 15:27 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e5f3c0e3b83239b4b73fa76f28513a4a56fe50ce

commit e5f3c0e3b83239b4b73fa76f28513a4a56fe50ce
Author: Tom Tromey <tom@tromey.com>
Date:   Mon Oct 21 09:26:39 2019 -0600

    Remove tui_exec_info_content
    
    I happened to notice that the tui_exec_info_content typedef is unused.
    This patch removes it.  Tested by rebuilding.
    
    gdb/ChangeLog
    2019-10-21  Tom Tromey  <tom@tromey.com>
    
    	* tui/tui-winsource.h (tui_exec_info_content): Remove typedef.
    
    Change-Id: I768edc482366e830eb4528c799686bb27518cdcb

Diff:
---
 gdb/ChangeLog           | 4 ++++
 gdb/tui/tui-winsource.h | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6f1a1c0..44980f2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2019-10-21  Tom Tromey  <tom@tromey.com>
 
+	* tui/tui-winsource.h (tui_exec_info_content): Remove typedef.
+
+2019-10-21  Tom Tromey  <tom@tromey.com>
+
 	* configure.ac (nm.h): Conditionally create nm.h link.  Subst
 	NM_H.   Use AC_CONFIG_LINKS.
 	* configure: Rebuild.
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h
index a66c635..9417b28 100644
--- a/gdb/tui/tui-winsource.h
+++ b/gdb/tui/tui-winsource.h
@@ -43,8 +43,6 @@ DEF_ENUM_FLAGS_TYPE (enum tui_bp_flag, tui_bp_flags);
 #define TUI_EXEC_POS        2
 #define TUI_EXECINFO_SIZE   4
 
-typedef char tui_exec_info_content[TUI_EXECINFO_SIZE];
-
 /* Elements in the Source/Disassembly Window.  */
 struct tui_source_element
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-21 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 15:27 [binutils-gdb] Remove tui_exec_info_content Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).