OBS User unknown 2008-06-25 22:15:14 +00:00 committed by Git OBS Bridge
parent 6060843a87
commit 62186c01e4
3 changed files with 43 additions and 2 deletions

33
fadvice64.diff Normal file
View File

@ -0,0 +1,33 @@
--- coregrind/m_syswrap/syswrap-ppc64-linux.c
+++ coregrind/m_syswrap/syswrap-ppc64-linux.c
@@ -430,6 +430,7 @@ DECL_TEMPLATE(ppc64_linux, sys_clone);
//zz DECL_TEMPLATE(ppc64_linux, sys_sigreturn);
DECL_TEMPLATE(ppc64_linux, sys_rt_sigreturn);
//zz DECL_TEMPLATE(ppc64_linux, sys_sigaction);
+DECL_TEMPLATE(ppc64_linux, sys_fadvise64);
PRE(sys_socketcall)
{
@@ -1041,6 +1042,13 @@ PRE(sys_rt_sigreturn)
*flags |= SfPollAfter;
}
+PRE(sys_fadvise64)
+{
+ PRINT("sys_fadvise64 ( %d, %lld, %llu, %d )", ARG1,ARG2,ARG3,ARG4);
+ PRE_REG_READ4(long, "fadvise64",
+ int, fd, vki_loff_t, offset, vki_size_t, len, int, advice);
+}
+
//zz /* Convert from non-RT to RT sigset_t's */
//zz static
//zz void convert_sigset_to_rt(const vki_old_sigset_t *oldset, vki_sigset_t *set)
@@ -1405,7 +1413,7 @@ const SyscallTableEntry ML_(syscall_tabl
LINX_(__NR_io_submit, sys_io_submit), // 230
LINXY(__NR_io_cancel, sys_io_cancel), // 231
LINX_(__NR_set_tid_address, sys_set_tid_address), // 232
-// _____(__NR_fadvise64, sys_fadvise64), // 233
+ PLAX_(__NR_fadvise64, sys_fadvise64), // 233
LINX_(__NR_exit_group, sys_exit_group), // 234
// _____(__NR_lookup_dcookie, sys_lookup_dcookie), // 235

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 24 20:42:50 CEST 2008 - schwab@suse.de
- Add fadvice64 wrapper.
-------------------------------------------------------------------
Sun Jun 22 21:27:30 CEST 2008 - dmueller@suse.de

View File

@ -8,7 +8,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: valgrind
@ -27,7 +26,7 @@ Group: Development/Tools/Debuggers
Summary: Valgrind Suite of Tools for Debugging and Profiling
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 3.3.1
Release: 1
Release: 2
Source0: %{name}-%{version}.tar.bz2
# svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_2_1 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH > 3_2_BRANCH.diff
# svn di svn://svn.valgrind.org/vex/tags/VEX_3_2_1 svn://svn.valgrind.org/vex/branches/VEX_3_2_BRANCH > VEX_3_2_BRANCH.diff
@ -35,6 +34,7 @@ Patch8: jit-runtime-support.diff
Patch9: deprecated.diff
Patch10: update-suppressions.diff
Patch12: xcb-update.diff
Patch13: fadvice64.diff
Provides: callgrind = %version
Obsoletes: callgrind < %version
ExclusiveArch: %ix86 x86_64 ppc ppc64
@ -121,6 +121,7 @@ cd ..
%patch9
%patch10
%patch12
%patch13
%build
export CFLAGS="$RPM_OPT_FLAGS"
@ -150,6 +151,8 @@ mv $RPM_BUILD_ROOT/usr/share/doc/valgrind $RPM_BUILD_ROOT/usr/share/doc/packages
%_libdir/valgrind/*/*.a
%changelog
* Tue Jun 24 2008 schwab@suse.de
- Add fadvice64 wrapper.
* Sun Jun 22 2008 dmueller@suse.de
- update to 3.3.1:
n-i-bz Massif segfaults at exit