| To: | "Atsushi Nemoto" <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: [PATCH 6/7] Fix dump_stack() |
| From: | "Franck Bui-Huu" <vagabon.xyz@gmail.com> |
| Date: | Tue, 1 Aug 2006 19:43:39 +0200 |
| Cc: | ralf@linux-mips.org, linux-mips@linux-mips.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LgoUIPHcRAmlIy0wXzoWoi5pKe9EUc86BYShbz2eDS6vn99Yvu1nXU5FgIeoRv0WLpcBT0/x+FuOmF6HeyjVZwpqpocRNhzXZ0HcgEv/cxAhE4hxnYYhrwnf1RX8gv9HRFGBrfA5pAni0Dg/ffYVSde6Qr44iHBBIUDRiwDGslU= |
| In-reply-to: | <20060802.010522.11596989.anemo@mba.ocn.ne.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1154424439852-git-send-email-vagabon.xyz@gmail.com> <20060802.000837.37531064.anemo@mba.ocn.ne.jp> <44CF7506.70106@innova-card.com> <20060802.010522.11596989.anemo@mba.ocn.ne.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
2006/8/1, Atsushi Nemoto <anemo@mba.ocn.ne.jp>: On Tue, 01 Aug 2006 17:36:38 +0200, Franck Bui-Huu <vagabon.xyz@gmail.com> wrote: > > Eliminating the #ifdef itself looks good, but if you cleared contents > > of the "regs" before prepare_frametrace, you will get less false > > entries in the output. > > well I don't see why...show_trace() is going to only use regs[29] which > is setup by prepare_frametrace()... If CONFIG_KALLSYMS was not set, show_trace() print all possible entries starting from the sp. The sp value stored in "regs" by prepare_frametrace() will be little smaller one than the address of the "regs" itself. So if some values like function addresses were in the "regs", show_trace() will report them.
OK, I'll do that.
BTW what about rename show_trace() into show_raw_backtrace() ?
--
Franck
|
| Previous by Date: | Re: [PATCH 6/7] Fix dump_stack(), Atsushi Nemoto |
|---|---|
| Next by Date: | Re: [PATCH 7/7] Allow unwind_stack() to return ra for leaf function, Franck Bui-Huu |
| Previous by Thread: | Re: [PATCH 6/7] Fix dump_stack(), Atsushi Nemoto |
| Next by Thread: | Re: [PATCH 6/7] Fix dump_stack(), Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |