Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh5/include Get DB_ELFSIZE for 64-bit kernels.



details:   https://anonhg.NetBSD.org/src/rev/c5e4fea8bd13
branches:  trunk
changeset: 537933:c5e4fea8bd13
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Oct 08 15:49:26 2002 +0000

description:
Get DB_ELFSIZE for 64-bit kernels.

diffstat:

 sys/arch/sh5/include/db_machdep.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a31b41484b7b -r c5e4fea8bd13 sys/arch/sh5/include/db_machdep.h
--- a/sys/arch/sh5/include/db_machdep.h Tue Oct 08 15:20:50 2002 +0000
+++ b/sys/arch/sh5/include/db_machdep.h Tue Oct 08 15:49:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.4 2002/09/19 10:03:12 scw Exp $       */
+/*     $NetBSD: db_machdep.h,v 1.5 2002/10/08 15:49:26 scw Exp $       */
 
 /*
  * This is still very much experimental. There is as yet no DB support
@@ -127,7 +127,11 @@
  *
  */
 #define        DB_ELF_SYMBOLS
+#ifndef _LP64
 #define        DB_ELFSIZE      32
+#else
+#define        DB_ELFSIZE      64
+#endif
 
 /*
  * We have machine-dependent commands.



Home | Main Index | Thread Index | Old Index