public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-sergiodj-stap: respect trace_kludge when generating bytecode
@ 2011-03-23 18:12 tromey
0 siblings, 0 replies; only message in thread
From: tromey @ 2011-03-23 18:12 UTC (permalink / raw)
To: archer-commits
The branch, archer-sergiodj-stap has been updated
via 3f8760f6107730d99b996cb6c38378be2abf5314 (commit)
from bded3b10e871957772936df5bafd6174424868e1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 3f8760f6107730d99b996cb6c38378be2abf5314
Author: Tom Tromey <tromey@redhat.com>
Date: Wed Mar 23 12:17:24 2011 -0600
respect trace_kludge when generating bytecode
-----------------------------------------------------------------------
Summary of changes:
gdb/stap-probe.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 779ba62..9fb8071 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -947,7 +947,14 @@ stap_fetch_reg_value (struct stap_evaluation_info *eval_info,
}
if (eval_info->compiling_p)
- ax_simple (eval_info->aexpr, aop);
+ {
+ if (trace_kludge)
+ {
+ gdb_assert (aop == aop_ref32 || aop == aop_ref64);
+ ax_trace_quick (eval_info->aexpr, aop == aop_ref32 ? 4 : 8);
+ }
+ ax_simple (eval_info->aexpr, aop);
+ }
else
{
ret = value_cast (t, ret);
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-23 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-23 18:12 [SCM] archer-sergiodj-stap: respect trace_kludge when generating bytecode tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).