Backtrace and Panic functions #2

Merged
merged 1 commit into from May 17, 2012

2 participants

@gaetmorin
  • backtrace: only x86 (32bits) implementation for now
  • panic: prints an error message and stack trace, then halts
  • assert: modified to use panic()
Gaëtan Morin CUtils: backtrace and panic functions for error handling
 - backtrace: only x86 (32bits) implementation for now
 - panic:     prints an error message and stack trace, then halts
 - assert:    modified to use panic()
281c478
@gaetmorin

The link fails if Memory is after CUtils on the linker command line: the panic symbol used by assertions in Memory is not found.

@ddejean ddejean merged commit adc8cf5 into ddejean:master May 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment