mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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@web.de> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@941 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Andreas Färber
parent
595b99dc36
commit
513b9da74b
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user