2003-06-03 Roland McGrath <roland@redhat.com>

* util.c (printcall) [LINUX]: Fix typo [IA62] -> [IA64].
	Linux/ARM improvements from Russell King <rmk@arm.linux.org.uk>:
	* defs.h [LINUX] (TCB_WAITEXECVE): Define for [ARM] too.
	* process.c (struct_user_offsets) [LINUX] [ARM]: Add ARM registers.
	* signal.c [LINUX] (sys_sigreturn) [ARM]: New case.
	* syscall.c (get_scno, syscall_fixup) [LINUX] [ARM]: Case rewritten.
	(get_error) [LINUX] [ARM]: Update.
	(syscall_enter) [LINUX] [ARM]: New case.
	* util.c (printcall) [LINUX] [ARM]: New case.
This commit is contained in:
Roland McGrath 2003-06-03 23:28:59 +00:00
parent 2c1d534aac
commit ef38868961

9
util.c
View File

@ -1029,7 +1029,7 @@ struct tcb *tcp;
return;
}
tprintf("[%16lx] ", rip);
#elif defined(IA62)
#elif defined(IA64)
long ip;
if (upeek(tcp->pid, PT_B0, &ip) < 0) {
@ -1100,7 +1100,14 @@ struct tcb *tcp;
return;
}
tprintf("[%08lx] ", pc);
#elif defined(ARM)
long pc;
if (upeek(tcp->pid, 4*15, &pc) < 0) {
tprintf("[????????] ");
return;
}
tprintf("[%08lx] ", pc);
#endif /* !architecture */
#endif /* LINUX */