From: Ralf Baechle <ralf@linux-mips.org>
To: renwei <renwei@huawei.com>
Cc: linux-mips@linux-mips.org
Subject: Re: gdb/insight 5.3 buggy in kernel module debug
Date: Wed, 9 Jul 2003 14:36:57 +0200 [thread overview]
Message-ID: <20030709123657.GA30305@linux-mips.org> (raw)
In-Reply-To: <003501c34526$f5adfcc0$6efc0b0a@huawei.com>
On Tue, Jul 08, 2003 at 04:00:08PM +0800, renwei wrote:
> new thead xxxxxx
> 0xffffffff83f28040 in ??()
> something like that.
> and the backtrace command can't work, also.
> but my gdb5.0 for mipsel is ok.
>
>
> I think that's the gdb get the pc as 64bit, but my
> board's cpu is 32bit, so it can't get the correct pc ...
> The kernel addr is up to 0x80000000, so it's negative.
On 64-bit processors running 32-bit code the actual values in the
registers are sign-extended to 64-bit, so that behaviour of your gdb
seems right. Fix whatever places do return a zero-extended values.
Ralf
next prev parent reply other threads:[~2003-07-09 12:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-08 8:00 gdb/insight 5.3 buggy in kernel module debug renwei
2003-07-09 12:36 ` Ralf Baechle [this message]
2003-07-11 2:14 ` [patch]: " renwei
2003-07-11 2:31 ` Ralf Baechle
2003-07-11 2:43 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030709123657.GA30305@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=renwei@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.