From d1531387ba69eb6b31197a5be26a63ce20bb9d40 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 22 Nov 2005 00:29:54 +0000 Subject: 2005-11-21 Roland McGrath * loc2c.c (c_translate_location): Take Dwarf_Op vector as argument directly, not Dwarf_Attribute.p * loc2c.h: Update decl. * loc2c-test.c (get_location): New function. (handle_variable): Use it. * tapsets.cxx (dwflpp::translate_location): New method. (dwflpp::translate_components, dwflpp::literal_stmt_for_local): Use it. --- loc2c.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'loc2c.h') diff --git a/loc2c.h b/loc2c.h index d6617d55..9b0a7868 100644 --- a/loc2c.h +++ b/loc2c.h @@ -26,8 +26,9 @@ struct location *c_translate_location (struct obstack *, Dwarf_Addr), int indent, Dwarf_Addr bias, - Dwarf_Attribute *loc_attr, - Dwarf_Addr address, + Dwarf_Addr pc_address, + const Dwarf_Op *locexpr, + size_t locexprlen, struct location **input, Dwarf_Attribute *fb_attr); -- cgit