PERFORCE change 56839 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu Jul 8 21:43:30 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=56839

Change 56839 by marcel at marcel_nfs on 2004/07/09 04:42:59

	Add 100 to the vector. That way GDB will not display the
	break vector (=11) as SIGSEGV, but as Real-time signal 122.
	I rather see the raw trap vector than some signal that's
	a poor match for the vector at best.
	Maybe we can do something about the signals with kgdb...

Affected files ...

.. //depot/projects/gdb/sys/ia64/include/gdb_machdep.h#7 edit

Differences ...

==== //depot/projects/gdb/sys/ia64/include/gdb_machdep.h#7 (text+ko) ====

@@ -43,7 +43,8 @@
 static __inline int
 gdb_cpu_signal(int vector, int dummy __unused)
 {
-	return (vector);
+	/* Add 100 so GDB won't translate the vector into signal names. */
+	return (vector + 100);
 }
 
 void *gdb_cpu_getreg(int, size_t *);


More information about the p4-projects mailing list