ARM: kernel: Make KDL more useful on ARM
This adds the -mapcs-frame compiler flag for ARM to have "stable" stack frames, adds support to the kernel for dumping stack crawls, and initial support for iframes. There' much more functionality to unlock in KDL, but this makes debugging already a lot more comfortable.....
This commit is contained in:
@@ -242,6 +242,8 @@ switch $(HAIKU_CPU) {
|
||||
case arm :
|
||||
{
|
||||
HAIKU_DEFINES += __ARM__ ;
|
||||
HAIKU_CCFLAGS += -mapcs-frame ; # For stackcrawls
|
||||
HAIKU_C++FLAGS += -mapcs-frame ;
|
||||
HAIKU_BOOT_PLATFORM ?= u-boot ;
|
||||
HAIKU_BOOT_BOARD ?= verdex ;
|
||||
HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 1440 ;
|
||||
|
||||
Reference in New Issue
Block a user