Drop return_addr from struct process
- The only interesting use seems to be in output.c, but there we assume
we are working with top-of-callstack anyway, and store fetch context
there, so we can simply fetch the return address this way as well.
diff --git a/proc.h b/proc.h
index 1b5fe03..e46b235 100644
--- a/proc.h
+++ b/proc.h
@@ -65,7 +65,7 @@
struct library_symbol * libfunc;
} c_un;
int is_syscall;
- void * return_addr;
+ arch_addr_t return_addr;
struct timeval time_spent;
struct fetch_context *fetch_context;
struct value_dict *arguments;
@@ -104,7 +104,6 @@
/* Arch-dependent: */
void * instruction_pointer;
void * stack_pointer; /* To get return addr, args... */
- void * return_addr;
void * arch_ptr;
/* XXX We would like to replace this with a pointer to ABI