+2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
+ use it.
+
2013-03-01 Pedro Alves <palves@redhat.com>
Use gdb_byte for bytes from the program being debugged.
call_site_find_chain_1 (struct gdbarch *gdbarch, CORE_ADDR caller_pc,
CORE_ADDR callee_pc)
{
+ CORE_ADDR save_callee_pc = callee_pc;
struct obstack addr_obstack;
struct cleanup *back_to_retval, *back_to_workdata;
struct call_site_chain *retval = NULL;
callee_pc = get_pc_function_start (callee_pc);
if (callee_pc == 0)
throw_error (NO_ENTRY_VALUE_ERROR, _("Unable to find function for PC %s"),
- paddress (gdbarch, callee_pc));
+ paddress (gdbarch, save_callee_pc));
back_to_retval = make_cleanup (free_current_contents, &retval);