FreeBSD/sys/mips/mips/db_interface.c
/*
 *	To do a single step ddb needs to know the next address
 *	that we will get to. It means that we need to find out
 *	both the address for a branch taken and for not taken, NOT! :-)
 *	MipsEmulateBranch will do the job to find out _exactly_ which
 *	address we will end up at so the 'dual bp' method is not
 *	requiered.
 */
To do a single step ddb needs to know the next address
that we will get to. It means that we need to find out
both the address for a branch taken and for not taken, NOT. :-)
MipsEmulateBranch will do the job to find out _exactly_ which
address we will end up at so the 'dual bp' method is not
requiered.
To do a single step ddb needs to know the next address that we will get to . It means that we need to find out both the address for a branch taken and for not taken NOT . : - ) MipsEmulateBranch will do the job to find out _exactly_ which address we will end up at so the ' dual bp ' method is not requiered .
db_addr_t
next_instr_address(db_addr_t pc, boolean_t bd)
{
	db_addr_t next;
	next = (db_addr_t)MipsEmulateBranch(kdb_frame, pc, 0, 0);
	return (next);
}
db_addr_t next_instr_address ( db_addr_t pc , boolean_t bd ) { db_addr_t next ; next = ( db_addr_t ) MipsEmulateBranch ( kdb_frame , pc , 0 , 0 ) ; return ( next ) ; }
To do a single step ddb needs to know the next address
      that we will get to.
To do a single step ddb needs to know the next address that we will get to .