This commit is contained in:
parent
b48c99cb4d
commit
0ea70c8634
32
auxv.diff
32
auxv.diff
@ -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
|
|
@ -4558,9 +4558,9 @@ Index: gdb-head/gdb/linux-nat.c
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static void
|
+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 ();
|
+ spu_multiarch_disable ();
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
@ -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
|
|
||||||
{
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c2407a8e7d8f77b8837d0cc281d2c23268ce8001485ddecce1dc06073a386eec
|
|
||||||
size 15661359
|
|
3
gdb-6.8.50.20081115-cvs.tar.bz2
Normal file
3
gdb-6.8.50.20081115-cvs.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ef245f3d0e611ad60e0e4f4880bb2561e825d2d334601bd996aa0439285d3bd2
|
||||||
|
size 15655279
|
@ -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
|
Mon Nov 3 19:21:09 CET 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
10
gdb.spec
10
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.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Name: gdb
|
Name: gdb
|
||||||
Summary: The GNU Debugger
|
Summary: The GNU Debugger
|
||||||
Version: 6.8.50.20081103
|
Version: 6.8.50.20081115
|
||||||
Release: 1
|
Release: 1
|
||||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel
|
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
@ -58,8 +58,6 @@ Patch9: fix-gdb-backtrace.diff
|
|||||||
Patch10: expand-line-sal-maybe.diff
|
Patch10: expand-line-sal-maybe.diff
|
||||||
Patch11: power7.diff
|
Patch11: power7.diff
|
||||||
Patch12: power7-gdbserver.diff
|
Patch12: power7-gdbserver.diff
|
||||||
Patch13: dwarf-decode-lines.diff
|
|
||||||
Patch14: auxv.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -131,8 +129,6 @@ Authors:
|
|||||||
%patch10
|
%patch10
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13
|
|
||||||
%patch14
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
||||||
@ -209,6 +205,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 09 2008 schwab@suse.de
|
||||||
|
- Update .debug_line parser patch.
|
||||||
* Mon Nov 03 2008 schwab@suse.de
|
* Mon Nov 03 2008 schwab@suse.de
|
||||||
- Update to head of trunk.
|
- Update to head of trunk.
|
||||||
- Fix auxv decoding.
|
- Fix auxv decoding.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user