From 7c724ede90be0ec1e4a7822ddb53f0ccb01c628a Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 22 Sep 2005 21:55:32 +0000 Subject: [PATCH] - Bump up release number. Thu Sep 22 2005 Jeff Johnston 6.3.0.0-1.66 - Remove extraneous xfree. --- gdb-6.3-xfree-20050922.patch | 21 +++++++++++++++++++++ gdb.spec | 12 +++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 gdb-6.3-xfree-20050922.patch diff --git a/gdb-6.3-xfree-20050922.patch b/gdb-6.3-xfree-20050922.patch new file mode 100644 index 0000000..a5e59ee --- /dev/null +++ b/gdb-6.3-xfree-20050922.patch @@ -0,0 +1,21 @@ +2005-09-22 Bastien Nocera + + * symtab.c (find_line_pc_range): Don't free up pc_list + unconditionally as it may not be allocated. + +--- gdb-6.3/gdb/symtab.c.fix 2005-09-22 16:24:06.000000000 -0400 ++++ gdb-6.3/gdb/symtab.c 2005-09-22 16:26:17.000000000 -0400 +@@ -2427,9 +2427,10 @@ find_line_pc_range (struct symtab_and_li + /* FIXME: have to handle ctors/dtors where line equates to multiple + pc ranges. */ + if (startaddr == 0) +- startaddr = pc_list[0]; +- +- xfree (pc_list); ++ { ++ startaddr = pc_list[0]; ++ xfree (pc_list); ++ } + + /* This whole function is based on address. For example, if line 10 has + two parts, one from 0x100 to 0x200 and one from 0x300 to 0x400, then diff --git a/gdb.spec b/gdb.spec index bcf1a80..5e9850d 100644 --- a/gdb.spec +++ b/gdb.spec @@ -11,7 +11,7 @@ Name: gdb Version: 6.3.0.0 # The release always contains a leading reserved number, start it at 0. -Release: 1.65 +Release: 1.69 License: GPL Group: Development/Debuggers @@ -243,6 +243,9 @@ Patch163: gdb-6.3-inheritancetest-20050726.patch # Add readnever option Patch164: gdb-6.3-readnever-20050907.patch +# Remove extraneous xfree +Patch165: gdb-6.3-xfree-20050922.patch + %ifarch ia64 BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind >= 0.96-3 %else @@ -339,6 +342,7 @@ and printing their data. %patch162 -p1 %patch163 -p1 %patch164 -p1 +%patch165 -p1 # Change the version that gets printed at GDB startup, so it is RedHat # specific. @@ -507,6 +511,12 @@ fi # don't include the files in include, they are part of binutils %changelog +* Thu Sep 22 2005 Jeff Johnston 6.3.0.0-1.69 +- Bump up release number. + +* Thu Sep 22 2005 Jeff Johnston 6.3.0.0-1.66 +- Remove extraneous xfree. + * Wed Sep 07 2005 Jeff Johnston 6.3.0.0-1.65 - Bump up release number.