[OpenBIOS] [commit] r941 - trunk/openbios-devel/arch/ppc/qemu

repository service svn at openbios.org
Mon Nov 1 18:31:11 CET 2010


Author: afaerber
Date: Mon Nov  1 18:31:11 2010
New Revision: 941
URL: http://tracker.coreboot.org/trac/openbios/changeset/941

Log:
ppc: Label illegal vectors

Improve GDB backtrace by making the vector source less ambiguous.
A 0x700 program exception was shown as originating from vector__0x400.

Signed-off-by: Andreas Färber <andreas.faerber at web.de>

Modified:
   trunk/openbios-devel/arch/ppc/qemu/start.S

Modified: trunk/openbios-devel/arch/ppc/qemu/start.S
==============================================================================
--- trunk/openbios-devel/arch/ppc/qemu/start.S	Sun Oct 31 17:54:58 2010	(r940)
+++ trunk/openbios-devel/arch/ppc/qemu/start.S	Mon Nov  1 18:31:11 2010	(r941)
@@ -21,7 +21,7 @@
 /*	Macros								*/
 /************************************************************************/
 
-#define ILLEGAL_VECTOR( v )	.org __vectors + v ; bl trap_error ;
+#define ILLEGAL_VECTOR( v )	.org __vectors + v ; vector__##v: bl trap_error ;
 #define VECTOR( v, dummystr )	.org __vectors + v ; vector__##v
 
 /* We're trying to use the same code for the ppc32 and ppc64 handlers here.



More information about the OpenBIOS mailing list