Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2009 06:44:37 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r195352 - projects/mips/sys/mips/include
Message-ID:  <200907050644.n656ibck039740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Jul  5 06:44:37 2009
New Revision: 195352
URL: http://svn.freebsd.org/changeset/base/195352

Log:
  db_expr_t should be a intptr_t, not an int.  These expressions can be
  addresses or numbers, and that's a intptr_t if I ever saw one.

Modified:
  projects/mips/sys/mips/include/db_machdep.h

Modified: projects/mips/sys/mips/include/db_machdep.h
==============================================================================
--- projects/mips/sys/mips/include/db_machdep.h	Sun Jul  5 06:43:01 2009	(r195351)
+++ projects/mips/sys/mips/include/db_machdep.h	Sun Jul  5 06:44:37 2009	(r195352)
@@ -46,7 +46,7 @@ typedef struct trapframe db_regs_t;
 extern db_regs_t	ddb_regs;	/* register state */
 
 typedef	vm_offset_t	db_addr_t;	/* address - unsigned */
-typedef	int		db_expr_t;	/* expression - signed */
+typedef	intptr_t	db_expr_t;	/* expression - signed */
 
 #if BYTE_ORDER == _BIG_ENDIAN
 #define	BYTE_MSF	(1)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907050644.n656ibck039740>