]> git.pld-linux.org Git - packages/crossavr-gdb.git/commitdiff
387714d487d849596d468d691b2337a5 vcd-1.5.tar.gz
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 6 Sep 2000 13:14:45 +0000 (13:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
6b1c9c98225757c26f91083b233da0ff  liveice.tar.gz
21ebeb1c2fb04ca9ef6dbae842cc1687  beav140s.zip

Changed files:
    gdb-info.patch -> 1.4
    gdb-ncurses.patch -> 1.1
    gdb-readline.patch -> 1.1

gdb-info.patch [deleted file]
gdb-ncurses.patch [new file with mode: 0644]
gdb-readline.patch [new file with mode: 0644]

diff --git a/gdb-info.patch b/gdb-info.patch
deleted file mode 100644 (file)
index 0c880c0..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-diff -Nru gdb-4.18/gdb/doc/gdb.texinfo gdb-4.18.new/gdb/doc/gdb.texinfo
---- gdb-4.18/gdb/doc/gdb.texinfo       Mon Nov 22 15:04:50 1999
-+++ gdb-4.18.new/gdb/doc/gdb.texinfo   Mon Nov 22 15:05:13 1999
-@@ -41,9 +41,10 @@
- @c This is a dir.info fragment to support semi-automated addition of
- @c manuals to an info tree.  zoo@cygnus.com is developing this facility.
- @format
--START-INFO-DIR-ENTRY
--* Gdb: (gdb).                     The @sc{gnu} debugger.
--END-INFO-DIR-ENTRY
-+@dircategory Programming tools:
-+@direntry
-+* Gdb: (gdb).                         The @sc{gnu} debugger
-+@end direntry
- @end format
- @end ifinfo
- @c
-@@ -189,8 +190,10 @@
- @end ifclear
--* Command Line Editing::        Command Line Editing
--* Using History Interactively:: Using History Interactively
-+* Command Line Editing: (readline)Command Line Editing.
-+                              Command Line Editing
-+* Using History Interactively: (readline)Readline Movement Commands.
-+                              Using History Interactively
- * Installing GDB::              Installing GDB
- * Index::                       Index
-@@ -4644,7 +4647,7 @@
- by preprocessor @code{#define} commands.
- @value{GDBN} now supports array constants in expressions input by
--the user.  The syntax is @var{@{element, element@dots{}@}}.  For example,
-+the user.  The syntax is @var{@{element element@dots{}@}}.  For example,
- you can now use the command @code{print @{1, 2, 3@}} to build up an array in 
- memory that is malloc'd in the target program.
-@@ -5281,7 +5284,7 @@
- @kindex set print null-stop
- @item set print null-stop
- Cause @value{GDBN} to stop printing the characters of an array when the first
--@sc{NULL} is encountered.  This is useful when large arrays actually
-+@sc{null} is encountered.  This is useful when large arrays actually
- contain only short strings.
- @kindex set print pretty
-@@ -6528,7 +6531,7 @@
- @item
- Character constants are a single character surrounded by single quotes
- (@code{'}), or a number---the ordinal value of the corresponding character
--(usually its @sc{ASCII} value).  Within quotes, the single character may
-+(usually its @sc{ascii} value).  Within quotes, the single character may
- be represented by a letter or by @dfn{escape sequences}, which are of
- the form @samp{\@var{nnn}}, where @var{nnn} is the octal representation
- of the character's ordinal value; or of the form @samp{\@var{x}}, where
-@@ -9872,8 +9875,6 @@
- @c     inc-hist.texi
- @c Use -I with makeinfo to point to the appropriate directory,
- @c environment var TEXINPUTS with TeX.
--@include rluser.texinfo
--@include inc-hist.texi
- @ifclear PRECONFIGURED
-@@ -9967,7 +9968,7 @@
- Then give @file{gdb.dvi} to your @sc{dvi} printing program.
- @end ifclear
--@node Installing GDB, Index, Using History Interactively, Top
-+@node Installing GDB, Index, (readline)Using History Interactively, Top
- @appendix Installing @value{GDBN}
- @cindex configuring @value{GDBN}
- @cindex installation
-diff -Nru gdb-4.18/gdb/doc/gdbint.texinfo gdb-4.18.new/gdb/doc/gdbint.texinfo
---- gdb-4.18/gdb/doc/gdbint.texinfo    Mon Nov 22 15:04:50 1999
-+++ gdb-4.18.new/gdb/doc/gdbint.texinfo        Mon Nov 22 11:40:12 1999
-@@ -3,9 +3,10 @@
- @ifinfo
- @format
--START-INFO-DIR-ENTRY
--* Gdb-Internals: (gdbint).    The GNU debugger's internals.
--END-INFO-DIR-ENTRY
-+@dircategory Programming tools:
-+@direntry
-+* Gdb-Internals: (gdbint)             The GNU debugger's internals
-+@end direntry
- @end format
- @end ifinfo
-diff -Nru gdb-4.18/gdb/doc/stabs.texinfo gdb-4.18.new/gdb/doc/stabs.texinfo
---- gdb-4.18/gdb/doc/stabs.texinfo     Mon Nov 22 15:04:50 1999
-+++ gdb-4.18.new/gdb/doc/stabs.texinfo Mon Nov 22 11:40:12 1999
-@@ -5,9 +5,11 @@
- @ifinfo
- @format
--START-INFO-DIR-ENTRY
--* Stabs: (stabs).                 The "stabs" debugging information format.
--END-INFO-DIR-ENTRY
-+@dircategory Programming tools:
-+@direntry
-+* Stabs: (stabs)                      The "stabs" debugging information
-+                                      format
-+@end direntry
- @end format
- @end ifinfo
-@@ -872,7 +874,7 @@
- .stabn 224,0,0,LBE2             # @r{224 is N_RBRAC}
- @end example
--@xref{Procedures} for more information on the @code{N_FUN} stab, and
-+@xref{Procedures}, for more information on the @code{N_FUN} stab, and
- @ref{Block Structure} for more information on the @code{N_LBRAC} and
- @code{N_RBRAC} stabs.
-@@ -3370,7 +3372,7 @@
- Variable on the stack; see @ref{Stack Variables}.
- @item :
--C++ nested symbol; see @xref{Nested Symbols}
-+C++ nested symbol; see @xref{Nested Symbols}.
- @item a
- Parameter passed by reference in register; see @ref{Reference Parameters}.
-diff -Nru gdb-4.18/mmalloc/mmalloc.texi gdb-4.18.new/mmalloc/mmalloc.texi
---- gdb-4.18/mmalloc/mmalloc.texi      Mon Nov 22 15:04:50 1999
-+++ gdb-4.18.new/mmalloc/mmalloc.texi  Mon Nov 22 11:40:12 1999
-@@ -3,9 +3,10 @@
- @ifinfo
- @format
--START-INFO-DIR-ENTRY
--* Mmalloc: (mmalloc).         The GNU mapped-malloc package.
--END-INFO-DIR-ENTRY
-+@dircategory Programming tools:
-+@direntry
-+* Mmalloc: (mmalloc)                  The GNU mapped-malloc package
-+@end direntry
- @end format
- This file documents the GNU mmalloc (mapped-malloc) package, written by
diff --git a/gdb-ncurses.patch b/gdb-ncurses.patch
new file mode 100644 (file)
index 0000000..b43b94e
--- /dev/null
@@ -0,0 +1,76 @@
+diff -urN gdb-5.0.org/gdb/config.in gdb-5.0/gdb/config.in
+--- gdb-5.0.org/gdb/config.in  Fri Apr 14 12:40:00 2000
++++ gdb-5.0/gdb/config.in      Tue Sep  5 18:21:12 2000
+@@ -207,8 +207,8 @@
+ /* Define if you have the <ctype.h> header file.  */
+ #undef HAVE_CTYPE_H
+-/* Define if you have the <curses.h> header file.  */
+-#undef HAVE_CURSES_H
++/* Define if you have the <ncurses/curses.h> header file.  */
++#undef HAVE_NCURSES_CURSES_H
+ /* Define if you have the <endian.h> header file.  */
+ #undef HAVE_ENDIAN_H
+diff -urN gdb-5.0.org/gdb/configure.in gdb-5.0/gdb/configure.in
+--- gdb-5.0.org/gdb/configure.in       Tue Sep  5 18:19:34 2000
++++ gdb-5.0/gdb/configure.in   Tue Sep  5 18:20:44 2000
+@@ -97,7 +97,7 @@
+     AC_DEFINE(_MSE_INT_H)
+ esac; esac
+-AC_CHECK_HEADERS(ctype.h curses.h endian.h link.h thread_db.h proc_service.h \
++AC_CHECK_HEADERS(ctype.h ncurses/curses.h endian.h link.h thread_db.h proc_service.h \
+       memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
+       string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
+       term.h termio.h termios.h unistd.h wait.h sys/wait.h \
+diff -urN gdb-5.0.org/gdb/tui/tui.h gdb-5.0/gdb/tui/tui.h
+--- gdb-5.0.org/gdb/tui/tui.h  Tue Sep  5 18:19:34 2000
++++ gdb-5.0/gdb/tui/tui.h      Tue Sep  5 18:20:16 2000
+@@ -2,7 +2,7 @@
+ #ifndef TUI_H
+ #define TUI_H
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #ifdef ANSI_PROTOTYPES
+ #include <stdarg.h>
+diff -urN gdb-5.0.org/gdb/tui/tuiGeneralWin.c gdb-5.0/gdb/tui/tuiGeneralWin.c
+--- gdb-5.0.org/gdb/tui/tuiGeneralWin.c        Tue Sep  5 18:19:34 2000
++++ gdb-5.0/gdb/tui/tuiGeneralWin.c    Tue Sep  5 18:20:25 2000
+@@ -3,7 +3,7 @@
+    ** This module supports general window behavior
+  */
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #include "defs.h"
+ #include "tui.h"
+ #include "tuiData.h"
+diff -urN gdb-5.0.org/gdb/utils.c gdb-5.0/gdb/utils.c
+--- gdb-5.0.org/gdb/utils.c    Tue Sep  5 18:19:34 2000
++++ gdb-5.0/gdb/utils.c        Tue Sep  5 18:21:55 2000
+@@ -24,8 +24,8 @@
+ #include "gdb_string.h"
+ #include "event-top.h"
+-#ifdef HAVE_CURSES_H
+-#include <curses.h>
++#ifdef HAVE_NCURSES_CURSES_H
++#include <ncurses/curses.h>
+ #endif
+ #ifdef HAVE_TERM_H
+ #include <term.h>
+diff -urN gdb-5.0.org/gdb/tui/tui.c gdb-5.0/gdb/tui/tui.c
+--- gdb-5.0.org/gdb/tui/tui.c  Tue Sep  5 19:51:50 2000
++++ gdb-5.0/gdb/tui/tui.c      Tue Sep  5 19:52:17 2000
+@@ -7,7 +7,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <malloc.h>
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #ifdef HAVE_TERM_H
+ #include <term.h>
+ #endif
diff --git a/gdb-readline.patch b/gdb-readline.patch
new file mode 100644 (file)
index 0000000..eaed0c0
--- /dev/null
@@ -0,0 +1,157 @@
+diff -urN gdb-5.0.org/Makefile.in gdb-5.0/Makefile.in
+--- gdb-5.0.org/Makefile.in    Thu May 18 07:00:23 2000
++++ gdb-5.0/Makefile.in        Tue Sep  5 18:32:37 2000
+@@ -558,7 +558,6 @@
+       all-perl \
+       all-prms \
+       all-rcs \
+-      all-readline \
+       all-release \
+       all-recode \
+       all-sed \
+@@ -631,7 +630,6 @@
+       check-perl \
+       check-prms \
+       check-rcs \
+-      check-readline \
+       check-recode \
+       check-sed \
+       check-send-pr \
+@@ -705,7 +703,6 @@
+       install-perl \
+       install-prms \
+       install-rcs \
+-      install-readline \
+       install-recode \
+       install-sed \
+       install-send-pr \
+@@ -869,7 +866,6 @@
+       clean-perl \
+       clean-prms \
+       clean-rcs \
+-      clean-readline \
+       clean-release \
+       clean-recode \
+       clean-sed \
+@@ -1561,7 +1557,7 @@
+ all-gcc: all-bison all-byacc all-binutils all-gas all-ld
+ all-bootstrap: all-libiberty all-bison all-byacc all-binutils all-gas all-ld
+ GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui
+-all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
++all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
+ all-gettext:
+ all-gnuserv:
+ configure-target-gperf: $(ALL_GCC)
+@@ -1606,12 +1602,11 @@
+ all-perl:
+ all-prms: all-libiberty
+ all-rcs:
+-all-readline:
+ all-recode: all-libiberty
+ all-sed: all-libiberty
+ all-send-pr: all-prms
+ all-shellutils:
+-all-sim: all-libiberty all-bfd all-opcodes all-readline
++all-sim: all-libiberty all-bfd all-opcodes
+ all-tar: all-libiberty
+ all-tcl:
+ all-tcl8.1:
+@@ -1853,7 +1848,7 @@
+               SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
+ .PHONY: gdb.tar.bz2
+-GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl
++GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes sim utils intl
+ gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
+       $(MAKE) -f Makefile.in gdb-taz TOOL=gdb \
+               MD5PROG="$(MD5PROG)" \
+diff -urN gdb-5.0.org/gdb/Makefile.in gdb-5.0/gdb/Makefile.in
+--- gdb-5.0.org/gdb/Makefile.in        Tue Sep  5 18:30:00 2000
++++ gdb-5.0/gdb/Makefile.in    Tue Sep  5 19:15:00 2000
+@@ -126,10 +126,10 @@
+ BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
+ # Where is the READLINE library?  Typically in ../readline.
+-READLINE_DIR = ../readline
+-READLINE = $(READLINE_DIR)/libreadline.a
+-READLINE_SRC = $(srcdir)/$(READLINE_DIR)
+-READLINE_CFLAGS = -I$(READLINE_SRC)/..
++READLINE_DIR = /usr/include/readline
++READLINE = -lreadline
++READLINE_SRC = /usr/include/readline
++READLINE_CFLAGS = -I/usr/include/readline
+ WARN_CFLAGS = @WARN_CFLAGS@
+ WERROR_CFLAGS = @WERROR_CFLAGS@
+diff -urN gdb-5.0.org/gdb/event-top.c gdb-5.0/gdb/event-top.c
+--- gdb-5.0.org/gdb/event-top.c        Tue Sep  5 19:34:20 2000
++++ gdb-5.0/gdb/event-top.c    Tue Sep  5 19:34:42 2000
+@@ -32,6 +32,7 @@
+ #include "gdbcmd.h"
+ /* readline include files */
++#define savestring
+ #include <readline/readline.h>
+ #include <readline/history.h>
+diff -urN gdb-5.0.org/gdb/gdbserver/Makefile.in gdb-5.0/gdb/gdbserver/Makefile.in
+--- gdb-5.0.org/gdb/gdbserver/Makefile.in      Tue Sep  5 18:30:00 2000
++++ gdb-5.0/gdb/gdbserver/Makefile.in  Tue Sep  5 18:30:35 2000
+@@ -87,7 +87,7 @@
+ # Where is the source dir for the READLINE library?  Traditionally in .. or .
+ # (For the binary library built from it, we use ${READLINE_DIR}${subdir}.)
+-READLINE_DIR = ${srcdir}/../readline
++READLINE_DIR = /usr/lib
+ READLINE_DEP = $$(READLINE_DIR)
+ # All the includes used for CFLAGS and for lint.
+diff -urN gdb-5.0.org/gdb/top.c gdb-5.0/gdb/top.c
+--- gdb-5.0.org/gdb/top.c      Wed Apr 12 18:46:03 2000
++++ gdb-5.0/gdb/top.c  Tue Sep  5 19:45:56 2000
+@@ -36,6 +36,7 @@
+ #include "version.h"
+ /* readline include files */
++#define savestring
+ #include <readline/readline.h>
+ #include <readline/history.h>
+diff -urN gdb-5.0.org/gdb/tracepoint.c gdb-5.0/gdb/tracepoint.c
+--- gdb-5.0.org/gdb/tracepoint.c       Tue Dec 14 02:05:38 1999
++++ gdb-5.0/gdb/tracepoint.c   Tue Sep  5 19:38:26 2000
+@@ -36,6 +36,7 @@
+ #include "ax-gdb.h"
+ /* readline include files */
++#define savestring
+ #include <readline/readline.h>
+ #include <readline/history.h>
+diff -urN gdb-5.0.org/gdb/tui/Makefile.in gdb-5.0/gdb/tui/Makefile.in
+--- gdb-5.0.org/gdb/tui/Makefile.in    Tue Sep  5 18:30:00 2000
++++ gdb-5.0/gdb/tui/Makefile.in        Tue Sep  5 18:28:16 2000
+@@ -49,9 +49,9 @@
+ BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
+ # Where is the READLINE library?  Typically in ../readline.
+-READLINE_DIR = ../../readline
+-READLINE_SRC = $(srcdir)/$(READLINE_DIR)
+-READLINE_CFLAGS = -I$(READLINE_SRC)
++READLINE_DIR = /usr/lib
++READLINE_SRC = /usr/lib
++READLINE_CFLAGS = -I/usr/include/readline
+ # Where is the INTL library?  Typically in ../intl.
+ INTL_DIR = ../../intl
+diff -urN gdb-5.0.org/gdb/utils.c gdb-5.0/gdb/utils.c
+--- gdb-5.0.org/gdb/utils.c    Tue Sep  5 18:54:25 2000
++++ gdb-5.0/gdb/utils.c        Tue Sep  5 19:49:03 2000
+@@ -50,6 +50,7 @@
+ #include "language.h"
+ #include "annotate.h"
++#define savestring
+ #include <readline/readline.h>
+ #undef XMALLOC
This page took 0.113672 seconds and 4 git commands to generate.