This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] to readline: compilation-stopping typo
- To: gdb-patches at sources dot redhat dot com
- Subject: [patch] to readline: compilation-stopping typo
- From: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Date: Sun, 7 Jan 01 23:47:40 PST
Hi there,
I've just started (never had a need for a debugger before) trying to build gdb
(current CVS) on my system (4.3BSD), and I've immediately hit this compilation-
stopping typo in readline: a missing semicolon! I can't imagine how everybody
else is building gdb, it must be that this bit of code isn't compiled on the
systems everybody else uses I guess.
The patch is below. However, how do I get it in? readline in the Cygnus tree /
gdb is imported from an outside source. I've checked the indicated official
version (readline-4.1 from ftp.cwru.edu), and it has exactly the same bug.
What's the right procedure for fixing this?
--
Michael Sokolov
Public Service Agent
International Engineering and Science Task Force
1351 VINE AVE APT 27 Phone: +1-714-738-5409
FULLERTON CA 92833-4291 USA (home office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP)
2001-01-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* rltty.c (save_tty_chars): Fix compilation-stopping typo.
Index: rltty.c
===================================================================
RCS file: /cvs/src/src/readline/rltty.c,v
retrieving revision 1.4
diff -p -r1.4 rltty.c
*** rltty.c 2000/07/09 17:19:56 1.4
--- rltty.c 2001/01/06 00:47:27
*************** save_tty_chars (tiop)
*** 190,196 ****
_rl_tty_chars.t_intr = tiop->tchars.t_intrc;
_rl_tty_chars.t_quit = tiop->tchars.t_quitc;
_rl_tty_chars.t_start = tiop->tchars.t_startc;
! _rl_tty_chars.t_stop = tiop->tchars.t_stopc
_rl_tty_chars.t_eof = tiop->tchars.t_eofc;
_rl_tty_chars.t_eol = '\n';
_rl_tty_chars.t_eol2 = tiop->tchars.t_brkc;
--- 190,196 ----
_rl_tty_chars.t_intr = tiop->tchars.t_intrc;
_rl_tty_chars.t_quit = tiop->tchars.t_quitc;
_rl_tty_chars.t_start = tiop->tchars.t_startc;
! _rl_tty_chars.t_stop = tiop->tchars.t_stopc;
_rl_tty_chars.t_eof = tiop->tchars.t_eofc;
_rl_tty_chars.t_eol = '\n';
_rl_tty_chars.t_eol2 = tiop->tchars.t_brkc;