summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
authorroland <roland>2005-08-18 03:42:24 +0000
committerroland <roland>2005-08-18 03:42:24 +0000
commitccc358b16c106058ec5c10d8c6c04a993fd58d88 (patch)
tree7e5438d868be5e71f7f969d176ee180414160bff /loc2c.c
parente36387d7f8597e307927a8d7e1bd5d216d52e3db (diff)
downloadsystemtap-steved-ccc358b16c106058ec5c10d8c6c04a993fd58d88.tar.gz
systemtap-steved-ccc358b16c106058ec5c10d8c6c04a993fd58d88.tar.xz
systemtap-steved-ccc358b16c106058ec5c10d8c6c04a993fd58d88.zip
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'. (c_translate_location): Take new args FAIL, FAIL_ARG. * loc2c.h: Update declaration. * 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.
Diffstat (limited to 'loc2c.c')
0 files changed, 0 insertions, 0 deletions