Commit Graph

93 Commits

Author SHA1 Message Date
Michael Snyder e35ea4e0fb 2011-03-04 Michael Snyder <msnyder@vmware.com>
* bind.c (rl_function_dumper): Free allocated memory.
2011-03-04 18:12:47 +00:00
Ralf Wildenhues 81ecdfbb4d Regenerate tree using Autoconf 2.64 and Automake 1.11.
config/:
	* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

/:
	* configure: Regenerate.

etc/:
	* configure: Regenerate.

sim/common/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/iq2000/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/d10v/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/igen/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/m32r/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/frv/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/:
	* avr/config.in: Regenerate.
	* avr/configure: Likewise.
	* configure: Likewise.
	* cris/config.in: Likewise.
	* cris/configure: Likewise.

sim/h8300/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/mn10300/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/ppc/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/erc32/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/arm/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/m68hc11/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/lm32/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/sh64/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/v850/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/cr16/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/moxie/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/m32c/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/mips/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/mcore/:
	* config.in: Regenerate.
	* configure: Likewise.

sim/testsuite/d10v-elf/:
	* configure: Regenerate.

sim/testsuite/:
	* configure: Regenerate.

sim/testsuite/frv-elf/:
	* configure: Regenerate.

sim/testsuite/m32r-elf/:
	* configure: Regenerate.

sim/testsuite/mips64el-elf/:
	* configure: Regenerate.

sim/sh/:
	* config.in: Regenerate.
	* configure: Likewise.

gold/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.in: Likewise.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.

gprof/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* gconfig.in: Likewise.

opcodes/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.in: Likewise.
	* configure: Likewise.

gas/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.in: Likewise.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

ld/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.in: Likewise.
	* configure: Likewise.

gdb/:
	* aclocal.m4: Regenerate.
	* config.in: Likewise.
	* configure: Likewise.
	* gnulib/Makefile.in: Likewise.

gdb/doc/:
	* configure: Regenerate.

gdb/gdbserver/:
	* aclocal.m4: Regenerate.
	* config.in: Likewise.
	* configure: Likewise.

gdb/testsuite/:
	* configure: Regenerate.
	* gdb.hp/configure: Likewise.
	* gdb.hp/gdb.aCC/configure: Likewise.
	* gdb.hp/gdb.base-hp/configure: Likewise.
	* gdb.hp/gdb.compat/configure: Likewise.
	* gdb.hp/gdb.defects/configure: Likewise.
	* gdb.hp/gdb.objdbg/configure: Likewise.
	* gdb.stabs/configure: Likewise.

binutils/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.in: Likewise.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

bfd/:
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.in: Likewise.
	* configure: Likewise.

bfd/doc/:
	* Makefile.in: Regenerate.

readline/:
	* configure: Regenerate.

readline/examples/rlfe/:
	* configure: Regenerate.
2009-08-22 16:56:56 +00:00
Ralf Wildenhues d6416cdc23 Fixup readline and sim including of override.m4
readline/examples/rlfe/:
	* configure.in: m4_include toplevel config/override.m4.
	* configure: Regenerate.

readline/ChangeLog.gdb:
	* configure.in: m4_include toplevel config/override.m4.
	* configure: Regenerate.

sim/:
	* configure.ac: m4_include toplevel config/override.m4.
	* configure: Regenerate.
	* avr/configure: Regenerate.
	* cris/configure: Regenerate.

sim/common/:
	* aclocal.m4: m4_include toplevel config/override.m4.
	* configure: Regenerate.

sim/iq2000/:
	* configure: Regenerate.

sim/d10v/:
	* configure: Regenerate.

sim/igen/:
	* configure: Regenerate.

sim/m32r/:
	* configure: Regenerate.

sim/frv/:
	* configure: Regenerate.

sim/h8300/:
	* configure: Regenerate.

sim/mn10300/:
	* configure: Regenerate.

sim/ppc/:
	* configure: Regenerate.

sim/erc32/:
	* configure: Regenerate.

sim/arm/:
	* configure: Regenerate.

sim/m68hc11/:
	* configure: Regenerate.

sim/lm32/:
	* configure: Regenerate.

sim/sh64/:
	* configure: Regenerate.

sim/v850/:
	* configure: Regenerate.

sim/cr16/:
	* configure: Regenerate.

sim/moxie/:
	* configure: Regenerate.

sim/m32c/:
	* configure: Regenerate.

sim/mips/:
	* configure: Regenerate.

sim/mcore/:
	* configure: Regenerate.

sim/sh/:
	* configure: Regenerate.
2009-08-22 11:36:40 +00:00
Ralf Wildenhues 96e946ca9a sim/
* Makefile.in (datarootdir): New variable.

sim/common/
	* Makefile.in (datarootdir): New variable.

