Ignore:
Timestamp:
2009-03-17T20:33:18Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5eb90cb
Parents:
b1c8dc0
Message:

Make optionality of symbol information less intrusive per Jakub's request. Also, improve symtab function names and update their semantics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/interrupt/interrupt.c

    rb1c8dc0 re16e0d59  
    4646#include <panic.h>
    4747#include <print.h>
    48 
    49 #ifdef CONFIG_SYMTAB
    5048#include <symtab.h>
    51 #endif
    5249
    5350static struct {
     
    134131       
    135132        for (i = 0; i < IVT_ITEMS; i++) {
    136 #ifdef CONFIG_SYMTAB
    137                 symbol = get_symtab_entry((unative_t) exc_table[i].f);
    138                 if (!symbol)
    139                         symbol = "not found";
    140 #else
    141                 symbol = "n/a";
    142 #endif
     133                symbol = symtab_fmt_name_lookup((unative_t) exc_table[i].f);
    143134
    144135#ifdef __32_BITS__
Note: See TracChangeset for help on using the changeset viewer.