[robertl@dgii.com: Re: [jsm@cygnus.com: Preparing for a GDB 4.17 release]]

Jason Molenda jsm@cygnus.com
Wed Jan 28 18:16:00 GMT 1998


Jeff Law has this applied to EGCS' texinfo/ subdirectory already, but
it isn't in devo.  I want to look at the texinfo source to see what is
going on before I apply it.

J

-----Forwarded message from Robert Lipe <robertl@dgii.com>-----

Message-ID: <19980127134948.59764@dgii.com>
Date: Tue, 27 Jan 1998 13:49:48 -0600
From: Robert Lipe <robertl@dgii.com>
To: Jason Molenda <jsm@cygnus.com>
Subject: Re: [jsm@cygnus.com: Preparing for a GDB 4.17 release]
References: <19980127091034.49908@cygnus.com>

Jason Molenda wrote:

> weeks--branching for the release around Monday next week.  If you have
> OpenServer patches sitting around itchin' to get in, please send them in.

I know this is sleazy as hell.  The "right" fix is much more complicated
and is almost never worthwhile in code this ugly.  I did a big-old
analysis of this in October for EGCS.   This patch is applied there
and is required to allow GDB to build on systems that define TIOCGETC
but don't have struct tchars.


date: 1997/10/30 05:55:14;  author: law;  state: Exp;  lines: +6 -1
        * info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
        that provide TIOCETC but not struct tchars.

$ diff -c termdep.h_ termdep.h
*** termdep.h_  Tue Jan 27 13:46:22 1998
--- termdep.h   Tue Jan 27 13:46:40 1998
***************
*** 33,38 ****
--- 33,43 ----

  #ifdef HAVE_TERMIOS_H
  #  include <termios.h>
+ /*
+  * POSIX does not mandate that we have these and it may, in fact, be only
+  * partially implemented
+  */
+ #  undef TIOCGETC
  #else
  #  if defined (HAVE_TERMIO_H)
  #    include <termio.h>


-----End of forwarded message-----



More information about the Gdb-patches mailing list