This commit is contained in:
parent
37f0f3cc41
commit
11cccbc678
5062
gdb-6.8-bz377541-vla.patch
Normal file
5062
gdb-6.8-bz377541-vla.patch
Normal file
File diff suppressed because it is too large
Load Diff
35
gdb-readline6.patch
Normal file
35
gdb-readline6.patch
Normal file
@ -0,0 +1,35 @@
|
||||
--- gdb/tui/tui-io.c.orig 2009-03-10 11:34:01.000000000 +0100
|
||||
+++ gdb/tui/tui-io.c 2009-03-10 11:34:45.000000000 +0100
|
||||
@@ -512,7 +512,7 @@
|
||||
void
|
||||
tui_setup_io (int mode)
|
||||
{
|
||||
- extern int readline_echoing_p;
|
||||
+ extern int _rl_echoing_p;
|
||||
|
||||
if (mode)
|
||||
{
|
||||
@@ -522,12 +522,12 @@
|
||||
tui_old_rl_prep_terminal = rl_prep_term_function;
|
||||
tui_old_rl_getc_function = rl_getc_function;
|
||||
tui_old_rl_outstream = rl_outstream;
|
||||
- tui_old_readline_echoing_p = readline_echoing_p;
|
||||
+ tui_old_readline_echoing_p = _rl_echoing_p;
|
||||
rl_redisplay_function = tui_redisplay_readline;
|
||||
rl_deprep_term_function = tui_deprep_terminal;
|
||||
rl_prep_term_function = tui_prep_terminal;
|
||||
rl_getc_function = tui_getc;
|
||||
- readline_echoing_p = 0;
|
||||
+ _rl_echoing_p = 0;
|
||||
rl_outstream = tui_rl_outstream;
|
||||
rl_prompt = 0;
|
||||
rl_completion_display_matches_hook = tui_rl_display_match_list;
|
||||
@@ -564,7 +564,7 @@
|
||||
rl_getc_function = tui_old_rl_getc_function;
|
||||
rl_outstream = tui_old_rl_outstream;
|
||||
rl_completion_display_matches_hook = 0;
|
||||
- readline_echoing_p = tui_old_readline_echoing_p;
|
||||
+ _rl_echoing_p = tui_old_readline_echoing_p;
|
||||
rl_already_prompted = 0;
|
||||
|
||||
/* Save tty for SIGCONT. */
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 11:14:25 CET 2009 - rguenther@suse.de
|
||||
|
||||
- Add VLA support patch from Fedora to fix possible
|
||||
dwarf_expr_frame_base NULL checking regression.
|
||||
- Fix readline incompatibility.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 11:42:03 CET 2009 - rguenther@suse.de
|
||||
|
||||
|
12
gdb.spec
12
gdb.spec
@ -20,7 +20,7 @@
|
||||
Name: gdb
|
||||
Summary: The GNU Debugger
|
||||
Version: 6.8.50.20090216
|
||||
Release: 2
|
||||
Release: 3
|
||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: libexpat-devel
|
||||
@ -55,7 +55,11 @@ Patch7: pie-relocate.diff
|
||||
Patch8: find-separate-debug-file.diff
|
||||
Patch9: fix-gdb-backtrace.diff
|
||||
Patch10: expand-line-sal-maybe.diff
|
||||
Patch11: gdb-readline6.patch
|
||||
# Patches from Fedora
|
||||
# Fix/implement the Fortran dynamic arrays support (BZ 377541).
|
||||
# Fix the variable-length-arrays support (BZ 468266, feature BZ 377541).
|
||||
Patch305: gdb-6.8-bz377541-vla.patch
|
||||
# Support transparent debugging of inlined functions for an optimized code.
|
||||
Patch327: gdb-6.8-inlining.patch
|
||||
Patch350: gdb-6.8-inlining-addon.patch
|
||||
@ -128,6 +132,8 @@ Authors:
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%patch11
|
||||
%patch305 -p1
|
||||
%patch327 -p1
|
||||
%patch350 -p1
|
||||
%patch328 -p1
|
||||
@ -207,6 +213,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Mar 10 2009 rguenther@suse.de
|
||||
- Add VLA support patch from Fedora to fix possible
|
||||
dwarf_expr_frame_base NULL checking regression.
|
||||
- Fix readline incompatibility.
|
||||
* Mon Mar 02 2009 rguenther@suse.de
|
||||
- Integrate support for transparently debugging inline functions.
|
||||
* Mon Feb 16 2009 schwab@suse.de
|
||||
|
Loading…
x
Reference in New Issue
Block a user