[haiku-commits] haiku: hrev46160 - build/jam

  • From: pdziepak@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Oct 2013 19:34:14 +0200 (CEST)

hrev46160 adds 2 changesets to branch 'master'
old head: 94bf728825e8a3b408c28fe415422db4810f0015
new head: c48c3f88a9a2a981bf52c3de205ef40c69b43bb3
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=c48c3f8+%5E94bf728

----------------------------------------------------------------------------

ffd5393: kernel/util: Make exit() available in bootloader as well

c48c3f8: build: Reenable debug mode for tarfs

                                    [ Pawel Dziepak <pdziepak@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

2 files changed, 6 insertions(+), 6 deletions(-)
build/jam/BuildSetup                  |  1 -
src/system/kernel/util/kernel_cpp.cpp | 11 ++++++-----

############################################################################

Commit:      ffd539362046a9ba5922cf234be872fd7278212a
URL:         http://cgit.haiku-os.org/haiku/commit/?id=ffd5393
Author:      Pawel Dziepak <pdziepak@xxxxxxxxxxx>
Date:        Tue Oct  1 17:31:48 2013 UTC

kernel/util: Make exit() available in bootloader as well

----------------------------------------------------------------------------

diff --git a/src/system/kernel/util/kernel_cpp.cpp 
b/src/system/kernel/util/kernel_cpp.cpp
index ca5e44e..ad2b50b 100644
--- a/src/system/kernel/util/kernel_cpp.cpp
+++ b/src/system/kernel/util/kernel_cpp.cpp
@@ -254,17 +254,18 @@ abort()
 
 extern "C"
 void
-exit(int status)
+debugger(const char *message)
 {
-       panic("exit() called with status code = %d!", status);
+       kernel_debugger(message);
 }
 
+#endif // _#if KERNEL_MODE
+
 
 extern "C"
 void
-debugger(const char *message)
+exit(int status)
 {
-       kernel_debugger(message);
+       panic("exit() called with status code = %d!", status);
 }
 
-#endif // _#if KERNEL_MODE

############################################################################

Revision:    hrev46160
Commit:      c48c3f88a9a2a981bf52c3de205ef40c69b43bb3
URL:         http://cgit.haiku-os.org/haiku/commit/?id=c48c3f8
Author:      Pawel Dziepak <pdziepak@xxxxxxxxxxx>
Date:        Tue Oct  1 17:32:51 2013 UTC

build: Reenable debug mode for tarfs

----------------------------------------------------------------------------

diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup
index 6c47fc9..d777044 100644
--- a/build/jam/BuildSetup
+++ b/build/jam/BuildSetup
@@ -940,4 +940,3 @@ SetConfigVar DEBUG : HAIKU_TOP src add-ons print drivers 
gutenprint : 0 : local
 SetConfigVar DEBUG : HAIKU_TOP src servers input : 0 : local ;
 SetConfigVar DEBUG : HAIKU_TOP src servers media_addon : 0 : local ;
 SetConfigVar DEBUG : HAIKU_TOP src system boot loader file_systems bfs : 0 : 
local ;
-SetConfigVar DEBUG : HAIKU_TOP src system boot loader file_systems tarfs : 0 : 
local ;


Other related posts:

  • » [haiku-commits] haiku: hrev46160 - build/jam - pdziepak