Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Drop bogus ## to make gcc3 happy.
details: https://anonhg.NetBSD.org/src/rev/951c0cc2e915
branches: trunk
changeset: 551475:951c0cc2e915
user: uwe <uwe%NetBSD.org@localhost>
date: Sun Sep 07 00:30:40 2003 +0000
description:
Drop bogus ## to make gcc3 happy.
diffstat:
sys/arch/sparc/sparc/db_trace.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 8e3a887d76f3 -r 951c0cc2e915 sys/arch/sparc/sparc/db_trace.c
--- a/sys/arch/sparc/sparc/db_trace.c Sun Sep 07 00:25:04 2003 +0000
+++ b/sys/arch/sparc/sparc/db_trace.c Sun Sep 07 00:30:40 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.20 2003/07/15 00:05:03 lukem Exp $ */
+/* $NetBSD: db_trace.c,v 1.21 2003/09/07 00:30:40 uwe Exp $ */
/*
* Mach Operating System
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.20 2003/07/15 00:05:03 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.21 2003/09/07 00:30:40 uwe Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -105,8 +105,8 @@
db_addr_t prevpc;
#define FR(framep,field) (INKERNEL(framep) \
- ? (u_int)(framep)->##field \
- : fuword(&(framep)->##field))
+ ? (u_int)(framep)->field \
+ : fuword(&(framep)->field))
/* Fetch return address and arguments frame */
prevpc = (db_addr_t)FR(frame, fr_pc);
Home |
Main Index |
Thread Index |
Old Index