From owner-p4-projects@FreeBSD.ORG Mon Oct 23 10:03:33 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A87DC16A412; Mon, 23 Oct 2006 10:03:33 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BB8E16A40F for ; Mon, 23 Oct 2006 10:03:33 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C34343D55 for ; Mon, 23 Oct 2006 10:03:33 +0000 (GMT) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9NA3XZo004913 for ; Mon, 23 Oct 2006 10:03:33 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9NA3Xlw004909 for perforce@freebsd.org; Mon, 23 Oct 2006 10:03:33 GMT (envelope-from gonzo@FreeBSD.org) Date: Mon, 23 Oct 2006 10:03:33 GMT Message-Id: <200610231003.k9NA3Xlw004909@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 108298 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 10:03:34 -0000 http://perforce.freebsd.org/chv.cgi?CH=108298 Change 108298 by gonzo@gonzo_hq on 2006/10/23 10:03:31 o Does not provide empty stubs. Fill them with "break" instruction to detect unimplemented functions on early stages instead of spending hours narrowing down bug to these subroutines. Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/machdep.c#22 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/machdep.c#22 (text+ko) ==== @@ -196,84 +196,77 @@ int get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) { - + __asm __volatile("break"); return (0); } int set_mcontext(struct thread *td, const mcontext_t *mcp) { - + __asm __volatile("break"); return (0); } int fill_regs(struct thread *td, struct reg *regs) { - + __asm __volatile("break"); return (0); } int fill_dbregs(struct thread *td, struct dbreg *dbregs) { - + __asm __volatile("break"); return (0); } int fill_fpregs(struct thread *td, struct fpreg *fpregs) { - return (0); } int set_regs(struct thread *td, struct reg *regs) { - + __asm __volatile("break"); return (0); } int set_dbregs(struct thread *td, struct dbreg *dbregs) { - return (0); } int set_fpregs(struct thread *td, struct fpreg *fpregs) { - return (0); } int ptrace_set_pc(struct thread *td, u_long addr) { - return (0); } int ptrace_clear_single_step(struct thread *td) { - return (0); } int ptrace_single_step(struct thread *td) { - return (0); } void cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t sz) { - } void