Module Name: src
Committed By: dyoung
Date: Mon Apr 4 22:33:32 UTC 2011
Modified Files:
src/gnu/dist/gdb6/sim/ppc: emul_netbsd.c
Log Message:
I've been using this patch (which comes from Matt Thomas, maybe?) for
about a year. It make MKCROSSGDB=yes work for macppc, at least.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/gnu/dist/gdb6/sim/ppc/emul_netbsd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/gnu/dist/gdb6/sim/ppc/emul_netbsd.c
diff -u src/gnu/dist/gdb6/sim/ppc/emul_netbsd.c:1.6 src/gnu/dist/gdb6/sim/ppc/emul_netbsd.c:1.7
--- src/gnu/dist/gdb6/sim/ppc/emul_netbsd.c:1.6 Thu Jun 3 14:32:31 2010
+++ src/gnu/dist/gdb6/sim/ppc/emul_netbsd.c Mon Apr 4 22:33:32 2011
@@ -738,7 +738,7 @@
if (WITH_TRACE && ppc_trace[trace_os_emul])
printf_filtered ("0x%lx, 0x%lx", (long)t_addr, (long)tz_addr);
- SYS(gettimeofday);
+ SYS(__gettimeofday50);
emul_write_status(processor, status, err);
if (status == 0) {
if (t_addr != 0)