From: Paul Floyd Date: Tue, 20 Feb 2024 21:44:55 +0000 (+0100) Subject: debug messages: make VG_(sigframe_destroy) consistent X-Git-Tag: VALGRIND_3_23_0~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3675265dab90e41fc00b31d4c0b0334f84e1c4b;p=thirdparty%2Fvalgrind.git debug messages: make VG_(sigframe_destroy) consistent Probably functions changed names but not the debug messages. --- diff --git a/coregrind/m_sigframe/sigframe-amd64-darwin.c b/coregrind/m_sigframe/sigframe-amd64-darwin.c index b29413125b..cb47f8c04f 100644 --- a/coregrind/m_sigframe/sigframe-amd64-darwin.c +++ b/coregrind/m_sigframe/sigframe-amd64-darwin.c @@ -220,7 +220,7 @@ void VG_(sigframe_create) ( ThreadId tid, if (VG_(clo_trace_signals)) VG_(message)(Vg_DebugMsg, - "sigframe_create (thread %u): " + "VG_(sigframe_create) (thread %u): " "next RIP=%#lx, next RSP=%#lx\n", tid, (Addr)handler, (Addr)frame ); } @@ -263,7 +263,7 @@ void VG_(sigframe_destroy)( ThreadId tid, Bool isRT ) if (VG_(clo_trace_signals)) VG_(message)(Vg_DebugMsg, - "sigframe_destroy (thread %d): " + "VG_(sigframe_destroy) (thread %d): " "valid magic; next RIP=%#llx\n", tid, tst->arch.vex.guest_RIP); diff --git a/coregrind/m_sigframe/sigframe-amd64-freebsd.c b/coregrind/m_sigframe/sigframe-amd64-freebsd.c index 7ae0ec291d..f7ee95d3fc 100644 --- a/coregrind/m_sigframe/sigframe-amd64-freebsd.c +++ b/coregrind/m_sigframe/sigframe-amd64-freebsd.c @@ -425,7 +425,7 @@ void VG_(sigframe_destroy)( ThreadId tid ) if (VG_(clo_trace_signals)) { VG_(message)( Vg_DebugMsg, - "VG_(signal_return) (thread %u): valid magic; RIP=%#llx\n", + "VG_(sigframe_destroy) (thread %u): valid magic; RIP=%#llx\n", tid, tst->arch.vex.guest_RIP); } diff --git a/coregrind/m_sigframe/sigframe-amd64-linux.c b/coregrind/m_sigframe/sigframe-amd64-linux.c index 08a5f86081..0e24306096 100644 --- a/coregrind/m_sigframe/sigframe-amd64-linux.c +++ b/coregrind/m_sigframe/sigframe-amd64-linux.c @@ -591,8 +591,8 @@ void VG_(sigframe_destroy)( ThreadId tid, Bool isRT ) if (VG_(clo_trace_signals)) VG_(message)( - Vg_DebugMsg, - "VG_(signal_return) (thread %u): isRT=%d valid magic; RIP=%#llx\n", + Vg_DebugMsg, + "VG_(sigframe_destroy) (thread %u): isRT=%d valid magic; RIP=%#llx\n", tid, isRT, tst->arch.vex.guest_RIP); /* tell the tools */ diff --git a/coregrind/m_sigframe/sigframe-arm64-linux.c b/coregrind/m_sigframe/sigframe-arm64-linux.c index d761b4481a..5ec303f888 100644 --- a/coregrind/m_sigframe/sigframe-arm64-linux.c +++ b/coregrind/m_sigframe/sigframe-arm64-linux.c @@ -269,7 +269,7 @@ void VG_(sigframe_destroy)( ThreadId tid, Bool isRT ) if (VG_(clo_trace_signals)) VG_(message)(Vg_DebugMsg, - "vg_pop_signal_frame (thread %u): " + "VG_(sigframe_destroy) (thread %u): " "isRT=%d valid magic; PC=%#llx\n", tid, has_siginfo, tst->arch.vex.guest_PC); diff --git a/coregrind/m_sigframe/sigframe-solaris.c b/coregrind/m_sigframe/sigframe-solaris.c index 5368f75afc..1afb277d33 100644 --- a/coregrind/m_sigframe/sigframe-solaris.c +++ b/coregrind/m_sigframe/sigframe-solaris.c @@ -254,7 +254,7 @@ void VG_(sigframe_return)(ThreadId tid, const vki_ucontext_t *uc) /* Returning from a signal handler. */ if (VG_(clo_trace_signals)) VG_(message)(Vg_DebugMsg, - "sigframe_return (thread %u): IP=%#lx\n", + "VG_(sigframe_return) (thread %u): IP=%#lx\n", tid, VG_(get_IP)(tid)); /* Tell the tool. */ diff --git a/coregrind/m_sigframe/sigframe-x86-freebsd.c b/coregrind/m_sigframe/sigframe-x86-freebsd.c index 6f07c28ee8..eaa4df264a 100644 --- a/coregrind/m_sigframe/sigframe-x86-freebsd.c +++ b/coregrind/m_sigframe/sigframe-x86-freebsd.c @@ -445,7 +445,7 @@ void VG_(sigframe_destroy)( ThreadId tid ) if (VG_(clo_trace_signals)) VG_(message)( Vg_DebugMsg, - "VG_(signal_return) (thread %u): EIP=%#x\n", + "VG_(sigframe_destroy) (thread %u): EIP=%#x\n", tid, tst->arch.vex.guest_EIP); /* tell the tools */ diff --git a/coregrind/m_sigframe/sigframe-x86-linux.c b/coregrind/m_sigframe/sigframe-x86-linux.c index 633cdeaf64..309bae2a78 100644 --- a/coregrind/m_sigframe/sigframe-x86-linux.c +++ b/coregrind/m_sigframe/sigframe-x86-linux.c @@ -670,8 +670,8 @@ void VG_(sigframe_destroy)( ThreadId tid, Bool isRT ) if (VG_(clo_trace_signals)) VG_(message)( - Vg_DebugMsg, - "VG_(signal_return) (thread %u): isRT=%d valid magic; EIP=%#x\n", + Vg_DebugMsg, + "VG_(sigframe_destroy) (thread %u): isRT=%d valid magic; EIP=%#x\n", tid, isRT, tst->arch.vex.guest_EIP); /* tell the tools */