sim/igen/
	* Makefile.in (datarootdir): New variable.

sim/ppc/
	* Makefile.in (datarootdir): New variable.

readline/
	* Makefile.in (datarootdir): New variable.
	* doc/Makefile.in (datarootdir): New variable.
	* shlib/Makefile.in (datarootdir): New variable.

gdb/gdbserver/
	* Makefile.in (datarootdir): New variable.
2009-07-30 22:53:18 +00:00
Ralf Wildenhues 5bb4d8dedf config/
* extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand
	for Autoconf 2.62 or newer.
	* tls.m4 (GCC_CHECK_TLS): Fix m4 quotation.
	* no-executables.m4 (_AC_COMPILER_EXEEXT): Fix m4 quotation.
	* override.m4 (m4_copy_force, m4_rename_force): Provide
	macros if not defined.
	(AC_PREREQ): Use m4_copy_force.

readline/examples/rlfe/
	* configure.in: Correctly quote AC_PROGRAM_SOURCE definition.
2009-07-30 19:43:16 +00:00
Joseph Myers 89a34d1b2c gdb:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
	* configure: Regenerate.
	* Makefile.in: Set datarootdir, docdir, htmldir, and pdfdir from
	configure substitutions.
	(FLAGS_TO_PASS): Add datarootdir, docdir, and htmldir.

gdb/doc:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Set pdfdir and htmldir from configure
	substitutions.
	* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
	* configure: Regenerate.

readline:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add html target.  Add dummy install-html and
	install-pdf targets.

sim:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add dummy install-pdf, html, and
	install-html targets.
2009-04-17 17:44:05 +00:00
Pedro Alves 230335c43a Build fixes for DJGPP.
* signals.c (rl_set_sighandler): Guard access to SIGWINCH.
	* wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
2008-08-10 19:17:42 +00:00
Jan Kratochvil 87adec2ec1 PR gdb/544
* rltty.c (block_sigint, release_sigint): Rename to...
	(_rl_block_sigint, _rl_release_sigint): ...these and make them global.
	* rltty.h (_rl_block_sigint, _rl_release_sigint): New prototypes.
	* display.c (rl_redisplay): Wrap the function by the calls to
	_RL_BLOCK_SIGINT and _RL_RELEASE_SIGINT.
2008-03-24 12:59:51 +00:00
Daniel Jacobowitz eeab5adb6c PR gdb/2138
From readline 5.2:
	* configure.in (CROSS_COMPILE): Initialize to empty.
	* configure: Regenerated.
2007-09-01 20:49:09 +00:00
Daniel Jacobowitz 9453113a8d Add "make pdf" and "make install-pdf", from Brooks Moses
<brooks.moses@codesourcery.com>.
2007-03-27 18:09:36 +00:00
Frederic Riss 10e14daab1 2006-11-13 Denis Pilat <denis.pilat@st.com>
* terminal.c (_rl_get_screen_size): use wr and wc variable to store
	window size.
2006-11-13 09:33:30 +00:00
Ulrich Weigand 0b7b5a9720 * callback.c: Include "xmalloc.h".
* Makefile.in: Add dependency.
2006-10-21 20:47:07 +00:00
Daniel Jacobowitz 5bdf862214 Readline 5.1 import for HEAD. 2006-05-05 18:26:14 +00:00
Elena Zannoni 9d54351548 touched all sources to ease import of readline-5.1 2006-04-20 20:13:20 +00:00
Elena Zannoni 01f0fe5e04 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2006-04-20 20:05:52 +00:00
Elena Zannoni b585a9fad5 import of readlilne 5.1 2006-04-20 20:05:52 +00:00
Daniel Jacobowitz a75b402ae4 * histfile.c (read_history_range): Remove '\r' character from
history lines.
2006-03-21 14:58:24 +00:00
Daniel Jacobowitz d4fdc52404 * readline/terminal.c (_rl_get_screen_size): Get console size from
the Windows API when compiling with MinGW.
2006-02-23 18:14:43 +00:00
Mark Mitchell 40afd87930 Clarify ANSI, not POSIX, terminal escapes in ChangeLog 2005-07-25 15:13:33 +00:00
Mark Mitchell fd8be987f8 * input.c (rl_getc): Use getch to read console input on
Windows.
	* readline.c (bind_arrow_keys_internal): Translate
	Windows keysequences into POSIX key sequences.
	* rldefs.h (NO_TTY_DRIVER): Define on MinGW.
	* rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
