• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 static int
arch_set_error(struct tcb * tcp)2 arch_set_error(struct tcb *tcp)
3 {
4 	hppa_r28 = -tcp->u_error;
5 	return upoke(tcp, PT_GR28, hppa_r28);
6 }
7 
8 static int
arch_set_success(struct tcb * tcp)9 arch_set_success(struct tcb *tcp)
10 {
11 	hppa_r28 = tcp->u_rval;
12 	return upoke(tcp, PT_GR28, hppa_r28);
13 }
14