Date: Sun, 29 Nov 1998 14:37:51 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: dfr@nlsystems.com Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: gdb Message-ID: <19981129143751Y.simokawa@sat.t.u-tokyo.ac.jp> In-Reply-To: Your message of "Sat, 28 Nov 1998 10:13:27 %2B0000 (GMT)" <Pine.BSF.4.01.9811281010300.21711-101000@herring.nlsystems.com> References: <Pine.BSF.4.01.9811281010300.21711-101000@herring.nlsystems.com>
index | next in thread | previous in thread | raw e-mail
dfr> I have some patches to gdb-4.17 (attached) to make it build for
dfr> FreeBSD/alpha. To get it building in the world, I would probably need to
Thanks, it works fine.
I finally found the reason why /usr/bin/ftp gets signal 11.
This is because of a bug of libedit which is harmless on i386 but critial on
alpha.
Index: term.c
===================================================================
RCS file: /pub/FreeBSD-CVS/src/lib/libedit/term.c,v
retrieving revision 1.10
diff -u -r1.10 term.c
--- term.c 1998/06/30 18:03:05 1.10
+++ term.c 1998/11/28 21:29:10
@@ -240,7 +240,7 @@
el->el_term.t_str = (char **) el_malloc(T_str * sizeof(char*));
(void) memset(el->el_term.t_str, 0, T_str * sizeof(char*));
el->el_term.t_val = (int *) el_malloc(T_val * sizeof(int));
- (void) memset(el->el_term.t_val, 0, T_val * sizeof(char*));
+ (void) memset(el->el_term.t_val, 0, T_val * sizeof(int));
term_outfile = el->el_outfile;
(void) term_set(el, NULL);
term_init_arrow(el);
/\ Hidetoshi Shimokawa
\/ simokawa@sat.t.u-tokyo.ac.jp
PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981129143751Y.simokawa>
