Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 04:43:28 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 56839 for review
Message-ID:  <200407090443.i694hSed040851@repoman.freebsd.org>

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

Change 56839 by marcel@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 *);



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