]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
2005-08-17 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 18 Aug 2005 03:41:29 +0000 (03:41 +0000)
committerroland <roland>
Thu, 18 Aug 2005 03:41:29 +0000 (03:41 +0000)
commite36387d7f8597e307927a8d7e1bd5d216d52e3db
tree67dda187433175c4b837a605541ee24c71c96194
parentbcde33fbb0a7991abbec44d76005c4acde723a86
2005-08-17  Roland McGrath  <roland@redhat.com>

PR systemtap/1197
* loc2c.c (struct location): New members `fail', `fail_arg'.
(alloc_location): New function.  Initialize those members.
(new_synthetic_loc, translate): Use that instead of obstack_alloc.
(location_from_address, location_relative): Likewise.
(FAIL): New macro.  Use it everywhere in place of `error'.
* loc2c-test.c (fail): New function.
(handle_variable): Pass it to c_translate_location.
* tapsets.cxx (dwflpp::loc2c_error): New static method.
(dwflpp::literal_stmt_for_local): Pass it to to c_translate_location.
loc2c-test.c
loc2c.c
tapsets.cxx
This page took 0.026135 seconds and 5 git commands to generate.