New struct. (backtrace_command_stub): New function. (backtrace_command):

Call backtrace_command_stub wrapped in a catch_errors call.
    (backtrace_full_command): Ditto.
New prototypes.
New functions. (error_stream_1): Ditto. (error_stream): Call
    error_stream_1.
Replacing 6.1post patch #78.
This commit is contained in:
Jeff Johnston 2004-12-16 22:12:47 +00:00
parent f643c0cd8b
commit 1390bba0c9

View File

@ -57,8 +57,6 @@ Patch4: gdb-6.3-rh-testlibunwind1fix-20041202.patch
Patch50: gdb-6.1post-vsyscall-jul2004.patch Patch50: gdb-6.1post-vsyscall-jul2004.patch
#Broken: Patch51: gdb-6.1post-pie-jul2004.patch #Broken: Patch51: gdb-6.1post-pie-jul2004.patch
#Broken: Patch52: gdb-6.1post-test-pie-nov2004.patch #Broken: Patch52: gdb-6.1post-test-pie-nov2004.patch
# Fix for allowing macros to continue after backtrace errors
Patch78: gdb-6.1post-backtrace-nov2004.patch
# Add --readnever hack, and gstack script # Add --readnever hack, and gstack script
#Broken: Patch82: gdb-6.1post-readnever-nov2004.patch #Broken: Patch82: gdb-6.1post-readnever-nov2004.patch
# No longer a need to set .malloc on ppc64. # No longer a need to set .malloc on ppc64.
@ -141,6 +139,9 @@ Patch119: gdb-6.3-lwp-cache-20041216.patch
# Fix to ensure types are visible # Fix to ensure types are visible
Patch120: gdb-6.3-type-fix-20041213.patch Patch120: gdb-6.3-type-fix-20041213.patch
# Fix for allowing macros to continue after backtrace errors
Patch121: gdb-6.3-backtrace-20041216.patch
%ifarch ia64 %ifarch ia64
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind >= 0.96-3 BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind >= 0.96-3
%else %else
@ -194,11 +195,10 @@ and printing their data.
%patch118 -p1 %patch118 -p1
%patch119 -p1 %patch119 -p1
%patch120 -p1 %patch120 -p1
%patch121 -p1
%patch50 -p1 %patch50 -p1
%patch78 -p1
# Change the version that gets printed at GDB startup, so it is RedHat # Change the version that gets printed at GDB startup, so it is RedHat
# specific. # specific.
cat > gdb/version.in << _FOO cat > gdb/version.in << _FOO