This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Fix compilations problem on sparc-sun-solaris2.9
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Nov 2004 10:47:30 +0100 (CET)
- Subject: [COMMIT] Fix compilations problem on sparc-sun-solaris2.9
[Message didn't get out to the list last friday, sorry.]
Fallout from the recent term.h fix related to Solaris header
brandamage. AFAICT "terminal.h" isn't necessary at all in tui-io.c,
so I removed it. Let's hope there isn't another braindamages systems
that needs it.
Mark
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.6615
diff -u -p -u -p -r1.6615 ChangeLog
--- ChangeLog 12 Nov 2004 01:00:34 -0000 1.6615
+++ ChangeLog 12 Nov 2004 16:04:34 -0000
@@ -1,3 +1,8 @@
+2004-11-12 Mark Kettenis <kettenis@jive.nl>
+
+ * tui/tui-io.c: Don't include "terminal.h".
+ * Makefile.in (tui-io.o): Update dependencies.
+
2004-11-12 Kei Sakamoto <sakamoto.kei@renesas.com>
* Makefile.in (m32r-linux-tdep.o): Update dependencies.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.663
diff -u -p -u -p -r1.663 Makefile.in
--- Makefile.in 12 Nov 2004 01:00:41 -0000 1.663
+++ Makefile.in 12 Nov 2004 16:04:34 -0000
@@ -3036,7 +3036,7 @@ tui-interp.o: $(srcdir)/tui/tui-interp.c
$(event_top_h) $(event_loop_h) $(ui_out_h) $(cli_out_h) \
$(tui_data_h) $(readline_h) $(tui_win_h) $(tui_h) $(tui_io_h)
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-interp.c
-tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(terminal_h) $(target_h) \
+tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(target_h) \
$(event_loop_h) $(event_top_h) $(command_h) $(top_h) $(tui_h) \
$(tui_data_h) $(tui_io_h) $(tui_command_h) $(tui_win_h) \
$(tui_wingeneral_h) $(tui_file_h) $(ui_out_h) $(cli_out_h) \
Index: tui/tui-io.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui-io.c,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 tui-io.c
--- tui/tui-io.c 21 Apr 2004 23:52:21 -0000 1.11
+++ tui/tui-io.c 12 Nov 2004 16:04:34 -0000
@@ -23,7 +23,6 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
-#include "terminal.h"
#include "target.h"
#include "event-loop.h"
#include "event-top.h"