From 0ea70c8634d7004731bfc59885d06940e99708f1937490ee07d6b045440a57df Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 17 Nov 2008 15:51:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=48 --- auxv.diff | 32 -------------------------------- cell-combined.diff | 4 ++-- dwarf-decode-lines.diff | 30 ------------------------------ gdb-6.8.50.20081103-cvs.tar.bz2 | 3 --- gdb-6.8.50.20081115-cvs.tar.bz2 | 3 +++ gdb.changes | 5 +++++ gdb.spec | 10 ++++------ 7 files changed, 14 insertions(+), 73 deletions(-) delete mode 100644 auxv.diff delete mode 100644 dwarf-decode-lines.diff delete mode 100644 gdb-6.8.50.20081103-cvs.tar.bz2 create mode 100644 gdb-6.8.50.20081115-cvs.tar.bz2 diff --git a/auxv.diff b/auxv.diff deleted file mode 100644 index a6eb618..0000000 --- a/auxv.diff +++ /dev/null @@ -1,32 +0,0 @@ -Index: gdb/auxv.c -=================================================================== -RCS file: /cvs/src/src/gdb/auxv.c,v -retrieving revision 1.15 -diff -u -a -p -r1.15 auxv.c ---- gdb/auxv.c 28 Oct 2008 17:19:56 -0000 1.15 -+++ gdb/auxv.c 3 Nov 2008 20:11:26 -0000 -@@ -206,6 +206,8 @@ fprint_target_auxv (struct ui_file *file - TAG (AT_SYSINFO, _("Special system info/entry points"), hex); - TAG (AT_SYSINFO_EHDR, _("System-supplied DSO's ELF header"), hex); - TAG (AT_SECURE, _("Boolean, was exec setuid-like?"), dec); -+ TAG (AT_BASE_PLATFORM, _("String identifying base platform"), str); -+ TAG (AT_EXECFN, _("File name given to execve"), str); - TAG (AT_SUN_UID, _("Effective user ID"), dec); - TAG (AT_SUN_RUID, _("Real user ID"), dec); - TAG (AT_SUN_GID, _("Effective group ID"), dec); -Index: include/elf/common.h -=================================================================== -RCS file: /cvs/src/src/include/elf/common.h,v -retrieving revision 1.99 -diff -u -a -p -r1.99 common.h ---- include/elf/common.h 3 Aug 2008 23:20:42 -0000 1.99 -+++ include/elf/common.h 3 Nov 2008 20:11:26 -0000 -@@ -798,6 +798,8 @@ - #define AT_UCACHEBSIZE 21 /* Unified cache block size. */ - #define AT_IGNOREPPC 22 /* Entry should be ignored */ - #define AT_SECURE 23 /* Boolean, was exec setuid-like? */ -+#define AT_BASE_PLATFORM 24 /* String identifying base platform. */ -+#define AT_EXECFN 31 /* File name given to execve. */ - /* Pointer to the global system page used for system calls and other - nice things. */ - #define AT_SYSINFO 32 diff --git a/cell-combined.diff b/cell-combined.diff index 20ed1e5..7629102 100644 --- a/cell-combined.diff +++ b/cell-combined.diff @@ -4558,9 +4558,9 @@ Index: gdb-head/gdb/linux-nat.c +} + +static void -+spu_mourn_inferior (void) ++spu_mourn_inferior (struct target_ops *ops) +{ -+ find_target_beneath (&spu_ops)->to_mourn_inferior (); ++ find_target_beneath (&spu_ops)->to_mourn_inferior (ops); + spu_multiarch_disable (); +} + diff --git a/dwarf-decode-lines.diff b/dwarf-decode-lines.diff deleted file mode 100644 index 18b8deb..0000000 --- a/dwarf-decode-lines.diff +++ /dev/null @@ -1,30 +0,0 @@ -Index: gdb/dwarf2read.c -=================================================================== -RCS file: /cvs/src/src/gdb/dwarf2read.c,v -retrieving revision 1.290 -diff -u -a -p -u -p -a -r1.290 gdb/dwarf2read.c ---- gdb/dwarf2read.c 24 Oct 2008 18:21:00 -0000 1.290 -+++ gdb/dwarf2read.c 27 Oct 2008 14:33:51 -0000 -@@ -7090,6 +7090,13 @@ dwarf_decode_lines (struct line_header * - /* Decode the table. */ - while (!end_sequence) - { -+ if (line_ptr >= line_end) -+ { -+ complaint (&symfile_complaints, -+ _("mangled .debug_line section")); -+ return; -+ } -+ - op_code = read_1_byte (abfd, line_ptr); - line_ptr += 1; - -@@ -7220,7 +7227,7 @@ dwarf_decode_lines (struct line_header * - - file = read_unsigned_leb128 (abfd, line_ptr, &bytes_read); - line_ptr += bytes_read; -- if (lh->num_file_names < file) -+ if (file == 0 || lh->num_file_names < file) - dwarf2_debug_line_missing_file_complaint (); - else - { diff --git a/gdb-6.8.50.20081103-cvs.tar.bz2 b/gdb-6.8.50.20081103-cvs.tar.bz2 deleted file mode 100644 index 94e60a1..0000000 --- a/gdb-6.8.50.20081103-cvs.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2407a8e7d8f77b8837d0cc281d2c23268ce8001485ddecce1dc06073a386eec -size 15661359 diff --git a/gdb-6.8.50.20081115-cvs.tar.bz2 b/gdb-6.8.50.20081115-cvs.tar.bz2 new file mode 100644 index 0000000..f697efe --- /dev/null +++ b/gdb-6.8.50.20081115-cvs.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef245f3d0e611ad60e0e4f4880bb2561e825d2d334601bd996aa0439285d3bd2 +size 15655279 diff --git a/gdb.changes b/gdb.changes index 56097d2..9dbfd92 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 9 19:18:33 CET 2008 - schwab@suse.de + +- Update .debug_line parser patch. + ------------------------------------------------------------------- Mon Nov 3 19:21:09 CET 2008 - schwab@suse.de diff --git a/gdb.spec b/gdb.spec index 0df9a30..3f13364 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,5 +1,5 @@ # -# spec file for package gdb (Version 6.8.50.20081103) +# spec file for package gdb (Version 6.8.50.20081115) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Name: gdb Summary: The GNU Debugger -Version: 6.8.50.20081103 +Version: 6.8.50.20081115 Release: 1 BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel %if 0%{?suse_version} > 1020 @@ -58,8 +58,6 @@ Patch9: fix-gdb-backtrace.diff Patch10: expand-line-sal-maybe.diff Patch11: power7.diff Patch12: power7-gdbserver.diff -Patch13: dwarf-decode-lines.diff -Patch14: auxv.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -131,8 +129,6 @@ Authors: %patch10 %patch11 -p1 %patch12 -p1 -%patch13 -%patch14 %build %ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 @@ -209,6 +205,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Sun Nov 09 2008 schwab@suse.de +- Update .debug_line parser patch. * Mon Nov 03 2008 schwab@suse.de - Update to head of trunk. - Fix auxv decoding.