OBS User unknown 2006-12-20 17:06:02 +00:00 committed by Git OBS Bridge
parent 783af9b5d3
commit ec41293d68
5 changed files with 72 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d91c33d75efff84aae332f1f6aff0683f8fa0eae4a81638084eeef542f31a2d
size 14533897

3
gdb-6.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd
size 14535755

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Sat Dec 2 21:38:33 CET 2006 - schwab@suse.de
Wed Dec 20 12:37:40 CET 2006 - schwab@suse.de
- Update to gdb 6.5.90.
- Update to gdb 6.6.
* New targets
Xtensa xtensa-elf
Cell Broadband Engine SPU spu-elf
@ -48,6 +48,11 @@ Sat Dec 2 21:38:33 CET 2006 - schwab@suse.de
This packet has been replaced by qXfer:auxv:read. Only GDB 6.4 and 6.5
used it, and only gdbserver implemented it.
-------------------------------------------------------------------
Sat Dec 2 21:38:33 CET 2006 - schwab@suse.de
- Update to gdb 6.5.90.
-------------------------------------------------------------------
Sat Oct 28 00:25:25 CEST 2006 - schwab@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package gdb (Version 6.5.90)
# spec file for package gdb (Version 6.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -20,7 +20,7 @@ License: GNU General Public License (GPL)
Group: Development/Tools/Debuggers
Autoreqprov: on
PreReq: %{install_info_prereq}
Version: 6.5.90
Version: 6.6
Release: 1
Summary: The GNU Debugger
Source: gdb-%{version}.tar.bz2
@ -32,6 +32,7 @@ Patch5: gstack.patch
Patch7: ppc-dwarf2-cfi.patch
Patch8: pie-relocate.diff
Patch9: mst-solib-trampoline.diff
Patch10: readline-callback.diff
Patch11: loader_break.diff
Patch12: ppc-long-double.diff
Patch13: lr-frame-offset.diff
@ -73,6 +74,7 @@ Authors:
%patch7
%patch8
%patch9
%patch10
cd gdb
%patch11
cd ..
@ -135,8 +137,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog -n gdb
* Sat Dec 02 2006 - schwab@suse.de
- Update to gdb 6.5.90.
* Wed Dec 20 2006 - schwab@suse.de
- Update to gdb 6.6.
* New targets
Xtensa xtensa-elf
Cell Broadband Engine SPU spu-elf
@ -182,6 +184,8 @@ rm -rf $RPM_BUILD_ROOT
qPart:auxv:read:
This packet has been replaced by qXfer:auxv:read. Only GDB 6.4 and 6.5
used it, and only gdbserver implemented it.
* Sat Dec 02 2006 - schwab@suse.de
- Update to gdb 6.5.90.
* Sat Oct 28 2006 - schwab@suse.de
- Rename detach-fork to detach fork.
* Tue Oct 24 2006 - schwab@suse.de

54
readline-callback.diff Normal file
View File

@ -0,0 +1,54 @@
From nobody Sun Dec 3 11:01:14 2006
From: "H. J. Lu" <hjl@lucon.org>
Subject: PATCH: PR tui/2173: Arrow keys no longer works in breakpoint command list
To: GDB <gdb-patches@sources.redhat.com>
Date: Tue, 21 Nov 2006 13:32:05 -0800
The problem is callback in readline 5.1 is changed. When gdb readline
callback calls readline (), readline is really confused since although
it is called from gdb callback, it isn't really in callback state. This
kludge seems to work for me.
H.J.
----
2006-11-21 H.J. Lu <hongjiu.lu@intel.com>
PR tui/2173
* top.c (gdb_readline_wrapper): Unset and reset RL_STATE_CALLBACK
around readline if needed.
--- gdb/top.c.arrow 2006-07-21 07:46:53.000000000 -0700
+++ gdb/top.c 2006-11-21 13:20:04.000000000 -0800
@@ -724,6 +724,9 @@ The filename in which to record the comm
char *
gdb_readline_wrapper (char *prompt)
{
+ char *line;
+ int in_callback;
+
/* Set the hook that works in this case. */
if (after_char_processing_hook)
{
@@ -731,7 +734,19 @@ gdb_readline_wrapper (char *prompt)
after_char_processing_hook = NULL;
}
- return readline (prompt);
+ /* When we call readline, we have to make sure that readline isn't in
+ the callback state. Otherwise, it will get really confused.
+ PR tui/2173. */
+ in_callback = RL_ISSTATE (RL_STATE_CALLBACK);
+ if (in_callback)
+ RL_UNSETSTATE (RL_STATE_CALLBACK);
+
+ line = readline (prompt);
+
+ if (in_callback)
+ RL_SETSTATE (RL_STATE_CALLBACK);
+
+ return line;
}