#include "primitives.hpp"
#include "event.hpp"
#include "gen/includes.hpp"

namespace rubinius {
  bool Primitives::unknown_primitive(STATE, VMExecutable* exec, Task* task, Message& msg) {
    std::cout << "\n";
    state->print_backtrace();
    std::cout << "Called unbound or invalid primitive from: " << *msg.name->to_str(state) <<"\n";
    abort();
  }

#include "gen/primitives_glue.gen.cpp"
}

#include "primitives.hpp"
#include "event.hpp"
#include "gen/includes.hpp"

namespace rubinius {
  bool Primitives::unknown_primitive(STATE, VMExecutable* exec, Task* task, Message& msg) {
    std::cout << "\n";
    state->print_backtrace();
    std::cout << "Called unbound/invalid primitive: " << *msg.name->to_str(state) <<"\n";
    abort();
  }

#include "gen/primitives_glue.gen.cpp"
}

--- 
+++ 
@@ -6,7 +6,7 @@
   bool Primitives::unknown_primitive(STATE, VMExecutable* exec, Task* task, Message& msg) {
     std::cout << "\n";
     state->print_backtrace();
-    std::cout << "Called unbound/invalid primitive: " << *msg.name->to_str(state) <<"\n";
+    std::cout << "Called unbound or invalid primitive from: " << *msg.name->to_str(state) <<"\n";
     abort();
   }
 
Improve error message about primitive failures
