From 41ddc6ea3dcae70a415003568f6b36154ffdaa77 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sun, 4 Jan 2015 01:45:26 +0000 Subject: [PATCH] Truncate DB_SMALL_VALUE_MAX to a much lower value. Unlike the other architectures, the PowerPC kernel is loaded under the 2GB boundary. MFC after: 2 weeks --- sys/powerpc/include/db_machdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/include/db_machdep.h b/sys/powerpc/include/db_machdep.h index 367ff5205525..6d6638a28f58 100644 --- a/sys/powerpc/include/db_machdep.h +++ b/sys/powerpc/include/db_machdep.h @@ -87,7 +87,7 @@ typedef intptr_t db_expr_t; /* expression - signed */ #define inst_load(ins) 0 #define inst_store(ins) 0 -#define DB_SMALL_VALUE_MAX (0x7fffffff) +#define DB_SMALL_VALUE_MAX (KERNBASE-1) #define DB_SMALL_VALUE_MIN (-0x40001) #endif /* _POWERPC_DB_MACHDEP_H_ */