[packages/gdb] - updated to 7.6.1

draenog draenog at pld-linux.org
Mon Nov 4 21:14:40 CET 2013


commit 1dce4dc1cc772551036bbfee0a9b8f102f3ffb71
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Nov 4 20:13:09 2013 +0000

    - updated to 7.6.1

 gdb-6.6-buildid-locate.patch | 12 ++++++------
 gdb.spec                     |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gdb.spec b/gdb.spec
index dbc9791..2acc989 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -20,12 +20,12 @@ Summary(zh_CN.UTF-8):	[开发]C和其他语言的调试器
 Summary(zh_TW.UTF-8):	[.-A開發]C和.$)B其.-A他語.$)B言的調試器
 %define		snap	20120926
 Name:		gdb
-Version:	7.6
-Release:	2
+Version:	7.6.1
+Release:	1
 License:	GPL v3+
 Group:		Development/Debuggers
 Source0:	http://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2
-# Source0-md5:	fda57170e4d11cdde74259ca575412a8
+# Source0-md5:	fbc4dab4181e6e9937075b43a4ce2732
 Source1:	http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5:	2e8a48939ae282c12bbacdd54e398247
 Source3:	%{name}-gstack.man
diff --git a/gdb-6.6-buildid-locate.patch b/gdb-6.6-buildid-locate.patch
index 30b4375..7a473c7 100644
--- a/gdb-6.6-buildid-locate.patch
+++ b/gdb-6.6-buildid-locate.patch
@@ -23,7 +23,7 @@ Index: gdb-7.6/gdb/corelow.c
 +{
 +  CORE_ADDR at_entry;
 +  struct elf_build_id *build_id;
-+  char *exec_filename, *debug_filename;
++  char *execfilename, *debug_filename;
 +  char *build_id_filename;
 +  struct cleanup *back_to;
 +
@@ -44,14 +44,14 @@ Index: gdb-7.6/gdb/corelow.c
 +     file - such .eh_frame would not be found if SYMFILE_OBJFILE would refer
 +     directly to the separate debug info file.  */
 +
-+  exec_filename = build_id_to_filename (build_id, &build_id_filename, 0);
++  execfilename = build_id_to_filename (build_id, &build_id_filename, 0);
 +  make_cleanup (xfree, build_id_filename);
 +
-+  if (exec_filename != NULL)
++  if (execfilename != NULL)
 +    {
-+      make_cleanup (xfree, exec_filename);
-+      exec_file_attach (exec_filename, from_tty);
-+      symbol_file_add_main (exec_filename, from_tty);
++      make_cleanup (xfree, execfilename);
++      exec_file_attach (execfilename, from_tty);
++      symbol_file_add_main (execfilename, from_tty);
 +      if (symfile_objfile != NULL)
 +        symfile_objfile->flags |= OBJF_BUILD_ID_CORE_LOADED;
 +    }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdb.git/commitdiff/81e121454e561aa0d7ad074242ba00cff45e76a0



More information about the pld-cvs-commit mailing list