openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2009
- 2 participants
- 794 discussions
Hello community,
here is the log from the commit of package libvirt for openSUSE:Factory
checked in at Sun Sep 27 00:09:53 CEST 2009.
--------
--- libvirt/libvirt.changes 2009-08-26 23:59:29.000000000 +0200
+++ /mounts/work_src_done/STABLE/libvirt/libvirt.changes 2009-09-25 19:44:16.000000000 +0200
@@ -1,0 +2,26 @@
+Fri Sep 25 11:41:23 MDT 2009 - jfehlig(a)novell.com
+
+- Fix abort in virsh when specifying a connection URI
+ vshdeinit-recurse.patch
+
+-------------------------------------------------------------------
+Wed Sep 23 11:10:37 MDT 2009 - jfehlig(a)novell.com
+
+- Workaround for missing pkgconfig file in device-mapper-devel
+ devmap-no-pkgconfig.patch
+ bnc#540942
+
+-------------------------------------------------------------------
+Mon Sep 21 10:30:02 MDT 2009 - jfehlig(a)novell.com
+
+- Updated to version 0.7.1
+ - Add support for encrypted (qcow) volume creation
+ - Secret manipulation public API
+ - Multipath storage support module
+ - VBox add Storage Volume support
+ - Support configuration of huge pages in guests
+ - Support new PolicyKit 1.0 API
+ - Compressed save image format for Qemu
+ - Qemu add host PCI device hotplug support
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
fs-storage-driver.patch
libvirt-0.7.0.tar.bz2
vnc-port.patch
New:
----
devmap-no-pkgconfig.patch
libvirt-0.7.1.tar.bz2
vshdeinit-recurse.patch
xen-refcnt.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvirt.spec ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:08:48.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:08:48.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libvirt (Version 0.7.0)
+# spec file for package libvirt (Version 0.7.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -30,7 +30,7 @@
%endif
Name: libvirt
-BuildRequires: PolicyKit-devel bridge-utils cyrus-sasl-devel fdupes gettext gnutls-devel hal-devel iptables-devel libxml2-devel lvm2 ncurses-devel parted-devel pkg-config python-devel readline-devel util-linux xhtml-dtd
+BuildRequires: bridge-utils cyrus-sasl-devel device-mapper-devel fdupes gettext gnutls-devel hal-devel iptables-devel libxml2-devel lvm2 ncurses-devel parted-devel pkg-config python-devel readline-devel util-linux xhtml-dtd
%if %{with_xen}
BuildRequires: xen-devel
%endif
@@ -45,13 +45,18 @@
%ifarch x86_64 ia64
BuildRequires: libnuma-devel
%endif
+%if 0%{?suse_version} > 1110
+BuildRequires: polkit >= 0.9
+%else
+BuildRequires: PolicyKit-devel >= 0.6
+%endif
# Only for directory ownership:
BuildRequires: gtk-doc
Url: http://libvirt.org/
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
AutoReqProv: yes
-Version: 0.7.0
+Version: 0.7.1
Release: 1
Summary: A C toolkit to interract with the virtualization capabilities of Linux
Requires: readline
@@ -70,19 +75,27 @@
Requires: open-iscsi
Requires: nfs-client
Requires: hal
+%if 0%{?suse_version} > 1100
+Requires: polkit >= 0.9
+%else
+Requires: PolicyKit >= 0.6
+%endif
Source0: %{name}-%{version}.tar.bz2
Source1: libvirtd.init
-Patch0: socat.patch
-Patch1: libvirtd-defaults.patch
-Patch2: fs-storage-driver.patch
-Patch3: clone.patch
-Patch4: vnc-port.patch
-Patch5: xen-pv-cdrom.patch
-Patch6: detach-disk.patch
-Patch7: migrate-params.patch
-Patch8: suse-network.patch
-Patch9: snapshots.patch
-Patch10: sexpr2string.patch
+# Upstream patches
+Patch0: devmap-no-pkgconfig.patch
+# Need to go upstream
+Patch100: socat.patch
+Patch101: clone.patch
+Patch102: migrate-params.patch
+Patch103: xen-pv-cdrom.patch
+Patch104: detach-disk.patch
+Patch105: vshdeinit-recurse.patch
+Patch106: xen-refcnt.patch
+# Our patches
+Patch200: libvirtd-defaults.patch
+Patch201: suse-network.patch
+Patch202: snapshots.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -175,16 +188,16 @@
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-#%patch2 -p1
-%patch3
-#%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
+%patch100 -p1
+%patch101
+%patch102 -p1
+%patch103 -p1
+%patch104 -p1
+%patch105 -p1
+%patch106 -p1
+%patch200 -p1
+%patch201 -p1
+%patch202 -p1
%build
%if ! %{with_xen}
@@ -292,7 +305,9 @@
%config %{_sysconfdir}/libvirt/libvirtd.conf
%config %{_sysconfdir}/libvirt/qemu.conf
%config %{_sysconfdir}/sasl2/libvirt.conf
-%if 0%{?suse_version} > 1030
+%if 0%{?suse_version} > 1110
+%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
+%else
%{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
%endif
%{_datadir}/libvirt
++++++ clone.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:08:48.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:08:48.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- src/lxc_container.c.orig
+++ src/lxc_container.c
-@@ -791,6 +791,9 @@ int lxcContainerStart(virDomainDefPtr de
+@@ -796,6 +796,9 @@ int lxcContainerStart(virDomainDefPtr de
lxc_child_argv_t args = { def, nveths, veths, control, ttyPath };
/* allocate a stack for the container */
@@ -12,7 +12,7 @@
if (VIR_ALLOC_N(stack, stacksize) < 0) {
virReportOOMError(NULL);
return -1;
-@@ -805,7 +808,11 @@ int lxcContainerStart(virDomainDefPtr de
+@@ -810,7 +813,11 @@ int lxcContainerStart(virDomainDefPtr de
if (def->nets != NULL)
flags |= CLONE_NEWNET;
@@ -24,7 +24,7 @@
VIR_FREE(stack);
DEBUG("clone() returned, %d", pid);
-@@ -831,6 +838,7 @@ int lxcContainerAvailable(int features)
+@@ -836,6 +843,7 @@ int lxcContainerAvailable(int features)
char *childStack;
char *stack;
int childStatus;
@@ -32,7 +32,7 @@
if (features & LXC_CONTAINER_FEATURE_USER)
flags |= CLONE_NEWUSER;
-@@ -838,14 +846,21 @@ int lxcContainerAvailable(int features)
+@@ -843,14 +851,21 @@ int lxcContainerAvailable(int features)
if (features & LXC_CONTAINER_FEATURE_NET)
flags |= CLONE_NEWNET;
++++++ detach-disk.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:08:48.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:08:48.000000000 +0200
@@ -1,8 +1,8 @@
-Index: libvirt-0.6.5/src/xend_internal.c
+Index: libvirt-0.7.1/src/xend_internal.c
===================================================================
---- libvirt-0.6.5.orig/src/xend_internal.c
-+++ libvirt-0.6.5/src/xend_internal.c
-@@ -5857,7 +5857,7 @@ virDomainXMLDevID(virDomainPtr domain,
+--- libvirt-0.7.1.orig/src/xend_internal.c
++++ libvirt-0.7.1/src/xend_internal.c
+@@ -5877,7 +5877,7 @@ virDomainXMLDevID(virDomainPtr domain,
return -1;
xenUnifiedLock(priv);
xref = xenStoreDomainGetDiskID(domain->conn, domain->id,
@@ -11,10 +11,10 @@
xenUnifiedUnlock(priv);
if (xref == NULL)
return -1;
-Index: libvirt-0.6.5/src/xs_internal.c
+Index: libvirt-0.7.1/src/xs_internal.c
===================================================================
---- libvirt-0.6.5.orig/src/xs_internal.c
-+++ libvirt-0.6.5/src/xs_internal.c
+--- libvirt-0.7.1.orig/src/xs_internal.c
++++ libvirt-0.7.1/src/xs_internal.c
@@ -966,7 +966,8 @@ xenStoreDomainGetNetworkID(virConnectPtr
* freed by the caller.
*/
@@ -34,10 +34,10 @@
list = xs_directory(priv->xshandle, 0, dir, &num);
if (list != NULL) {
for (i = 0; i < num; i++) {
-Index: libvirt-0.6.5/src/xs_internal.h
+Index: libvirt-0.7.1/src/xs_internal.h
===================================================================
---- libvirt-0.6.5.orig/src/xs_internal.h
-+++ libvirt-0.6.5/src/xs_internal.h
+--- libvirt-0.7.1.orig/src/xs_internal.h
++++ libvirt-0.7.1/src/xs_internal.h
@@ -49,7 +49,8 @@ char * xenStoreDomainGetNetworkID(virCo
const char *mac);
char * xenStoreDomainGetDiskID(virConnectPtr conn,
++++++ devmap-no-pkgconfig.patch ++++++
diff --git a/configure.in b/configure.in
index cb5ce55..d1711fd 100644
--- a/configure.in
+++ b/configure.in
@@ -1227,11 +1227,22 @@ if test "$with_storage_mpath" = "yes"; then
DEVMAPPER_REQUIRED=0.0
DEVMAPPER_CFLAGS=
DEVMAPPER_LIBS=
- PKG_CHECK_MODULES(DEVMAPPER, devmapper >= $DEVMAPPER_REQUIRED,
- [], [
- AC_MSG_ERROR(
- [You must install device-mapper-devel >= $DEVMAPPER_REQUIRED to compile libvirt])
- ])
+ PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= $DEVMAPPER_REQUIRED], [], [DEVMAPPER_FOUND=no])
+ if test "$DEVMAPPER_FOUND" = "no"; then
+ # devmapper is missing pkg-config files in ubuntu, suse, etc
+ save_LIBS="$LIBS"
+ save_CFLAGS="$CFLAGS"
+ DEVMAPPER_FOUND=yes
+ AC_CHECK_HEADER([libdevmapper.h],,[DEVMAPPER_FOUND=no])
+ AC_CHECK_LIB([devmapper], [dm_task_run],,[DEVMAPPER_FOUND=no])
+ DEVMAPPER_LIBS="-ldevmapper"
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+ fi
+ if test "$DEVMAPPER_FOUND" = "no" ; then
+ AC_MSG_ERROR([You must install device-mapper-devel/libdevmapper >= $DEVMAPPER_REQUIRED to compile libvirt])
+ fi
+
fi
AC_SUBST([DEVMAPPER_CFLAGS])
AC_SUBST([DEVMAPPER_LIBS])
++++++ libvirt-0.7.0.tar.bz2 -> libvirt-0.7.1.tar.bz2 ++++++
++++ 901143 lines of diff (skipped)
++++++ libvirtd-defaults.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:09:00.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-0.7.0/qemud/libvirtd.conf
+Index: libvirt-0.7.1/qemud/libvirtd.conf
===================================================================
---- libvirt-0.7.0.orig/qemud/libvirtd.conf
-+++ libvirt-0.7.0/qemud/libvirtd.conf
+--- libvirt-0.7.1.orig/qemud/libvirtd.conf
++++ libvirt-0.7.1/qemud/libvirtd.conf
@@ -18,8 +18,8 @@
# It is necessary to setup a CA and issue server certificates before
# using this capability.
@@ -28,12 +28,12 @@
# Override the default mDNS advertizement name. This must be
# unique on the immediate broadcast network.
-Index: libvirt-0.7.0/qemud/qemud.c
+Index: libvirt-0.7.1/qemud/qemud.c
===================================================================
---- libvirt-0.7.0.orig/qemud/qemud.c
-+++ libvirt-0.7.0/qemud/qemud.c
-@@ -138,7 +138,7 @@ static char *log_filters = NULL;
- static char *log_outputs = NULL;
+--- libvirt-0.7.1.orig/qemud/qemud.c
++++ libvirt-0.7.1/qemud/qemud.c
+@@ -134,7 +134,7 @@ static int sigwrite = -1; /* Signa
+ static int ipsock = 0; /* -l Listen for TCP/IP */
/* Defaults for configuration file elements */
-static int listen_tls = 1;
@@ -41,7 +41,7 @@
static int listen_tcp = 0;
static char *listen_addr = (char *) LIBVIRTD_LISTEN_ADDR;
static char *tls_port = (char *) LIBVIRTD_TLS_PORT;
-@@ -160,7 +160,7 @@ static int auth_tcp = REMOTE_AUTH_NONE;
+@@ -156,7 +156,7 @@ static int auth_tcp = REMOTE_AUTH_NONE;
#endif
static int auth_tls = REMOTE_AUTH_NONE;
++++++ snapshots.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:09:00.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-0.7.0/include/libvirt/libvirt.h.in
+Index: libvirt-0.7.1/include/libvirt/libvirt.h.in
===================================================================
---- libvirt-0.7.0.orig/include/libvirt/libvirt.h.in
-+++ libvirt-0.7.0/include/libvirt/libvirt.h.in
+--- libvirt-0.7.1.orig/include/libvirt/libvirt.h.in
++++ libvirt-0.7.1/include/libvirt/libvirt.h.in
@@ -537,6 +537,21 @@ int virDomainRestore
const char *from);
@@ -24,11 +24,11 @@
* Domain core dump
*/
int virDomainCoreDump (virDomainPtr domain,
-Index: libvirt-0.7.0/src/libvirt.c
+Index: libvirt-0.7.1/src/libvirt.c
===================================================================
---- libvirt-0.7.0.orig/src/libvirt.c
-+++ libvirt-0.7.0/src/libvirt.c
-@@ -2198,6 +2198,168 @@ error:
+--- libvirt-0.7.1.orig/src/libvirt.c
++++ libvirt-0.7.1/src/libvirt.c
+@@ -2245,6 +2245,168 @@ error:
return -1;
}
@@ -197,11 +197,11 @@
/**
* virDomainCoreDump:
* @domain: a domain object
-Index: libvirt-0.7.0/src/driver.h
+Index: libvirt-0.7.1/src/driver.h
===================================================================
---- libvirt-0.7.0.orig/src/driver.h
-+++ libvirt-0.7.0/src/driver.h
-@@ -149,6 +149,21 @@ typedef int
+--- libvirt-0.7.1.orig/src/driver.h
++++ libvirt-0.7.1/src/driver.h
+@@ -152,6 +152,21 @@ typedef int
(*virDrvDomainRestore) (virConnectPtr conn,
const char *from);
typedef int
@@ -223,7 +223,7 @@
(*virDrvDomainCoreDump) (virDomainPtr domain,
const char *to,
int flags);
-@@ -424,6 +439,11 @@ struct _virDriver {
+@@ -427,6 +442,11 @@ struct _virDriver {
virDrvNodeDeviceDettach nodeDeviceDettach;
virDrvNodeDeviceReAttach nodeDeviceReAttach;
virDrvNodeDeviceReset nodeDeviceReset;
@@ -235,10 +235,10 @@
};
typedef int
-Index: libvirt-0.7.0/src/xen_unified.c
+Index: libvirt-0.7.1/src/xen_unified.c
===================================================================
---- libvirt-0.7.0.orig/src/xen_unified.c
-+++ libvirt-0.7.0/src/xen_unified.c
+--- libvirt-0.7.1.orig/src/xen_unified.c
++++ libvirt-0.7.1/src/xen_unified.c
@@ -952,6 +952,81 @@ xenUnifiedDomainRestore (virConnectPtr c
}
@@ -333,10 +333,10 @@
};
/**
-Index: libvirt-0.7.0/src/xen_unified.h
+Index: libvirt-0.7.1/src/xen_unified.h
===================================================================
---- libvirt-0.7.0.orig/src/xen_unified.h
-+++ libvirt-0.7.0/src/xen_unified.h
+--- libvirt-0.7.1.orig/src/xen_unified.h
++++ libvirt-0.7.1/src/xen_unified.h
@@ -98,6 +98,11 @@ struct xenUnifiedDriver {
virDrvDomainGetSchedulerType domainGetSchedulerType;
virDrvDomainGetSchedulerParameters domainGetSchedulerParameters;
@@ -349,10 +349,10 @@
};
typedef struct xenXMConfCache *xenXMConfCachePtr;
-Index: libvirt-0.7.0/src/xend_internal.c
+Index: libvirt-0.7.1/src/xend_internal.c
===================================================================
---- libvirt-0.7.0.orig/src/xend_internal.c
-+++ libvirt-0.7.0/src/xend_internal.c
+--- libvirt-0.7.1.orig/src/xend_internal.c
++++ libvirt-0.7.1/src/xend_internal.c
@@ -53,6 +53,12 @@
#ifndef PROXY
@@ -366,7 +366,7 @@
/*
* The number of Xen scheduler parameters
*/
-@@ -3250,6 +3256,87 @@ xenDaemonDomainRestore(virConnectPtr con
+@@ -3248,6 +3254,87 @@ xenDaemonDomainRestore(virConnectPtr con
}
return xend_op(conn, "", "op", "restore", "file", filename, NULL);
}
@@ -454,7 +454,7 @@
#endif /* !PROXY */
/**
-@@ -5052,6 +5139,11 @@ struct xenUnifiedDriver xenDaemonDriver
+@@ -5064,6 +5151,11 @@ struct xenUnifiedDriver xenDaemonDriver
xenDaemonGetSchedulerType, /* domainGetSchedulerType */
xenDaemonGetSchedulerParameters, /* domainGetSchedulerParameters */
xenDaemonSetSchedulerParameters, /* domainSetSchedulerParameters */
@@ -466,10 +466,10 @@
};
/************************************************************************
-Index: libvirt-0.7.0/src/proxy_internal.c
+Index: libvirt-0.7.1/src/proxy_internal.c
===================================================================
---- libvirt-0.7.0.orig/src/proxy_internal.c
-+++ libvirt-0.7.0/src/proxy_internal.c
+--- libvirt-0.7.1.orig/src/proxy_internal.c
++++ libvirt-0.7.1/src/proxy_internal.c
@@ -84,6 +84,11 @@ struct xenUnifiedDriver xenProxyDriver =
NULL, /* domainGetSchedulerType */
NULL, /* domainGetSchedulerParameters */
@@ -482,10 +482,10 @@
};
-Index: libvirt-0.7.0/src/xen_internal.c
+Index: libvirt-0.7.1/src/xen_internal.c
===================================================================
---- libvirt-0.7.0.orig/src/xen_internal.c
-+++ libvirt-0.7.0/src/xen_internal.c
+--- libvirt-0.7.1.orig/src/xen_internal.c
++++ libvirt-0.7.1/src/xen_internal.c
@@ -741,6 +741,11 @@ struct xenUnifiedDriver xenHypervisorDri
xenHypervisorGetSchedulerType, /* domainGetSchedulerType */
xenHypervisorGetSchedulerParameters, /* domainGetSchedulerParameters */
@@ -498,10 +498,10 @@
};
#endif /* !PROXY */
-Index: libvirt-0.7.0/src/xm_internal.c
+Index: libvirt-0.7.1/src/xm_internal.c
===================================================================
---- libvirt-0.7.0.orig/src/xm_internal.c
-+++ libvirt-0.7.0/src/xm_internal.c
+--- libvirt-0.7.1.orig/src/xm_internal.c
++++ libvirt-0.7.1/src/xm_internal.c
@@ -116,6 +116,11 @@ struct xenUnifiedDriver xenXMDriver = {
NULL, /* domainGetSchedulerType */
NULL, /* domainGetSchedulerParameters */
@@ -514,10 +514,10 @@
};
#define xenXMError(conn, code, fmt...) \
-Index: libvirt-0.7.0/src/xs_internal.c
+Index: libvirt-0.7.1/src/xs_internal.c
===================================================================
---- libvirt-0.7.0.orig/src/xs_internal.c
-+++ libvirt-0.7.0/src/xs_internal.c
+--- libvirt-0.7.1.orig/src/xs_internal.c
++++ libvirt-0.7.1/src/xs_internal.c
@@ -83,6 +83,11 @@ struct xenUnifiedDriver xenStoreDriver =
NULL, /* domainGetSchedulerType */
NULL, /* domainGetSchedulerParameters */
@@ -530,11 +530,11 @@
};
#endif /* ! PROXY */
-Index: libvirt-0.7.0/src/virsh.c
+Index: libvirt-0.7.1/src/virsh.c
===================================================================
---- libvirt-0.7.0.orig/src/virsh.c
-+++ libvirt-0.7.0/src/virsh.c
-@@ -1167,6 +1167,189 @@ cmdSave(vshControl *ctl, const vshCmd *c
+--- libvirt-0.7.1.orig/src/virsh.c
++++ libvirt-0.7.1/src/virsh.c
+@@ -1171,6 +1171,189 @@ cmdSave(vshControl *ctl, const vshCmd *c
return ret;
}
@@ -724,7 +724,7 @@
/*
* "schedinfo" command
*/
-@@ -6940,6 +7123,12 @@ static const vshCmdDef commands[] = {
+@@ -7265,6 +7448,12 @@ static const vshCmdDef commands[] = {
{"undefine", cmdUndefine, opts_undefine, info_undefine},
{"uri", cmdURI, NULL, info_uri},
@@ -737,11 +737,11 @@
{"vol-create", cmdVolCreate, opts_vol_create, info_vol_create},
{"vol-create-from", cmdVolCreateFrom, opts_vol_create_from, info_vol_create_from},
{"vol-create-as", cmdVolCreateAs, opts_vol_create_as, info_vol_create_as},
-Index: libvirt-0.7.0/src/lxc_driver.c
+Index: libvirt-0.7.1/src/lxc_driver.c
===================================================================
---- libvirt-0.7.0.orig/src/lxc_driver.c
-+++ libvirt-0.7.0/src/lxc_driver.c
-@@ -1929,6 +1929,11 @@ static virDriver lxcDriver = {
+--- libvirt-0.7.1.orig/src/lxc_driver.c
++++ libvirt-0.7.1/src/lxc_driver.c
+@@ -1931,6 +1931,11 @@ static virDriver lxcDriver = {
NULL, /* nodeDeviceDettach */
NULL, /* nodeDeviceReAttach */
NULL, /* nodeDeviceReset */
@@ -753,10 +753,10 @@
};
static virStateDriver lxcStateDriver = {
-Index: libvirt-0.7.0/src/openvz_driver.c
+Index: libvirt-0.7.1/src/openvz_driver.c
===================================================================
---- libvirt-0.7.0.orig/src/openvz_driver.c
-+++ libvirt-0.7.0/src/openvz_driver.c
+--- libvirt-0.7.1.orig/src/openvz_driver.c
++++ libvirt-0.7.1/src/openvz_driver.c
@@ -1392,6 +1392,11 @@ static virDriver openvzDriver = {
NULL, /* nodeDeviceDettach */
NULL, /* nodeDeviceReAttach */
@@ -769,11 +769,11 @@
};
int openvzRegister(void) {
-Index: libvirt-0.7.0/src/qemu_driver.c
+Index: libvirt-0.7.1/src/qemu_driver.c
===================================================================
---- libvirt-0.7.0.orig/src/qemu_driver.c
-+++ libvirt-0.7.0/src/qemu_driver.c
-@@ -6806,6 +6806,11 @@ static virDriver qemuDriver = {
+--- libvirt-0.7.1.orig/src/qemu_driver.c
++++ libvirt-0.7.1/src/qemu_driver.c
+@@ -7576,6 +7576,11 @@ static virDriver qemuDriver = {
qemudNodeDeviceDettach, /* nodeDeviceDettach */
qemudNodeDeviceReAttach, /* nodeDeviceReAttach */
qemudNodeDeviceReset, /* nodeDeviceReset */
@@ -785,11 +785,11 @@
};
-Index: libvirt-0.7.0/src/test.c
+Index: libvirt-0.7.1/src/test.c
===================================================================
---- libvirt-0.7.0.orig/src/test.c
-+++ libvirt-0.7.0/src/test.c
-@@ -4242,6 +4242,11 @@ static virDriver testDriver = {
+--- libvirt-0.7.1.orig/src/test.c
++++ libvirt-0.7.1/src/test.c
+@@ -4257,6 +4257,11 @@ static virDriver testDriver = {
NULL, /* nodeDeviceDettach */
NULL, /* nodeDeviceReAttach */
NULL, /* nodeDeviceReset */
@@ -801,11 +801,11 @@
};
static virNetworkDriver testNetworkDriver = {
-Index: libvirt-0.7.0/docs/libvirt-api.xml
+Index: libvirt-0.7.1/docs/libvirt-api.xml
===================================================================
---- libvirt-0.7.0.orig/docs/libvirt-api.xml
-+++ libvirt-0.7.0/docs/libvirt-api.xml
-@@ -200,6 +200,11 @@
+--- libvirt-0.7.1.orig/docs/libvirt-api.xml
++++ libvirt-0.7.1/docs/libvirt-api.xml
+@@ -208,6 +208,11 @@
<exports symbol='virInterfaceDefineXML' type='function'/>
<exports symbol='virDomainMigrate' type='function'/>
<exports symbol='virDomainSuspend' type='function'/>
@@ -817,7 +817,7 @@
<exports symbol='virDomainCreateLinux' type='function'/>
<exports symbol='virNodeDeviceGetXMLDesc' type='function'/>
<exports symbol='virEventUpdateHandleFunc' type='function'/>
-@@ -1385,6 +1390,36 @@ see note above'/>
+@@ -1432,6 +1437,36 @@ see note above'/>
<return type='int' info='0 in case of success and -1 in case of failure.'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>
</function>
@@ -854,10 +854,10 @@
<function name='virDomainUndefine' file='libvirt' module='libvirt'>
<info>Undefine a domain but does not stop it if it is running</info>
<return type='int' info='0 in case of success, -1 in case of error'/>
-Index: libvirt-0.7.0/python/libvirt-py.c
+Index: libvirt-0.7.1/python/libvirt-py.c
===================================================================
---- libvirt-0.7.0.orig/python/libvirt-py.c
-+++ libvirt-0.7.0/python/libvirt-py.c
+--- libvirt-0.7.1.orig/python/libvirt-py.c
++++ libvirt-0.7.1/python/libvirt-py.c
@@ -25,6 +25,25 @@ LIBVIRT_END_ALLOW_THREADS;
}
@@ -884,7 +884,7 @@
libvirt_virStorageVolGetKey(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
PyObject *py_retval;
const char * c_retval;
-@@ -1058,6 +1077,25 @@ LIBVIRT_END_ALLOW_THREADS;
+@@ -1151,6 +1170,25 @@ LIBVIRT_END_ALLOW_THREADS;
}
PyObject *
@@ -910,7 +910,7 @@
libvirt_virNetworkDefineXML(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
PyObject *py_retval;
virNetworkPtr c_retval;
-@@ -1093,6 +1131,24 @@ LIBVIRT_END_ALLOW_THREADS;
+@@ -1186,6 +1224,24 @@ LIBVIRT_END_ALLOW_THREADS;
}
PyObject *
@@ -935,7 +935,7 @@
libvirt_virDomainResume(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
PyObject *py_retval;
int c_retval;
-@@ -1108,6 +1164,25 @@ LIBVIRT_BEGIN_ALLOW_THREADS;
+@@ -1201,6 +1257,25 @@ LIBVIRT_BEGIN_ALLOW_THREADS;
LIBVIRT_END_ALLOW_THREADS;
py_retval = libvirt_intWrap((int) c_retval);
return(py_retval);
@@ -961,22 +961,22 @@
}
PyObject *
-Index: libvirt-0.7.0/python/libvirt-py.h
+Index: libvirt-0.7.1/python/libvirt-py.h
===================================================================
---- libvirt-0.7.0.orig/python/libvirt-py.h
-+++ libvirt-0.7.0/python/libvirt-py.h
+--- libvirt-0.7.1.orig/python/libvirt-py.h
++++ libvirt-0.7.1/python/libvirt-py.h
@@ -1,6 +1,7 @@
/* Generated */
PyObject * libvirt_virStoragePoolGetXMLDesc(PyObject *self, PyObject *args);
+PyObject * libvirt_virDomainSnapshotDelete(PyObject *self, PyObject *args);
PyObject * libvirt_virStorageVolGetKey(PyObject *self, PyObject *args);
- PyObject * libvirt_virConnectClose(PyObject *self, PyObject *args);
+ PyObject * libvirt_virDomainUndefine(PyObject *self, PyObject *args);
PyObject * libvirt_virDomainDefineXML(PyObject *self, PyObject *args);
-Index: libvirt-0.7.0/python/libvirt.py
+Index: libvirt-0.7.1/python/libvirt.py
===================================================================
---- libvirt-0.7.0.orig/python/libvirt.py
-+++ libvirt-0.7.0/python/libvirt.py
+--- libvirt-0.7.1.orig/python/libvirt.py
++++ libvirt-0.7.1/python/libvirt.py
@@ -390,6 +390,12 @@ class virDomain:
ret = libvirtmod.virDomainGetName(self._o)
return ret
@@ -1028,10 +1028,10 @@
def pinVcpu(self, vcpu, cpumap):
"""Dynamically change the real CPUs which can be allocated to
a virtual CPU. This function requires privileged access to
-Index: libvirt-0.7.0/python/libvir.c
+Index: libvirt-0.7.1/python/libvir.c
===================================================================
---- libvirt-0.7.0.orig/python/libvir.c
-+++ libvirt-0.7.0/python/libvir.c
+--- libvirt-0.7.1.orig/python/libvir.c
++++ libvirt-0.7.1/python/libvir.c
@@ -1375,6 +1375,35 @@ libvirt_virStoragePoolGetInfo(PyObject *
return(py_retval);
}
@@ -1068,7 +1068,7 @@
static PyObject *
libvirt_virStorageVolGetInfo(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
-@@ -2247,6 +2276,7 @@ static PyMethodDef libvirtMethods[] = {
+@@ -2420,6 +2449,7 @@ static PyMethodDef libvirtMethods[] = {
{(char *) "virDomainSetSchedulerParameters", libvirt_virDomainSetSchedulerParameters, METH_VARARGS, NULL},
{(char *) "virDomainGetVcpus", libvirt_virDomainGetVcpus, METH_VARARGS, NULL},
{(char *) "virDomainPinVcpu", libvirt_virDomainPinVcpu, METH_VARARGS, NULL},
@@ -1076,10 +1076,10 @@
{(char *) "virConnectListStoragePools", libvirt_virConnectListStoragePools, METH_VARARGS, NULL},
{(char *) "virConnectListDefinedStoragePools", libvirt_virConnectListDefinedStoragePools, METH_VARARGS, NULL},
{(char *) "virStoragePoolGetAutostart", libvirt_virStoragePoolGetAutostart, METH_VARARGS, NULL},
-Index: libvirt-0.7.0/python/libvirt-python-api.xml
+Index: libvirt-0.7.1/python/libvirt-python-api.xml
===================================================================
---- libvirt-0.7.0.orig/python/libvirt-python-api.xml
-+++ libvirt-0.7.0/python/libvirt-python-api.xml
+--- libvirt-0.7.1.orig/python/libvirt-python-api.xml
++++ libvirt-0.7.1/python/libvirt-python-api.xml
@@ -135,6 +135,11 @@
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
<arg name='params' type='virSchedParameterPtr' info='pointer to scheduler parameter objects'/>
@@ -1092,22 +1092,22 @@
<function name='virConnectListStoragePools' file='python'>
<info>list the storage pools, stores the pointers to the names in @names</info>
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
-Index: libvirt-0.7.0/python/generator.py
+Index: libvirt-0.7.1/python/generator.py
===================================================================
---- libvirt-0.7.0.orig/python/generator.py
-+++ libvirt-0.7.0/python/generator.py
-@@ -320,6 +320,7 @@ skip_impl = (
+--- libvirt-0.7.1.orig/python/generator.py
++++ libvirt-0.7.1/python/generator.py
+@@ -326,6 +326,7 @@ skip_impl = (
'virDomainSetSchedulerParameters',
'virDomainGetVcpus',
'virDomainPinVcpu',
+ 'virDomainListSnapshots',
- 'virStoragePoolGetUUID',
- 'virStoragePoolGetUUIDString',
- 'virStoragePoolLookupByUUID',
-Index: libvirt-0.7.0/src/libvirt_public.syms
+ 'virSecretGetValue',
+ 'virSecretSetValue',
+ 'virSecretGetUUID',
+Index: libvirt-0.7.1/src/libvirt_public.syms
===================================================================
---- libvirt-0.7.0.orig/src/libvirt_public.syms
-+++ libvirt-0.7.0/src/libvirt_public.syms
+--- libvirt-0.7.1.orig/src/libvirt_public.syms
++++ libvirt-0.7.1/src/libvirt_public.syms
@@ -215,6 +215,11 @@ LIBVIRT_0.4.2 {
LIBVIRT_0.4.5 {
global:
++++++ socat.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:09:00.000000000 +0200
@@ -1,8 +1,8 @@
-Index: libvirt-0.7.0/src/remote_internal.c
+Index: libvirt-0.7.1/src/remote_internal.c
===================================================================
---- libvirt-0.7.0.orig/src/remote_internal.c
-+++ libvirt-0.7.0/src/remote_internal.c
-@@ -726,12 +726,29 @@ doRemoteOpen (virConnectPtr conn,
+--- libvirt-0.7.1.orig/src/remote_internal.c
++++ libvirt-0.7.1/src/remote_internal.c
+@@ -728,12 +728,29 @@ doRemoteOpen (virConnectPtr conn,
cmd_argv[j++] = strdup ("none");
}
cmd_argv[j++] = strdup (priv->hostname);
++++++ suse-network.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:09:00.000000000 +0200
@@ -1,8 +1,8 @@
-Index: libvirt-0.7.0/src/network_conf.c
+Index: libvirt-0.7.1/src/network_conf.c
===================================================================
---- libvirt-0.7.0.orig/src/network_conf.c
-+++ libvirt-0.7.0/src/network_conf.c
-@@ -771,6 +771,137 @@ error:
+--- libvirt-0.7.1.orig/src/network_conf.c
++++ libvirt-0.7.1/src/network_conf.c
+@@ -770,6 +770,137 @@ error:
return NULL;
}
@@ -140,7 +140,7 @@
int virNetworkLoadAllConfigs(virConnectPtr conn,
virNetworkObjListPtr nets,
const char *configDir,
-@@ -810,6 +941,7 @@ int virNetworkLoadAllConfigs(virConnectP
+@@ -809,6 +940,7 @@ int virNetworkLoadAllConfigs(virConnectP
closedir(dir);
@@ -148,10 +148,10 @@
return 0;
}
-Index: libvirt-0.7.0/src/network_conf.h
+Index: libvirt-0.7.1/src/network_conf.h
===================================================================
---- libvirt-0.7.0.orig/src/network_conf.h
-+++ libvirt-0.7.0/src/network_conf.h
+--- libvirt-0.7.1.orig/src/network_conf.h
++++ libvirt-0.7.1/src/network_conf.h
@@ -89,6 +89,7 @@ struct _virNetworkObj {
unsigned int active : 1;
unsigned int autostart : 1;
@@ -160,11 +160,11 @@
virNetworkDefPtr def; /* The current definition */
virNetworkDefPtr newDef; /* New definition to activate at shutdown */
-Index: libvirt-0.7.0/src/network_driver.c
+Index: libvirt-0.7.1/src/network_driver.c
===================================================================
---- libvirt-0.7.0.orig/src/network_driver.c
-+++ libvirt-0.7.0/src/network_driver.c
-@@ -957,6 +957,11 @@ static int networkShutdownNetworkDaemon(
+--- libvirt-0.7.1.orig/src/network_driver.c
++++ libvirt-0.7.1/src/network_driver.c
+@@ -963,6 +963,11 @@ static int networkShutdownNetworkDaemon(
unlink(stateFile);
VIR_FREE(stateFile);
@@ -176,7 +176,7 @@
if (network->dnsmasqPid > 0)
kill(network->dnsmasqPid, SIGTERM);
-@@ -1413,6 +1418,12 @@ static int networkSetAutostart(virNetwor
+@@ -1419,6 +1424,12 @@ static int networkSetAutostart(virNetwor
goto cleanup;
}
++++++ vshdeinit-recurse.patch ++++++
Index: libvirt-0.7.1/src/virsh.c
===================================================================
--- libvirt-0.7.1.orig/src/virsh.c
+++ libvirt-0.7.1/src/virsh.c
@@ -8201,7 +8201,7 @@ vshError(vshControl *ctl, int doexit, co
fputc('\n', stderr);
if (doexit) {
- if (ctl)
+ if (ctl->conn)
vshDeinit(ctl);
exit(EXIT_FAILURE);
}
++++++ xen-pv-cdrom.patch ++++++
--- /var/tmp/diff_new_pack.CavYBD/_old 2009-09-27 00:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.CavYBD/_new 2009-09-27 00:09:00.000000000 +0200
@@ -1,8 +1,8 @@
-Index: libvirt-0.6.5/src/xend_internal.c
+Index: libvirt-0.7.1/src/xend_internal.c
===================================================================
---- libvirt-0.6.5.orig/src/xend_internal.c
-+++ libvirt-0.6.5/src/xend_internal.c
-@@ -5289,7 +5289,10 @@ xenDaemonFormatSxprDisk(virConnectPtr co
+--- libvirt-0.7.1.orig/src/xend_internal.c
++++ libvirt-0.7.1/src/xend_internal.c
+@@ -5306,7 +5306,10 @@ xenDaemonFormatSxprDisk(virConnectPtr co
} else if (def->device == VIR_DOMAIN_DISK_DEVICE_CDROM) {
virBufferVSprintf(buf, "(dev '%s:cdrom')", def->dst);
} else {
++++++ xen-refcnt.patch ++++++
Index: libvirt-0.7.1/src/xen_inotify.c
===================================================================
--- libvirt-0.7.1.orig/src/xen_inotify.c
+++ libvirt-0.7.1/src/xen_inotify.c
@@ -463,7 +463,6 @@ xenInotifyOpen(virConnectPtr conn ATTRIB
DEBUG0("Failed to add inotify handle, disabling events");
}
- virConnectRef(conn);
return 0;
}
@@ -486,7 +485,6 @@ xenInotifyClose(virConnectPtr conn)
if (priv->inotifyWatch != -1)
virEventRemoveHandle(priv->inotifyWatch);
close(priv->inotifyFD);
- virUnrefConnect(conn);
return 0;
}
Index: libvirt-0.7.1/src/xs_internal.c
===================================================================
--- libvirt-0.7.1.orig/src/xs_internal.c
+++ libvirt-0.7.1/src/xs_internal.c
@@ -1140,8 +1140,6 @@ int xenStoreAddWatch(virConnectPtr conn,
list->watches[n] = watch;
list->count++;
- conn->refs++;
-
return xs_watch(priv->xshandle, watch->path, watch->token);
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package ldapcpplib for openSUSE:Factory
checked in at Sun Sep 27 00:07:56 CEST 2009.
--------
--- ldapcpplib/ldapcpplib.changes 2009-02-28 00:37:42.000000000 +0100
+++ /mounts/work_src_done/STABLE/ldapcpplib/ldapcpplib.changes 2009-09-25 15:04:24.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 25 11:56:19 UTC 2009 - rhafer(a)novell.com
+
+- Added missing errorhandling, when trying to read a Entry when
+ the current record in not an entry (bnc#541819)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
ldifreader-errormsg.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ldapcpplib.spec ++++++
--- /var/tmp/diff_new_pack.fCzB2r/_old 2009-09-27 00:07:41.000000000 +0200
+++ /var/tmp/diff_new_pack.fCzB2r/_new 2009-09-27 00:07:41.000000000 +0200
@@ -20,14 +20,15 @@
Name: ldapcpplib
BuildRequires: doxygen gcc-c++ openldap2-devel
-License: BSD 3-Clause; OpenLDAP Public License 2.7
+License: BSD 3-clause (or similar) ; OpenLDAP Public License 2.7
Group: Development/Libraries/C and C++
Summary: C++ API for LDAPv3
Version: 0.1.2
-Release: 2
+Release: 3
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: ldapcpplib-0.1.2-gcc44.patch
+Patch1: ldifreader-errormsg.dif
%description
C++ API for LDAPv3.
@@ -41,7 +42,7 @@
Ralf Haferkamp <rhafer(a)suse.de>
%package -n libldapcpp1
-License: BSD 3-Clause; OpenLDAP Public License 2.7
+License: BSD 3-clause (or similar) ; OpenLDAP Public License 2.7
Summary: C++ API for LDAPv3
AutoReqProv: on
Provides: ldapcpplib = %{version}-%{release}
@@ -59,7 +60,7 @@
Ralf Haferkamp <rhafer(a)suse.de>
%package -n libldapcpp-devel
-License: BSD 3-Clause; OpenLDAP Public License 2.7
+License: BSD 3-clause (or similar) ; OpenLDAP Public License 2.7
Summary: Files for Developing libldapcpp Applications
AutoReqProv: on
Provides: ldapcpplib-devel = %{version}
@@ -80,6 +81,7 @@
%prep
%setup -q
%patch
+%patch1
%build
export CFLAGS="$RPM_OPT_FLAGS"
++++++ ldifreader-errormsg.dif ++++++
Index: src/LdifReader.cpp
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/contrib/ldapc++/src/LdifReader.cpp,v
retrieving revision 1.5
diff -u -r1.5 LdifReader.cpp
--- src/LdifReader.cpp 20 Jun 2008 11:19:12 -0000 1.5
+++ src/LdifReader.cpp 25 Sep 2009 11:52:28 -0000
@@ -179,11 +179,12 @@
LDAPEntry LdifReader::getEntryRecord()
{
+ std::list<stringpair>::const_iterator i = m_currentRecord.begin();
if ( m_curRecType != LDAPMsg::SEARCH_ENTRY )
{
- // Error
+ throw( std::runtime_error( "The LDIF record: '" + i->second +
+ "' is not a valid LDAP Entry" ));
}
- std::list<stringpair>::const_iterator i = m_currentRecord.begin();
LDAPEntry resEntry(i->second);
i++;
LDAPAttribute curAttr(i->first);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kdebindings4 for openSUSE:Factory
checked in at Sun Sep 27 00:07:06 CEST 2009.
--------
--- KDE/kdebindings4/kdebindings4.changes 2009-08-28 13:56:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/kdebindings4/kdebindings4.changes 2009-09-24 19:27:14.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 24 17:24:02 UTC 2009 - beineri(a)opensuse.org
+
+- update 4_3_BRANCH.diff
+
+-------------------------------------------------------------------
mono-kde4.changes: same change
python-kde4.changes: same change
ruby-kde4.changes: same change
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebindings4.spec ++++++
--- /var/tmp/diff_new_pack.Zvt93Z/_old 2009-09-27 00:06:40.000000000 +0200
+++ /var/tmp/diff_new_pack.Zvt93Z/_new 2009-09-27 00:06:40.000000000 +0200
@@ -30,7 +30,7 @@
Group: Development/Libraries/KDE
Summary: Bindings for KDE 4.x libraries
Version: 4.3.1
-Release: 1
+Release: 2
Source0: kdebindings-%version.tar.bz2
Patch0: 4_3_BRANCH.diff
Patch1: plasma_no_examples.diff
mono-kde4.spec: same change
python-kde4.spec: same change
ruby-kde4.spec: same change
++++++ 4_3_BRANCH.diff ++++++
--- /var/tmp/diff_new_pack.Zvt93Z/_old 2009-09-27 00:06:40.000000000 +0200
+++ /var/tmp/diff_new_pack.Zvt93Z/_new 2009-09-27 00:06:40.000000000 +0200
@@ -1,7 +1,485 @@
-package: kdelibs-4.1.80.tar.bz2
-kdemod: kdelibs
+package: kdebindings-4.3.1.tar.bz2
+kdemod: kdebindings
--- BRANCH_STATUS
+++ BRANCH_STATUS
@@ -0,0 +1,2 @@
-+current HEAD: 887052
-+svn di between //tags/KDE/4.1.80/kdelibs and //trunk/KDE/kdelibs
++current HEAD: 1027747
++svn di between //tags/KDE/4.3.1/kdebindings and //branches/KDE/4.3/kdebindings
+--- ruby/korundum/ChangeLog
++++ ruby/korundum/ChangeLog
+@@ -1,3 +1,7 @@
++2009-09-22 Richard Dale <richard.j.dale(a)gmail.com>
++ * Fix broken KDE::ConfigGroup.readEntry method. Thanks to Paulo Capriotti
++ for reporting the bug
++
+ 2009-08-04 Richard Dale <richard.j.dale(a)gmail.com>
+ * Enable KDE::ConfigGroup.read_entry() and write_entry() methods to
+ automatically convert args to Qt::Variants as well as the camel case
+--- ruby/korundum/src/lib/KDE/korundum4.rb
++++ ruby/korundum/src/lib/KDE/korundum4.rb
+@@ -318,16 +318,18 @@
+ method_missing(:name, *args)
+ end
+
+- def readEntry(key, default = nil)
+- if default.kind_of?(String) || default.kind_of?(Qt::Variant)
+- return super(key, default)
+- else
+- return super(key, Qt::Variant.new(default)).value
+- end
+- end
++ def readEntry(*args)
++ if args.length < 2
++ return super(*args)
++ elsif args[1].kind_of?(String) || args[1].kind_of?(Qt::Variant)
++ return super(*args)
++ else
++ return super(args[0], Qt::Variant.new(args[1])).value
++ end
++ end
+
+- def read_entry(key, default = nil)
+- readEntry(key, default)
++ def read_entry(*args)
++ readEntry(*args)
+ end
+
+ def writeEntry(key, value, pFlags = KDE::ConfigBase::Normal)
+--- python/pykde4/sip/kio/global.sip
++++ python/pykde4/sip/kio/global.sip
+@@ -210,8 +210,8 @@
+ QString bcpp = it.value ();
+ PyObject *ainst = 0;
+ PyObject *binst = 0;
+- if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL)
+- || ((binst = sipBuildResult (NULL, "N", new QString (bcpp), sipClass_QString)) == NULL)
++ if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipType_QString)) == NULL)
++ || ((binst = sipBuildResult (NULL, "N", new QString (bcpp), sipType_QString)) == NULL)
+ || (PyDict_SetItem (dict, ainst, binst) < 0))
+ {
+ Py_XDECREF (ainst);
+@@ -243,8 +243,8 @@
+ {
+ int iserr = 0;
+
+- acpp = (QString *)sipForceConvertToInstance(aelem, sipClass_QString, NULL, 0, NULL, &iserr);
+- bcpp = (QString *)sipForceConvertToInstance(belem, sipClass_QString, NULL, 0, NULL, &iserr);
++ acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, NULL, 0, NULL, &iserr);
++ bcpp = (QString *)sipForceConvertToType(belem, sipType_QString, NULL, 0, NULL, &iserr);
+
+ if (iserr)
+ {
+--- python/pykde4/sip/kio/kacl.sip
++++ python/pykde4/sip/kio/kacl.sip
+@@ -116,7 +116,7 @@
+ {
+ QString s = (*it).first;
+ ushort u = (*it).second;
+- PyObject *pys = sipBuildResult (NULL, "N", new QString (s), sipClass_QString);
++ PyObject *pys = sipBuildResult (NULL, "N", new QString (s), sipType_QString);
+ if ((pys == NULL) || ((inst = Py_BuildValue ("Ni", pys, u)) == NULL)
+ || PyList_Append (pylist, inst) < 0)
+ {
+@@ -144,7 +144,7 @@
+ {
+ PyObject *elem = PyList_GET_ITEM (sipPy, i);
+ PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0);
+- p1 = *(QString *)sipForceConvertToInstance(pyp1, sipClass_QString, NULL, 0, NULL, &iserr);
++ p1 = *(QString *)sipForceConvertToType(pyp1, sipType_QString, NULL, 0, NULL, &iserr);
+ if (iserr)
+ {
+ *sipIsErr = 1;
+--- python/pykde4/sip/kdecore/typedefs.sip
++++ python/pykde4/sip/kdecore/typedefs.sip
+@@ -134,8 +134,8 @@
+ TYPE1 *t1 = new TYPE1(i.key());
+ TYPE2 *t2 = new TYPE2(i.value());
+
+- PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_TYPE1, sipTransferObj);
+- PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_TYPE2, sipTransferObj);
++ PyObject *t1obj = sipConvertFromNewType(t1, sipType_TYPE1, sipTransferObj);
++ PyObject *t2obj = sipConvertFromNewType(t2, sipType_TYPE2, sipTransferObj);
+
+ if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
+ {
+@@ -175,10 +175,10 @@
+
+ while (PyDict_Next(sipPy, &i, &t1obj, *t2obj))
+ {
+- if (!sipCanConvertToInstance(t1obj, sipClass_TYPE1, SIP_NOT_NONE))
++ if (!sipCanConvertToType(t1obj, sipType_TYPE1, SIP_NOT_NONE))
+ return 0;
+
+- if (!sipCanConvertToInstance(t2obj, sipClass_TYPE2, SIP_NOT_NONE))
++ if (!sipCanConvertToType(t2obj, sipType_TYPE2, SIP_NOT_NONE))
+ return 0;
+ }
+
+@@ -191,13 +191,13 @@
+ {
+ int state1, state2;
+
+- TYPE1 *t1 = reinterpret_cast<TYPE1 *>(sipConvertToInstance(t1obj, sipClass_TYPE1, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
+- TYPE2 *t2 = reinterpret_cast<TYPE2 *>(sipConvertToInstance(t2obj, sipClass_TYPE2, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
++ TYPE1 *t1 = reinterpret_cast<TYPE1 *>(sipConvertToType(t1obj, sipType_TYPE1, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
++ TYPE2 *t2 = reinterpret_cast<TYPE2 *>(sipConvertToType(t2obj, sipType_TYPE2, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t1, sipClass_TYPE1, state1);
+- sipReleaseInstance(t2, sipClass_TYPE2, state2);
++ sipReleaseType(t1, sipType_TYPE1, state1);
++ sipReleaseType(t2, sipType_TYPE2, state2);
+
+ delete qm;
+ return 0;
+@@ -205,8 +205,8 @@
+
+ qm->insert(*t1, t2);
+
+- sipReleaseInstance(t1, sipClass_TYPE1, state1);
+- sipReleaseInstance(t2, sipClass_TYPE2, state2);
++ sipReleaseType(t1, sipType_TYPE1, state1);
++ sipReleaseType(t2, sipType_TYPE2, state2);
+ }
+
+ *sipCppPtr = qm;
+@@ -232,7 +232,7 @@
+
+ KSharedPtr<TYPE> *cPtr = new KSharedPtr<TYPE> (*(KSharedPtr<TYPE> *)sipCpp);
+ TYPE *cpp = cPtr->data ();
+- PyObject *obj = sipConvertFromInstance (cpp, sipClass_TYPE, sipTransferObj);
++ PyObject *obj = sipConvertFromType(cpp, sipType_TYPE, sipTransferObj);
+
+ return obj;
+ %End
+@@ -244,7 +244,7 @@
+ return PyInstance_Check(sipPy);
+
+ int iserr = 0;
+- TYPE *cpp = (TYPE *)sipForceConvertToInstance(sipPy, sipClass_TYPE, NULL, 0, NULL, &iserr);
++ TYPE *cpp = (TYPE *)sipForceConvertToType(sipPy, sipType_TYPE, NULL, 0, NULL, &iserr);
+
+ if (iserr)
+ {
+@@ -385,8 +385,8 @@
+ TYPE1 *t1 = new TYPE1(i.key());
+ TYPE2 *t2 = i.value();
+
+- PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_TYPE1, sipTransferObj);
+- PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_TYPE2, sipTransferObj);
++ PyObject *t1obj = sipConvertFromNewType(t1, sipType_TYPE1, sipTransferObj);
++ PyObject *t2obj = sipConvertFromNewType(t2, sipType_TYPE2, sipTransferObj);
+
+ if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
+ {
+@@ -426,10 +426,10 @@
+
+ while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
+ {
+- if (!sipCanConvertToInstance(t1obj, sipClass_TYPE1, SIP_NOT_NONE))
++ if (!sipCanConvertToType(t1obj, sipType_TYPE1, SIP_NOT_NONE))
+ return 0;
+
+- if (!sipCanConvertToInstance(t2obj, sipClass_TYPE2, SIP_NOT_NONE))
++ if (!sipCanConvertToType(t2obj, sipType_TYPE2, SIP_NOT_NONE))
+ return 0;
+ }
+
+@@ -442,13 +442,13 @@
+ {
+ int state1, state2;
+
+- TYPE1 *t1 = reinterpret_cast<TYPE1 *>(sipConvertToInstance(t1obj, sipClass_TYPE1, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
+- TYPE2 *t2 = reinterpret_cast<TYPE2 *>(sipConvertToInstance(t2obj, sipClass_TYPE2, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
++ TYPE1 *t1 = reinterpret_cast<TYPE1 *>(sipConvertToType(t1obj, sipType_TYPE1, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
++ TYPE2 *t2 = reinterpret_cast<TYPE2 *>(sipConvertToType(t2obj, sipType_TYPE2, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t1, sipClass_TYPE1, state1);
+- sipReleaseInstance(t2, sipClass_TYPE2, state2);
++ sipReleaseType(t1, sipType_TYPE1, state1);
++ sipReleaseType(t2, sipType_TYPE2, state2);
+
+ delete qm;
+ return 0;
+@@ -456,8 +456,8 @@
+
+ qm->insert(*t1, t2);
+
+- sipReleaseInstance(t1, sipClass_TYPE1, state1);
+- sipReleaseInstance(t2, sipClass_TYPE2, state2);
++ sipReleaseType(t1, sipType_TYPE1, state1);
++ sipReleaseType(t2, sipType_TYPE2, state2);
+ }
+
+ *sipCppPtr = qm;
+@@ -486,7 +486,7 @@
+ int i = 0;
+ foreach ((TYPE *)value, set)
+ {
+- PyObject *obj = sipConvertFromNewInstance(value, sipClass_TYPE, sipTransferObj);
++ PyObject *obj = sipConvertFromNewType(value, sipType_TYPE, sipTransferObj);
+ if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0)
+ {
+ Py_DECREF(l);
+@@ -519,7 +519,7 @@
+ return 0;
+
+ for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
+- if (!sipCanConvertToInstance(PyList_GET_ITEM (sipPy, i), sipClass_TYPE, SIP_NOT_NONE))
++ if (!sipCanConvertToType(PyList_GET_ITEM (sipPy, i), sipType_TYPE, SIP_NOT_NONE))
+ return 0;
+ }
+
+@@ -529,11 +529,11 @@
+ {
+ int state;
+
+- TYPE *t = reinterpret_cast<TYPE *>(sipConvertToInstance(PyList_GET_ITEM (l, i), sipClass_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
++ TYPE *t = reinterpret_cast<TYPE *>(sipConvertToType(PyList_GET_ITEM (l, i), sipType_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t, sipClass_TYPE, state);
++ sipReleaseType(t, sipType_TYPE, state);
+
+ delete qs;
+ return 0;
+@@ -541,7 +541,7 @@
+
+ *qs << t;
+
+- sipReleaseInstance(t, sipClass_TYPE, state);
++ sipReleaseType(t, sipType_TYPE, state);
+ }
+
+ *sipCppPtr = qs;
+@@ -570,7 +570,7 @@
+ int i = 0;
+ foreach (TYPE value, set)
+ {
+- PyObject *obj = sipConvertFromNewInstance(&value, sipClass_TYPE, sipTransferObj);
++ PyObject *obj = sipConvertFromNewType(&value, sipType_TYPE, sipTransferObj);
+ if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0)
+ {
+ Py_DECREF(l);
+@@ -603,7 +603,7 @@
+ return 0;
+
+ for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
+- if (!sipCanConvertToInstance(PyList_GET_ITEM (sipPy, i), sipClass_TYPE, SIP_NOT_NONE))
++ if (!sipCanConvertToType(PyList_GET_ITEM (sipPy, i), sipType_TYPE, SIP_NOT_NONE))
+ return 0;
+ }
+
+@@ -613,11 +613,11 @@
+ {
+ int state;
+
+- TYPE *t = reinterpret_cast<TYPE *>(sipConvertToInstance(PyList_GET_ITEM (sipPy, i), sipClass_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
++ TYPE *t = reinterpret_cast<TYPE *>(sipConvertToType(PyList_GET_ITEM (sipPy, i), sipType_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t, sipClass_TYPE, state);
++ sipReleaseType(t, sipType_TYPE, state);
+
+ delete qs;
+ return 0;
+@@ -625,7 +625,7 @@
+
+ *qs << *t;
+
+- sipReleaseInstance(t, sipClass_TYPE, state);
++ sipReleaseType(t, sipType_TYPE, state);
+ }
+
+ *sipCppPtr = qs;
+@@ -647,8 +647,8 @@
+ TYPE1 *t1 = new TYPE1(sipCpp->first);
+ TYPE2 *t2 = new TYPE2(sipCpp->second);
+
+- PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_TYPE1, sipTransferObj);
+- PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_TYPE2, sipTransferObj);
++ PyObject *t1obj = sipConvertFromNewType(t1, sipType_TYPE1, sipTransferObj);
++ PyObject *t2obj = sipConvertFromNewType(t2, sipType_TYPE2, sipTransferObj);
+
+ if (t1obj == NULL || t2obj == NULL)
+ {
+@@ -679,13 +679,13 @@
+ PyObject *t1obj = PyTuple_GET_ITEM(sipPy, 0);
+ PyObject *t2obj = PyTuple_GET_ITEM(sipPy, 1);
+
+- TYPE1 *t1 = reinterpret_cast<TYPE1 *>(sipConvertToInstance(t1obj, sipClass_TYPE1, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
+- TYPE2 *t2 = reinterpret_cast<TYPE2 *>(sipConvertToInstance(t2obj, sipClass_TYPE2, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
++ TYPE1 *t1 = reinterpret_cast<TYPE1 *>(sipConvertToType(t1obj, sipType_TYPE1, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
++ TYPE2 *t2 = reinterpret_cast<TYPE2 *>(sipConvertToType(t2obj, sipType_TYPE2, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t1, sipClass_TYPE1, state1);
+- sipReleaseInstance(t2, sipClass_TYPE2, state2);
++ sipReleaseType(t1, sipType_TYPE1, state1);
++ sipReleaseType(t2, sipType_TYPE2, state2);
+
+ return 0;
+ }
+--- python/pykde4/sip/kdecore/klocalizedstring.sip
++++ python/pykde4/sip/kdecore/klocalizedstring.sip
+@@ -89,14 +89,14 @@
+
+ } else {
+ int state = 0;
+- arg = (QString *)sipForceConvertToInstance(pyarg, sipClass_QString, NULL, SIP_NOT_NONE, &state, &iserr);
++ arg = (QString *)sipForceConvertToType(pyarg, sipType_QString, NULL, SIP_NOT_NONE, &state, &iserr);
+ if (iserr) {
+ *sipIsErr = 1;
+ return QString();
+ }
+
+ result = result.subs(*arg);
+- sipReleaseInstance(arg,sipClass_QString,state);
++ sipReleaseType(arg,sipType_QString,state);
+ arg = 0;
+ }
+ }
+--- python/pykde4/sip/kdecore/kservice.sip
++++ python/pykde4/sip/kdecore/kservice.sip
+@@ -115,7 +115,7 @@
+ KService::Ptr *t = new KService::Ptr (sipCpp->at(i));
+ PyObject *tobj;
+
+- if ((tobj = sipConvertFromNewInstance(t->data(), sipClass_KService, sipTransferObj)) == NULL)
++ if ((tobj = sipConvertFromNewType(t->data(), sipType_KService, sipTransferObj)) == NULL)
+ {
+ Py_DECREF(l);
+ delete t;
+@@ -137,7 +137,7 @@
+ return 0;
+
+ for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
+- if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KService, SIP_NOT_NONE))
++ if (!sipCanConvertToType(PyList_GET_ITEM(sipPy, i), sipType_KService, SIP_NOT_NONE))
+ return 0;
+
+ return 1;
+@@ -148,11 +148,11 @@
+ for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
+ {
+ int state;
+- KService *t = reinterpret_cast<KService *>(sipConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KService, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
++ KService *t = reinterpret_cast<KService *>(sipConvertToType(PyList_GET_ITEM(sipPy, i), sipType_KService, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t, sipClass_KService, state);
++ sipReleaseType(t, sipType_KService, state);
+
+ delete ql;
+ return 0;
+@@ -162,7 +162,7 @@
+
+ ql->append(*tptr);
+
+- sipReleaseInstance(t, sipClass_KService, state);
++ sipReleaseType(t, sipType_KService, state);
+ }
+
+ *sipCppPtr = ql;
+--- python/pykde4/sip/kdecore/kservicetype.sip
++++ python/pykde4/sip/kdecore/kservicetype.sip
+@@ -74,7 +74,7 @@
+ KServiceType::Ptr *t = new KServiceType::Ptr (sipCpp->at(i));
+ PyObject *tobj;
+
+- if ((tobj = sipConvertFromNewInstance(t->data(), sipClass_KServiceType, sipTransferObj)) == NULL)
++ if ((tobj = sipConvertFromNewType(t->data(), sipType_KServiceType, sipTransferObj)) == NULL)
+ {
+ Py_DECREF(l);
+ delete t;
+@@ -96,7 +96,7 @@
+ return 0;
+
+ for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
+- if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KServiceType, SIP_NOT_NONE))
++ if (!sipCanConvertToType(PyList_GET_ITEM(sipPy, i), sipType_KServiceType, SIP_NOT_NONE))
+ return 0;
+
+ return 1;
+@@ -107,11 +107,11 @@
+ for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
+ {
+ int state;
+- KServiceType *t = reinterpret_cast<KServiceType *>(sipConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KServiceType, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
++ KServiceType *t = reinterpret_cast<KServiceType *>(sipConvertToType(PyList_GET_ITEM(sipPy, i), sipType_KServiceType, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t, sipClass_KServiceType, state);
++ sipReleaseType(t, sipType_KServiceType, state);
+
+ delete ql;
+ return 0;
+@@ -121,7 +121,7 @@
+
+ ql->append(*tptr);
+
+- sipReleaseInstance(t, sipClass_KServiceType, state);
++ sipReleaseType(t, sipType_KServiceType, state);
+ }
+
+ *sipCppPtr = ql;
+@@ -152,7 +152,7 @@
+ QString *t1 = new QString (i.key());
+ QVariant::Type t2 = (QVariant::Type) (i.value());
+
+- PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_QString, sipTransferObj);
++ PyObject *t1obj = sipConvertFromNewType(t1, sipType_QString, sipTransferObj);
+ PyObject *t2obj = PyInt_FromLong ((long) t2);
+
+ if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
+@@ -191,7 +191,7 @@
+
+ while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
+ {
+- if (!sipCanConvertToInstance(t1obj, sipClass_QString, SIP_NOT_NONE))
++ if (!sipCanConvertToType(t1obj, sipType_QString, SIP_NOT_NONE))
+ return 0;
+
+ if (!PyInt_Check (t2obj))
+@@ -207,12 +207,12 @@
+ {
+ int state1;
+
+- QString *t1 = reinterpret_cast<QString *>(sipConvertToInstance(t1obj, sipClass_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
++ QString *t1 = reinterpret_cast<QString *>(sipConvertToType(t1obj, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
+ QVariant::Type t2 = (QVariant::Type)PyInt_AS_LONG (t2obj);
+
+ if (*sipIsErr)
+ {
+- sipReleaseInstance(t1, sipClass_QString, state1);
++ sipReleaseType(t1, sipType_QString, state1);
+
+ delete qm;
+ return 0;
+@@ -220,7 +220,7 @@
+
+ qm->insert(*t1, t2);
+
+- sipReleaseInstance(t1, sipClass_QString, state1);
++ sipReleaseType(t1, sipType_QString, state1);
+ }
+
+ *sipCppPtr = qm;
+--- python/krosspython/cxx/Objects.hxx
++++ python/krosspython/cxx/Objects.hxx
+@@ -49,6 +49,7 @@
+ #include <iterator>
+ #include <utility>
+ #include <typeinfo>
++#include <algorithm>
+
+ namespace Py
+ {
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kdebase4-openSUSE for openSUSE:Factory
checked in at Sun Sep 27 00:06:08 CEST 2009.
--------
--- KDE/kdebase4-openSUSE/kdebase4-openSUSE.changes 2009-09-16 00:40:03.000000000 +0200
+++ /mounts/work_src_done/STABLE/kdebase4-openSUSE/kdebase4-openSUSE.changes 2009-09-25 19:50:23.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Sep 25 09:08:26 UTC 2009 - beineri(a)opensuse.org
+
+- updated translations
+- adapt kdm list background color to rest of theme
+- sysinfo:/ label and (un)mount fixes (bnc#533851, bnc#509125)
+
+-------------------------------------------------------------------
+Tue Sep 22 20:02:01 UTC 2009 - llunak(a)novell.com
+
+- kdeui about branding
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebase4-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.ugrBTu/_old 2009-09-27 00:06:01.000000000 +0200
+++ /var/tmp/diff_new_pack.ugrBTu/_new 2009-09-27 00:06:01.000000000 +0200
@@ -26,7 +26,7 @@
PreReq: %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 11.2
-Release: 26
+Release: 27
# git clone git://git.opensuse.org/projects/desktop/kdebase4-openSUSE.git
Source0: kdebase4-openSUSE-%{version}.tar.bz2
Source2: devel-splash.tar.bz2
@@ -181,6 +181,26 @@
--------
The KDE Team <kde(a)kde.org>
+%package -n kdelibs4-branding-openSUSE
+License: LGPL v2.1 or later
+Summary: KDE Base Libraries: Build Environment
+Group: System/GUI/KDE
+Requires: kdelibs4
+Supplements: packageand(kdelibs4:branding-openSUSE)
+Provides: kdelibs4-branding = 11.2
+Conflicts: otherproviders(kdelibs4-branding)
+
+%description -n kdelibs4-branding-openSUSE
+This package contains all necessary include files and libraries needed
+to develop KDE applications.
+
+
+
+Authors:
+--------
+ The KDE Team <kde(a)kde.org>
+
+
%if %suse_version > 1030
%lang_package
%endif
@@ -320,4 +340,9 @@
/usr/share/kde4/apps/kdm/pics
/var/adm/fillup-templates/sysconfig.displaymanager-kdm
+%files -n kdelibs4-branding-openSUSE
+%defattr(-,root,root)
+%doc branding/COPYING
+%_kde4_appsdir/kdeui/about/body-background.jpg
+
%changelog
++++++ kdebase4-openSUSE-11.2.tar.bz2 ++++++
KDE/kdebase4-openSUSE/kdebase4-openSUSE-11.2.tar.bz2 /mounts/work_src_done/STABLE/kdebase4-openSUSE/kdebase4-openSUSE-11.2.tar.bz2 differ: char 11, line 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package ibmrtpkgs for openSUSE:Factory
checked in at Sun Sep 27 00:05:01 CEST 2009.
--------
--- ibmrtpkgs/ibmrtpkgs.changes 2009-08-26 00:02:02.000000000 +0200
+++ /mounts/work_src_done/STABLE/ibmrtpkgs/ibmrtpkgs.changes 2009-09-24 20:37:27.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Sep 24 12:33:22 MDT 2009 - alext(a)suse.de
+
+- Added ibm-prtmd patch from bnc#533813 with updated support
+ for i7 core based systems.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
bnc533813_update_to_ibm-prtmd.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ibmrtpkgs.spec ++++++
--- /var/tmp/diff_new_pack.X5cNnL/_old 2009-09-27 00:04:30.000000000 +0200
+++ /var/tmp/diff_new_pack.X5cNnL/_new 2009-09-27 00:04:30.000000000 +0200
@@ -21,7 +21,7 @@
Url: http://www10.software.ibm.com/developerworks/opensource/linux390
Summary: IBM Utilities for SLERT
Version: 2
-Release: 11
+Release: 12
PreReq: %insserv_prereq %fillup_prereq
License: GPL v3 only
Group: System/Management
@@ -41,6 +41,7 @@
Patch13: correct-nice-for-realtime-bnc464343.patch
Patch14: bnc481626_ibm-prtm-patch_edac.diff
Patch15: bug-531508_rtcheck_slert_fix_for_2.6.31.patch
+Patch16: bnc533813_update_to_ibm-prtmd.patch
AutoReqProv: yes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -73,6 +74,7 @@
%patch13 -p1
%patch14 -p1
%patch15 -p1
+%patch16 -p1
%build
export OPT_FLAGS="$RPM_OPT_FLAGS"
++++++ bnc533813_update_to_ibm-prtmd.patch ++++++
diff -Napur ibmrtpkgs-2/ibm-prtm/ibm-prtmd ibmrtpkgs-2.new/ibm-prtm/ibm-prtmd
--- ibmrtpkgs-2/ibm-prtm/ibm-prtmd 2009-09-24 11:53:50.000000000 -0600
+++ ibmrtpkgs-2.new/ibm-prtm/ibm-prtmd 2009-09-24 11:54:21.000000000 -0600
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# ex: set encoding=utf8 tabstop=4 expandtab shiftwidth=4 softtabstop=4:
#
# © Copyright IBM Corp. 2008. All Rights Reserved.
@@ -41,7 +41,7 @@ def detach_tty():
childpid = os.fork()
if childpid < 0:
die("fork failed")
- elif childpid > 0:
+ elif childpid > 0:
sys.exit(0)
# lose controlling tty
@@ -63,7 +63,7 @@ def detach_tty():
sys.exit(0)
def daemonize (logfile=None):
- if os.getppid() != 1:
+ if os.getppid() != 1:
detach_tty()
os.close(0)
@@ -162,7 +162,7 @@ class Edac(object):
dmi_record = {"dimm": re.compile(r"Locator: (?P<dimm>DIMM\d+)"),
"size": re.compile(r"Size: (?P<size>\d+) MB")}
- dmi_handle = r"Handle [A-F\d]x[A-F\d]{4}\, DMI type \d+\, \d+ bytes\."
+ dmi_handle = r"Handle 0x[A-F\d]{4}\, DMI type \d+\, \d+ bytes[\s,.]*"
count = 0
dmi_list = []
@@ -377,6 +377,11 @@ class ls21_edac(amd_edac):
def fixup_tables(self):
order = None
super(ls21_edac, self).fixup_tables(order);
+ for ch in self.edac_data:
+ if ch["dimm"] % 2 == 0:
+ ch["dimm"] -= 1
+ else:
+ ch["dimm"] += 1
class ls22_edac(amd_edac):
edac_mc_name = 'Family-F10h-Quad-Core'
@@ -391,7 +396,7 @@ class ls22_edac(amd_edac):
return os.popen(exec_str).readlines() != []
def fixup_tables(self):
- order = 2,4,1,3,6,8,5,7
+ order = 4,2,3,1,8,6,7,5
super(ls22_edac, self).fixup_tables(order);
class hs21_edac(Edac):
@@ -416,9 +421,91 @@ class hs21_edac(Edac):
# With the channels sorted toplogy always looks like
order=4,2,5,7,4,2,5,7,3,1,6,8,3,1,6,8
- for channel in range(0,len(ch_list)):
+ for channel in range(len(ch_list)):
ch_list[channel]["dimm"] = order[channel]
+class i7core_hs22(Edac):
+ edac_mc_name = 'i7 Core'
+ def __init__(self):
+ super(i7core_hs22, self).__init__()
+
+ @staticmethod
+ def probe():
+ # check for i7 core memory controller and 7870 machine type
+ exec_str = "grep '%s' %s" % (
+ i7core_hs22.edac_mc_name, Edac.sysfs_mc_name_path
+ )
+ if os.popen(exec_str).readlines() != [] and \
+ os.popen("dmidecode | grep 7870").readlines() != []:
+ return True
+ return False
+
+ def fixup_tables(self):
+ ch_list = self.edac_data
+ new_dmi = []
+ map=2,1,6,5,4,3,8,7,12,11,10,9
+
+ def def_sort(x,y):
+ return int(x["name"][5:]) - int(y["name"][5:])
+
+ ch_list.sort(def_sort)
+
+ for m in map:
+ for dmi in self.dmi_data:
+ if dmi["dimm"] == m:
+ new_dmi.append(dmi)
+
+ for channel in range(len(ch_list)):
+ ch_list[channel]["dimm"] = new_dmi[channel]["dimm"]
+ ch_list[channel]["n"] = channel
+
+ def generate_ecc_ipmi_msg(self, dimm):
+ # we are setting bit 12 the "sensor number" 0xd1 == dimm 1
+ dim_value = 0xd0 + dimm
+ os.popen("ipmitool raw 0xa 0x44 0xe3 0x00 0x02 0x23 0xf2 0x92 0x4a " +
+ " 0x20 0x00 0x04 0x0c 0x%x 0x6f 0x05 0xff 0xff"%(dim_value))
+
+class i7core_rack(Edac):
+ edac_mc_name = 'i7 Core'
+ def __init__(self):
+ super(i7core_rack, self).__init__()
+
+ @staticmethod
+ def probe():
+ # check for i7 core memory controller and 7947 in dmidecode
+ exec_str = "grep '%s' %s" % (
+ i7core_rack.edac_mc_name, Edac.sysfs_mc_name_path
+ )
+ if os.popen(exec_str).readlines() != [] and \
+ os.popen("dmidecode | grep 794[7,6]").readlines() != []:
+ return True
+ return False
+
+ def fixup_tables(self):
+ ch_list = self.edac_data
+ new_dmi = []
+ map=3,2,1,6,5,4,8,7,11,10,9,14,13,12,16,15
+
+ def def_sort(x,y):
+ return int(x["name"][5:]) - int(y["name"][5:])
+
+ ch_list.sort(def_sort)
+
+ for m in map:
+ for dmi in self.dmi_data:
+ if dmi["dimm"] == m:
+ new_dmi.append(dmi)
+
+ for channel in range(len(ch_list)):
+ ch_list[channel]["dimm"] = new_dmi[channel]["dimm"]
+ ch_list[channel]["n"] = channel
+
+ def generate_ecc_ipmi_msg(self, dimm):
+ # we are setting bit 12 the "sensor number" 0xd0 == dimm 1
+ dim_value = 0xd0 + dimm -1
+ os.popen("ipmitool raw 0xa 0x44 0xe3 0x00 0x02 0x23 0xf2 0x92 0x4a " +
+ " 0x20 0x00 0x04 0x0c 0x%x 0x6f 0x05 0xff 0xff"%(dim_value))
+
def usage(name, exitval=0):
print "Usage: %s [options]" % name
print " --test run tests, but don't start daemon"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gtk2-metatheme-sonar for openSUSE:Factory
checked in at Sun Sep 27 00:04:09 CEST 2009.
--------
--- gtk2-metatheme-sonar/gtk2-metatheme-sonar.changes 2009-09-09 03:41:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/gtk2-metatheme-sonar/gtk2-metatheme-sonar.changes 2009-09-14 10:44:25.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Sep 14 10:43:13 CEST 2009 - mxwu(a)novell.com
+
+- Add bnc508196-fix-main-menu-icon-size.patch. Fix bnc#508196
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
bnc508196-fix-main-menu-icon-size.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gtk2-metatheme-sonar.spec ++++++
--- /var/tmp/diff_new_pack.8GiJvn/_old 2009-09-27 00:03:58.000000000 +0200
+++ /var/tmp/diff_new_pack.8GiJvn/_new 2009-09-27 00:03:58.000000000 +0200
@@ -20,13 +20,14 @@
Name: gtk2-metatheme-sonar
Version: 11.2.3
-Release: 1
+Release: 2
%define _icon_version 11.2.0
Group: System/GUI/GNOME
License: GPL v2 or later
Summary: GTK+ and Metacity Sonar Theme
Source0: metatheme-Sonar-%{version}.tar.bz2
Source1: icon-theme-sonar-%{_icon_version}.tar.bz2
+Patch0: bnc508196-fix-main-menu-icon-size.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: fdupes
@@ -52,6 +53,7 @@
%prep
%setup -q -a1 -n Sonar
+%patch0 -p1
%build
++++++ bnc508196-fix-main-menu-icon-size.patch ++++++
diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc
index ae49257..bc3d8f4 100644
--- a/gtk-2.0/gtkrc
+++ b/gtk-2.0/gtkrc
@@ -363,6 +363,20 @@ style "theme-panel" {
}
}
+# Fix for gnome-main-menu. bnc#508196
+style "theme-panelbutton" {
+ xthickness = 0
+ ythickness = 0
+ engine "murrine" {
+ roundness = 0
+ }
+}
+
+widget "*slab-main-menu-panel-button-bottom*" style "theme-panelbutton"
+widget "*slab-main-menu-panel-button-top*" style "theme-panelbutton"
+widget "*slab-main-menu-panel-button-left*" style "theme-panelbutton"
+widget "*slab-main-menu-panel-button-right*" style "theme-panelbutton"
+
widget "*PanelWidget*" style "theme-panel"
widget "*PanelApplet*" style "theme-panel"
widget "*fast-user-switch*" style "theme-panel"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gdb for openSUSE:Factory
checked in at Sun Sep 27 00:03:39 CEST 2009.
--------
--- gdb/gdb.changes 2009-08-17 14:10:18.000000000 +0200
+++ /mounts/work_src_done/STABLE/gdb/gdb.changes 2009-09-24 11:41:25.000000000 +0200
@@ -1,0 +2,21 @@
+Thu Sep 24 11:40:44 CEST 2009 - rguenther(a)suse.de
+
+- Merge from gdb-6.8.91.20090921-1.fc12.src.rpm.
+
+-------------------------------------------------------------------
+Mon Sep 14 14:29:20 CEST 2009 - rguenther(a)suse.de
+
+- Merge from gdb-6.8.50.20090910-1.fc12.src.rpm.
+
+-------------------------------------------------------------------
+Mon Aug 24 17:30:30 CEST 2009 - rguenther(a)suse.de
+
+- Fix gdb-6.3-ia64-sigtramp-frame-20050708.patch patch to allow
+ ia64 to build again.
+
+-------------------------------------------------------------------
+Mon Aug 24 14:07:52 CEST 2009 - rguenther(a)suse.de
+
+- Merge from gdb-6.8.50.20090818-4.fc12.src.rpm.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
gdb-6.3-ia64-sigtramp-fp-20050926.patch
gdb-6.6-multifork-debugreg.patch
gdb-6.8.50.20090811.tar.bz2
New:
----
gdb-6.6-step-thread-exit.patch
gdb-6.8.50.20090921-upstream.patch
gdb-6.8.91.20090921.tar.bz2
libstdc++-v3-python-common-prefix.patch
libstdc++-v3-python-r151798.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gdb.spec ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:35.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:35.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gdb (Version 6.8.50.20090811)
+# spec file for package gdb (Version 6.8.91.20090921)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -22,13 +22,13 @@
# Set version to contents of gdb/version.in.
# NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
# and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch).
-Version: 6.8.50.20090811
+Version: 6.8.91.20090921
Release: 1
# The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
License: GPLv3+
Group: Development/Debuggers
-Source: ftp://sourceware.org/pub/gdb/snapshots/current/gdb-%{version}.tar.bz2
+Source: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://gnu.org/software/gdb/
# For our convenience
@@ -51,6 +51,9 @@
Source2: gdb-orphanripper.c
# Man page for gstack(1).
Source3: gdb-gstack.man
+# libstdc++ pretty printers from GCC SVN HEAD (4.5 experimental).
+%define libstdcxxpython libstdc++-v3-python-r151798
+Source4: %{libstdcxxpython}.tar.bz2
# Work around out-of-date dejagnu that does not have KFAIL
Patch1: gdb-6.3-rh-dummykfail-20041202.patch
# Match the Fedora's version info.
@@ -88,6 +91,7 @@
# Fix gcore for threads
Patch140: gdb-6.3-gcore-thread-20050204.patch
# Stop while intentionally stepping and the thread exit is met.
+Patch141: gdb-6.6-step-thread-exit.patch
Patch259: gdb-6.3-step-thread-exit-20050211-test.patch
# Prevent gdb from being pushed into background
Patch142: gdb-6.3-terminal-fix-20050214.patch
@@ -114,8 +118,6 @@
Patch163: gdb-6.3-inheritancetest-20050726.patch
# Add readnever option
Patch164: gdb-6.3-readnever-20050907.patch
-# Fix frame pointer for ia64 sigtramp frame
-Patch166: gdb-6.3-ia64-sigtramp-fp-20050926.patch
# Fix ia64 gdb problem with user-specified SIGILL handling
Patch169: gdb-6.3-ia64-sigill-20051115.patch
# Allow option to continue backtracing past a zero pc value
@@ -161,6 +163,8 @@
Patch229: gdb-6.3-bz140532-ppc-unwinding-test.patch
# Testcase for exec() from threaded program (BZ 202689).
Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
+# Backported post gdb-6.8.50.20090991 snapshot fixups.
+Patch232: gdb-6.8.50.20090921-upstream.patch
# Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch
# Temporary support for shared libraries >2GB on 64bit hosts. (BZ 231832)
@@ -191,10 +195,6 @@
# New locating of the matching binaries from the pure core file (build-id).
Patch274: gdb-6.6-buildid-locate.patch
Patch353: gdb-6.6-buildid-locate-rpm.patch
-# Fix hardware watchpoints after inferior forks-off some process.
-# Threaded `set follow-fork-mode child' still not fixed there, glibc fixes reqd.
-# `set detach-on-fork off' not fixed there in general - it already assert-fails.
-Patch280: gdb-6.6-multifork-debugreg.patch
# Fix displaying of numeric char arrays as strings (BZ 224128).
Patch282: gdb-6.7-charsign-test.patch
# Test PPC hiding of call-volatile parameter register.
@@ -260,6 +260,8 @@
Patch360: gdb-6.8-bz457187-largefile-test.patch
# Fix compatibility of --with-system-readline and readline-6.0+.
Patch375: gdb-readline-6.0.patch
+# Fix python pretty printers lookup on x86_64.
+Patch376: libstdc++-v3-python-common-prefix.patch
# Fix readline 5.1 warnings
Patch1000: readline-5.1-random.patch
Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch
@@ -277,6 +279,8 @@
%if 0%{!?_without_python:1}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRequires: python-devel
+# Temporarily before it gets moved to libstdc++.rpm
+BuildRequires: libstdc++
%endif # 0%{!?_without_python:1}
%if 0%{?_with_testsuite:1}
BuildRequires: dejagnu sharutils
@@ -326,6 +330,8 @@
# This allows the tarball name to be different from our
# version-release name.
%setup -q -n %{gdb_src}
+# libstdc++ pretty printers.
+bzip2 -dc %{SOURCE4} | tar xf -
# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
@@ -333,6 +339,7 @@
# Match the Fedora's version info.
%patch2 -p1
%if 0%{!?_with_upstream:1}
+%patch232 -p1
%patch349 -p1
%patch1 -p1
%patch3 -p1
@@ -348,6 +355,7 @@
%patch133 -p1
%patch136 -p1
%patch140 -p1
+%patch141 -p1
%patch259 -p1
%patch142 -p1
%patch145 -p1
@@ -362,7 +370,6 @@
%patch162 -p1
%patch163 -p1
%patch164 -p1
-%patch166 -p1
%patch169 -p1
%patch170 -p1
%patch176 -p1
@@ -401,7 +408,6 @@
%patch271 -p1
%patch274 -p1
%patch353 -p1
-%patch280 -p1
%patch282 -p1
%patch284 -p1
%patch287 -p1
@@ -434,6 +440,7 @@
%patch352 -p1
%patch360 -p1
%patch375 -p1
+%patch376 -p1
%patch124 -p1
%patch1000
%patch1002 -p1
@@ -613,6 +620,21 @@
ln -sf gdb $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
cmp $RPM_BUILD_ROOT%{_mandir}/*/gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
+%if 0%{!?_without_python:1}
+# Temporarily now:
+for LIB in lib lib64;do
+ LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB"
+ mkdir -p $LIBPATH
+ # basename is being run only for the native (non-biarch) file.
+ sed -e 's,@pythondir@,%{python_sitelib}/gdb,' \
+ -e 's,@toolexeclibdir@,%{_prefix}/'"$LIB," \
+ < $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/hook.in \
+ > $LIBPATH/$(basename %{_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
+done
+test ! -e $RPM_BUILD_ROOT%{python_sitelib}/gdb/libstdcxx
+cp -a $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/libstdcxx \
+ $RPM_BUILD_ROOT%{python_sitelib}/gdb/libstdcxx
+%endif # 0%{!?_without_python:1}
# Remove the files that are part of a gdb build but that are owned and
# provided by other packages.
# These are part of binutils
@@ -665,6 +687,7 @@
%{python_sitelib}/gdb
%endif # 0%{!?_without_python:1}
%endif # 0%{!?_with_upstream:1}
+%{_datadir}/gdb
%{_infodir}/annotate.info*
%{_infodir}/gdb.info*
%{_infodir}/gdbint.info*
++++++ gdb-6.3-gstack-20050411.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:36.000000000 +0200
@@ -4,20 +4,20 @@
to install and uninstall.
* gstack.sh, gstack.1: New files.
-Index: gdb-6.8.50.20090802/gdb/Makefile.in
+Index: gdb-6.8.91.20090917/gdb/Makefile.in
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/Makefile.in 2009-08-03 09:50:57.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/Makefile.in 2009-08-03 11:09:49.000000000 +0200
-@@ -947,7 +947,7 @@ gdb.z:gdb.1
- # time it takes for make to check that all is up to date.
- # install-only is intended to address that need.
- install: all install-only
--install-only: $(CONFIG_INSTALL)
-+install-only: install-gstack $(CONFIG_INSTALL)
+--- 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.
+-install-only: $(CONFIG_INSTALL) xml-syscall-install
++install-only: install-gstack $(CONFIG_INSTALL) xml-syscall-install
transformed_name=`t='$(program_transform_name)'; \
echo gdb | sed -e "$$t"` ; \
if test "x$$transformed_name" = x; then \
-@@ -979,9 +979,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 \
-@@ -1003,6 +1020,17 @@ uninstall-tui:
+@@ -1045,6 +1062,17 @@ uninstall-tui:
fi ; \
rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
$(DESTDIR)$(man1dir)/$$transformed_name.1
@@ -63,10 +63,10 @@
# The C++ name parser can be built standalone for testing.
test-cp-name-parser.o: cp-name-parser.c
-Index: gdb-6.8.50.20090802/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.20090802/gdb/gstack.sh 2009-08-03 11:08:52.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/gstack.sh 2009-09-17 12:47:14.000000000 +0200
@@ -0,0 +1,48 @@
+#!/bin/sh
+
++++++ gdb-6.3-ia64-sigtramp-frame-20050708.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:36.000000000 +0200
@@ -13,11 +13,11 @@
Port to gdb-6.8.50.20081128, follow the upstream change:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ia64-tdep.c.diff?cvsroot=s…
-Index: gdb-6.8.50.20081128/gdb/ia64-tdep.c
+Index: gdb-6.8.50.20090818/gdb/ia64-tdep.c
===================================================================
---- gdb-6.8.50.20081128.orig/gdb/ia64-tdep.c 2008-11-26 06:27:48.000000000 +0100
-+++ gdb-6.8.50.20081128/gdb/ia64-tdep.c 2008-12-02 19:04:32.000000000 +0100
-@@ -2107,6 +2107,94 @@ ia64_sigtramp_frame_prev_register (struc
+--- gdb-6.8.50.20090818.orig/gdb/ia64-tdep.c 2009-07-30 18:29:53.000000000 +0200
++++ gdb-6.8.50.20090818/gdb/ia64-tdep.c 2009-08-24 17:03:11.000000000 +0200
+@@ -2153,6 +2153,94 @@ ia64_sigtramp_frame_prev_register (struc
return frame_unwind_got_constant (this_frame, regnum, pc);
}
@@ -29,7 +29,7 @@
+ ULONGEST unatN_val;
+ ULONGEST unat;
+ read_memory (cache->saved_regs[IA64_UNAT_REGNUM], (char *) &unat,
-+ register_size (current_gdbarch, IA64_UNAT_REGNUM));
++ register_size (gdbarch, IA64_UNAT_REGNUM));
+ unatN_val = (unat & (1LL << (regnum - IA64_NAT0_REGNUM))) != 0;
+ return frame_unwind_got_constant (this_frame, regnum, unatN_val);
+ }
@@ -45,9 +45,9 @@
+ CORE_ADDR gr_addr = 0, nat_addr = 0;
+
+ read_memory (cache->saved_regs[IA64_BSP_REGNUM], (char *) &bsp,
-+ register_size (current_gdbarch, IA64_BSP_REGNUM));
++ register_size (gdbarch, IA64_BSP_REGNUM));
+ read_memory (cache->saved_regs[IA64_CFM_REGNUM], (char *) &cfm,
-+ register_size (current_gdbarch, IA64_CFM_REGNUM));
++ register_size (gdbarch, IA64_CFM_REGNUM));
+
+ /* The bsp points at the end of the register frame so we
+ subtract the size of frame from it to get start of register frame. */
@@ -71,10 +71,10 @@
+ nat_addr = cache->saved_regs[IA64_RNAT_REGNUM];
+ if (nat_addr != 0)
+ read_memory (nat_addr, (char *) &nat_collection,
-+ register_size (current_gdbarch, IA64_RNAT_REGNUM));
++ register_size (gdbarch, IA64_RNAT_REGNUM));
+ }
+ else
-+ nat_collection = read_memory_integer (nat_addr, 8);
++ nat_collection = read_memory_integer (nat_addr, 8, byte_order);
+ if (nat_addr != 0)
+ {
+ nat_bit = (gr_addr >> 3) & 0x3f;
@@ -97,9 +97,9 @@
+ ULONGEST bof;
+
+ read_memory (cache->saved_regs[IA64_BSP_REGNUM], (char *) &bsp,
-+ register_size (current_gdbarch, IA64_BSP_REGNUM));
++ register_size (gdbarch, IA64_BSP_REGNUM));
+ read_memory (cache->saved_regs[IA64_CFM_REGNUM], (char *) &cfm,
-+ register_size (current_gdbarch, IA64_CFM_REGNUM));
++ register_size (gdbarch, IA64_CFM_REGNUM));
+
+ /* The bsp points at the end of the register frame so we
+ subtract the size of frame from it to get beginning of frame. */
@@ -112,7 +112,7 @@
else if ((regnum >= IA64_GR32_REGNUM && regnum <= IA64_GR127_REGNUM)
|| (regnum >= V32_REGNUM && regnum <= V127_REGNUM))
{
-@@ -2121,7 +2209,42 @@ ia64_sigtramp_frame_prev_register (struc
+@@ -2167,7 +2255,42 @@ ia64_sigtramp_frame_prev_register (struc
return frame_unwind_got_constant (this_frame, regnum, 0);
}
@@ -133,9 +133,9 @@
+ ULONGEST cfm;
+ ULONGEST prN_val;
+ read_memory (pr_addr, (char *) &pr,
-+ register_size (current_gdbarch, IA64_PR_REGNUM));
++ register_size (gdbarch, IA64_PR_REGNUM));
+ read_memory (cache->saved_regs[IA64_CFM_REGNUM], (char *) &cfm,
-+ register_size (current_gdbarch, IA64_CFM_REGNUM));
++ register_size (gdbarch, IA64_CFM_REGNUM));
+
+ /* Get the register rename base for this frame and adjust the
+ * register name to take rotation into account. */
++++++ gdb-6.3-inheritancetest-20050726.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:36.000000000 +0200
@@ -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 {
++++++ gdb-6.3-large-core-20051206.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:36.000000000 +0200
@@ -25,10 +25,10 @@
Port to GDB-6.7.
-Index: gdb-6.8.50.20090803/gdb/symfile-mem.c
+Index: gdb-6.8.50.20090909/gdb/symfile-mem.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/symfile-mem.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/symfile-mem.c 2009-08-03 16:03:17.000000000 +0200
+--- 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,10 +53,10 @@
if (nbfd == NULL)
error (_("Failed to read a valid object file image from memory."));
-Index: gdb-6.8.50.20090803/gdb/target.c
+Index: gdb-6.8.50.20090909/gdb/target.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/target.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/target.c 2009-08-03 16:03:17.000000000 +0200
+--- 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,7 +66,7 @@
static int return_zero (void);
-@@ -452,7 +452,7 @@ target_terminal_inferior (void)
+@@ -492,7 +492,7 @@ target_terminal_inferior (void)
(*current_target.to_terminal_inferior) ();
}
@@ -75,7 +75,7 @@
nomemory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct target_ops *t)
{
-@@ -670,7 +670,7 @@ update_current_target (void)
+@@ -711,7 +711,7 @@ update_current_target (void)
(void (*) (struct regcache *))
noprocess);
de_fault (deprecated_xfer_memory,
@@ -84,7 +84,7 @@
nomemory);
de_fault (to_files_info,
(void (*) (struct target_ops *))
-@@ -1381,7 +1381,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
@@ -93,7 +93,16 @@
{
/* Dispatch to the topmost target, not the flattened current_target.
Memory accesses check target->to_has_(all_)memory, and the
-@@ -1394,7 +1394,7 @@ target_read_memory (CORE_ADDR memaddr, g
+@@ -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
@@ -102,7 +111,7 @@
{
/* Dispatch to the topmost target, not the flattened current_target.
Memory accesses check target->to_has_(all_)memory, and the
-@@ -2861,8 +2861,8 @@ debug_to_prepare_to_store (struct regcac
+@@ -2964,8 +2964,8 @@ debug_to_prepare_to_store (struct regcac
fprintf_unfiltered (gdb_stdlog, "target_prepare_to_store ()\n");
}
@@ -113,7 +122,7 @@
int write, struct mem_attrib *attrib,
struct target_ops *target)
{
-@@ -2872,8 +2872,8 @@ deprecated_debug_xfer_memory (CORE_ADDR
+@@ -2975,8 +2975,8 @@ deprecated_debug_xfer_memory (CORE_ADDR
attrib, target);
fprintf_unfiltered (gdb_stdlog,
@@ -124,11 +133,11 @@
write ? "write" : "read", retval);
if (retval > 0)
-Index: gdb-6.8.50.20090803/gdb/target.h
+Index: gdb-6.8.50.20090909/gdb/target.h
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/target.h 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/target.h 2009-08-03 16:03:17.000000000 +0200
-@@ -363,10 +363,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. */
@@ -143,53 +152,58 @@
void (*to_files_info) (struct target_ops *);
int (*to_insert_breakpoint) (struct gdbarch *, struct bp_target_info *);
-@@ -675,10 +675,10 @@ extern DCACHE *target_dcache;
+@@ -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_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);
/* 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.20090803/gdb/dcache.c
+Index: gdb-6.8.50.20090909/gdb/dcache.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/dcache.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/dcache.c 2009-08-03 16:03:17.000000000 +0200
-@@ -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.20090803/gdb/dcache.h
+ int res;
+Index: gdb-6.8.50.20090909/gdb/dcache.h
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/dcache.h 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/dcache.h 2009-08-03 16:03:17.000000000 +0200
-@@ -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.20090803/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.20090803.orig/gdb/exec.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/exec.c 2009-08-03 16:03:17.000000000 +0200
+--- 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)
}
@@ -199,11 +213,11 @@
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.20090803/gdb/linux-nat.c
+Index: gdb-6.8.50.20090909/gdb/linux-nat.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/linux-nat.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/linux-nat.c 2009-08-03 16:03:17.000000000 +0200
-@@ -4516,7 +4516,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. */
@@ -212,10 +226,10 @@
/* Re-read register stack area. */
xxfer = super_xfer_partial (ops, object, annex,
-Index: gdb-6.8.50.20090803/gdb/remote.c
+Index: gdb-6.8.50.20090909/gdb/remote.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/remote.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/remote.c 2009-08-03 16:03:17.000000000 +0200
+--- 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>
@@ -224,7 +238,7 @@
#include "inferior.h"
#include "bfd.h"
#include "symfile.h"
-@@ -5785,12 +5786,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. */
@@ -246,7 +260,7 @@
set_general_thread (inferior_ptid);
-@@ -5799,7 +5807,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);
@@ -255,10 +269,10 @@
}
/* Sends a packet with content determined by the printf format string
-Index: gdb-6.8.50.20090803/gdb/remote-sim.c
+Index: gdb-6.8.50.20090909/gdb/remote-sim.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/remote-sim.c 2009-08-03 16:03:00.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/remote-sim.c 2009-08-03 16:03:17.000000000 +0200
+--- 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. */
@@ -276,10 +290,10 @@
/* If no program is running yet, then ignore the simulator for
memory. Pass the request down to the next target, hopefully
an exec file. */
-Index: gdb-6.8.50.20090803/gdb/exec.h
+Index: gdb-6.8.50.20090909/gdb/exec.h
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/exec.h 2009-06-12 20:38:36.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/exec.h 2009-08-03 16:03:57.000000000 +0200
+--- 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. */
++++++ gdb-6.3-pie-20050110.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:36.000000000 +0200
@@ -26,10 +26,10 @@
Fix scan_dyntag() for binaries provided by valgrind (BZ 460319).
-Index: gdb-6.8.50.20090809/gdb/amd64-tdep.c
+Index: gdb-6.8.91.20090917/gdb/amd64-tdep.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/amd64-tdep.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/amd64-tdep.c 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/amd64-tdep.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/amd64-tdep.c 2009-09-17 12:50:07.000000000 +0200
@@ -36,6 +36,7 @@
#include "regcache.h"
#include "regset.h"
@@ -138,10 +138,10 @@
return pc;
}
-Index: gdb-6.8.50.20090809/gdb/auxv.c
+Index: gdb-6.8.91.20090917/gdb/auxv.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/auxv.c 2009-07-02 19:25:52.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/auxv.c 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/auxv.c 2009-07-02 19:25:52.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/auxv.c 2009-09-17 12:50:07.000000000 +0200
@@ -78,7 +78,7 @@ procfs_xfer_auxv (struct target_ops *ops
Return 1 if an entry was read into *TYPEP and *VALP. */
static int
@@ -230,10 +230,10 @@
break;
}
-Index: gdb-6.8.50.20090809/gdb/auxv.h
+Index: gdb-6.8.91.20090917/gdb/auxv.h
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/auxv.h 2009-06-07 21:07:08.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/auxv.h 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/auxv.h 2009-06-07 21:07:08.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/auxv.h 2009-09-17 12:50:07.000000000 +0200
@@ -31,14 +31,14 @@
Return 1 if an entry was read into *TYPEP and *VALP. */
extern int target_auxv_parse (struct target_ops *ops,
@@ -251,11 +251,11 @@
/* Print the contents of the target's AUXV on the specified file. */
extern int fprint_target_auxv (struct ui_file *file, struct target_ops *ops);
-Index: gdb-6.8.50.20090809/gdb/dwarf2read.c
+Index: gdb-6.8.91.20090917/gdb/dwarf2read.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/dwarf2read.c 2009-08-10 14:59:28.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/dwarf2read.c 2009-08-10 14:59:58.000000000 +0200
-@@ -1659,7 +1659,7 @@ dwarf2_build_psymtabs (struct objfile *o
+--- gdb-6.8.91.20090917.orig/gdb/dwarf2read.c 2009-09-17 12:49:20.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/dwarf2read.c 2009-09-17 12:50:07.000000000 +0200
+@@ -1717,7 +1717,7 @@ dwarf2_build_psymtabs (struct objfile *o
dwarf2_read_section (objfile, &dwarf2_per_objfile->eh_frame);
dwarf2_read_section (objfile, &dwarf2_per_objfile->frame);
@@ -264,10 +264,10 @@
|| (objfile->global_psymbols.size == 0
&& objfile->static_psymbols.size == 0))
{
-Index: gdb-6.8.50.20090809/gdb/elfread.c
+Index: gdb-6.8.91.20090917/gdb/elfread.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/elfread.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/elfread.c 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/elfread.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/elfread.c 2009-09-17 12:50:07.000000000 +0200
@@ -681,7 +681,7 @@ elf_symfile_read (struct objfile *objfil
/* If we are reinitializing, or if we have never loaded syms yet,
set table to empty. MAINLINE is cleared so that *_read_psymtab
@@ -277,11 +277,11 @@
{
init_psymbol_list (objfile, 0);
mainline = 0;
-Index: gdb-6.8.50.20090809/gdb/infrun.c
+Index: gdb-6.8.91.20090917/gdb/infrun.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/infrun.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/infrun.c 2009-08-10 14:59:58.000000000 +0200
-@@ -3531,6 +3531,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
+--- gdb-6.8.91.20090917.orig/gdb/infrun.c 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/infrun.c 2009-09-17 12:50:07.000000000 +0200
+@@ -3659,6 +3659,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
#endif
target_terminal_inferior ();
@@ -292,13 +292,13 @@
/* If requested, stop when the dynamic linker notifies
gdb of events. This allows the user to get control
and place breakpoints in initializer routines for
-Index: gdb-6.8.50.20090809/gdb/objfiles.c
+Index: gdb-6.8.91.20090917/gdb/objfiles.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/objfiles.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/objfiles.c 2009-08-10 14:59:58.000000000 +0200
-@@ -52,6 +52,9 @@
- #include "exec.h"
+--- gdb-6.8.91.20090917.orig/gdb/objfiles.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/objfiles.c 2009-09-17 12:50:20.000000000 +0200
+@@ -53,6 +53,9 @@
#include "observer.h"
+ #include "complaints.h"
+#include "auxv.h"
+#include "elf/common.h"
@@ -306,7 +306,7 @@
/* Prototypes for local functions */
static void objfile_alloc_data (struct objfile *objfile);
-@@ -279,9 +282,17 @@ init_entry_point_info (struct objfile *o
+@@ -280,9 +283,17 @@ init_entry_point_info (struct objfile *o
CORE_ADDR
entry_point_address (void)
{
@@ -324,20 +324,10 @@
if (symfile_objfile == NULL)
return 0;
-@@ -465,6 +476,9 @@ free_objfile (struct objfile *objfile)
- if (objfile == symfile_objfile)
- symfile_objfile = NULL;
-
-+ if (objfile == symfile_objfile)
-+ symfile_objfile = NULL;
-+
- /* Before the symbol table code was redone to make it easier to
- selectively load and remove information particular to a specific
- linkage unit, gdb used to do these things whenever the monolithic
-Index: gdb-6.8.50.20090809/gdb/solib-svr4.c
+Index: gdb-6.8.91.20090917/gdb/solib-svr4.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/solib-svr4.c 2009-08-10 14:56:11.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/solib-svr4.c 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/solib-svr4.c 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/solib-svr4.c 2009-09-17 12:50:07.000000000 +0200
@@ -47,6 +47,7 @@
#include "exec.h"
#include "auxv.h"
@@ -905,16 +895,17 @@
xfree (interp_name);
return 1;
}
-@@ -1753,6 +2022,8 @@ svr4_solib_create_inferior_hook (void)
+@@ -1753,6 +2022,9 @@ svr4_solib_create_inferior_hook (void)
while (tp->stop_signal != TARGET_SIGNAL_TRAP);
inf->stop_soon = NO_STOP_QUIETLY;
#endif /* defined(_SCO_DS) */
+
-+ disable_breakpoints_before_startup ();
++ if (bfd_get_start_address (exec_bfd) != entry_point_address ())
++ disable_breakpoints_before_startup ();
}
static void
-@@ -1929,6 +2200,76 @@ svr4_lp64_fetch_link_map_offsets (void)
+@@ -1929,6 +2201,76 @@ svr4_lp64_fetch_link_map_offsets (void)
return lmp;
}
@@ -991,7 +982,7 @@
struct target_so_ops svr4_so_ops;
-@@ -1969,4 +2310,7 @@ _initialize_svr4_solib (void)
+@@ -1969,4 +2311,7 @@ _initialize_svr4_solib (void)
svr4_so_ops.same = svr4_same;
observer_attach_inferior_exit (solib_svr4_inferior_exit);
@@ -999,11 +990,11 @@
+ add_info ("linkmap", info_linkmap_command,
+ "Display the inferior's linkmap.");
}
-Index: gdb-6.8.50.20090809/gdb/solib.c
+Index: gdb-6.8.91.20090917/gdb/solib.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/solib.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/solib.c 2009-08-10 15:07:13.000000000 +0200
-@@ -81,6 +81,8 @@ set_solib_ops (struct gdbarch *gdbarch,
+--- gdb-6.8.91.20090917.orig/gdb/solib.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/solib.c 2009-09-17 12:50:07.000000000 +0200
+@@ -82,6 +82,8 @@ set_solib_ops (struct gdbarch *gdbarch,
/* external data declarations */
@@ -1012,7 +1003,7 @@
/* FIXME: gdbarch needs to control this variable, or else every
configuration needs to call set_solib_ops. */
struct target_so_ops *current_target_so_ops;
-@@ -104,6 +106,8 @@ The search path for loading non-absolute
+@@ -105,6 +107,8 @@ The search path for loading non-absolute
value);
}
@@ -1021,7 +1012,7 @@
/*
GLOBAL FUNCTION
-@@ -453,14 +453,38 @@ symbol_add_stub (struct so_list *so, int
+@@ -449,14 +453,38 @@ symbol_add_stub (struct so_list *so, int
/* Have we already loaded this shared object? */
ALL_OBJFILES (so->objfile)
{
@@ -1059,10 +1050,10 @@
+ else
+ so->objfile = symbol_file_add_from_bfd (so->abfd, flags, sap, OBJF_SHARED);
+
- p_refcount = xmalloc (sizeof (*p_refcount));
- *p_refcount = 2; /* Both solib and objfile refer to this abfd. */
- bfd_usrdata (so->abfd) = p_refcount;
-@@ -600,6 +628,10 @@ update_solib_list (int from_tty, struct
+ free_section_addr_info (sap);
+
+ return;
+@@ -596,6 +624,10 @@ update_solib_list (int from_tty, struct
}
else
{
@@ -1073,7 +1064,7 @@
if (! strcmp (gdb->so_original_name, i->so_original_name))
break;
}
-@@ -654,18 +686,7 @@ update_solib_list (int from_tty, struct
+@@ -650,18 +682,7 @@ update_solib_list (int from_tty, struct
/* Fill in the rest of each of the `struct so_list' nodes. */
for (i = inferior; i; i = i->next)
{
@@ -1093,7 +1084,7 @@
/* Notify any observer that the shared object has been
loaded now that we've added it to GDB's tables. */
-@@ -775,6 +796,32 @@ solib_add (char *pattern, int from_tty,
+@@ -771,6 +792,32 @@ solib_add (char *pattern, int from_tty,
}
}
@@ -1126,7 +1117,7 @@
/*
-@@ -1128,4 +1175,12 @@ This takes precedence over the environme
+@@ -1189,4 +1236,12 @@ This takes precedence over the environme
reload_shared_libraries,
show_solib_search_path,
&setlist, &showlist);
@@ -1139,10 +1130,10 @@
+ NULL, NULL,
+ &setdebuglist, &showdebuglist);
}
-Index: gdb-6.8.50.20090809/gdb/solist.h
+Index: gdb-6.8.91.20090917/gdb/solist.h
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/solist.h 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/solist.h 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/solist.h 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/solist.h 2009-09-17 12:50:07.000000000 +0200
@@ -61,6 +61,8 @@ struct so_list
bfd *abfd;
char symbols_loaded; /* flag: symbols read in yet? */
@@ -1163,10 +1154,10 @@
+extern int debug_solib;
+
#endif
-Index: gdb-6.8.50.20090809/gdb/symfile-mem.c
+Index: gdb-6.8.91.20090917/gdb/symfile-mem.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/symfile-mem.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/symfile-mem.c 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/symfile-mem.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/symfile-mem.c 2009-09-17 12:50:07.000000000 +0200
@@ -115,7 +115,7 @@ symbol_file_add_from_memory (struct bfd
++i;
}
@@ -1176,10 +1167,10 @@
sai, OBJF_SHARED);
/* This might change our ideas about frames already looked at. */
-Index: gdb-6.8.50.20090809/gdb/symfile.c
+Index: gdb-6.8.91.20090917/gdb/symfile.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/symfile.c 2009-08-10 14:59:28.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/symfile.c 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/symfile.c 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/symfile.c 2009-09-17 12:50:07.000000000 +0200
@@ -49,6 +49,7 @@
#include "readline/readline.h"
#include "gdb_assert.h"
@@ -1188,7 +1179,7 @@
#include "observer.h"
#include "exec.h"
#include "parser-defs.h"
-@@ -785,7 +786,7 @@ syms_from_objfile (struct objfile *objfi
+@@ -779,7 +780,7 @@ syms_from_objfile (struct objfile *objfi
/* Now either addrs or offsets is non-zero. */
@@ -1197,7 +1188,7 @@
{
/* We will modify the main symbol table, make sure that all its users
will be cleaned up if an error occurs during symbol reading. */
-@@ -813,7 +814,7 @@ syms_from_objfile (struct objfile *objfi
+@@ -807,7 +808,7 @@ syms_from_objfile (struct objfile *objfi
We no longer warn if the lowest section is not a text segment (as
happens for the PA64 port. */
@@ -1206,7 +1197,7 @@
{
asection *lower_sect;
asection *sect;
-@@ -896,7 +897,7 @@ syms_from_objfile (struct objfile *objfi
+@@ -890,7 +891,7 @@ syms_from_objfile (struct objfile *objfi
init_objfile_sect_indices (objfile);
}
@@ -1215,7 +1206,7 @@
/* Discard cleanups as symbol reading was successful. */
-@@ -915,17 +916,22 @@ new_symfile_objfile (struct objfile *obj
+@@ -909,17 +910,22 @@ new_symfile_objfile (struct objfile *obj
/* If this is the main symbol file we have to clean up all users of the
old main symbol file. Otherwise it is sufficient to fixup all the
breakpoints that may have been redefined by this symbol file. */
@@ -1240,7 +1231,7 @@
/* We're done reading the symbol file; finish off complaints. */
clear_complaints (&symfile_complaints, 0, add_flags & SYMFILE_VERBOSE);
-@@ -982,7 +988,7 @@ symbol_file_add_with_addrs_or_offsets (b
+@@ -973,7 +979,7 @@ symbol_file_add_with_addrs_or_offsets (b
/* Give user a chance to burp if we'd be
interactively wiping out any existing symbols. */
@@ -1249,7 +1240,7 @@
&& (have_full_symbols () || have_partial_symbols ())
&& from_tty
&& (have_full_symbols () || have_partial_symbols ())
-@@ -1183,6 +1189,9 @@ symbol_file_clear (int from_tty)
+@@ -1163,6 +1169,9 @@ symbol_file_clear (int from_tty)
symfile_objfile->name)
: !query (_("Discard symbol table? "))))
error (_("Not confirmed."));
@@ -1259,7 +1250,7 @@
free_all_objfiles ();
-@@ -3387,6 +3396,8 @@ reread_symbols (void)
+@@ -3369,6 +3378,8 @@ reread_symbols (void)
/* Discard cleanups as symbol reading was successful. */
discard_cleanups (old_cleanups);
@@ -1268,11 +1259,11 @@
/* If the mtime has changed between the time we set new_modtime
and now, we *want* this to be out of date, so don't call stat
again now. */
-Index: gdb-6.8.50.20090809/gdb/target.h
+Index: gdb-6.8.91.20090917/gdb/target.h
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/target.h 2009-08-10 14:59:28.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/target.h 2009-08-10 14:59:58.000000000 +0200
-@@ -524,7 +524,7 @@ struct target_ops
+--- gdb-6.8.91.20090917.orig/gdb/target.h 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/target.h 2009-09-17 12:50:07.000000000 +0200
+@@ -545,7 +545,7 @@ struct target_ops
Return -1 if there is insufficient buffer for a whole entry.
Return 1 if an entry was read into *TYPEP and *VALP. */
int (*to_auxv_parse) (struct target_ops *ops, gdb_byte **readptr,
@@ -1281,10 +1272,10 @@
/* Search SEARCH_SPACE_LEN bytes beginning at START_ADDR for the
sequence of bytes in PATTERN with length PATTERN_LEN.
-Index: gdb-6.8.50.20090809/gdb/symfile.h
+Index: gdb-6.8.91.20090917/gdb/symfile.h
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/symfile.h 2009-08-10 14:59:28.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/symfile.h 2009-08-10 14:59:58.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/symfile.h 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/symfile.h 2009-09-17 12:50:07.000000000 +0200
@@ -229,7 +229,13 @@ enum symfile_add_flags
SYMFILE_MAINLINE = 1 << 2,
@@ -1300,3 +1291,29 @@
};
extern void syms_from_objfile (struct objfile *,
+Index: gdb-6.8.91.20090917/gdb/infcmd.c
+===================================================================
+--- gdb-6.8.91.20090917.orig/gdb/infcmd.c 2009-09-17 12:49:01.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/infcmd.c 2009-09-17 12:50:07.000000000 +0200
+@@ -2308,6 +2308,9 @@ attach_command_post_wait (char *args, in
+
+ post_create_inferior (¤t_target, from_tty);
+
++ /* Undo the disable from post_create_inferior. */
++ enable_breakpoints_after_startup ();
++
+ /* Install inferior's terminal modes. */
+ target_terminal_inferior ();
+
+Index: gdb-6.8.91.20090917/gdb/linux-tdep.c
+===================================================================
+--- gdb-6.8.91.20090917.orig/gdb/linux-tdep.c 2009-08-04 22:41:13.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/linux-tdep.c 2009-09-17 12:50:07.000000000 +0200
+@@ -163,5 +163,7 @@ in this session.\n"));
+ void
+ _initialize_linux_tdep (void)
+ {
++#if 0 /* gdb-6.3-pie-20050110.patch */
+ observer_attach_executable_changed (check_is_pie_binary);
++#endif
+ }
++++++ gdb-6.3-readnever-20050907.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:36.000000000 +0200
@@ -11,10 +11,10 @@
* gdb.texinfo (File Options): Document --readnever.
-Index: gdb-6.8.50.20090802/gdb/doc/gdb.texinfo
+Index: gdb-6.8.50.20090811/gdb/doc/gdb.texinfo
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/doc/gdb.texinfo 2009-08-03 09:50:57.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/doc/gdb.texinfo 2009-08-03 12:29:58.000000000 +0200
+--- gdb-6.8.50.20090811.orig/gdb/doc/gdb.texinfo 2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/doc/gdb.texinfo 2009-08-13 10:14:18.000000000 +0200
@@ -991,6 +991,12 @@ Read each symbol file's entire symbol ta
the default, which is to read it incrementally as it is needed.
This makes startup slower, but makes future operations faster.
@@ -28,10 +28,10 @@
@end table
@node Mode Options
-Index: gdb-6.8.50.20090802/gdb/main.c
+Index: gdb-6.8.50.20090811/gdb/main.c
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/main.c 2009-08-03 12:29:03.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/main.c 2009-08-03 12:29:58.000000000 +0200
+--- gdb-6.8.50.20090811.orig/gdb/main.c 2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/main.c 2009-08-13 10:14:18.000000000 +0200
@@ -382,6 +382,7 @@ captured_main (void *data)
{"xdb", no_argument, &xdb_commands, 1},
{"dbx", no_argument, &dbx_commands, 1},
@@ -48,11 +48,11 @@
"), stream);
fputs_unfiltered (_("\
--se=FILE Use FILE as symbol file and executable file.\n\
-Index: gdb-6.8.50.20090802/gdb/symfile.c
+Index: gdb-6.8.50.20090811/gdb/symfile.c
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/symfile.c 2009-08-03 12:28:14.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/symfile.c 2009-08-03 12:29:58.000000000 +0200
-@@ -78,6 +78,7 @@ static void clear_symtab_users_cleanup (
+--- gdb-6.8.50.20090811.orig/gdb/symfile.c 2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/symfile.c 2009-08-13 10:14:18.000000000 +0200
+@@ -79,6 +79,7 @@ static void clear_symtab_users_cleanup (
/* Global variables owned by this file */
int readnow_symbol_files; /* Read full symbols immediately */
@@ -60,19 +60,19 @@
/* External variables and functions referenced. */
-Index: gdb-6.8.50.20090802/gdb/dwarf2read.c
+Index: gdb-6.8.50.20090811/gdb/dwarf2read.c
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/dwarf2read.c 2009-08-03 09:50:57.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/dwarf2read.c 2009-08-03 12:31:01.000000000 +0200
-@@ -52,6 +52,7 @@
- #include "jv-lang.h"
+--- gdb-6.8.50.20090811.orig/gdb/dwarf2read.c 2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/dwarf2read.c 2009-08-13 10:14:29.000000000 +0200
+@@ -53,6 +53,7 @@
#include "typeprint.h"
#include "vec.h"
+ #include "block.h"
+#include "top.h"
#include <fcntl.h>
#include "gdb_string.h"
-@@ -1225,7 +1226,8 @@ dwarf2_has_info (struct objfile *objfile
+@@ -1245,7 +1246,8 @@ dwarf2_has_info (struct objfile *objfile
bfd_map_over_sections (objfile->obfd, dwarf2_locate_sections, NULL);
}
@@ -82,10 +82,10 @@
&& dwarf2_per_objfile->abbrev.asection != NULL);
}
-Index: gdb-6.8.50.20090802/gdb/top.h
+Index: gdb-6.8.50.20090811/gdb/top.h
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/top.h 2009-01-03 06:57:53.000000000 +0100
-+++ gdb-6.8.50.20090802/gdb/top.h 2009-08-03 12:29:58.000000000 +0200
+--- gdb-6.8.50.20090811.orig/gdb/top.h 2009-01-03 06:57:53.000000000 +0100
++++ gdb-6.8.50.20090811/gdb/top.h 2009-08-13 10:14:18.000000000 +0200
@@ -59,6 +59,7 @@ extern void set_prompt (char *);
/* From random places. */
++++++ gdb-6.3-test-pie-20050107.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -1,7 +1,7 @@
-Index: gdb-6.8.50.20090802/gdb/testsuite/configure.ac
+Index: gdb-6.8.50.20090909/gdb/testsuite/configure.ac
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/testsuite/configure.ac 2009-07-31 17:38:16.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/testsuite/configure.ac 2009-08-03 11:10:45.000000000 +0200
+--- gdb-6.8.50.20090909.orig/gdb/testsuite/configure.ac 2009-07-31 17:38:16.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/configure.ac 2009-09-09 19:06:01.000000000 +0200
@@ -144,6 +144,6 @@ AC_OUTPUT([Makefile \
gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile \
gdb.fortran/Makefile gdb.server/Makefile \
@@ -10,31 +10,31 @@
+ gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.pie/Makefile \
gdb.python/Makefile gdb.reverse/Makefile \
gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile])
-Index: gdb-6.8.50.20090802/gdb/testsuite/configure
+Index: gdb-6.8.50.20090909/gdb/testsuite/configure
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/testsuite/configure 2009-07-31 17:38:16.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/testsuite/configure 2009-08-03 11:11:27.000000000 +0200
-@@ -3239,7 +3239,7 @@ done
+--- gdb-6.8.50.20090909.orig/gdb/testsuite/configure 2009-08-22 18:56:43.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/configure 2009-09-09 19:06:27.000000000 +0200
+@@ -3515,7 +3515,7 @@ done
-- ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
-+ ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.pie/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
+-ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
++ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.pie/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
- # tests run on this system so they can be shared between configure
-@@ -3813,6 +3813,7 @@ do
- "gdb.objc/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.objc/Makefile" ;;
- "gdb.opt/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.opt/Makefile" ;;
- "gdb.pascal/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.pascal/Makefile" ;;
-+ "gdb.pie/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.pie/Makefile" ;;
- "gdb.python/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.python/Makefile" ;;
- "gdb.reverse/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.reverse/Makefile" ;;
- "gdb.threads/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.threads/Makefile" ;;
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/attach.c
+@@ -4231,6 +4231,7 @@ do
+ "gdb.objc/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.objc/Makefile" ;;
+ "gdb.opt/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opt/Makefile" ;;
+ "gdb.pascal/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.pascal/Makefile" ;;
++ "gdb.pie/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.pie/Makefile" ;;
+ "gdb.python/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.python/Makefile" ;;
+ "gdb.reverse/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.reverse/Makefile" ;;
+ "gdb.threads/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.threads/Makefile" ;;
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/attach.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/attach.c 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/attach.c 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,20 @@
+/* This program is intended to be started outside of gdb, and then
+ attached to by gdb. Thus, it simply spins in a loop. The loop
@@ -56,10 +56,10 @@
+ }
+ return 0;
+}
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/attach2.c
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/attach2.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/attach2.c 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/attach2.c 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,24 @@
+/* This program is intended to be started outside of gdb, and then
+ attached to by gdb. Thus, it simply spins in a loop. The loop
@@ -85,10 +85,10 @@
+ }
+ return (0);
+}
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/break.c
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/break.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/break.c 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/break.c 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,146 @@
+/* This testcase is part of GDB, the GNU debugger.
+
@@ -236,10 +236,10 @@
+ }
+ return 0;
+}
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/break1.c
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/break1.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/break1.c 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/break1.c 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,44 @@
+/* This testcase is part of GDB, the GNU debugger.
+
@@ -285,10 +285,10 @@
+void marker3 (a, b) char *a, *b; {} /* set breakpoint 18 here */
+void marker4 (d) long d; {} /* set breakpoint 13 here */
+#endif
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/coremaker.c
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/coremaker.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/coremaker.c 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/coremaker.c 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,142 @@
+/* Copyright 1992, 1993, 1994, 1995, 1996, 1999
+ Free Software Foundation, Inc.
@@ -432,10 +432,10 @@
+ return 0;
+}
+
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/attach.exp
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/attach.exp
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/attach.exp 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/attach.exp 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,432 @@
+# Copyright 1997, 1999, 2002 Free Software Foundation, Inc.
+
@@ -869,10 +869,10 @@
+do_call_attach_tests
+
+return 0
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/break.exp
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/break.exp
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/break.exp 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/break.exp 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,977 @@
+# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2002, 2003, 2004
@@ -1851,10 +1851,10 @@
+ send_gdb "set args main\n"
+ gdb_expect -re ".*$gdb_prompt $" {}
+}
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/corefile.exp
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/corefile.exp
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/corefile.exp 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/corefile.exp 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,243 @@
+# Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
+# Free Software Foundation, Inc.
@@ -2099,10 +2099,10 @@
+gdb_test "up" "#\[0-9\]* *\[0-9xa-fH'\]* in .* \\(\\).*" "up in corefile.exp (reinit)"
+
+gdb_test "core" "No core file now."
-Index: gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/Makefile.in
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/Makefile.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/testsuite/gdb.pie/Makefile.in 2009-08-03 11:10:12.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.pie/Makefile.in 2009-09-09 19:06:01.000000000 +0200
@@ -0,0 +1,19 @@
+VPATH = @srcdir@
+srcdir = @srcdir@
++++++ gdb-6.5-bz190810-gdbserver-arch-advice.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -7,23 +7,22 @@
(remote_async_wait): Likewise.
-Index: gdb-6.8.50.20081128/gdb/remote.c
+Index: gdb-6.8.50.20090818/gdb/remote.c
===================================================================
---- gdb-6.8.50.20081128.orig/gdb/remote.c 2008-12-09 16:59:51.000000000 +0100
-+++ gdb-6.8.50.20081128/gdb/remote.c 2008-12-09 17:00:04.000000000 +0100
-@@ -4329,8 +4329,13 @@ Packet: '%s'\n"),
- VEC_safe_push (cached_reg_t, event->regcache, &cached_reg);
- }
+--- gdb-6.8.50.20090818.orig/gdb/remote.c 2009-08-18 21:00:35.000000000 +0200
++++ gdb-6.8.50.20090818/gdb/remote.c 2009-08-18 21:04:46.000000000 +0200
+@@ -4408,8 +4408,13 @@ Packet: '%s'\n"),
+ VEC_safe_push (cached_reg_t, event->regcache, &cached_reg);
+ }
-- if (*p != ';')
-- error (_("Remote register badly formatted: %s\nhere: %s"),
-+ /* It may also occur on amd64 which defaults to 32-bit i386
-+ target. gdbserver(1) is not aware of the `set architecture'
-+ name itself as it is not using libbfd. */
-+ if (*p != ';')
-+ error (_("Remote register badly formatted: %s\nhere: %s"
-+ "\nTry to load the executable by `file' first,"
-+ "\nyou may also check `set/show architecture'."),
- buf, p);
- ++p;
- }
++ /* It may also occur on amd64 which defaults to 32-bit i386
++ target. gdbserver(1) is not aware of the `set architecture'
++ name itself as it is not using libbfd. */
+ if (*p != ';')
+- error (_("Remote register badly formatted: %s\nhere: %s"),
++ error (_("Remote register badly formatted: %s\nhere: %s"
++ "\nTry to load the executable by `file' first,"
++ "\nyou may also check `set/show architecture'."),
+ buf, p);
+ ++p;
+ }
++++++ gdb-6.6-buildid-locate-rpm.patch ++++++
++++ 1084 lines (skipped)
++++ between gdb/gdb-6.6-buildid-locate-rpm.patch
++++ and /mounts/work_src_done/STABLE/gdb/gdb-6.6-buildid-locate-rpm.patch
++++++ gdb-6.6-buildid-locate.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -1,7 +1,7 @@
-Index: gdb-6.8.50.20090809/gdb/corelow.c
+Index: gdb-6.8.50.20090909/gdb/corelow.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/corelow.c 2009-07-31 17:25:21.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/corelow.c 2009-08-10 14:56:11.000000000 +0200
+--- gdb-6.8.50.20090909.orig/gdb/corelow.c 2009-07-31 17:25:21.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/corelow.c 2009-09-09 19:09:35.000000000 +0200
@@ -45,6 +45,10 @@
#include "exceptions.h"
#include "solib.h"
@@ -89,11 +89,11 @@
+ NULL, NULL, NULL,
+ &setlist, &showlist);
}
-Index: gdb-6.8.50.20090809/gdb/doc/gdb.texinfo
+Index: gdb-6.8.50.20090909/gdb/doc/gdb.texinfo
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/doc/gdb.texinfo 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/doc/gdb.texinfo 2009-08-10 14:56:11.000000000 +0200
-@@ -13733,6 +13733,27 @@ information files.
+--- gdb-6.8.50.20090909.orig/gdb/doc/gdb.texinfo 2009-09-09 19:09:31.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/doc/gdb.texinfo 2009-09-09 19:09:35.000000000 +0200
+@@ -13764,6 +13764,27 @@ information files.
@end table
@@ -121,10 +121,10 @@
@cindex @code{.gnu_debuglink} sections
@cindex debug link sections
A debug link is a special section of the executable file named
-Index: gdb-6.8.50.20090809/gdb/solib-svr4.c
+Index: gdb-6.8.50.20090909/gdb/solib-svr4.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/solib-svr4.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/solib-svr4.c 2009-08-10 14:56:11.000000000 +0200
+--- gdb-6.8.50.20090909.orig/gdb/solib-svr4.c 2009-09-09 19:05:56.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/solib-svr4.c 2009-09-09 19:09:35.000000000 +0200
@@ -1101,9 +1101,33 @@ svr4_current_sos (void)
safe_strerror (errcode));
else
@@ -162,11 +162,11 @@
}
xfree (buffer);
-Index: gdb-6.8.50.20090809/gdb/symfile.c
+Index: gdb-6.8.50.20090909/gdb/symfile.c
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/symfile.c 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/symfile.c 2009-08-10 14:58:53.000000000 +0200
-@@ -55,6 +55,7 @@
+--- gdb-6.8.50.20090909.orig/gdb/symfile.c 2009-09-09 19:09:31.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/symfile.c 2009-09-09 19:09:55.000000000 +0200
+@@ -56,6 +56,7 @@
#include "elf-bfd.h"
#include "solib.h"
#include "remote.h"
@@ -174,7 +174,7 @@
#include <sys/types.h>
#include <fcntl.h>
-@@ -1195,16 +1196,65 @@ symbol_file_clear (int from_tty)
+@@ -1174,16 +1175,65 @@ symbol_file_clear (int from_tty)
printf_unfiltered (_("No symbol file now.\n"));
}
@@ -242,7 +242,7 @@
{
struct build_id *retval;
-@@ -1220,6 +1270,348 @@ build_id_bfd_get (bfd *abfd)
+@@ -1199,6 +1249,348 @@ build_id_bfd_get (bfd *abfd)
return retval;
}
@@ -591,7 +591,7 @@
/* Return if FILENAME has NT_GNU_BUILD_ID matching the CHECK value. */
static int
-@@ -1237,7 +1629,7 @@ build_id_verify (const char *filename, s
+@@ -1216,7 +1608,7 @@ build_id_verify (const char *filename, s
if (abfd == NULL)
return 0;
@@ -600,7 +600,7 @@
if (found == NULL)
warning (_("File \"%s\" has no build-id, file skipped"), filename);
-@@ -1256,8 +1648,9 @@ build_id_verify (const char *filename, s
+@@ -1235,8 +1627,9 @@ build_id_verify (const char *filename, s
return retval;
}
@@ -612,7 +612,7 @@
{
char *link, *s, *retval = NULL;
gdb_byte *data = build_id->data;
-@@ -1265,7 +1658,9 @@ build_id_to_debug_filename (struct build
+@@ -1244,7 +1637,9 @@ build_id_to_debug_filename (struct build
/* DEBUG_FILE_DIRECTORY/.build-id/ab/cdef */
link = xmalloc (strlen (debug_file_directory) + (sizeof "/.build-id/" - 1) + 1
@@ -623,7 +623,7 @@
s = link + sprintf (link, "%s/.build-id/", debug_file_directory);
if (size > 0)
{
-@@ -1276,12 +1671,14 @@ build_id_to_debug_filename (struct build
+@@ -1255,12 +1650,14 @@ build_id_to_debug_filename (struct build
*s++ = '/';
while (size-- > 0)
s += sprintf (s, "%02x", (unsigned) *data++);
@@ -640,7 +640,7 @@
if (retval != NULL && !build_id_verify (retval, build_id))
{
-@@ -1289,9 +1686,150 @@ build_id_to_debug_filename (struct build
+@@ -1268,9 +1665,150 @@ build_id_to_debug_filename (struct build
retval = NULL;
}
@@ -791,7 +791,7 @@
static char *
get_debug_link_info (struct objfile *objfile, unsigned long *crc32_out)
{
-@@ -1374,32 +1912,36 @@ static char *
+@@ -1353,32 +1891,36 @@ static char *
find_separate_debug_file (struct objfile *objfile)
{
asection *sect;
@@ -836,7 +836,7 @@
}
basename = get_debug_link_info (objfile, &crc32);
-@@ -1407,7 +1949,7 @@ find_separate_debug_file (struct objfile
+@@ -1386,7 +1928,7 @@ find_separate_debug_file (struct objfile
if (basename == NULL)
/* There's no separate debug info, hence there's no way we could
load it => no warning. */
@@ -845,7 +845,7 @@
dir = xstrdup (objfile->name);
-@@ -1429,24 +1971,19 @@ find_separate_debug_file (struct objfile
+@@ -1408,24 +1950,19 @@ find_separate_debug_file (struct objfile
if (canon_name && strlen (canon_name) > i)
i = strlen (canon_name);
@@ -877,7 +877,7 @@
/* Then try in the subdirectory named DEBUG_SUBDIRECTORY. */
strcpy (debugfile, dir);
-@@ -1455,12 +1992,7 @@ find_separate_debug_file (struct objfile
+@@ -1434,12 +1971,7 @@ find_separate_debug_file (struct objfile
strcat (debugfile, basename);
if (separate_debug_file_exists (debugfile, crc32, objfile->name))
@@ -891,7 +891,7 @@
/* Then try in the global debugfile directory. */
strcpy (debugfile, debug_file_directory);
-@@ -1469,12 +2001,7 @@ find_separate_debug_file (struct objfile
+@@ -1448,12 +1980,7 @@ find_separate_debug_file (struct objfile
strcat (debugfile, basename);
if (separate_debug_file_exists (debugfile, crc32, objfile->name))
@@ -905,7 +905,7 @@
/* If the file is in the sysroot, try using its base path in the
global debugfile directory. */
-@@ -1488,21 +2015,18 @@ find_separate_debug_file (struct objfile
+@@ -1467,20 +1994,18 @@ find_separate_debug_file (struct objfile
strcat (debugfile, basename);
if (separate_debug_file_exists (debugfile, crc32, objfile->name))
@@ -913,7 +913,6 @@
- xfree (canon_name);
- xfree (basename);
- xfree (dir);
-- xfree (canon_name);
- return xstrdup (debugfile);
- }
+ goto cleanup_return_debugfile;
@@ -934,28 +933,28 @@
}
-@@ -4254,4 +4778,16 @@ Show printing of symbol loading messages
- NULL,
- NULL,
- &setprintlist, &showprintlist);
-+
-+ add_setshow_zinteger_cmd ("build-id-verbose", no_class, &build_id_verbose,
-+ _("\
-+Set debugging level of the build-id locator."), _("\
-+Show debugging level of the build-id locator."), _("\
-+Level 1 (default) enables printing the missing debug filenames,\n\
-+level 2 also prints the parsing of binaries to find the identificators."),
-+ NULL,
-+ show_build_id_verbose,
-+ &setlist, &showlist);
-+
-+ observer_attach_executable_changed (debug_print_executable_changed);
+@@ -4231,4 +4756,16 @@ the global debug-file directory prepende
+ NULL,
+ show_debug_file_directory,
+ &setlist, &showlist);
++
++ add_setshow_zinteger_cmd ("build-id-verbose", no_class, &build_id_verbose,
++ _("\
++ Set debugging level of the build-id locator."), _("\
++ Show debugging level of the build-id locator."), _("\
++ Level 1 (default) enables printing the missing debug filenames,\n\
++ level 2 also prints the parsing of binaries to find the identificators."),
++ NULL,
++ show_build_id_verbose,
++ &setlist, &showlist);
++
++ observer_attach_executable_changed (debug_print_executable_changed);
}
-Index: gdb-6.8.50.20090809/gdb/symfile.h
+Index: gdb-6.8.50.20090909/gdb/symfile.h
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/symfile.h 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/symfile.h 2009-08-10 14:56:11.000000000 +0200
-@@ -388,6 +388,13 @@ extern int symfile_map_offsets_to_segmen
+--- gdb-6.8.50.20090909.orig/gdb/symfile.h 2009-09-09 19:05:56.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/symfile.h 2009-09-09 19:09:35.000000000 +0200
+@@ -381,6 +381,13 @@ extern int symfile_map_offsets_to_segmen
struct symfile_segment_data *get_symfile_segment_data (bfd *abfd);
void free_symfile_segment_data (struct symfile_segment_data *data);
@@ -969,10 +968,10 @@
/* From dwarf2read.c */
extern int dwarf2_has_info (struct objfile *);
-Index: gdb-6.8.50.20090809/gdb/testsuite/lib/gdb.exp
+Index: gdb-6.8.50.20090909/gdb/testsuite/lib/gdb.exp
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/testsuite/lib/gdb.exp 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/testsuite/lib/gdb.exp 2009-08-10 14:56:11.000000000 +0200
+--- gdb-6.8.50.20090909.orig/gdb/testsuite/lib/gdb.exp 2009-09-09 19:05:56.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/lib/gdb.exp 2009-09-09 19:09:35.000000000 +0200
@@ -1248,6 +1248,16 @@ proc default_gdb_start { } {
warning "Couldn't set the width to 0."
}
@@ -990,10 +989,10 @@
return 0;
}
-Index: gdb-6.8.50.20090809/gdb/testsuite/lib/mi-support.exp
+Index: gdb-6.8.50.20090909/gdb/testsuite/lib/mi-support.exp
===================================================================
---- gdb-6.8.50.20090809.orig/gdb/testsuite/lib/mi-support.exp 2009-08-10 00:50:30.000000000 +0200
-+++ gdb-6.8.50.20090809/gdb/testsuite/lib/mi-support.exp 2009-08-10 14:56:11.000000000 +0200
+--- gdb-6.8.50.20090909.orig/gdb/testsuite/lib/mi-support.exp 2009-09-09 19:05:56.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/lib/mi-support.exp 2009-09-09 19:09:35.000000000 +0200
@@ -221,6 +221,16 @@ proc default_mi_gdb_start { args } {
}
}
++++++ gdb-6.6-scheduler_locking-step-is-default.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20081128/gdb/infrun.c
+Index: gdb-6.8.50.20090811/gdb/infrun.c
===================================================================
---- gdb-6.8.50.20081128.orig/gdb/infrun.c 2008-12-09 15:56:16.000000000 +0100
-+++ gdb-6.8.50.20081128/gdb/infrun.c 2008-12-09 15:56:59.000000000 +0100
-@@ -931,7 +931,7 @@ static const char *scheduler_enums[] = {
+--- gdb-6.8.50.20090811.orig/gdb/infrun.c 2009-08-12 06:56:29.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/infrun.c 2009-08-12 07:13:08.000000000 +0200
+@@ -1075,7 +1075,7 @@ static const char *scheduler_enums[] = {
schedlock_step,
NULL
};
@@ -11,10 +11,10 @@
static void
show_scheduler_mode (struct ui_file *file, int from_tty,
struct cmd_list_element *c, const char *value)
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.mi/mi-console.exp
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-console.exp
===================================================================
---- gdb-6.8.50.20081128.orig/gdb/testsuite/gdb.mi/mi-console.exp 2008-08-06 14:52:08.000000000 +0200
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.mi/mi-console.exp 2008-12-09 15:59:34.000000000 +0100
+--- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi-console.exp 2009-08-12 06:56:29.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-console.exp 2009-08-12 06:58:45.000000000 +0200
@@ -47,6 +47,9 @@ if { [gdb_compile "${srcdir}/${subdir}/
mi_run_to_main
@@ -25,10 +25,10 @@
# Next over the hello() call which will produce lots of output
mi_gdb_test "220-exec-next" \
"220\\^running(\r\n\\*running,thread-id=\"all\")?" \
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.mi/mi2-console.exp
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi2-console.exp
===================================================================
---- gdb-6.8.50.20081128.orig/gdb/testsuite/gdb.mi/mi2-console.exp 2008-08-06 14:52:08.000000000 +0200
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.mi/mi2-console.exp 2008-12-09 16:00:33.000000000 +0100
+--- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi2-console.exp 2009-08-12 06:56:29.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi2-console.exp 2009-08-12 06:58:45.000000000 +0200
@@ -47,6 +47,9 @@ if { [gdb_compile "${srcdir}/${subdir}/
mi_run_to_main
@@ -39,3 +39,16 @@
# Next over the hello() call which will produce lots of output
send_gdb "220-exec-next\n"
gdb_expect {
+Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-cli.exp
+===================================================================
+--- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi-cli.exp 2009-06-09 19:12:42.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-cli.exp 2009-08-12 07:13:32.000000000 +0200
+@@ -173,7 +173,7 @@ mi_execute_to "exec-continue" "breakpoin
+ # Test that the token is output even for CLI commands
+ # Also test that *stopped includes frame information.
+ mi_gdb_test "34 next" \
+- ".*34\\\^running.*\\*running,thread-id=\"all\"" \
++ ".*34\\\^running.*\\*running,thread-id=\"1\"" \
+ "34 next: run"
+
+ if {!$async} {
++++++ gdb-6.6-step-thread-exit.patch ++++++
Index: gdb-6.8.50.20090811/gdb/linux-nat.c
===================================================================
--- gdb-6.8.50.20090811.orig/gdb/linux-nat.c 2009-08-12 07:21:20.000000000 +0200
+++ gdb-6.8.50.20090811/gdb/linux-nat.c 2009-08-12 08:11:25.000000000 +0200
@@ -1656,16 +1656,18 @@ resume_set_callback (struct lwp_info *lp
static void
linux_nat_resume (struct target_ops *ops,
- ptid_t ptid, int step, enum target_signal signo)
+ ptid_t ptid, int step_int, enum target_signal signo)
{
sigset_t prev_mask;
struct lwp_info *lp;
int resume_many;
+ enum resume_step step = step_int;
if (debug_linux_nat)
fprintf_unfiltered (gdb_stdlog,
"LLR: Preparing to %s %s, %s, inferior_ptid %s\n",
- step ? "step" : "resume",
+ (step == RESUME_STEP_NEEDED
+ ? "needed" : (step ? "step" : "resume")),
target_pid_to_str (ptid),
signo ? strsignal (signo) : "0",
target_pid_to_str (inferior_ptid));
@@ -2625,10 +2627,34 @@ linux_nat_filter_event (int lwpid, int s
if (num_lwps (GET_PID (lp->ptid)) > 1)
{
+ enum resume_step step = lp->step;
+ pid_t pid = GET_PID (lp->ptid);
+
/* If there is at least one more LWP, then the exit signal
was not the end of the debugged application and should be
ignored. */
exit_lwp (lp);
+
+ if (step == RESUME_STEP_USER)
+ {
+ /* Now stop the closest LWP's ... */
+ lp = find_lwp_pid (pid_to_ptid (pid));
+ if (!lp)
+ lp = lwp_list;
+ gdb_assert (lp != NULL);
+ errno = 0;
+ ptrace (PTRACE_CONT, GET_LWP (lp->ptid), 0,
+ (void *) (unsigned long) SIGSTOP);
+ if (debug_linux_nat)
+ fprintf_unfiltered (gdb_stdlog,
+ "PTRACE_CONT %s, 0, 0 (%s)\n",
+ target_pid_to_str (lp->ptid),
+ errno ? safe_strerror (errno)
+ : "OK");
+ /* Avoid the silent `delayed SIGSTOP' handling. */
+ lp->signalled = 0;
+ }
+
return NULL;
}
}
++++++ gdb-6.8-bz254229-gcore-prpsinfo.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20090803/bfd/elf-bfd.h
+Index: gdb-6.8.50.20090910/bfd/elf-bfd.h
===================================================================
---- gdb-6.8.50.20090803.orig/bfd/elf-bfd.h 2009-07-23 15:00:20.000000000 +0200
-+++ gdb-6.8.50.20090803/bfd/elf-bfd.h 2009-08-03 17:21:25.000000000 +0200
-@@ -2115,7 +2115,7 @@ extern Elf_Internal_Phdr * _bfd_elf_find
+--- gdb-6.8.50.20090910.orig/bfd/elf-bfd.h 2009-09-09 23:38:57.000000000 +0200
++++ gdb-6.8.50.20090910/bfd/elf-bfd.h 2009-09-10 23:01:15.000000000 +0200
+@@ -2121,7 +2121,7 @@ extern Elf_Internal_Phdr * _bfd_elf_find
extern char *elfcore_write_note
(bfd *, char *, int *, const char *, int, const void *, int);
extern char *elfcore_write_prpsinfo
@@ -11,11 +11,11 @@
extern char *elfcore_write_prstatus
(bfd *, char *, int *, long, int, const void *);
extern char * elfcore_write_pstatus
-Index: gdb-6.8.50.20090803/bfd/elf.c
+Index: gdb-6.8.50.20090910/bfd/elf.c
===================================================================
---- gdb-6.8.50.20090803.orig/bfd/elf.c 2009-07-23 15:00:20.000000000 +0200
-+++ gdb-6.8.50.20090803/bfd/elf.c 2009-08-03 17:23:13.000000000 +0200
-@@ -8381,6 +8381,7 @@ char *
+--- gdb-6.8.50.20090910.orig/bfd/elf.c 2009-09-09 23:38:57.000000000 +0200
++++ gdb-6.8.50.20090910/bfd/elf.c 2009-09-10 23:04:17.000000000 +0200
+@@ -8398,6 +8398,7 @@ char *
elfcore_write_prpsinfo (bfd *abfd,
char *buf,
int *bufsiz,
@@ -23,7 +23,7 @@
const char *fname,
const char *psargs)
{
-@@ -8407,9 +8408,15 @@ elfcore_write_prpsinfo (bfd *abfd,
+@@ -8424,9 +8425,15 @@ elfcore_write_prpsinfo (bfd *abfd,
int note_type = NT_PRPSINFO;
#endif
@@ -42,7 +42,7 @@
return elfcore_write_note (abfd, buf, bufsiz,
note_name, note_type, &data, sizeof (data));
}
-@@ -8424,9 +8431,15 @@ elfcore_write_prpsinfo (bfd *abfd,
+@@ -8441,9 +8448,15 @@ elfcore_write_prpsinfo (bfd *abfd,
int note_type = NT_PRPSINFO;
#endif
@@ -61,10 +61,10 @@
return elfcore_write_note (abfd, buf, bufsiz,
note_name, note_type, &data, sizeof (data));
}
-Index: gdb-6.8.50.20090803/gdb/amd64-linux-nat.c
+Index: gdb-6.8.50.20090910/gdb/amd64-linux-nat.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/amd64-linux-nat.c 2009-08-03 17:19:57.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/amd64-linux-nat.c 2009-08-03 17:21:25.000000000 +0200
+--- gdb-6.8.50.20090910.orig/gdb/amd64-linux-nat.c 2009-09-10 23:01:07.000000000 +0200
++++ gdb-6.8.50.20090910/gdb/amd64-linux-nat.c 2009-09-10 23:01:15.000000000 +0200
@@ -140,6 +140,7 @@ static int amd64_linux_gregset32_reg_off
static char *
@@ -98,10 +98,10 @@
}
static void
-Index: gdb-6.8.50.20090803/gdb/fbsd-nat.c
+Index: gdb-6.8.50.20090910/gdb/fbsd-nat.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/fbsd-nat.c 2009-07-02 19:21:06.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/fbsd-nat.c 2009-08-03 17:21:25.000000000 +0200
+--- gdb-6.8.50.20090910.orig/gdb/fbsd-nat.c 2009-07-02 19:21:06.000000000 +0200
++++ gdb-6.8.50.20090910/gdb/fbsd-nat.c 2009-09-10 23:01:15.000000000 +0200
@@ -211,6 +211,7 @@ fbsd_make_corefile_notes (bfd *obfd, int
psargs = reconcat (psargs, psargs, " ", get_inferior_args (), NULL);
@@ -110,10 +110,10 @@
fname, psargs);
}
-Index: gdb-6.8.50.20090803/gdb/linux-nat.c
+Index: gdb-6.8.50.20090910/gdb/linux-nat.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/linux-nat.c 2009-08-03 17:19:56.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/linux-nat.c 2009-08-03 17:24:03.000000000 +0200
+--- gdb-6.8.50.20090910.orig/gdb/linux-nat.c 2009-09-10 23:01:06.000000000 +0200
++++ gdb-6.8.50.20090910/gdb/linux-nat.c 2009-09-10 23:01:15.000000000 +0200
@@ -55,6 +55,7 @@
#include "xml-support.h"
#include "terminal.h"
@@ -131,7 +131,7 @@
char *(*linux_elfcore_write_prstatus)
(bfd *, char *, int *, long, int, const void *) = elfcore_write_prstatus;
static char *
-@@ -3840,6 +3841,159 @@ linux_spu_make_corefile_notes (bfd *obfd
+@@ -3946,6 +3947,159 @@ linux_spu_make_corefile_notes (bfd *obfd
return args.note_data;
}
@@ -291,7 +291,7 @@
/* Fills the "to_make_corefile_note" target vector. Builds the note
section for a corefile, and returns it in a malloc buffer. */
-@@ -3860,8 +4014,14 @@ linux_nat_make_corefile_notes (bfd *obfd
+@@ -3966,8 +4120,14 @@ linux_nat_make_corefile_notes (bfd *obfd
if (get_exec_file (0))
{
@@ -306,7 +306,7 @@
if (get_inferior_args ())
{
char *string_end;
-@@ -3877,9 +4037,15 @@ linux_nat_make_corefile_notes (bfd *obfd
+@@ -3983,9 +4143,15 @@ linux_nat_make_corefile_notes (bfd *obfd
psargs_end - string_end);
}
}
@@ -324,11 +324,11 @@
}
/* Dump information for threads. */
-Index: gdb-6.8.50.20090803/gdb/linux-nat.h
+Index: gdb-6.8.50.20090910/gdb/linux-nat.h
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/linux-nat.h 2009-08-03 17:19:56.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/linux-nat.h 2009-08-03 17:21:25.000000000 +0200
-@@ -148,7 +148,7 @@ struct siginfo *linux_nat_get_siginfo (p
+--- gdb-6.8.50.20090910.orig/gdb/linux-nat.h 2009-09-10 23:01:06.000000000 +0200
++++ gdb-6.8.50.20090910/gdb/linux-nat.h 2009-09-10 23:01:15.000000000 +0200
+@@ -154,7 +154,7 @@ struct siginfo *linux_nat_get_siginfo (p
/* These functions make elfcore note sections.
They may get overriden by code adjusting data for multi-target builds. */
extern char *(*linux_elfcore_write_prpsinfo)
@@ -337,10 +337,10 @@
extern char *(*linux_elfcore_write_prstatus)
(bfd *, char *, int *, long, int, const void *);
extern char *(*linux_elfcore_write_prfpreg)
-Index: gdb-6.8.50.20090803/gdb/procfs.c
+Index: gdb-6.8.50.20090910/gdb/procfs.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/procfs.c 2009-08-01 02:02:04.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/procfs.c 2009-08-03 17:21:25.000000000 +0200
+--- gdb-6.8.50.20090910.orig/gdb/procfs.c 2009-08-01 02:02:04.000000000 +0200
++++ gdb-6.8.50.20090910/gdb/procfs.c 2009-09-10 23:01:15.000000000 +0200
@@ -6147,6 +6147,7 @@ procfs_make_note_section (bfd *obfd, int
note_data = (char *) elfcore_write_prpsinfo (obfd,
note_data,
++++++ gdb-6.8-bz457187-largefile.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -5,33 +5,30 @@
* config.in: Regenerate.
* configure: Regenerate.
-Index: gdb-6.8.50.20090803/gdb/configure.ac
+Index: gdb-6.8.50.20090909/gdb/configure.ac
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/configure.ac 2009-08-04 06:32:39.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/configure.ac 2009-08-04 06:33:51.000000000 +0200
-@@ -30,6 +30,7 @@ AC_GNU_SOURCE
- AC_AIX
- AC_ISC_POSIX
+--- gdb-6.8.50.20090909.orig/gdb/configure.ac 2009-09-09 20:08:04.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/configure.ac 2009-09-09 20:11:04.000000000 +0200
+@@ -28,6 +28,7 @@ AM_MAINTAINER_MODE
+ AC_PROG_CC
+ AC_USE_SYSTEM_EXTENSIONS
gl_EARLY
+AC_SYS_LARGEFILE
AM_PROG_CC_STDC
AC_CONFIG_AUX_DIR(..)
-Index: gdb-6.8.50.20090803/gdb/config.in
+Index: gdb-6.8.50.20090909/gdb/config.in
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/config.in 2009-08-04 06:32:39.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/config.in 2009-08-04 06:33:51.000000000 +0200
-@@ -744,6 +744,9 @@
- # undef _ALL_SOURCE
+--- gdb-6.8.50.20090909.orig/gdb/config.in 2009-09-09 20:08:04.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/config.in 2009-09-09 20:11:33.000000000 +0200
+@@ -751,10 +751,16 @@
+ # endif
#endif
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
- /* Enable GNU extensions on systems that have them. */
- #ifndef _GNU_SOURCE
- # undef _GNU_SOURCE
-@@ -753,6 +756,9 @@
+ /* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
<sys/proc.h> problem on IRIX 5. */
#undef _KMEMUSER
@@ -41,11 +38,19 @@
/* Define to 1 if on MINIX. */
#undef _MINIX
-Index: gdb-6.8.50.20090803/gdb/configure
+Index: gdb-6.8.50.20090909/gdb/configure
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/configure 2009-08-04 06:32:39.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/configure 2009-08-04 06:33:51.000000000 +0200
-@@ -874,6 +874,7 @@ Optional Features:
+--- gdb-6.8.50.20090909.orig/gdb/configure 2009-09-09 20:10:45.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/configure 2009-09-09 20:11:07.000000000 +0200
+@@ -884,6 +884,7 @@ ac_subst_files='host_makefile_frag'
+ ac_user_opts='
+ enable_option_checking
+ enable_maintainer_mode
++enable_largefile
+ enable_dependency_tracking
+ with_separate_debug_dir
+ with_gdb_datadir
+@@ -1562,6 +1563,7 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
@@ -53,33 +58,29 @@
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-targets=TARGETS
-@@ -3347,6 +3348,370 @@ _ACEOF
+@@ -4100,6 +4102,204 @@ fi
-+# Check whether --enable-largefile or --disable-largefile was given.
-+if test "${enable_largefile+set}" = set; then
-+ enableval="$enable_largefile"
++# Check whether --enable-largefile was given.
++if test "${enable_largefile+set}" = set; then :
++ enableval=$enable_largefile;
++fi
+
-+fi;
+if test "$enable_largefile" != no; then
+
-+ echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
-+echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
-+if test "${ac_cv_sys_largefile_CC+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
++$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
++if test "${ac_cv_sys_largefile_CC+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+else
+ ac_cv_sys_largefile_CC=no
+ if test "$GCC" != yes; then
+ ac_save_CC=$CC
+ while :; do
-+ # IRIX 6.2 and later do not support large files by default,
-+ # so use the C compiler's -n32 option if that helps.
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
++ # IRIX 6.2 and later do not support large files by default,
++ # so use the C compiler's -n32 option if that helps.
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
@@ -98,89 +99,34 @@
+ return 0;
+}
+_ACEOF
-+ rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
++ if ac_fn_c_try_compile "$LINENO"; then :
+ break
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
+fi
-+rm -f conftest.err conftest.$ac_objext
-+ CC="$CC -n32"
-+ rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
++rm -f core conftest.err conftest.$ac_objext
++ CC="$CC -n32"
++ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_sys_largefile_CC=' -n32'; break
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
+fi
-+rm -f conftest.err conftest.$ac_objext
++rm -f core conftest.err conftest.$ac_objext
+ break
+ done
+ CC=$ac_save_CC
+ rm -f conftest.$ac_ext
+ fi
+fi
-+echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
-+echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
++$as_echo "$ac_cv_sys_largefile_CC" >&6; }
+ if test "$ac_cv_sys_largefile_CC" != no; then
+ CC=$CC$ac_cv_sys_largefile_CC
+ fi
+
-+ echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
-+echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
-+if test "${ac_cv_sys_file_offset_bits+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
++$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
++if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+else
+ while :; do
-+ ac_cv_sys_file_offset_bits=no
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
@@ -199,40 +145,11 @@
+ return 0;
+}
+_ACEOF
-+rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
-+ break
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_sys_file_offset_bits=no; break
+fi
-+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#define _FILE_OFFSET_BITS 64
+#include <sys/types.h>
@@ -252,60 +169,33 @@
+ return 0;
+}
+_ACEOF
-+rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
++if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_sys_file_offset_bits=64; break
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
+fi
-+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_cv_sys_file_offset_bits=unknown
+ break
+done
+fi
-+echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
-+echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
-+if test "$ac_cv_sys_file_offset_bits" != no; then
-+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
++$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
++case $ac_cv_sys_file_offset_bits in #(
++ no | unknown) ;;
++ *)
+cat >>confdefs.h <<_ACEOF
+#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
+_ACEOF
-+
-+fi
-+rm -f conftest*
-+ echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
-+echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
-+if test "${ac_cv_sys_large_files+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
++;;
++esac
++rm -rf conftest*
++ if test $ac_cv_sys_file_offset_bits = unknown; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
++$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
++if test "${ac_cv_sys_large_files+set}" = set; then :
++ $as_echo_n "(cached) " >&6
+else
+ while :; do
-+ ac_cv_sys_large_files=no
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
@@ -324,40 +214,11 @@
+ return 0;
+}
+_ACEOF
-+rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
-+ break
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
++if ac_fn_c_try_compile "$LINENO"; then :
++ ac_cv_sys_large_files=no; break
+fi
-+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#define _LARGE_FILES 1
+#include <sys/types.h>
@@ -377,48 +238,26 @@
+ return 0;
+}
+_ACEOF
-+rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
++if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_sys_large_files=1; break
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
+fi
-+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++ ac_cv_sys_large_files=unknown
+ break
+done
+fi
-+echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
-+echo "${ECHO_T}$ac_cv_sys_large_files" >&6
-+if test "$ac_cv_sys_large_files" != no; then
-+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
++$as_echo "$ac_cv_sys_large_files" >&6; }
++case $ac_cv_sys_large_files in #(
++ no | unknown) ;;
++ *)
+cat >>confdefs.h <<_ACEOF
+#define _LARGE_FILES $ac_cv_sys_large_files
+_ACEOF
-+
-+fi
-+rm -f conftest*
++;;
++esac
++rm -rf conftest*
++ fi
+fi
+
++++++ gdb-6.8-bz466901-backtrace-full-prelinked.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -1,9 +1,9 @@
Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
-Index: gdb-6.8.50.20090803/gdb/dwarf2loc.c
+Index: gdb-6.8.50.20090909/gdb/dwarf2loc.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/dwarf2loc.c 2009-08-04 06:29:47.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/dwarf2loc.c 2009-08-04 06:33:35.000000000 +0200
+--- gdb-6.8.50.20090909.orig/gdb/dwarf2loc.c 2009-09-09 20:08:03.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/dwarf2loc.c 2009-09-09 20:10:35.000000000 +0200
@@ -56,7 +56,9 @@ find_location_expression (struct dwarf2_
CORE_ADDR low, high;
gdb_byte *loc_ptr, *buf_end;
@@ -15,10 +15,10 @@
struct gdbarch *gdbarch = get_objfile_arch (objfile);
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
unsigned int addr_size = dwarf2_per_cu_addr_size (baton->per_cu);
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp 2009-08-04 06:33:35.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp 2009-09-09 20:10:35.000000000 +0200
@@ -0,0 +1,102 @@
+# Copyright 2008 Free Software Foundation, Inc.
+
@@ -122,10 +122,10 @@
+
+# `abort' can get expressed as `*__GI_abort'.
+gdb_test "bt full" "in \[^ \]*abort \\(.*in func \\(.*\r\n\[\t \]+i = -?\[0-9\].*in main \\(.*" "Backtrace after abort()"
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c 2009-08-04 06:33:35.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c 2009-09-09 20:10:35.000000000 +0200
@@ -0,0 +1,26 @@
+/* This testcase is part of GDB, the GNU debugger.
+
@@ -153,10 +153,10 @@
+ func ();
+ return 0;
+}
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S
+Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S 2009-08-04 06:33:35.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S 2009-09-09 20:10:35.000000000 +0200
@@ -0,0 +1,328 @@
+/* This testcase is part of GDB, the GNU debugger.
+
++++++ gdb-6.8-fortran-tag-constant.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20090803/gdb/dwarf2read.c
+Index: gdb-6.8.50.20090811/gdb/dwarf2read.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/dwarf2read.c 2009-08-04 06:32:58.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/dwarf2read.c 2009-08-04 06:33:18.000000000 +0200
-@@ -2459,6 +2459,7 @@ scan_partial_symbols (struct partial_die
+--- gdb-6.8.50.20090811.orig/gdb/dwarf2read.c 2009-08-13 10:14:45.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/dwarf2read.c 2009-08-13 10:22:36.000000000 +0200
+@@ -2480,6 +2480,7 @@ scan_partial_symbols (struct partial_die
add_partial_subprogram (pdi, lowpc, highpc, need_pc, cu);
break;
case DW_TAG_variable:
@@ -10,7 +10,7 @@
case DW_TAG_typedef:
case DW_TAG_union_type:
if (!pdi->is_declaration)
-@@ -2654,6 +2655,7 @@ add_partial_symbol (struct partial_die_i
+@@ -2675,6 +2676,7 @@ add_partial_symbol (struct partial_die_i
}
break;
case DW_TAG_variable:
@@ -18,7 +18,15 @@
if (pdi->is_external)
{
/* Global Variable.
-@@ -4790,7 +4792,8 @@ dwarf2_add_field (struct field_info *fip
+@@ -2805,6 +2807,7 @@ die_needs_namespace (struct die_info *di
+ return 1;
+
+ case DW_TAG_variable:
++ case DW_TAG_constant:
+ {
+ struct attribute *attr;
+ attr = dwarf2_attr (die, DW_AT_specification, cu);
+@@ -4741,7 +4744,8 @@ dwarf2_add_field (struct field_info *fip
fip->non_public_fields = 1;
}
}
@@ -28,7 +36,7 @@
{
/* C++ static member. */
-@@ -5297,7 +5300,8 @@ read_structure_type (struct die_info *di
+@@ -5233,7 +5237,8 @@ read_structure_type (struct die_info *di
while (child_die && child_die->tag)
{
if (child_die->tag == DW_TAG_member
@@ -38,7 +46,7 @@
{
/* NOTE: carlton/2002-11-05: A C++ static data member
should be a DW_TAG_member that is a declaration, but
-@@ -5416,6 +5420,7 @@ process_structure_scope (struct die_info
+@@ -5352,6 +5357,7 @@ process_structure_scope (struct die_info
{
if (child_die->tag == DW_TAG_member
|| child_die->tag == DW_TAG_variable
@@ -46,15 +54,15 @@
|| child_die->tag == DW_TAG_inheritance)
{
/* Do nothing. */
-@@ -6926,6 +6931,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
+@@ -6980,6 +6986,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
&& abbrev->tag != DW_TAG_subprogram
&& abbrev->tag != DW_TAG_lexical_block
&& abbrev->tag != DW_TAG_variable
+ && abbrev->tag != DW_TAG_constant
&& abbrev->tag != DW_TAG_namespace
+ && abbrev->tag != DW_TAG_module
&& abbrev->tag != DW_TAG_member)
- {
-@@ -7033,6 +7039,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
+@@ -7088,6 +7095,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
if (load_all
|| abbrev->tag == DW_TAG_subprogram
|| abbrev->tag == DW_TAG_variable
@@ -62,7 +70,7 @@
|| abbrev->tag == DW_TAG_namespace
|| part_die->is_declaration)
{
-@@ -8840,6 +8847,11 @@ new_symbol (struct die_info *die, struct
+@@ -8901,6 +8909,11 @@ new_symbol (struct die_info *die, struct
/* Do not add the symbol to any lists. It will be found via
BLOCK_FUNCTION from the blockvector. */
break;
++++++ gdb-6.8-inlining-addon.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:37.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:37.000000000 +0200
@@ -5,10 +5,10 @@
resume() -> target_resume() move of clear_inline_frame_state() is for:
gdb.mi/mi-nsmoribund.exp
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-bt.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-bt.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.opt/inline-bt.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-bt.c 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-bt.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-bt.c 2009-09-17 12:49:01.000000000 +0200
@@ -13,10 +13,16 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -28,10 +28,10 @@
inline int func1(void)
{
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-cmds.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.opt/inline-cmds.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-cmds.c 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-cmds.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.c 2009-09-17 12:49:01.000000000 +0200
@@ -13,13 +13,19 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -54,10 +54,10 @@
inline int func1(void)
{
bar ();
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-cmds.exp
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.exp
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-09-17 12:49:01.000000000 +0200
@@ -230,7 +230,7 @@ set line3 [gdb_get_line_number "set brea
gdb_breakpoint $line3
gdb_continue_to_breakpoint "consecutive func1"
@@ -110,10 +110,10 @@
+gdb_test "info frame" "inlined into frame.*" "outer_inline2 inlined"
+gdb_test "fini" "" "up from outer_inline2"
+gdb_test "info frame" " in main \[^\n\]*\n source language.*" "main not inlined"
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-locals.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.opt/inline-locals.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-locals.c 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-locals.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.c 2009-09-17 12:49:01.000000000 +0200
@@ -13,11 +13,16 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -133,10 +133,10 @@
inline int func1(int arg1)
{
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-locals.exp
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.exp
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.opt/inline-locals.exp 2009-06-30 17:50:27.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-locals.exp 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-locals.exp 2009-06-30 17:50:27.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.exp 2009-09-17 12:49:01.000000000 +0200
@@ -77,6 +77,9 @@ if { ! $no_frames } {
# Make sure that locals on the stack are found. This is an array to
@@ -155,11 +155,11 @@
+ setup_kfail *-*-* "gcc/debug.optimization"
+}
gdb_test "print array\[0\]" "\\\$$decimal = 184" "print local (3)"
-Index: gdb-6.8.50.20090803/gdb/frame.c
+Index: gdb-6.8.91.20090917/gdb/frame.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/frame.c 2009-08-03 15:56:08.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/frame.c 2009-08-03 16:57:40.000000000 +0200
-@@ -276,7 +276,7 @@ fprint_frame (struct ui_file *file, stru
+--- gdb-6.8.91.20090917.orig/gdb/frame.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/frame.c 2009-09-17 12:49:01.000000000 +0200
+@@ -310,7 +310,7 @@ fprint_frame (struct ui_file *file, stru
static struct frame_info *
skip_inlined_frames (struct frame_info *frame)
{
@@ -168,7 +168,7 @@
frame = get_prev_frame (frame);
return frame;
-@@ -1715,6 +1715,7 @@ get_frame_address_in_block (struct frame
+@@ -1778,6 +1778,7 @@ get_frame_address_in_block (struct frame
{
/* A draft address. */
CORE_ADDR pc = get_frame_pc (this_frame);
@@ -176,7 +176,7 @@
struct frame_info *next_frame = this_frame->next;
-@@ -1757,6 +1758,9 @@ get_frame_address_in_block (struct frame
+@@ -1820,6 +1821,9 @@ get_frame_address_in_block (struct frame
while in an inlined function, then the code address of the
"calling" normal function should not be adjusted either. */
@@ -186,7 +186,7 @@
while (get_frame_type (next_frame) == INLINE_FRAME)
next_frame = next_frame->next;
-@@ -1788,7 +1792,7 @@ find_frame_sal (struct frame_info *frame
+@@ -1851,7 +1855,7 @@ find_frame_sal (struct frame_info *frame
sym = inline_skipped_symbol (inferior_ptid);
init_sal (sal);
@@ -195,19 +195,19 @@
{
sal->symtab = SYMBOL_SYMTAB (sym);
sal->line = SYMBOL_LINE (sym);
-Index: gdb-6.8.50.20090803/gdb/breakpoint.c
+Index: gdb-6.8.91.20090917/gdb/breakpoint.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/breakpoint.c 2009-08-03 16:56:10.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/breakpoint.c 2009-08-03 17:19:24.000000000 +0200
-@@ -60,6 +60,7 @@
- #include "wrapper.h"
- #include "valprint.h"
+--- gdb-6.8.91.20090917.orig/gdb/breakpoint.c 2009-09-17 12:48:51.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/breakpoint.c 2009-09-17 12:49:12.000000000 +0200
+@@ -62,6 +62,7 @@
+ #include "jit.h"
+ #include "xml-syscall.h"
#include "parser-defs.h"
+#include "inline-frame.h"
/* readline include files */
#include "readline/readline.h"
-@@ -3065,10 +3066,24 @@ bpstat_check_breakpoint_conditions (bpst
+@@ -3220,10 +3221,24 @@ bpstat_check_breakpoint_conditions (bpst
const struct bp_location *bl = bs->breakpoint_at;
struct breakpoint *b = bl->owner;
@@ -236,7 +236,7 @@
{
int value_is_zero = 0;
-@@ -3215,6 +3230,12 @@ bpstat_stop_status (CORE_ADDR bp_addr, p
+@@ -3383,6 +3398,12 @@ bpstat_stop_status (CORE_ADDR bp_addr, p
bs->print = 0;
}
bs->commands = copy_command_lines (bs->commands);
@@ -249,7 +249,7 @@
}
/* Print nothing for this entry if we dont stop or if we dont print. */
-@@ -5164,9 +5185,9 @@ set_momentary_breakpoint (struct gdbarch
+@@ -5572,9 +5593,9 @@ set_momentary_breakpoint (struct gdbarch
{
struct breakpoint *b;
@@ -262,11 +262,11 @@
b = set_raw_breakpoint (gdbarch, sal, type);
b->enable_state = bp_enabled;
-Index: gdb-6.8.50.20090803/gdb/inline-frame.c
+Index: gdb-6.8.91.20090917/gdb/inline-frame.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/inline-frame.c 2009-06-28 02:20:22.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/inline-frame.c 2009-08-03 16:57:40.000000000 +0200
-@@ -195,6 +195,12 @@ inline_frame_sniffer (const struct frame
+--- gdb-6.8.91.20090917.orig/gdb/inline-frame.c 2009-09-13 18:28:28.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/inline-frame.c 2009-09-17 12:49:01.000000000 +0200
+@@ -199,6 +199,12 @@ inline_frame_sniffer (const struct frame
if (frame_block == NULL)
return 0;
@@ -279,7 +279,7 @@
/* Calculate DEPTH, the number of inlined functions at this
location. */
depth = 0;
-@@ -204,6 +210,10 @@ inline_frame_sniffer (const struct frame
+@@ -208,6 +214,10 @@ inline_frame_sniffer (const struct frame
if (block_inlined_p (cur_block))
depth++;
@@ -290,7 +290,7 @@
cur_block = BLOCK_SUPERBLOCK (cur_block);
}
-@@ -287,7 +297,6 @@ skip_inline_frames (ptid_t ptid)
+@@ -291,7 +301,6 @@ skip_inline_frames (ptid_t ptid)
{
CORE_ADDR this_pc;
struct block *frame_block, *cur_block;
@@ -298,7 +298,7 @@
int skip_count = 0;
struct inline_state *state;
-@@ -308,10 +317,7 @@ skip_inline_frames (ptid_t ptid)
+@@ -312,10 +321,7 @@ skip_inline_frames (ptid_t ptid)
of BLOCK_START. */
if (BLOCK_START (cur_block) == this_pc
|| block_starting_point_at (this_pc, cur_block))
@@ -310,7 +310,7 @@
else
break;
}
-@@ -323,7 +329,6 @@ skip_inline_frames (ptid_t ptid)
+@@ -327,7 +333,6 @@ skip_inline_frames (ptid_t ptid)
state = allocate_inline_frame_state (ptid);
state->skipped_frames = skip_count;
state->saved_pc = this_pc;
@@ -318,7 +318,7 @@
if (skip_count != 0)
reinit_frame_cache ();
-@@ -341,6 +346,23 @@ step_into_inline_frame (ptid_t ptid)
+@@ -345,6 +350,23 @@ step_into_inline_frame (ptid_t ptid)
reinit_frame_cache ();
}
@@ -342,10 +342,10 @@
/* Return the number of hidden functions inlined into the current
frame. */
-Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-markers.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-markers.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.opt/inline-markers.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/testsuite/gdb.opt/inline-markers.c 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-markers.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-markers.c 2009-09-17 12:49:01.000000000 +0200
@@ -15,11 +15,6 @@
extern int x, y;
@@ -358,11 +358,11 @@
void marker(void)
{
x += y; /* set breakpoint 2 here */
-Index: gdb-6.8.50.20090803/gdb/gdbthread.h
+Index: gdb-6.8.91.20090917/gdb/gdbthread.h
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/gdbthread.h 2009-08-03 15:55:53.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/gdbthread.h 2009-08-03 16:57:40.000000000 +0200
-@@ -187,6 +187,12 @@ struct thread_info
+--- gdb-6.8.91.20090917.orig/gdb/gdbthread.h 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/gdbthread.h 2009-09-17 12:49:01.000000000 +0200
+@@ -191,6 +191,12 @@ struct thread_info
/* Private data used by the target vector implementation. */
struct private_thread_info *private;
@@ -375,11 +375,11 @@
};
/* Create an empty thread list, or empty the existing one. */
-Index: gdb-6.8.50.20090803/gdb/infcmd.c
+Index: gdb-6.8.91.20090917/gdb/infcmd.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/infcmd.c 2009-07-02 23:57:27.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/infcmd.c 2009-08-03 17:17:24.000000000 +0200
-@@ -1408,11 +1408,11 @@ finish_command_continuation (void *arg)
+--- gdb-6.8.91.20090917.orig/gdb/infcmd.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/infcmd.c 2009-09-17 12:49:01.000000000 +0200
+@@ -1434,11 +1434,11 @@ finish_command_continuation (void *arg)
struct type *value_type;
value_type = TYPE_TARGET_TYPE (SYMBOL_TYPE (a->function));
@@ -393,9 +393,9 @@
print_return_value (SYMBOL_TYPE (a->function), value_type);
}
-@@ -1514,6 +1514,16 @@ finish_forward (struct symbol *function,
-
- old_chain = make_cleanup_delete_breakpoint (breakpoint);
+@@ -1546,6 +1546,16 @@ finish_forward (struct symbol *function,
+ tp->initiating_frame = get_frame_id (frame);
+ make_cleanup (delete_longjmp_breakpoint_cleanup, &thread);
+ /* We should _always_ set CURRENT_PC_IS_NOTCURRENT here to always see the
+ calling line with the message `Value returned is ...'. Currently it is
@@ -410,7 +410,7 @@
tp->proceed_to_finish = 1; /* We want stop_registers, please... */
proceed ((CORE_ADDR) -1, TARGET_SIGNAL_DEFAULT, 0);
-@@ -1535,7 +1545,9 @@ finish_forward (struct symbol *function,
+@@ -1567,7 +1577,9 @@ finish_forward (struct symbol *function,
static void
finish_command (char *arg, int from_tty)
{
@@ -421,7 +421,7 @@
struct symbol *function;
int async_exec = 0;
-@@ -1566,45 +1578,63 @@ finish_command (char *arg, int from_tty)
+@@ -1598,45 +1610,63 @@ finish_command (char *arg, int from_tty)
if (!target_has_execution)
error (_("The program is not running."));
@@ -502,7 +502,7 @@
/* Print info on the selected frame, including level number but not
source. */
-@@ -1618,10 +1648,14 @@ finish_command (char *arg, int from_tty)
+@@ -1650,10 +1680,14 @@ finish_command (char *arg, int from_tty)
print_stack_frame (get_selected_frame (NULL), 1, LOCATION);
}
@@ -518,22 +518,22 @@
}
-Index: gdb-6.8.50.20090803/gdb/target.c
+Index: gdb-6.8.91.20090917/gdb/target.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/target.c 2009-08-03 16:04:15.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/target.c 2009-08-03 16:57:40.000000000 +0200
-@@ -2079,6 +2079,7 @@ target_resume (ptid_t ptid, int step, en
+--- gdb-6.8.91.20090917.orig/gdb/target.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/target.c 2009-09-17 12:49:01.000000000 +0200
+@@ -2187,6 +2187,7 @@ target_resume (ptid_t ptid, int step, en
{
struct target_ops *t;
+ clear_inline_frame_state (ptid);
- dcache_invalidate (target_dcache);
+ target_dcache_invalidate ();
for (t = current_target.beneath; t != NULL; t = t->beneath)
-Index: gdb-6.8.50.20090803/gdb/inline-frame.h
+Index: gdb-6.8.91.20090917/gdb/inline-frame.h
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/inline-frame.h 2009-06-28 02:20:22.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/inline-frame.h 2009-08-03 16:57:40.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/inline-frame.h 2009-06-28 02:20:22.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/inline-frame.h 2009-09-17 12:49:01.000000000 +0200
@@ -43,6 +43,10 @@ void clear_inline_frame_state (ptid_t pt
void step_into_inline_frame (ptid_t ptid);
@@ -545,11 +545,11 @@
/* Return the number of hidden functions inlined into the current
frame. */
-Index: gdb-6.8.50.20090803/gdb/dwarf2read.c
+Index: gdb-6.8.91.20090917/gdb/dwarf2read.c
===================================================================
---- gdb-6.8.50.20090803.orig/gdb/dwarf2read.c 2009-08-03 16:56:10.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/dwarf2read.c 2009-08-03 16:57:40.000000000 +0200
-@@ -4107,6 +4107,7 @@ read_func_scope (struct die_info *die, s
+--- gdb-6.8.91.20090917.orig/gdb/dwarf2read.c 2009-09-17 12:48:51.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/dwarf2read.c 2009-09-17 12:49:01.000000000 +0200
+@@ -4128,6 +4128,7 @@ read_func_scope (struct die_info *die, s
struct block *block;
unsigned die_children = 0;
int inlined_func = (die->tag == DW_TAG_inlined_subroutine);
@@ -557,7 +557,7 @@
if (inlined_func)
{
-@@ -4148,7 +4149,10 @@ read_func_scope (struct die_info *die, s
+@@ -4169,7 +4170,10 @@ read_func_scope (struct die_info *die, s
add_to_cu_func_list (name, lowpc, highpc, cu);
new = push_context (0, lowpc);
++++++ gdb-6.8.50.20090921-upstream.patch ++++++
++++ 965 lines (skipped)
++++++ gdb-6.8.50.20090811.tar.bz2 -> gdb-6.8.91.20090921.tar.bz2 ++++++
gdb/gdb-6.8.50.20090811.tar.bz2 /mounts/work_src_done/STABLE/gdb/gdb-6.8.91.20090921.tar.bz2 differ: char 11, line 1
++++++ gdb-archer.patch ++++++
++++ 16227 lines (skipped)
++++ between gdb/gdb-archer.patch
++++ and /mounts/work_src_done/STABLE/gdb/gdb-archer.patch
++++++ gdb-readline-6.0.patch ++++++
--- /var/tmp/diff_new_pack.U22vzG/_old 2009-09-27 00:02:38.000000000 +0200
+++ /var/tmp/diff_new_pack.U22vzG/_new 2009-09-27 00:02:38.000000000 +0200
@@ -7,9 +7,11 @@
* config.in: Regenerate.
* configure: Regenerate.
---- a/gdb/configure.ac
-+++ b/gdb/configure.ac
-@@ -536,6 +536,21 @@ if test "$with_system_readline" = yes; then
+Index: gdb-6.8.50.20090909/gdb/configure.ac
+===================================================================
+--- gdb-6.8.50.20090909.orig/gdb/configure.ac 2009-09-09 20:11:04.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/configure.ac 2009-09-09 20:11:54.000000000 +0200
+@@ -773,6 +773,21 @@ if test "$with_system_readline" = yes; t
READLINE=-lreadline
READLINE_DEPS=
READLINE_CFLAGS=
@@ -31,9 +33,11 @@
else
READLINE='$(READLINE_DIR)/libreadline.a'
READLINE_DEPS='$(READLINE)'
---- a/gdb/config.in
-+++ b/gdb/config.in
-@@ -790,6 +790,9 @@
+Index: gdb-6.8.50.20090909/gdb/config.in
+===================================================================
+--- gdb-6.8.50.20090909.orig/gdb/config.in 2009-09-09 20:11:33.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/config.in 2009-09-09 20:12:00.000000000 +0200
+@@ -815,6 +815,9 @@
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
@@ -43,9 +47,11 @@
/* Define to the equivalent of the C99 'restrict' keyword, or to
nothing if this is not supported. Do not define if restrict is
supported directly. */
---- a/gdb/configure
-+++ b/gdb/configure
-@@ -10763,6 +10763,69 @@ if test "$with_system_readline" = yes; then
+Index: gdb-6.8.50.20090909/gdb/configure
+===================================================================
+--- gdb-6.8.50.20090909.orig/gdb/configure 2009-09-09 20:11:07.000000000 +0200
++++ gdb-6.8.50.20090909/gdb/configure 2009-09-09 20:11:54.000000000 +0200
+@@ -9197,6 +9197,69 @@ if test "$with_system_readline" = yes; t
READLINE=-lreadline
READLINE_DEPS=
READLINE_CFLAGS=
++++++ libstdc++-v3-python-common-prefix.patch ++++++
On x86_64 host with:
pythondir: /usr/lib/python2.6/site-packages/gdb
libdir: /usr/lib64
prefix got set to "/usr/lib" but the code expects a trailing "/" (missing then
one "../" path component).
--- ./libstdc++-v3-python-r151798/hook.in-orig 2009-06-18 21:12:37.000000000 +0200
+++ ./libstdc++-v3-python-r151798/hook.in 2009-09-17 23:37:35.000000000 +0200
@@ -40,7 +40,7 @@ if gdb.current_objfile () is not None:
# In some bizarre configuration we might have found a match in the
# middle of a directory name.
if prefix[-1] != '/':
- prefix = os.path.dirname (prefix)
+ prefix = os.path.dirname (prefix) + '/'
# Strip off the prefix.
pythondir = pythondir[len (prefix):]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package cryptsetup for openSUSE:Factory
checked in at Sun Sep 27 00:02:16 CEST 2009.
--------
--- cryptsetup/cryptsetup.changes 2009-09-24 16:15:57.000000000 +0200
+++ /mounts/work_src_done/STABLE/cryptsetup/cryptsetup.changes 2009-09-25 14:45:38.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 25 12:42:23 UTC 2009 - lnussel(a)suse.de
+
+- actually hash=plain can be used to get raw keyscript output so
+ remove keyscript_raw again
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
boot.crypto-0_200909241541.tar.bz2
New:
----
boot.crypto-0_200909251440.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cryptsetup.spec ++++++
--- /var/tmp/diff_new_pack.7VrcLn/_old 2009-09-27 00:02:04.000000000 +0200
+++ /var/tmp/diff_new_pack.7VrcLn/_new 2009-09-27 00:02:04.000000000 +0200
@@ -25,12 +25,12 @@
# hashalot version
%define haver 0.3
# boot.crypto version
-%define bcver 0_200909241541
+%define bcver 0_200909251440
License: BSD 3-clause (or similar) ; GPL v2 only ; GPL v2 or later
Group: System/Base
AutoReqProv: on
Version: 1.0.7
-Release: 5
+Release: 6
Summary: Set Up dm-crypt Based Encrypted Block Devices
Source: cryptsetup-%{version}.tar.bz2
Source1: hashalot-%haver.tar.bz2
++++++ boot.crypto-0_200909241541.tar.bz2 -> boot.crypto-0_200909251440.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boot.crypto-0_200909241541/boot.crypto.functions new/boot.crypto-0_200909251440/boot.crypto.functions
--- old/boot.crypto-0_200909241541/boot.crypto.functions 2009-09-24 15:41:00.000000000 +0200
+++ new/boot.crypto-0_200909251440/boot.crypto.functions 2009-09-25 14:40:57.000000000 +0200
@@ -440,7 +440,7 @@
# options are alreay parsed so we ignore the option parmeter ($2)
keyscript_hashalot()
{
- local args="${halgo:+$halgo} -t $timeout ${pseed:+-s $pseed} ${itercountk:+-C $itercountk}"
+ local args="${hashalot_algo:+$hashalot_algo} -t $timeout ${pseed:+-s $pseed} ${itercountk:+-C $itercountk}"
if test -n "$1"; then
/sbin/hashalot $args < $1
else
@@ -523,7 +523,6 @@
itercountk=""
precheck=""
keyscript=""
- keyscript_rawkey=""
tries="3"
while test -n "$options"; do
arg=${options%%,*}
@@ -595,7 +594,6 @@
fi
;;
keyscript) keyscript="$value" ;;
- keyscript_rawkey) keyscript_rawkey="yes" ;;
initrd) ;; # ignore here
loud|ssl|gpg|*)
echo "unsupported crypttab option: '$param'"
@@ -713,7 +711,8 @@
# XXX hack
if test -n "$pseed" -o -n "$itercountk"; then
keyscript=keyscript_hashalot
- keyscript_rawkey=yes
+ hashalot_algo="$halgo"
+ halgo=plain
fi
fi
params+=(${halgo:+-h $halgo} ${cipher:+-c $cipher} ${keysize:+-s $keysize})
@@ -721,10 +720,6 @@
fi
if test -n "$keyscript"; then
- # must use /dev/stdin instead of "-" as cryptsetup would hash that
- if test "$luks" != 'yes' -a "$keyscript_rawkey" = yes; then
- params+=(-d /dev/stdin)
- fi
( export ${!CRYPTTAB_*}; $keyscript "$keyfile" | /sbin/cryptsetup "${params[@]}" "${cmd[@]}"; ) < $REDIRECT &> $REDIRECT
else
/sbin/cryptsetup ${keyfile:+-d $keyfile} --tries=1 "${params[@]}" "${cmd[@]}" < $REDIRECT &> $REDIRECT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boot.crypto-0_200909241541/crypttab.5 new/boot.crypto-0_200909251440/crypttab.5
--- old/boot.crypto-0_200909241541/crypttab.5 2009-09-24 15:41:00.000000000 +0200
+++ new/boot.crypto-0_200909251440/crypttab.5 2009-09-25 14:40:57.000000000 +0200
@@ -1,12 +1,12 @@
.\" Title: crypttab
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
-.\" Date: 09/24/2009
+.\" Date: 09/25/2009
.\" Manual: Cryptsetup Manual
.\" Source: cryptsetup
.\" Language: English
.\"
-.TH "CRYPTTAB" "5" "09/24/2009" "cryptsetup" "Cryptsetup Manual"
+.TH "CRYPTTAB" "5" "09/25/2009" "cryptsetup" "Cryptsetup Manual"
.\" -----------------------------------------------------------------
.\" * (re)Define some macros
.\" -----------------------------------------------------------------
@@ -381,14 +381,9 @@
.PP
\fBkeyscript=<path>\fR
.RS 4
-Calls <path> and uses the output as passphrase\&. If <path> is not absolute
+Calls <path> and uses the output passphrase or key\&. If <path> is not absolute
\fB/lib/cryptsetup/scripts\fR
-is prepended\&. The only argument passed to the specified program is the value of the key column\&. keyscript also works in the initrd if the specified program is self contained\&. Note that use of a keyscript is not supported by YaST so distribution updates could be problematic when used on mandatory partitions\&.
-.RE
-.PP
-\fBkeyscript_rawkey\fR
-.RS 4
-When present, the output of the keyscript is expected to be the raw key used for encryption rather than a passphrase that needs to be hashed\&.
+is prepended\&. The only argument passed to the specified program is the value of the key column\&. keyscript also works in the initrd if the specified program is self contained\&. To use the output as raw key specify hash=plain so cryptsetup doesn\'t hash it\'s input\&. Note that use of a keyscript is not supported by YaST so distribution updates could be problematic when used on mandatory partitions\&.
.RE
.PP
\fBloud\fR, \fBssl\fR, \fBgpg\fR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boot.crypto-0_200909241541/crypttab.5.txt new/boot.crypto-0_200909251440/crypttab.5.txt
--- old/boot.crypto-0_200909241541/crypttab.5.txt 2009-09-24 15:41:00.000000000 +0200
+++ new/boot.crypto-0_200909251440/crypttab.5.txt 2009-09-25 14:40:57.000000000 +0200
@@ -145,18 +145,14 @@
for compatability with loop-AES.
*keyscript=<path>*::
-Calls <path> and uses the output as passphrase. If <path> is not
+Calls <path> and uses the output passphrase or key. If <path> is not
absolute
*/lib/cryptsetup/scripts* is prepended. The only argument passed to
the specified program is the value of the key column. keyscript also
-works in the initrd if the specified program is self contained. Note
-that use of a keyscript is not supported by YaST so distribution
-updates could be problematic when used on mandatory partitions.
-
-*keyscript_rawkey*::
-When present, the output of the keyscript is expected to be the raw
-key used for encryption rather than a passphrase that needs to be
-hashed.
+works in the initrd if the specified program is self contained. To use the
+output as raw key specify hash=plain so cryptsetup doesn't hash it's input.
+Note that use of a keyscript is not supported by YaST so distribution updates
+could be problematic when used on mandatory partitions.
*loud*, *ssl*, *gpg*::
not supported. Listed here as they are supported by Debian.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package NetworkManager-kde4 for openSUSE:Factory
checked in at Sun Sep 27 00:01:45 CEST 2009.
--------
--- KDE/NetworkManager-kde4/NetworkManager-kde4.changes 2009-09-21 11:22:14.000000000 +0200
+++ /mounts/work_src_done/STABLE/NetworkManager-kde4/NetworkManager-kde4.changes 2009-09-26 07:57:21.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 25 16:29:55 UTC 2009 - wstephenson(a)novell.com
+
+- Update to svn1028043
+ * Fixes in manual IP address entry
+ * Updated i18n
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ NetworkManager-kde4.spec ++++++
--- /var/tmp/diff_new_pack.iJ4zY7/_old 2009-09-27 00:01:27.000000000 +0200
+++ /var/tmp/diff_new_pack.iJ4zY7/_new 2009-09-27 00:01:27.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package NetworkManager-kde4 (Version 0.9.svn1023237)
+# spec file for package NetworkManager-kde4 (Version 0.9.svn1028043)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,7 +20,7 @@
Name: NetworkManager-kde4
BuildRequires: NetworkManager-devel kdebase4-workspace-devel libknotificationitem-devel
-Version: 0.9.svn1023237
+Version: 0.9.svn1028043
Release: 1
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -140,11 +140,8 @@
rm -f $RPM_BUILD_ROOT/%{_datadir}/kde4/services/networkmanagement_openvpnui.desktop
%endif
cd ..
- %find_lang kcm_networkmanagement %{name}.lang
+ %find_lang libknetworkmanager %{name}.lang
%find_lang knetworkmanager %{name}.lang
- %find_lang networkmanagement_vpncui %{name}.lang
- %find_lang networkmanagement_openvpnui %{name}.lang
- %find_lang networkmanagement_pptpui %{name}.lang
%find_lang plasma_applet_networkmanagement %{name}.lang
%post libs -p /sbin/ldconfig
++++++ networkmanager-po.tar.bz2 ++++++
++++ 178141 lines of diff (skipped)
++++++ networkmanager.tar.bz2 ++++++
++++ 2126 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
26 Sep '09
Hello community,
here is the log from the commit of package MozillaFirefox-branding-openSUSE for openSUSE:Factory
checked in at Sun Sep 27 00:01:08 CEST 2009.
--------
--- MozillaFirefox-branding-openSUSE/MozillaFirefox-branding-openSUSE.changes 2009-09-14 00:02:06.000000000 +0200
+++ /mounts/work_src_done/STABLE/MozillaFirefox-branding-openSUSE/MozillaFirefox-branding-openSUSE.changes 2009-09-25 10:23:17.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 25 10:19:57 CEST 2009 - wr(a)rosenauer.org
+
+- update susefox to snapshot 20090925
+ * added pt-BR locale
+ * use pluginfinder.opensuse-community.org as official backend
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
susefox-20090914.tar.bz2
New:
----
susefox-20090925.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ MozillaFirefox-branding-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.09nW4u/_old 2009-09-26 23:59:54.000000000 +0200
+++ /var/tmp/diff_new_pack.09nW4u/_new 2009-09-26 23:59:54.000000000 +0200
@@ -23,10 +23,10 @@
Name: MozillaFirefox-branding-openSUSE
License: BSD 3-clause (or similar) ; GPL v2 or later
Version: 3.5
-Release: 5
+Release: 6
Summary: openSUSE branding of MozillaFirefox
Group: Productivity/Networking/Web/Browsers
-Source: susefox-20090914.tar.bz2
+Source: susefox-20090925.tar.bz2
Source1: search-addons.tar.bz2
Source2: bookmarks.html.suse
Source3: firefox-suse-default-prefs.js
@@ -48,9 +48,6 @@
%description
This package provides openSUSE Look and Feel for MozillaFirefox.
-Authors:
---------
- Wolfgang Rosenauer <wr(a)rosenauer.org>
%prep
cp -a %{SOURCE6} COPYING
++++++ susefox-20090914.tar.bz2 -> susefox-20090925.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/chrome.manifest new/susefox/chrome.manifest
--- old/susefox/chrome.manifest 2009-09-14 00:00:16.000000000 +0200
+++ new/susefox/chrome.manifest 2009-09-25 10:18:32.000000000 +0200
@@ -7,5 +7,6 @@
locale susefox sk locale/sk/
locale susefox nl locale/nl/
locale susefox it locale/it/
+locale susefox pt-BR locale/pt-BR/
overlay chrome://browser/content/browser.xul chrome://susefox/content/altPluginsOverlay.xul
override chrome://mozapps/content/plugins/pluginInstallerWizard.xul chrome://susefox/content/pluginInstallerWizard.xul
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/defaults/preferences/susefox-pfs.js new/susefox/defaults/preferences/susefox-pfs.js
--- old/susefox/defaults/preferences/susefox-pfs.js 2009-09-14 00:00:16.000000000 +0200
+++ new/susefox/defaults/preferences/susefox-pfs.js 2009-09-25 10:18:32.000000000 +0200
@@ -1,5 +1,5 @@
// use openSUSE plugin finder service
-pref ("pfs.datasource.url", "http://www.rosenauer.org/pfs/plugin-finder.py?mimetype=%PLUGIN_MIMETYPE%&ap…");
-pref ("pfs.filehint.url", "http://www.rosenauer.org/pfs/plugin-finder.py?op=filehint2name&distribution…");
+pref ("pfs.datasource.url", "http://pluginfinder.opensuse-community.org/plugin-finder.py?mimetype=%PLUGI…");
+pref ("pfs.filehint.url", "http://pluginfinder.opensuse-community.org/plugin-finder.py?op=filehint2nam…");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/install.rdf new/susefox/install.rdf
--- old/susefox/install.rdf 2009-09-14 00:00:16.000000000 +0200
+++ new/susefox/install.rdf 2009-09-25 10:18:32.000000000 +0200
@@ -82,6 +82,17 @@
</Description>
</em:localized>
+ <em:localized>
+ <Description>
+ <em:locale>pt-BR</em:locale>
+ <em:name>Extensões para o Firefox do openSUSE</em:name>
+ <em:description>Integração com a área de trabalho para o Firefox.</em:description>
+ <em:creator>Wolfgang Rosenauer <wr(a)rosenauer.org></em:creator>
+ <em:contributor>Ubufox contributors</em:contributor>
+ <em:translator>Luiz Fernando Ranghetti</em:translator>
+ <em:homepageURL>http://en.opensuse.org/Mozilla/susefox</em:homepageURL>
+ </Description>
+
<em:iconURL>chrome://susefox/content/suselogo32.png</em:iconURL>
<em:targetApplication>
<Description>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/locale/pt-BR/susefox-alt.dtd new/susefox/locale/pt-BR/susefox-alt.dtd
--- old/susefox/locale/pt-BR/susefox-alt.dtd 1970-01-01 01:00:00.000000000 +0100
+++ new/susefox/locale/pt-BR/susefox-alt.dtd 2009-09-25 10:18:32.000000000 +0200
@@ -0,0 +1,5 @@
+<!ENTITY susefox.altplugin.title "Plug-ins de gerenciamento de conteúdo">
+<!ENTITY susefox.altplugin.filter.used "Plug-ins em uso">
+<!ENTITY susefox.altplugin.filter.all "Todos os plugi-ns">
+<!ENTITY susefox.altplugin.filtertitle "Exibir:">
+<!ENTITY susefox.altplugin.menuentry "Plug-ins de gerenciamento de conteúdo">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/locale/pt-BR/susefox-alt.properties new/susefox/locale/pt-BR/susefox-alt.properties
--- old/susefox/locale/pt-BR/susefox-alt.properties 1970-01-01 01:00:00.000000000 +0100
+++ new/susefox/locale/pt-BR/susefox-alt.properties 2009-09-25 10:18:32.000000000 +0200
@@ -0,0 +1 @@
+susefox.altplugins.search=Pesquisar...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/locale/pt-BR/susefox.properties new/susefox/locale/pt-BR/susefox.properties
--- old/susefox/locale/pt-BR/susefox.properties 1970-01-01 01:00:00.000000000 +0100
+++ new/susefox/locale/pt-BR/susefox.properties 2009-09-25 10:18:32.000000000 +0200
@@ -0,0 +1,2 @@
+susefox.pluginWizard.availablePluginsPage.description.label=Escolha um plug-in para o tipo de mídia
+susefox.pluginWizard.description.notfound=Nenhuma descrição encontrada no banco de dados de plug-ins. \nRelate a falha para wr(a)opensuse.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susefox/pfs/web/plugin-finder.py new/susefox/pfs/web/plugin-finder.py
--- old/susefox/pfs/web/plugin-finder.py 2009-09-14 00:00:16.000000000 +0200
+++ new/susefox/pfs/web/plugin-finder.py 2009-09-25 10:18:32.000000000 +0200
@@ -33,9 +33,9 @@
import sys
import plugindata
-# TestURL: http://localhost/plugin-finder.py?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%…
+# TestURL: http://localhost/plugin-finder.py?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%…
# example:
-# http://localhost/plugin-finder.py?mimetype=application%2Fx-shockwave-flash&…
+# http://localhost/plugin-finder.py?mimetype=application%2Fx-shockwave-flash&…
counter=0
docroot=""
@@ -96,7 +96,7 @@
distribution = parameters['distributionID']
cur = db_con.cursor()
cur.execute("SELECT distinct filehint, name FROM package " \
- + "WHERE filehint!=\"\"")
+ + "WHERE filehint!=\"\" AND distribution=?", (distribution,))
for row in cur:
res = res + "filehint: ";
res = res + row[0];
@@ -250,14 +250,14 @@
now = int(time.time() * 1000)
low_time = now - CACHE_TIME_SEC * 1000
cur = get_cache_con().cursor()
- cur.execute("delete from plugin_result_cache where timestamp <= ?", (low_time,))
+ cur.execute("DELETE FROM plugin_result_cache WHERE timestamp <= ?", (low_time,))
cur.close()
key = req.args
found = False
result = None
cur = get_cache_con().cursor()
- cur.execute("select timestamp, content from plugin_result_cache where url = ?", (key,))
+ cur.execute("SELECT timestamp, content FROM plugin_result_cache WHERE url = ?", (key,))
for row in cur:
found = True
result = row[1]
@@ -277,7 +277,7 @@
now = int(time.time() * 1000)
cur = get_cache_con().cursor()
- cur.execute("insert into plugin_result_cache (timestamp, url, content) values (?, ?, ?)", (now, key, result_string))
+ cur.execute("INSERT INTO plugin_result_cache (timestamp, url, content) VALUES (?, ?, ?)", (now, key, result_string))
return result_string
def get_filehint_and_name(req, http_params):
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0