2005-07-25 15:09:31 +00:00
Mark Kettenis d01ecef672 From Martin Simmons:
* configure.in: Check for getpwnam instead of getpwname.
* configure: Regenerate.
2005-07-03 08:22:47 +00:00
Mark Mitchell 7de2c9aabd Fix typos in ChangeLog 2005-05-09 21:07:02 +00:00
Mark Mitchell 430b783269 * readline/aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
* readline/complete.c (pwd.h): Guard with HAVE_PWD_H.
	(getpwent): Guard with HAVE_GETPWENT.
	(rl_username_completion_function): Guard use of getpwent.
	(endpwent): Likewise.
	* readline/config.h.in (HAVE_FCNTL): New macro.
	(HAVE_GETPWENT): Likewise.
	(HAVE_GETPWNAM): Likewise.
	(HAVE_GETPWUID): Likewise.
	(HAVE_KILL): Likewise.
	(HAVE_PWD_H): Likewise.
	* readline/configure: Regenerated.
	* readline/configure.in: Handle MinGW when cross compiling.  Check for
	getpwnam, getpwent, getpwuid, kill, and pwd.h.
	* readline/display.c (rl_clear_screen): Treat Windows like DOS.
	(insert_some_chars): Likewise.
	(delete_chars): Likewise.
	* readline/shell.c (pwd.h): Guard with HAVE_PWD_H.
	(getpwuid): Guard with HAVE_GETPWUID.
	(sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H.
	* readline/signals.c (rl_signal_handler): Don't use SIGALRM or
	SIGQUIT if not defined.  Use "raise" if "kill" is not available.
	(rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if
	they are not defined.
	(rl_clear_signals): Likewise.
	* readline/tilde.c (pwd.h): Guard with HAVE_PWD_H.
	(getpwuid): Guard declaration with HAVE_GETPWUID.
	(getpwnam): Guard declaration with HAVE_GETPWNAM.
	(tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
2005-05-09 19:42:03 +00:00
Andrew Cagney 1e600082db Index: ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

	* config.guess: Update from version 2003-06-12 to 2004-02-16.
	* config.sub: Update from version 2003-06-13 to 2004-02-16.

Index: dejagnu/ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

	* config.guess: Update from version 2003-06-12 to 2004-02-16.
	* config.sub: Update from version 2003-06-13 to 2004-02-16.

Index: readline/ChangeLog.gdb
2004-02-19  Andrew Cagney  <cagney@redhat.com>

	* config.guess: Update from version 2003-06-12 to 2004-02-16.
	* config.sub: Update from version 2003-06-13 to 2004-02-16.
2004-02-19 14:55:26 +00:00
Elena Zannoni 5af408ce2f 2004-01-27 Elena Zannoni <ezannoni@redhat.com>
Merge in official patches to readline-4.3 from
	ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches:
	NOTE: Patch-ID readline-43-004 was already applied (see below).

	* bind.c (rl_generic_bind): Pressing certain key sequences
	causes an infinite loop in _rl_dispatch_subseq with the `key' argument
	set to 256.  This eventually causes bash to exceed the stack size
	limit and crash with a segmentation violation.
	Patch-ID: readline43-001.

	* readline.c (_rl_dispatch_subseq): Repeating an edit in
	vi-mode with `.' does not work.
	Patch-ID: readline43-002.

	* mbutil.c (_rl_get_char_len, _rl_compare_chars,
	_rl_adjust_point): When in a locale with multibyte characters, the
	readline display updater will occasionally cause a
	segmentation fault when attempting to compute the length of the first
	multibyte character on the line.
	Patch-ID: readline43-003.

	* vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing
	mode's case-changing commands in a locale with multibyte characters
	will cause garbage characters to be inserted into the editing buffer.
	Patch-ID: readline43-005.
2004-01-27 22:25:15 +00:00
Elena Zannoni e3f966996c clarify that the import contains local changes as well. 2004-01-15 19:15:44 +00:00
Eli Zaretskii b0f0a30e29 * readline.c (rl_save_state, rl_restore_state): Support systems
that don't define SIGWINCH.

	* terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the
	screen width and height using console I/O.
	(_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_*
	variables.  Convert to _rl_* naming scheme.
	(_rl_set_cursor) [__MSDOS__]: Ifdef away this function.

	* display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared
	variable `l'.  Use `delta' instead recomputing its value anew.
	Assign -delta to i instead of the other way around.
2003-12-30 07:25:18 +00:00
Michael Chastain f4daae620b 2003-12-11 Michael Chastain <mec.gnu@mindspring.com>
* rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE.
	Revert requirement of HAVE_MBRTOWC.  Delete macro definitions
	that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined
	and HAVE_MBSTATE_T is not defined.
2003-12-17 20:13:54 +00:00
Andrew Cagney 98044b3c93 2003-09-14 Andrew Cagney <cagney@redhat.com>
* history.0: Delete generated file.
2003-09-14 17:36:49 +00:00
H.J. Lu f63f176ed6 2003-06-14 H.J. Lu <hongjiu.lu@intel.com>
* config.guess: Update to 2003-06-12 version.
	* config.sub: Update to 2003-06-13 version.
2003-06-15 03:40:25 +00:00
Mark Kettenis 05bc3370b8 * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.
* configure: Regenerate.
2003-05-27 23:29:47 +00:00
Andreas Jaeger 4575263c63 2003-05-13 Andreas Jaeger <aj@suse.de>
* config.guess: Update to 2003-05-09 version.
        * config.sub: Update to 2003-05-09 version.
2003-05-13 15:37:56 +00:00
Joel Brobecker 832a94844f * aclocal.m4: Add check for mbrtowc.
* config.h.in: Regenerate.
        * configure: Regenerate.
        * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
2003-03-03 18:52:27 +00:00
Kris Warkentin 25ed0b71b6 Fixed configuration of wcwidth. 2003-03-03 14:45:43 +00:00
Michael Chastain 288381c01e 2003-01-09 Michael Chastain <mec@shout.net>
From Chet Ramey, <chet@po.cwru.edu>, the readline maintainer:
	* display.c: Fix perverse screen refresh with UTF-8.
2003-01-11 00:43:53 +00:00
Chris Demetriou 3f234ef5cc [ ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ dejagnu/ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ readline/ChangeLog.gdb ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.
2003-01-08 22:09:32 +00:00
Christopher Faylor 9b700aad36 Revert debugging change 2002-12-17 02:52:57 +00:00
Christopher Faylor d7d4a3d1ea * configure.in: Remove --enable-shared option. It shouldn't be used for gdb.
* configure: Regenerate.
2002-12-17 02:52:32 +00:00
Christopher Faylor a93a01f04e * config/cygwin.cache: Prime mbstate_t. 2002-12-17 01:52:14 +00:00
Elena Zannoni 9255ee3150 Import of readline 4.3.
Non-readline modified files:

src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c

In readline directory:

        * compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
        text.c, doc/history.0, doc/history.3, support/wcwidth.c,
        examples/readlinebuf.h, examples/rlcat.c: New files.

        * CHANGELOG, CHANGES, INSTALL,  MANIFEST, Makefile.in, README,
        aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
        complete.c, config.h.in, configure, configure.in, display.c,
        emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
        history.c, history.h, histsearch.c, input.c, isearch.c,
        keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
        posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
        rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
        search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
        undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
        doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
        doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
        doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
        doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
        shlib/Makefile.in, support/install.sh, support/mkdirs,
        support/mkdist, support/shlib-install, support/shobj-conf,
        examples/Inputrc, examples/Makefile.in, examples/fileman.c,
        examples/histexamp.c, examples/manexamp.c, examples/rl.c,
        examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
        Modified files.
2002-12-08 22:31:39 +00:00
Andrew Cagney 56f65f858d dummy commit, get CVS off the branch. 2002-08-24 00:11:12 +00:00
Andrew Cagney 2ba146cd6f Dummy commit. Get CVS off the branch. 2002-08-24 00:09:22 +00:00
Elena Zannoni 84041b4c47 import of readline-4.3 2002-08-23 22:02:32 +00:00
Elena Zannoni 2ee563b532 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2002-08-23 22:02:32 +00:00
Andrew Cagney fd31a1711c Import config.guess and config.sub. 2002-08-23 21:22:40 +00:00
Chris Demetriou 66fc93f247 [ dejagnu/ChangeLog ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update from ../config.guess.
        * config.sub: Update from ../config.sub.

[ readline/ChangeLog.gdb ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * support/config.guess: Update from ../config.guess.
        * support/config.sub: Update from ../config.sub.
2002-07-19 18:24:48 +00:00
Elena Zannoni 2aea96a18e Rename local ChangeLog and ChangeLog.Cygnus files to ChangeLog.gdb. 2002-02-24 20:52:49 +00:00
Daniel Jacobowitz 3a69669681 ==> dejagnu/ChangeLog <==
2002-02-23  Daniel Jacobowitz  <drow@mvista.com>

        * config.guess: Import from master sources, rev 1.232.
        * config.sub: Import from master sources, rev 1.246.


==> readline/ChangeLog.Cygnus <==
2002-02-24  Daniel Jacobowitz  <drow@mvista.com>

        * support/config.guess: Import from master sources, rev 1.232.
        * support/config.sub: Import from master sources, rev 1.246.
2002-02-24 05:19:07 +00:00
Ben Elliston f5e547d684 * config.guess: Import from master sources, rev 1.229.
* config.sub: Import from master sources, rev 1.240.
2002-02-05 04:40:53 +00:00
Eli Zaretskii c17645a024 * rluser.texinfo (Sample Init File): Prevent overfull hboxes.
From Brian Youmans <3diff@gnu.org>.
2002-01-20 11:27:37 +00:00