diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index 69dad5a..d7c7241 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c @@ -94,6 +94,10 @@ unwind_table_init(struct unwind_table *table, const char *name, struct unwind_table_entry *start = table_start; struct unwind_table_entry *end = (struct unwind_table_entry *)table_end - 1; + int nr = 0; + + extern void stext(); + // base_addr += ((unsigned long)&stext) - KERNEL_START; // HELGE table->name = name; table->base_addr = base_addr; @@ -112,6 +116,15 @@ unwind_table_init(struct unwind_table *table, const char *name, start->region_start += base_addr; start->region_end += base_addr; + if (nr<10) { + nr++; + printk("unwind %d: %x - %x, len=%d\n", + nr, + start->region_start, + start->region_end, + start->region_end - start->region_start + 1); + + } } }