Changeset c47e1a8 in mainline for kernel/generic/src/debug/symtab.c


Ignore:
Timestamp:
2010-05-21T07:50:04Z (16 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d51ee2b
Parents:
cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes (rev. 451)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/symtab.c

    rcf8cc36 rc47e1a8  
    3838#include <symtab.h>
    3939#include <byteorder.h>
    40 #include <string.h>
     40#include <str.h>
    4141#include <print.h>
    42 #include <arch/types.h>
     42#include <typedefs.h>
    4343#include <typedefs.h>
    4444#include <errno.h>
     
    5454 *
    5555 */
    56 int symtab_name_lookup(uintptr_t addr, char **name, uintptr_t *offset)
     56int symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset)
    5757{
    5858#ifdef CONFIG_SYMTAB
     
    9292 *
    9393 */
    94 char *symtab_fmt_name_lookup(uintptr_t addr)
    95 {
    96         char *name;
     94const char *symtab_fmt_name_lookup(uintptr_t addr)
     95{
     96        const char *name;
    9797        int rc = symtab_name_lookup(addr, &name, NULL);
    9898       
     
    239239                printf("\n");
    240240                pos = 0;
    241                 while ((hint = symtab_search_one(name, &pos))) {
     241                while (symtab_search_one(name, &pos)) {
    242242                        printf("%s\n", symbol_table[pos].symbol_name);
    243243                        pos++;
Note: See TracChangeset for help on using the changeset viewer.