PERFORCE change 108298 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Mon Oct 23 03:03:34 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=108298
Change 108298 by gonzo at 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
More information about the p4-projects
mailing list