]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Track VG_(am_find_nsegment) const-ness change.
authorJulian Seward <jseward@acm.org>
Tue, 17 Oct 2006 02:05:14 +0000 (02:05 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 17 Oct 2006 02:05:14 +0000 (02:05 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6290

coregrind/m_sigframe/sigframe-amd64-linux.c
coregrind/m_sigframe/sigframe-ppc32-linux.c
coregrind/m_sigframe/sigframe-ppc64-linux.c
coregrind/m_sigframe/sigframe-x86-linux.c

index 2aeec213e96d87ad11f4a6609148c3ea409f79f1..d6ad9406dc0576eb3cebbec3e83b9fa95ebd2d1b 100644 (file)
 #include "pub_core_libcprint.h"
 #include "pub_core_machine.h"
 #include "pub_core_options.h"
-#include "pub_core_sigframe.h"
 #include "pub_core_signals.h"
 #include "pub_core_tooliface.h"
 #include "pub_core_trampoline.h"
-
+#include "pub_core_sigframe.h"   /* self */
 
 /* This module creates and removes signal frames for signal deliveries
    on amd64-linux.
@@ -376,7 +375,7 @@ void synth_ucontext(ThreadId tid, const vki_siginfo_t *si,
 static Bool extend ( ThreadState *tst, Addr addr, SizeT size )
 {
    ThreadId tid = tst->tid;
-   NSegment *stackseg = NULL;
+   NSegment const* stackseg = NULL;
 
    if (VG_(extend_stack)(addr, tst->client_stack_szB)) {
       stackseg = VG_(am_find_nsegment)(addr);
index eba7a1cdc701102be6ff8a0c5974009986f02673..155f66c0c0eac2cf60b8086489feaf2d07ceafe2 100644 (file)
@@ -494,7 +494,7 @@ void stack_mcontext ( struct vki_mcontext *mc,
 static Bool extend ( ThreadState *tst, Addr addr, SizeT size )
 {
    ThreadId tid = tst->tid;
-   NSegment *stackseg = NULL;
+   NSegment const *stackseg = NULL;
 
    if (VG_(extend_stack)(addr, tst->client_stack_szB)) {
       stackseg = VG_(am_find_nsegment)(addr);
index 05e3925d6b30e239163273b9c274754cc33eac1e..8f1745ec9f5f208695abe1c7819a9f620d76b5a4 100644 (file)
@@ -134,7 +134,7 @@ struct rt_sigframe {
 static Bool extend ( ThreadState *tst, Addr addr, SizeT size )
 {
    ThreadId tid = tst->tid;
-   NSegment *stackseg = NULL;
+   NSegment const *stackseg = NULL;
 
    if (VG_(extend_stack)(addr, tst->client_stack_szB)) {
       stackseg = VG_(am_find_nsegment)(addr);
index 6f90460c53c3d95a67b3322f4593397fda8f183a..0dd78823e842179f5e2b1c714ac77639d2ac7dc3 100644 (file)
 #include "pub_core_libcprint.h"
 #include "pub_core_machine.h"
 #include "pub_core_options.h"
-#include "pub_core_sigframe.h"
 #include "pub_core_signals.h"
 #include "pub_core_tooliface.h"
 #include "pub_core_trampoline.h"
+#include "pub_core_sigframe.h"   /* self */
 
 
 /* This module creates and removes signal frames for signal deliveries
@@ -396,7 +396,7 @@ void synth_ucontext(ThreadId tid, const vki_siginfo_t *si,
 static Bool extend ( ThreadState *tst, Addr addr, SizeT size )
 {
    ThreadId tid = tst->tid;
-   NSegment *stackseg = NULL;
+   NSegment const* stackseg = NULL;
 
    if (VG_(extend_stack)(addr, tst->client_stack_szB)) {
       stackseg = VG_(am_find_nsegment)(addr);