From 66d284f47e7ce141ef6325d16f855dc27c05535a Mon Sep 17 00:00:00 2001 From: fche Date: Sun, 28 Aug 2005 15:21:00 +0000 Subject: 2005-08-28 Frank Ch. Eigler * translate.cxx (visit_target): Make target variable exceptions more informative. (literal_stmt_for_local): Improve bad-type exception message. * translate.cxx (emit_module_init): Include probe point in comments. --- translate.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index d9d9840d..71241d00 100644 --- a/translate.cxx +++ b/translate.cxx @@ -657,6 +657,8 @@ c_unparser::emit_module_init () for (unsigned i=0; iprobes.size(); i++) { o->newline() << "/* register " << i << " */"; + for (unsigned k=0; kprobes[i]->locations.size(); k++) + o->newline() << "/* " << *session->probes[i]->locations[k] << " */"; session->probes[i]->emit_registrations (o, i); o->newline() << "if (unlikely (rc)) {"; -- cgit