Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: gdb@sources.redhat.com
Cc: eliz@is.elta.co.il
Subject: Readline import branch
Date: Sun, 25 Aug 2002 17:01:00 -0000	[thread overview]
Message-ID: <15721.28483.103146.37277@localhost.redhat.com> (raw)


I made a branch of gdb+dejagnu, called readline_4_3-import-branch, and
imported readline 4.3 onto this branch.

Please give it a test.  I am expecially concerned about the platforms
that define DOS and DJGPP, since gdb's readline has some local
conditionals and I am not sure I merged those right.

Also, I am having some troubles with 'make info' in the readline/doc
directory. It probably requires texinfo4.2 (which I don't have handy).

I had to modify gdb as follows.

I ran the testsuite on Linux i386 and didn't spot anything obviously wrong.

Elena


2002-08-25  Elena Zannoni  <ezannoni@redhat.com>

        * cli/cli-cmds.c: Include readline/tilde.h.
        * cli/cli-setshow.c: Ditto.
        * defs.h: Don't export tilde_expand anymore, since readline
        exports it.

Index: defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.94
diff -u -r1.94 defs.h
--- defs.h      1 Aug 2002 17:18:32 -0000       1.94
+++ defs.h      25 Aug 2002 23:46:00 -0000
@@ -614,10 +614,6 @@
 
 struct frame_info;
 
-/* From readline (but not in any readline .h files).  */
-
-extern char *tilde_expand (char *);
-
 /* Control types for commands */
 
 enum misc_command_type

Index: cli/cli-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-cmds.c,v
retrieving revision 1.20
diff -u -r1.20 cli-cmds.c
--- cli/cli-cmds.c      30 Jul 2002 13:45:14 -0000      1.20
+++ cli/cli-cmds.c      24 Aug 2002 23:11:57 -0000
@@ -19,6 +19,7 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <readline/tilde.h>
 #include "defs.h"
 #include "completer.h"
 #include "target.h"     /* For baud_rate, remote_debug and remote_timeout */

Index: cli/cli-setshow.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-setshow.c,v
retrieving revision 1.9
diff -u -r1.9 cli-setshow.c
--- cli/cli-setshow.c   30 Jul 2002 13:45:14 -0000      1.9
+++ cli/cli-setshow.c   24 Aug 2002 23:11:57 -0000
@@ -17,6 +17,7 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <readline/tilde.h>
 #include "defs.h"
 #include "value.h"
 #include <ctype.h>




             reply	other threads:[~2002-08-26  0:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-25 17:01 Elena Zannoni [this message]
2002-08-25 22:32 ` Eli Zaretskii
2002-08-26  6:43   ` Elena Zannoni
2002-08-26  6:53     ` Eli Zaretskii
2002-08-26 14:37       ` Elena Zannoni
2002-08-26 17:13     ` Andrew Cagney
2002-08-26 21:46       ` Eli Zaretskii
2002-08-27  8:14         ` Elena Zannoni
2002-08-27  9:07           ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15721.28483.103146.37277@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox