diff options
author | fche <fche> | 2005-08-28 15:21:00 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-28 15:21:00 +0000 |
commit | 66d284f47e7ce141ef6325d16f855dc27c05535a (patch) | |
tree | a232c992218471b5cad2c9656105ea6636ce1069 /translate.cxx | |
parent | 19feb39f0d4dd5e2173df0fc54d505fdb492fb5b (diff) | |
download | systemtap-steved-66d284f47e7ce141ef6325d16f855dc27c05535a.tar.gz systemtap-steved-66d284f47e7ce141ef6325d16f855dc27c05535a.tar.xz systemtap-steved-66d284f47e7ce141ef6325d16f855dc27c05535a.zip |
2005-08-28 Frank Ch. Eigler <fche@redhat.com>
* 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.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; i<session->probes.size(); i++) { o->newline() << "/* register " << i << " */"; + for (unsigned k=0; k<session->probes[i]->locations.size(); k++) + o->newline() << "/* " << *session->probes[i]->locations[k] << " */"; session->probes[i]->emit_registrations (o, i); o->newline() << "if (unlikely (rc)) {"; |