Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 10:19:50 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40847 for review
Message-ID:  <200310301819.h9UIJo73055568@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40847

Change 40847 by jmallett@jmallett_sprout on 2003/10/30 10:19:39

	No KGDB.

Affected files ...

.. //depot/projects/mips/sys/mips/include/db_machdep.h#6 edit
.. //depot/projects/mips/sys/mips/mips/db_interface.c#6 edit
.. //depot/projects/mips/sys/mips/mips/locore_mips3.S#12 edit

Differences ...

==== //depot/projects/mips/sys/mips/include/db_machdep.h#6 (text+ko) ====

@@ -88,13 +88,6 @@
 #define	DB_SMALL_VALUE_MIN	(-0x40001)
 
 /*
- * Constants for KGDB.
- */
-typedef	register_t	kgdb_reg_t;
-#define	KGDB_NUMREGS	90
-#define	KGDB_BUFLEN	1024
-
-/*
  * MIPS cpus have no hardware single-step.
  */
 #define SOFTWARE_SSTEP

==== //depot/projects/mips/sys/mips/mips/db_interface.c#6 (text+ko) ====

@@ -46,11 +46,9 @@
 #include <machine/db_machdep.h>
 #include <ddb/ddb.h>
 #include <ddb/db_access.h>
-#ifndef KGDB
 #include <ddb/db_command.h>
 #include <ddb/db_output.h>
 #include <ddb/db_sym.h>
-#endif
 
 int		db_active = 0;
 db_regs_t	ddb_regs;
@@ -129,7 +127,6 @@
 }
 #endif
 
-#ifndef KGDB
 int
 kdb_trap(int type, struct trapframe *tfp)
 {
@@ -187,7 +184,6 @@
 
 	__asm("break");
 }
-#endif	/* !KGDB */
 
 void
 db_set_ddb_regs(int type, struct trapframe *tfp)
@@ -284,7 +280,6 @@
 	mips_icache_sync_range((db_addr_t) addr, size);
 }
 
-#ifndef KGDB
 DB_COMMAND(tlb, db_tlbdump_cmd)
 {
 
@@ -411,7 +406,6 @@
 		SHOW64(MIPS_COP_0_ERROR_PC, "errorpc");
 	}
 }
-#endif	/* !KGDB */
 
 /*
  * Determine whether the instruction involves a delay slot.

==== //depot/projects/mips/sys/mips/mips/locore_mips3.S#12 (text+ko) ====

@@ -182,7 +182,7 @@
 	.set pop
 END(mipsNN_cp0_config3_read)
 
-#if defined(DDB) || defined(KGDB)
+#if defined(DDB)
 /*
  * setjmp(label_t *)
  * longjmp(label_t *)



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