getreg_val(regno, frame) unsigned regno;
getreg_val(frame, regno)
getreg_val(regno, frame)	unsigned regno;	db_regs_t *frame;{	if (regno == 0)		return 0;	else if (regno < 31)		return frame->r[regno];	else {		panic("bad register number to getreg_val.");		return 0;/*to make compiler happy */	}}