[haiku-commits] r37562 - haiku/trunk/src/system/kernel

  • From: pulkomandy@xxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 18 Jul 2010 14:21:43 +0200 (CEST)

Author: pulkomandy
Date: 2010-07-18 14:21:42 +0200 (Sun, 18 Jul 2010)
New Revision: 37562
Changeset: http://dev.haiku-os.org/changeset/37562
Ticket: http://dev.haiku-os.org/ticket/3240

Modified:
   haiku/trunk/src/system/kernel/system_info.cpp
Log:
Add gcc version information to kdl info command. This could help debugging in 
some cases and fixes #3240.


Modified: haiku/trunk/src/system/kernel/system_info.cpp
===================================================================
--- haiku/trunk/src/system/kernel/system_info.cpp       2010-07-18 03:11:28 UTC 
(rev 37561)
+++ haiku/trunk/src/system/kernel/system_info.cpp       2010-07-18 12:21:42 UTC 
(rev 37562)
@@ -43,7 +43,8 @@
 static int
 dump_info(int argc, char **argv)
 {
-       kprintf("kernel build: %s %s\n", __DATE__, __TIME__);
+       kprintf("kernel build: %s %s (gcc%d %s)\n", __DATE__, __TIME__, 
__GNUC__,
+               __VERSION__);
        kprintf("SVN revision: %lu\n\n", sHaikuRevision);
 
        kprintf("cpu count: %ld, active times:\n", smp_get_num_cpus());


Other related posts:

  • » [haiku-commits] r37562 - haiku/trunk/src/system/kernel - pulkomandy