From: Chris Rhodin <chris@notav8.com>
To: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Subject: Re: gdb configuration
Date: Wed, 19 Nov 2008 01:34:25 -0800 [thread overview]
Message-ID: <4923DDA1.2090107@notav8.com> (raw)
In-Reply-To: <4922F3C7.8070408@caviumnetworks.com>
I was using a gdb I built from the Debian sources, it's version 6.4.90.
I just built 6.8 from GNU and everything seems to work fine now.
Thanks,
Chris Rhodin
David Daney wrote:
> Chris Rhodin wrote:
>
>> Hi,
>>
>> I'm trying to debug 32-bit linux over a serial port with gdb. I'm
>> able to connect to the target and everything looks good until I
>> examine the registers. What's there is obviously wrong. I've
>> examined the stack and found the register data structure. Each
>> register in this structure is 32 bits. When I compare the structure
>> to the registers that gdb displays I can see that gdb is expecting
>> each register to occupy 64 bits. I've tried setting "abi",
>> "saved-gpreg-size", and "stack-arg-size" to 32 bits without success.
>> Can someone point out my obvious mistake?
>>
>
> Please report the exact versions of all the tools you are using. If
> you are not using gdb 6.8 upgrade to that version and see what happens.
>
> If it still fails, try asking on gdb@sourceware.org
>
> David Daney
>
> .
>
prev parent reply other threads:[~2008-11-19 9:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 9:56 gdb configuration Chris Rhodin
2008-11-18 16:56 ` David Daney
2008-11-19 9:34 ` Chris Rhodin [this message]
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=4923DDA1.2090107@notav8.com \
--to=chris@notav8.com \
--cc=ddaney@caviumnetworks.com \
--cc=linux-mips@linux-mips.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox