All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Chris Rhodin <chris@notav8.com>
Cc: linux-mips@linux-mips.org
Subject: Re: gdb configuration
Date: Tue, 18 Nov 2008 08:56:39 -0800	[thread overview]
Message-ID: <4922F3C7.8070408@caviumnetworks.com> (raw)
In-Reply-To: <49229165.80000@notav8.com>

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

  reply	other threads:[~2008-11-18 16:57 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 [this message]
2008-11-19  9:34   ` Chris Rhodin

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=4922F3C7.8070408@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=chris@notav8.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 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.