-diff -ur gdb-5.1.orig/Makefile.in gdb-5.1/Makefile.in
---- gdb-5.1.orig/Makefile.in Sun Nov 18 20:37:49 2001
-+++ gdb-5.1/Makefile.in Tue Jan 22 23:52:34 2002
-@@ -530,7 +530,6 @@
+--- gdb-5.3/Makefile.in.orig Tue Dec 10 22:30:40 2002
++++ gdb-5.3/Makefile.in Sat Jan 11 13:22:38 2003
+@@ -566,7 +566,6 @@
all-perl \
all-prms \
all-rcs \
all-release \
all-recode \
all-sed \
-@@ -607,7 +606,6 @@
+@@ -637,7 +636,6 @@
check-perl \
check-prms \
check-rcs \
check-recode \
check-sed \
check-send-pr \
-@@ -684,7 +682,6 @@
+@@ -707,7 +705,6 @@
install-perl \
install-prms \
install-rcs \
install-recode \
install-sed \
install-send-pr \
-@@ -886,7 +883,6 @@
+@@ -868,7 +865,6 @@
clean-perl \
clean-prms \
clean-rcs \
clean-release \
clean-recode \
clean-sed \
-@@ -1602,7 +1598,7 @@
+@@ -1677,7 +1673,7 @@
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib
all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib
GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui
+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_C)
-@@ -1662,13 +1658,12 @@
+ configure-target-gperf: $(ALL_GCC_CXX)
+@@ -1724,13 +1720,12 @@
configure-target-qthreads: $(ALL_GCC_C)
all-target-qthreads: configure-target-qthreads
all-rcs:
all-send-pr: all-prms
all-shellutils:
all-sid: all-tcl all-tk
--all-sim: all-libiberty all-bfd all-opcodes all-readline all-cgen
-+all-sim: all-libiberty all-bfd all-opcodes all-cgen
+-all-sim: all-libiberty all-bfd all-opcodes all-readline
++all-sim: all-libiberty all-bfd all-opcodes
all-snavigator: all-tcl all-tk all-itcl all-tix all-db all-grep all-libgui
all-tar: all-libiberty
all-tcl:
-@@ -1925,7 +1920,7 @@
+@@ -2005,7 +2000,7 @@
SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
.PHONY: gdb.tar.bz2
#include <readline/readline.h>
#ifndef MALLOC_INCOMPATIBLE
---- gdb-5.1.1/gdb/tui/tuiWin.c.orig Sat Jul 28 21:30:54 2001
-+++ gdb-5.1.1/gdb/tui/tuiWin.c Sat Feb 2 15:19:33 2002
-@@ -619,10 +619,10 @@
+--- gdb-5.3/gdb/tui/tuiWin.c.orig Fri Oct 25 21:46:41 2002
++++ gdb-5.3/gdb/tui/tuiWin.c Sat Jan 11 13:24:57 2003
+@@ -633,10 +633,10 @@
tuiResizeAll (void)
{
int heightDiff, widthDiff;
if (heightDiff || widthDiff)
{
TuiLayoutType curLayout = currentLayout ();
-@@ -636,8 +636,8 @@
+@@ -650,8 +650,8 @@
if (winWithFocus != cmdWin)
keypad (cmdWin->generic.handle, FALSE);
- init_page_info ();
+ tui_update_gdb_sizes ();
- setTermHeightTo (screenheight);
- setTermWidthTo (screenwidth);
+ setTermHeightTo (_rl_screenheight);
if (curLayout == SRC_DISASSEM_COMMAND ||
curLayout == SRC_DATA_COMMAND || curLayout == DISASSEM_DATA_COMMAND)
numWinsDisplayed++;
-@@ -664,8 +664,8 @@
+@@ -678,8 +678,8 @@
if (heightDiff == 0)
newHeight = firstWin->generic.height;
else if ((firstWin->generic.height + splitDiff) >=
else if ((firstWin->generic.height + splitDiff) <= 0)
newHeight = MIN_WIN_HEIGHT;
else
-@@ -674,7 +674,7 @@
+@@ -688,7 +688,7 @@
_makeInvisibleAndSetNewHeight (firstWin, newHeight);
cmdWin->generic.origin.y = locator->origin.y + 1;
cmdWin->generic.width += widthDiff;
_makeInvisibleAndSetNewHeight (cmdWin, newHeight);
_makeVisibleWithNewHeight (firstWin);
_makeVisibleWithNewHeight (cmdWin);
-@@ -702,8 +702,8 @@
+@@ -716,8 +716,8 @@
newHeight = firstWin->generic.height;
else if ((firstWin->generic.height +
secondWin->generic.height + (splitDiff * 2)) >=
else if ((firstWin->generic.height + splitDiff) <= 0)
newHeight = MIN_WIN_HEIGHT;
else
-@@ -722,9 +722,9 @@
+@@ -736,9 +736,9 @@
newHeight = secondWin->generic.height;
else if ((firstWin->generic.height +
secondWin->generic.height + (splitDiff * 2)) >=