This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/655: gdb doesn't build on GNU/Hurd, termio.h use in tui


>Number:         655
>Category:       gdb
>Synopsis:       gdb doesn't build on GNU/Hurd, termio.h use in tui
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 17 06:48:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     marcus@gnu.org
>Release:        5.2.1
>Organization:
>Environment:
GNU/Hurd
>Description:
The GNU/Hurd does not support termio, only termios.
gdb/tui/tui.c has some code for termio, but it is disabled (#if 0/#endif).
However, the inclusion of the header termio.h is not disabled, so compilation fails.
>How-To-Repeat:

>Fix:
--- gdb-5.2.cvs20020401/gdb/tui/tui.c~  Mon Apr 29 22:15:46 2002
+++ gdb-5.2.cvs20020401/gdb/tui/tui.c   Mon Apr 29 21:42:20 2002
@@ -48,7 +48,9 @@
 #endif
 #include <signal.h>
 #include <fcntl.h>
+#if 0
 #include <termio.h>
+#endif
 #include <setjmp.h>
 #include "defs.h"
 #include "gdbcmd.h"
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]