packages: gdb/gdb-6.3-gcore-thread-20050204.patch, gdb/gdb-6.3-gstack-20050...
glen
glen at pld-linux.org
Tue Dec 8 00:29:30 CET 2009
Author: glen Date: Mon Dec 7 23:29:29 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- update to 6.8.91.20090930-1 from fedora
---- Files affected:
packages/gdb:
gdb-6.3-gcore-thread-20050204.patch (1.1 -> 1.2) , gdb-6.3-gstack-20050411.patch (1.1 -> 1.2) , gdb-6.3-gstack-without-path-20060414.patch (1.1 -> 1.2) , gdb-6.3-ia64-gcore-page0-20050421.patch (1.1 -> 1.2) , gdb-6.3-ia64-gcore-speedup-20050714.patch (1.1 -> 1.2) , gdb-6.3-inheritancetest-20050726.patch (1.1 -> 1.2) , gdb-6.3-large-core-20051206.patch (1.1 -> 1.2) , gdb-6.3-mapping-zero-inode-test.patch (1.1 -> 1.2) , gdb-6.3-pie-20050110.patch (1.1 -> 1.2) , gdb-6.3-ppc64syscall-20040622.patch (1.1 -> 1.2) , gdb-6.3-ppcdotsolib-20041022.patch (1.1 -> 1.2) , gdb-6.3-readnever-20050907.patch (1.1 -> 1.2) , gdb-6.3-rh-testlibunwind-20041202.patch (1.1 -> 1.2) , gdb-6.3-test-pie-20050107.patch (1.1 -> 1.2) , gdb-6.3-threaded-watchpoints2-20050225.patch (1.1 -> 1.2) , gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch (1.1 -> 1.2) , gdb-6.5-bz190810-gdbserver-arch-advice.patch (1.1 -> 1.2) , gdb-6.5-bz203661-emit-relocs.patch (1.1 -> 1.2) , gdb-6.5-bz216711-clone-is-outer
most.patch (1.1 -> 1.2) , gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch (1.1 -> 1.2) , gdb-6.5-gcore-i386-on-amd64.patch (1.1 -> 1.2) , gdb-6.6-buildid-locate-rpm.patch (1.3 -> 1.4) , gdb-6.6-buildid-locate.patch (1.2 -> 1.3) , gdb-6.6-scheduler_locking-step-is-default.patch (1.1 -> 1.2) , gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch (1.1 -> 1.2) , gdb-6.6-step-thread-exit.patch (1.1 -> 1.2) , gdb-6.7-testsuite-stable-results.patch (1.1 -> 1.2) , gdb-6.8-attach-signalled-detach-stopped.patch (1.1 -> 1.2) , gdb-6.8-bz254229-gcore-prpsinfo.patch (1.1 -> 1.2) , gdb-6.8-bz436037-reg-no-longer-active.patch (1.1 -> 1.2) , gdb-6.8-bz457187-largefile.patch (1.1 -> 1.2) , gdb-6.8-bz466901-backtrace-full-prelinked.patch (1.1 -> 1.2) , gdb-6.8-constant-watchpoints.patch (1.1 -> 1.2) , gdb-6.8-fortran-tag-constant.patch (1.1 -> 1.2) , gdb-6.8-inlining-addon.patch (1.1 -> 1.2) , gdb-archer.patch (1.2 -> 1.3) , gdb.spec (1.114 -> 1.115) , gdb-6.8-bz457187-largefile-test.
patch (NONE -> 1.1) (NEW), gdb-readline-6.0.patch (NONE -> 1.1) (NEW), gdb-simultaneous-step-resume-breakpoint-test.patch (NONE -> 1.1) (NEW), libstdc++-v3-python-common-prefix.patch (NONE -> 1.1) (NEW), gdb-6.3-dtorfix-20050121.patch (1.1 -> NONE) (REMOVED), gdb-6.3-ia64-sigtramp-fp-20050926.patch (1.1 -> NONE) (REMOVED), gdb-6.3-linespec-20041213.patch (1.1 -> NONE) (REMOVED), gdb-6.3-removebp-20041130.patch (1.1 -> NONE) (REMOVED), gdb-6.3-rh-testlibunwind1fix-20041202.patch (1.1 -> NONE) (REMOVED), gdb-6.5-bz181390-memory-address-width.patch (1.1 -> NONE) (REMOVED), gdb-6.6-multifork-debugreg.patch (1.1 -> NONE) (REMOVED), gdb-6.8-ctors-dtors-unique.patch (1.1 -> NONE) (REMOVED), gdb-6.8-inlining.patch (1.2 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/gdb/gdb-6.3-gcore-thread-20050204.patch
diff -u packages/gdb/gdb-6.3-gcore-thread-20050204.patch:1.1 packages/gdb/gdb-6.3-gcore-thread-20050204.patch:1.2
--- packages/gdb/gdb-6.3-gcore-thread-20050204.patch:1.1 Mon Mar 23 00:27:52 2009
+++ packages/gdb/gdb-6.3-gcore-thread-20050204.patch Tue Dec 8 00:29:15 2009
@@ -3,13 +3,13 @@
* linux-nat.c (linux_nat_xfer_memory): Don't use
linux_proc_xfer_memory for ia64.
-Index: gdb-6.8.50.20081209/gdb/linux-nat.c
+Index: gdb-6.8.50.20090803/gdb/linux-nat.c
===================================================================
---- gdb-6.8.50.20081209.orig/gdb/linux-nat.c 2008-12-10 01:22:23.000000000 +0100
-+++ gdb-6.8.50.20081209/gdb/linux-nat.c 2008-12-10 01:25:26.000000000 +0100
-@@ -4123,10 +4123,15 @@ linux_xfer_partial (struct target_ops *o
- return linux_nat_xfer_osdata (ops, object, annex, readbuf, writebuf,
- offset, len);
+--- gdb-6.8.50.20090803.orig/gdb/linux-nat.c 2009-08-04 06:29:47.000000000 +0200
++++ gdb-6.8.50.20090803/gdb/linux-nat.c 2009-08-04 06:29:55.000000000 +0200
+@@ -4495,10 +4495,15 @@ linux_xfer_partial (struct target_ops *o
+ offset &= ((ULONGEST) 1 << addr_bit) - 1;
+ }
+#ifndef NATIVE_XFER_UNWIND_TABLE
+ /* FIXME: For ia64, we cannot currently use linux_proc_xfer_memory
================================================================
Index: packages/gdb/gdb-6.3-gstack-20050411.patch
diff -u packages/gdb/gdb-6.3-gstack-20050411.patch:1.1 packages/gdb/gdb-6.3-gstack-20050411.patch:1.2
--- packages/gdb/gdb-6.3-gstack-20050411.patch:1.1 Mon Mar 23 00:27:52 2009
+++ packages/gdb/gdb-6.3-gstack-20050411.patch Tue Dec 8 00:29:15 2009
@@ -4,11 +4,11 @@
to install and uninstall.
* gstack.sh, gstack.1: New files.
-Index: gdb-6.8.50.20090226/gdb/Makefile.in
+Index: gdb-6.8.91.20090917/gdb/Makefile.in
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/Makefile.in 2009-02-26 22:09:59.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/Makefile.in 2009-02-26 22:10:22.000000000 +0100
-@@ -973,7 +973,7 @@ install: all install-only
+--- gdb-6.8.91.20090917.orig/gdb/Makefile.in 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/Makefile.in 2009-09-17 12:47:38.000000000 +0200
+@@ -989,7 +989,7 @@ install: all install-only
# The "install-only" target also installs the syscalls' XML files in
# the system.
@@ -17,7 +17,7 @@
transformed_name=`t='$(program_transform_name)'; \
echo gdb | sed -e "$$t"` ; \
if test "x$$transformed_name" = x; then \
-@@ -1005,9 +1005,26 @@ install-tui:
+@@ -1021,9 +1021,26 @@ install-tui:
$(DESTDIR)$(man1dir) ; \
$(INSTALL_DATA) $(srcdir)/gdb.1 \
$(DESTDIR)$(man1dir)/$$transformed_name.1
@@ -45,7 +45,7 @@
transformed_name=`t='$(program_transform_name)'; \
echo gdb | sed -e $$t` ; \
if test "x$$transformed_name" = x; then \
-@@ -1029,6 +1046,17 @@ uninstall-tui:
+@@ -1045,6 +1062,17 @@ uninstall-tui:
fi ; \
rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
$(DESTDIR)$(man1dir)/$$transformed_name.1
@@ -63,11 +63,11 @@
# The C++ name parser can be built standalone for testing.
test-cp-name-parser.o: cp-name-parser.c
-Index: gdb-6.8.50.20090226/gdb/gstack.sh
+Index: gdb-6.8.91.20090917/gdb/gstack.sh
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090226/gdb/gstack.sh 2009-02-26 22:10:05.000000000 +0100
-@@ -0,0 +1,45 @@
++++ gdb-6.8.91.20090917/gdb/gstack.sh 2009-09-17 12:47:14.000000000 +0200
+@@ -0,0 +1,48 @@
+#!/bin/sh
+
+if test $# -ne 1; then
@@ -107,6 +107,9 @@
+
+# Run GDB, strip out unwanted noise.
+$GDB --quiet $readnever -nx /proc/$1/exe $1 <<EOF 2>&1 |
++set width 0
++set height 0
++set pagination no
+$backtrace
+EOF
+sed -n \
================================================================
Index: packages/gdb/gdb-6.3-gstack-without-path-20060414.patch
diff -u packages/gdb/gdb-6.3-gstack-without-path-20060414.patch:1.1 packages/gdb/gdb-6.3-gstack-without-path-20060414.patch:1.2
--- packages/gdb/gdb-6.3-gstack-without-path-20060414.patch:1.1 Mon Mar 23 00:27:52 2009
+++ packages/gdb/gdb-6.3-gstack-without-path-20060414.patch Tue Dec 8 00:29:15 2009
@@ -24,7 +24,7 @@
if $GDB -nx --quiet --batch --readnever > /dev/null 2>&1; then
readnever=--readnever
@@ -39,7 +39,7 @@ fi
- $GDB --quiet $readnever -nx /proc/$1/exe $1 <<EOF 2>&1 |
+ set pagination no
$backtrace
EOF
-sed -n \
================================================================
Index: packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch
diff -u packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch:1.1 packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch:1.2
--- packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch:1.1 Mon Mar 23 00:27:53 2009
+++ packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch Tue Dec 8 00:29:15 2009
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20081128/gdb/gcore.c
+Index: gdb-6.8.50.20090802/gdb/gcore.c
===================================================================
---- gdb-6.8.50.20081128.orig/gdb/gcore.c 2008-09-11 16:27:34.000000000 +0200
-+++ gdb-6.8.50.20081128/gdb/gcore.c 2008-12-01 16:39:04.000000000 +0100
-@@ -475,8 +475,14 @@ gcore_copy_callback (bfd *obfd, asection
+--- gdb-6.8.50.20090802.orig/gdb/gcore.c 2009-08-03 12:27:55.000000000 +0200
++++ gdb-6.8.50.20090802/gdb/gcore.c 2009-08-03 12:28:56.000000000 +0200
+@@ -479,8 +479,14 @@ gcore_copy_callback (bfd *obfd, asection
if (size > total_size)
size = total_size;
@@ -12,9 +12,9 @@
if (target_read_memory (bfd_section_vma (obfd, osec) + offset,
- memhunk, size) != 0)
+ memhunk, size) != 0
-+ && (strcmp (gdbarch_bfd_arch_info (current_gdbarch)->arch_name,
++ && (strcmp (gdbarch_bfd_arch_info (target_gdbarch)->arch_name,
+ "ia64")
+ || bfd_section_vma (obfd, osec) != 0))
{
- warning (_("Memory read failed for corefile section, %s bytes at 0x%s."),
- plongest (size), paddr (bfd_section_vma (obfd, osec)));
+ warning (_("Memory read failed for corefile section, %s bytes at %s."),
+ plongest (size),
================================================================
Index: packages/gdb/gdb-6.3-ia64-gcore-speedup-20050714.patch
diff -u packages/gdb/gdb-6.3-ia64-gcore-speedup-20050714.patch:1.1 packages/gdb/gdb-6.3-ia64-gcore-speedup-20050714.patch:1.2
--- packages/gdb/gdb-6.3-ia64-gcore-speedup-20050714.patch:1.1 Mon Mar 23 00:27:53 2009
+++ packages/gdb/gdb-6.3-ia64-gcore-speedup-20050714.patch Tue Dec 8 00:29:15 2009
@@ -7,13 +7,13 @@
(ia64_rse_skip_regs): Ditto.
(ia64_linux_check_stack_region): New function.
-Index: gdb-6.8.50.20090226/gdb/linux-nat.c
+Index: gdb-6.8.50.20090803/gdb/linux-nat.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/linux-nat.c 2009-02-27 07:51:44.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/linux-nat.c 2009-02-28 07:19:05.000000000 +0100
-@@ -4386,15 +4386,38 @@ linux_xfer_partial (struct target_ops *o
- return linux_nat_xfer_osdata (ops, object, annex, readbuf, writebuf,
- offset, len);
+--- gdb-6.8.50.20090803.orig/gdb/linux-nat.c 2009-08-04 06:29:55.000000000 +0200
++++ gdb-6.8.50.20090803/gdb/linux-nat.c 2009-08-04 06:30:53.000000000 +0200
+@@ -4495,15 +4495,38 @@ linux_xfer_partial (struct target_ops *o
+ offset &= ((ULONGEST) 1 << addr_bit) - 1;
+ }
-#ifndef NATIVE_XFER_UNWIND_TABLE
- /* FIXME: For ia64, we cannot currently use linux_proc_xfer_memory
@@ -55,10 +55,10 @@
return super_xfer_partial (ops, object, annex, readbuf, writebuf,
offset, len);
-Index: gdb-6.8.50.20090226/gdb/ia64-linux-nat.c
+Index: gdb-6.8.50.20090803/gdb/ia64-linux-nat.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/ia64-linux-nat.c 2009-02-23 01:03:49.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/ia64-linux-nat.c 2009-02-28 07:18:10.000000000 +0100
+--- gdb-6.8.50.20090803.orig/gdb/ia64-linux-nat.c 2009-02-23 01:03:49.000000000 +0100
++++ gdb-6.8.50.20090803/gdb/ia64-linux-nat.c 2009-08-04 06:30:53.000000000 +0200
@@ -809,6 +809,64 @@ ia64_linux_xfer_partial (struct target_o
void _initialize_ia64_linux_nat (void);
================================================================
Index: packages/gdb/gdb-6.3-inheritancetest-20050726.patch
diff -u packages/gdb/gdb-6.3-inheritancetest-20050726.patch:1.1 packages/gdb/gdb-6.3-inheritancetest-20050726.patch:1.2
--- packages/gdb/gdb-6.3-inheritancetest-20050726.patch:1.1 Mon Mar 23 00:27:56 2009
+++ packages/gdb/gdb-6.3-inheritancetest-20050726.patch Tue Dec 8 00:29:15 2009
@@ -5,8 +5,10 @@
* gdb.cp/b146835b.cc: Ditto.
* gdb.cp/b146835.h: Ditto.
---- gdb-6.3/gdb/testsuite/gdb.cp/b146835b.cc.fix3 2005-07-26 16:47:12.000000000 -0400
-+++ gdb-6.3/gdb/testsuite/gdb.cp/b146835b.cc 2005-07-26 16:53:31.000000000 -0400
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835b.cc
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835b.cc 2009-08-12 06:07:50.000000000 +0200
@@ -0,0 +1,11 @@
+#include "b146835.h"
+
@@ -19,8 +21,10 @@
+void A::funcD (class E *e, class D *d) {}
+void A::funcE (E *e, D *d) {}
+void A::funcF (unsigned long x, D *d) {}
---- gdb-6.3/gdb/testsuite/gdb.cp/b146835.cc.fix3 2005-07-26 16:47:20.000000000 -0400
-+++ gdb-6.3/gdb/testsuite/gdb.cp/b146835.cc 2005-07-26 16:46:50.000000000 -0400
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835.cc
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835.cc 2009-08-12 06:07:50.000000000 +0200
@@ -0,0 +1,32 @@
+#include "b146835.h"
+#include <iostream>
@@ -54,9 +58,11 @@
+ f.foo();
+}
+
---- gdb-6.3/gdb/testsuite/gdb.cp/b146835.exp.fix3 2005-07-26 16:47:26.000000000 -0400
-+++ gdb-6.3/gdb/testsuite/gdb.cp/b146835.exp 2005-07-26 16:46:50.000000000 -0400
-@@ -0,0 +1,55 @@
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835.exp
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835.exp 2009-08-12 06:58:28.000000000 +0200
+@@ -0,0 +1,54 @@
+# This testcase is part of GDB, the GNU debugger.
+
+# Copyright 2005 Free Software Foundation, Inc.
@@ -110,10 +116,11 @@
+gdb_continue_to_breakpoint "First line foo"
+
+# Verify that we can access the inherited member d
-+gdb_test "p d" ".*(struct D \*.).*0x0" "Verify inherited member d accessible"
-+
---- gdb-6.3/gdb/testsuite/gdb.cp/b146835.h.fix3 2005-07-26 16:47:36.000000000 -0400
-+++ gdb-6.3/gdb/testsuite/gdb.cp/b146835.h 2005-07-26 16:53:18.000000000 -0400
++gdb_test "p d" " = \\(D \\*\\) *0x0" "Verify inherited member d accessible"
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835.h
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.cp/b146835.h 2009-08-12 06:07:50.000000000 +0200
@@ -0,0 +1,36 @@
+
+class A {
================================================================
Index: packages/gdb/gdb-6.3-large-core-20051206.patch
diff -u packages/gdb/gdb-6.3-large-core-20051206.patch:1.1 packages/gdb/gdb-6.3-large-core-20051206.patch:1.2
--- packages/gdb/gdb-6.3-large-core-20051206.patch:1.1 Mon Mar 23 00:27:56 2009
+++ packages/gdb/gdb-6.3-large-core-20051206.patch Tue Dec 8 00:29:15 2009
@@ -25,10 +25,10 @@
Port to GDB-6.7.
-Index: gdb-6.8.50.20090226/gdb/symfile-mem.c
+Index: gdb-6.8.50.20090909/gdb/symfile-mem.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/symfile-mem.c 2009-02-21 17:14:49.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/symfile-mem.c 2009-02-28 07:22:09.000000000 +0100
+--- gdb-6.8.50.20090909.orig/gdb/symfile-mem.c 2009-07-02 19:21:06.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/symfile-mem.c 2009-09-09 19:06:57.000000000 +0200
@@ -56,6 +56,14 @@
#include "elf/common.h"
@@ -53,11 +53,11 @@
if (nbfd == NULL)
error (_("Failed to read a valid object file image from memory."));
-Index: gdb-6.8.50.20090226/gdb/target.c
+Index: gdb-6.8.50.20090909/gdb/target.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/target.c 2009-02-27 00:04:32.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/target.c 2009-02-28 07:22:09.000000000 +0100
-@@ -57,7 +57,7 @@ static int nosymbol (char *, CORE_ADDR *
+--- gdb-6.8.50.20090909.orig/gdb/target.c 2009-09-09 19:05:56.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/target.c 2009-09-09 19:08:11.000000000 +0200
+@@ -59,7 +59,7 @@ static int nosymbol (char *, CORE_ADDR *
static void tcomplain (void) ATTR_NORETURN;
@@ -66,16 +66,16 @@
static int return_zero (void);
-@@ -286,7 +286,7 @@ target_create_inferior (char *exec_file,
+@@ -492,7 +492,7 @@ target_terminal_inferior (void)
+ (*current_target.to_terminal_inferior) ();
}
-
-static int
+static LONGEST
nomemory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct target_ops *t)
{
-@@ -507,7 +507,7 @@ update_current_target (void)
+@@ -711,7 +711,7 @@ update_current_target (void)
(void (*) (struct regcache *))
noprocess);
de_fault (deprecated_xfer_memory,
@@ -84,25 +84,34 @@
nomemory);
de_fault (to_files_info,
(void (*) (struct target_ops *))
-@@ -1237,7 +1237,7 @@ target_xfer_partial (struct target_ops *
+@@ -1443,7 +1443,7 @@ target_xfer_partial (struct target_ops *
it makes no progress, and then return how much was transferred). */
int
-target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
+target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len)
{
- if (target_read (¤t_target, TARGET_OBJECT_MEMORY, NULL,
- myaddr, memaddr, len) == len)
-@@ -1247,7 +1247,7 @@ target_read_memory (CORE_ADDR memaddr, g
+ /* Dispatch to the topmost target, not the flattened current_target.
+ Memory accesses check target->to_has_(all_)memory, and the
+@@ -1459,7 +1459,7 @@ target_read_memory (CORE_ADDR memaddr, g
+ the target's stack. This may trigger different cache behavior. */
+
+ int
+-target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
++target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len)
+ {
+ /* Dispatch to the topmost target, not the flattened current_target.
+ Memory accesses check target->to_has_(all_)memory, and the
+@@ -1473,7 +1473,7 @@ target_read_stack (CORE_ADDR memaddr, gd
}
int
-target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, int len)
+target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, LONGEST len)
{
- if (target_write (¤t_target, TARGET_OBJECT_MEMORY, NULL,
- myaddr, memaddr, len) == len)
-@@ -2777,8 +2777,8 @@ debug_to_prepare_to_store (struct regcac
+ /* Dispatch to the topmost target, not the flattened current_target.
+ Memory accesses check target->to_has_(all_)memory, and the
+@@ -2964,8 +2964,8 @@ debug_to_prepare_to_store (struct regcac
fprintf_unfiltered (gdb_stdlog, "target_prepare_to_store ()\n");
}
@@ -113,22 +122,22 @@
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
-@@ -2788,8 +2788,8 @@ deprecated_debug_xfer_memory (CORE_ADDR
+@@ -2975,8 +2975,8 @@ deprecated_debug_xfer_memory (CORE_ADDR
attrib, target);
fprintf_unfiltered (gdb_stdlog,
- "target_xfer_memory (%s, xxx, %d, %s, xxx) = %d",
-- paddress (memaddr), len, write ? "write" : "read",
+- paddress (target_gdbarch, memaddr), len,
+ "target_xfer_memory (%s, xxx, %ld, %s, xxx) = %d",
-+ paddress (memaddr), (long) len, write ? "write" : "read",
- retval);
++ paddress (target_gdbarch, memaddr), (long) len,
+ write ? "write" : "read", retval);
if (retval > 0)
-Index: gdb-6.8.50.20090226/gdb/target.h
+Index: gdb-6.8.50.20090909/gdb/target.h
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/target.h 2009-02-27 00:04:32.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/target.h 2009-02-28 07:22:09.000000000 +0100
-@@ -376,10 +376,10 @@ struct target_ops
+--- gdb-6.8.50.20090909.orig/gdb/target.h 2009-09-09 19:05:56.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/target.h 2009-09-09 19:07:36.000000000 +0200
+@@ -366,10 +366,10 @@ struct target_ops
NOTE: cagney/2004-10-01: This has been entirely superseeded by
to_xfer_partial and inferior inheritance. */
@@ -142,76 +151,73 @@
+ struct target_ops *target);
void (*to_files_info) (struct target_ops *);
- int (*to_insert_breakpoint) (struct bp_target_info *);
-@@ -679,13 +679,14 @@ extern DCACHE *target_dcache;
+ int (*to_insert_breakpoint) (struct gdbarch *, struct bp_target_info *);
+@@ -680,12 +680,12 @@ extern void target_dcache_invalidate (vo
extern int target_read_string (CORE_ADDR, char **, int, int *);
-extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len);
-+extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr,
-+ LONGEST len);
++extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len);
+
+-extern int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, int len);
++extern int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len);
extern int target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr,
- int len);
+ LONGEST len);
--extern int xfer_memory (CORE_ADDR, gdb_byte *, int, int,
-- struct mem_attrib *, struct target_ops *);
-+extern LONGEST xfer_memory (CORE_ADDR, gdb_byte *, LONGEST, int,
-+ struct mem_attrib *, struct target_ops *);
-
/* Fetches the target's memory map. If one is found it is sorted
and returned, after some consistency checking. Otherwise, NULL
-Index: gdb-6.8.50.20090226/gdb/dcache.c
+Index: gdb-6.8.50.20090909/gdb/dcache.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/dcache.c 2009-01-03 06:57:51.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/dcache.c 2009-02-28 07:22:09.000000000 +0100
-@@ -524,9 +524,9 @@ dcache_free (DCACHE *dcache)
+--- gdb-6.8.50.20090909.orig/gdb/dcache.c 2009-08-31 22:18:45.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/dcache.c 2009-09-09 19:09:21.000000000 +0200
+@@ -390,10 +390,10 @@ dcache_free (DCACHE *dcache)
- This routine is indended to be called by remote_xfer_ functions. */
+ The meaning of the result is the same as for target_write. */
-int
+LONGEST
- dcache_xfer_memory (DCACHE *dcache, CORE_ADDR memaddr, gdb_byte *myaddr,
+ dcache_xfer_memory (struct target_ops *ops, DCACHE *dcache,
+ CORE_ADDR memaddr, gdb_byte *myaddr,
- int len, int should_write)
+ LONGEST len, int should_write)
{
int i;
- int (*xfunc) (DCACHE *dcache, CORE_ADDR addr, gdb_byte *ptr);
-Index: gdb-6.8.50.20090226/gdb/dcache.h
+ int res;
+Index: gdb-6.8.50.20090909/gdb/dcache.h
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/dcache.h 2009-01-03 06:57:51.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/dcache.h 2009-02-28 07:22:09.000000000 +0100
-@@ -35,7 +35,7 @@ void dcache_free (DCACHE *);
+--- gdb-6.8.50.20090909.orig/gdb/dcache.h 2009-08-31 22:18:45.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/dcache.h 2009-09-09 19:08:54.000000000 +0200
+@@ -35,8 +35,8 @@ void dcache_free (DCACHE *);
/* Simple to call from <remote>_xfer_memory */
--int dcache_xfer_memory (DCACHE *cache, CORE_ADDR mem, gdb_byte *my,
-- int len, int should_write);
-+LONGEST dcache_xfer_memory (DCACHE *cache, CORE_ADDR mem, gdb_byte *my,
-+ LONGEST len, int should_write);
-
- #endif /* DCACHE_H */
-Index: gdb-6.8.50.20090226/gdb/exec.c
+-int dcache_xfer_memory (struct target_ops *ops, DCACHE *cache, CORE_ADDR mem,
+- gdb_byte *my, int len, int should_write);
++LONGEST dcache_xfer_memory (struct target_ops *ops, DCACHE *cache, CORE_ADDR mem,
++ gdb_byte *my, LONGEST len, int should_write);
+
+ void dcache_update (DCACHE *dcache, CORE_ADDR memaddr, gdb_byte *myaddr,
+ int len);
+Index: gdb-6.8.50.20090909/gdb/exec.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/exec.c 2009-02-22 20:35:47.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/exec.c 2009-02-28 07:22:09.000000000 +0100
-@@ -464,8 +464,8 @@ map_vmap (bfd *abfd, bfd *arch)
- The same routine is used to handle both core and exec files;
- we just tail-call it with more arguments to select between them. */
+--- gdb-6.8.50.20090909.orig/gdb/exec.c 2009-07-02 19:21:06.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/exec.c 2009-09-09 19:06:57.000000000 +0200
+@@ -560,7 +560,7 @@ map_vmap (bfd *abfd, bfd *arch)
+ }
+
-int
--xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write,
+LONGEST
-+xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len, int write,
- struct mem_attrib *attrib, struct target_ops *target)
- {
- int res;
-Index: gdb-6.8.50.20090226/gdb/linux-nat.c
+ section_table_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf,
+ ULONGEST offset, LONGEST len,
+ struct target_section *sections,
+Index: gdb-6.8.50.20090909/gdb/linux-nat.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/linux-nat.c 2009-02-28 07:22:02.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/linux-nat.c 2009-02-28 07:22:32.000000000 +0100
-@@ -4407,7 +4407,7 @@ linux_xfer_partial (struct target_ops *o
+--- gdb-6.8.50.20090909.orig/gdb/linux-nat.c 2009-09-09 19:06:46.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/linux-nat.c 2009-09-09 19:06:57.000000000 +0200
+@@ -4622,7 +4622,7 @@ linux_xfer_partial (struct target_ops *o
#endif
if (iterate_over_lwps (ia64_linux_check_stack_region, &range) != NULL)
{ /* This region contains ia64 rse registers, we have to re-read. */
@@ -220,10 +226,10 @@
/* Re-read register stack area. */
xxfer = super_xfer_partial (ops, object, annex,
-Index: gdb-6.8.50.20090226/gdb/remote.c
+Index: gdb-6.8.50.20090909/gdb/remote.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/remote.c 2009-02-25 03:14:22.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/remote.c 2009-02-28 07:22:09.000000000 +0100
+--- gdb-6.8.50.20090909.orig/gdb/remote.c 2009-08-18 18:17:16.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/remote.c 2009-09-09 19:06:57.000000000 +0200
@@ -25,6 +25,7 @@
#include "gdb_string.h"
#include <ctype.h>
@@ -232,7 +238,7 @@
#include "inferior.h"
#include "bfd.h"
#include "symfile.h"
-@@ -5683,12 +5684,19 @@ handle_notification (char *buf, size_t l
+@@ -5764,12 +5765,19 @@ handle_notification (char *buf, size_t l
if SHOULD_WRITE is nonzero. Returns length of data written or
read; 0 for error. TARGET is unused. */
@@ -254,7 +260,7 @@
set_general_thread (inferior_ptid);
-@@ -5697,7 +5705,7 @@ remote_xfer_memory (CORE_ADDR mem_addr,
+@@ -5778,7 +5786,7 @@ remote_xfer_memory (CORE_ADDR mem_addr,
else
res = remote_read_bytes (mem_addr, buffer, mem_len);
@@ -263,11 +269,11 @@
}
/* Sends a packet with content determined by the printf format string
-Index: gdb-6.8.50.20090226/gdb/remote-sim.c
+Index: gdb-6.8.50.20090909/gdb/remote-sim.c
===================================================================
---- gdb-6.8.50.20090226.orig/gdb/remote-sim.c 2009-02-23 19:31:23.000000000 +0100
-+++ gdb-6.8.50.20090226/gdb/remote-sim.c 2009-02-28 07:22:09.000000000 +0100
-@@ -754,11 +754,14 @@ gdbsim_prepare_to_store (struct regcache
+--- gdb-6.8.50.20090909.orig/gdb/remote-sim.c 2009-07-02 19:21:06.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/remote-sim.c 2009-09-09 19:06:57.000000000 +0200
+@@ -752,11 +752,14 @@ gdbsim_prepare_to_store (struct regcache
Returns the number of bytes transferred. */
@@ -284,33 +290,16 @@
/* If no program is running yet, then ignore the simulator for
memory. Pass the request down to the next target, hopefully
an exec file. */
-@@ -774,22 +777,22 @@ gdbsim_xfer_inferior_memory (CORE_ADDR m
- printf_filtered ("gdbsim_xfer_inferior_memory: myaddr 0x");
- gdb_print_host_address (myaddr, gdb_stdout);
- printf_filtered (", memaddr 0x%s, len %d, write %d\n",
-- paddr_nz (memaddr), len, write);
-+ paddr_nz (memaddr), xfer_len, write);
- if (remote_debug && write)
-- dump_mem (myaddr, len);
-+ dump_mem (myaddr, xfer_len);
- }
-
- if (write)
- {
-- len = sim_write (gdbsim_desc, memaddr, myaddr, len);
-+ xfer_len = sim_write (gdbsim_desc, memaddr, myaddr, xfer_len);
- }
- else
- {
-- len = sim_read (gdbsim_desc, memaddr, myaddr, len);
-- if (remote_debug && len > 0)
-- dump_mem (myaddr, len);
-+ xfer_len = sim_read (gdbsim_desc, memaddr, myaddr, xfer_len);
-+ if (remote_debug && xfer_len > 0)
-+ dump_mem (myaddr, xfer_len);
- }
-- return len;
-+ return (LONGEST)xfer_len;
- }
-
- static void
+Index: gdb-6.8.50.20090909/gdb/exec.h
+===================================================================
+--- gdb-6.8.50.20090909.orig/gdb/exec.h 2009-06-12 20:38:36.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/exec.h 2009-09-09 19:06:57.000000000 +0200
+@@ -56,7 +56,7 @@ extern int resize_section_table (struct
+
+ One, and only one, of readbuf or writebuf must be non-NULL. */
+
+-extern int section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
++extern LONGEST section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
+ ULONGEST, LONGEST,
+ struct target_section *,
+ struct target_section *,
================================================================
Index: packages/gdb/gdb-6.3-mapping-zero-inode-test.patch
diff -u packages/gdb/gdb-6.3-mapping-zero-inode-test.patch:1.1 packages/gdb/gdb-6.3-mapping-zero-inode-test.patch:1.2
--- packages/gdb/gdb-6.3-mapping-zero-inode-test.patch:1.1 Mon Mar 23 00:27:57 2009
+++ packages/gdb/gdb-6.3-mapping-zero-inode-test.patch Tue Dec 8 00:29:15 2009
@@ -1,7 +1,9 @@
---- /dev/null 2008-05-02 23:36:22.370004160 +0200
-+++ gdb-6.8/gdb/testsuite/gdb.base/gcore-shmid0.exp 2008-05-03 22:36:56.000000000 +0200
-@@ -0,0 +1,120 @@
-+# Copyright 2007 Free Software Foundation, Inc.
+Index: gdb-6.8.50.20090302/gdb/testsuite/gdb.base/gcore-shmid0.exp
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090302/gdb/testsuite/gdb.base/gcore-shmid0.exp 2009-06-29 16:24:36.000000000 +0200
+@@ -0,0 +1,96 @@
++# Copyright 2007, 2009 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
@@ -17,43 +19,22 @@
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
-+# Please email any bugs, comments, and/or additions to this file to:
<<Diff was trimmed, longer than 597 lines>>
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-gcore-thread-20050204.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-gstack-20050411.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-gstack-without-path-20060414.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ia64-gcore-speedup-20050714.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-inheritancetest-20050726.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-large-core-20051206.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-mapping-zero-inode-test.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-pie-20050110.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ppc64syscall-20040622.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ppcdotsolib-20041022.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-readnever-20050907.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-rh-testlibunwind-20041202.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-test-pie-20050107.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-threaded-watchpoints2-20050225.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz190810-gdbserver-arch-advice.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz203661-emit-relocs.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz216711-clone-is-outermost.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-gcore-i386-on-amd64.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-buildid-locate-rpm.patch?r1=1.3&r2=1.4&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-buildid-locate.patch?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-scheduler_locking-step-is-default.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-step-thread-exit.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.7-testsuite-stable-results.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-attach-signalled-detach-stopped.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-bz254229-gcore-prpsinfo.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-bz457187-largefile.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-bz466901-backtrace-full-prelinked.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-constant-watchpoints.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-fortran-tag-constant.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-inlining-addon.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-archer.patch?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb.spec?r1=1.114&r2=1.115&f=u
More information about the pld-cvs-commit
mailing list