Changeset e2b762ec in mainline for kernel/arch/mips32/src/exception.c


Ignore:
Timestamp:
2009-03-16T21:58:05Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36c061
Parents:
d9167a1c
Message:

Make kernel symbol information optional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/exception.c

    rd9167a1c re2b762ec  
    4242#include <debug.h>
    4343#include <proc/thread.h>
    44 #include <symtab.h>
    4544#include <print.h>
    4645#include <interrupt.h>
     
    4847#include <ddi/irq.h>
    4948#include <arch/debugger.h>
     49
     50#ifdef CONFIG_SYMTAB
     51#include <symtab.h>
     52#endif
    5053
    5154static char * exctable[] = {
     
    7780        char *rasymbol = "";
    7881
     82#ifdef CONFIG_SYMTAB
    7983        char *s = get_symtab_entry(istate->epc);
    8084        if (s)
     
    8387        if (s)
    8488                rasymbol = s;
     89#endif
    8590       
    8691        printf("PC: %#x(%s) RA: %#x(%s), SP(%p)\n", istate->epc, pcsymbol, istate->ra, rasymbol, istate->sp);
Note: See TracChangeset for help on using the changeset viewer.