All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Rhodin <chris@notav8.com>
To: linux-mips@linux-mips.org
Subject: gdb configuration
Date: Tue, 18 Nov 2008 01:56:53 -0800	[thread overview]
Message-ID: <49229165.80000@notav8.com> (raw)

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?

Thanks,


Chris Rhodin

             reply	other threads:[~2008-11-18  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18  9:56 Chris Rhodin [this message]
2008-11-18 16:56 ` gdb configuration David Daney
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=49229165.80000@notav8.com \
    --to=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.