Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Jerry 85032 <jerry85032@gmail.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Newbie gdb / gdbserver question with x86-64 and -m32 g++ goodness
Date: Fri, 18 Jun 2010 18:47:00 -0000	[thread overview]
Message-ID: <4C1BBF52.1010603@vmware.com> (raw)
In-Reply-To: <28929351.post@talk.nabble.com>


> ==============================
> 
> Assuming it is i386:x86-64, setting archi to i386, then connecting
> note: on the gdb side, the executable has been loaded with file
> 
> $ gdb 
> GNU gdb Fedora (6.8-37.el5)
> This GDB was configured as "x86_64-redhat-linux-gnu".
> (gdb) set archi i386:x86-64
> The target architecture is assumed to be i386:x86-64
> (gdb) file hello
> Reading symbols from /home/j/hello...done.
> (gdb) show archi
> The target architecture is assumed to be i386:x86-64
> (gdb) target extended-remote rdev6:2010
> Remote debugging using rdev6:2010
> [New Thread 32667]
> Cannot access memory at address 0x800000008
> (gdb) 

This is the closest to success.  So use this "set archi" setting.

At this point you are running into a second failure:

	Cannot access memory at address 0x800000008

I don't know what that one is about.


  reply	other threads:[~2010-06-18 18:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18  6:58 Jerry 85032
2010-06-18 16:36 ` Michael Snyder
2010-06-18 18:26   ` Jerry 85032
2010-06-18 18:47     ` Michael Snyder [this message]
2010-06-19  3:25 ` Ulrich Weigand

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=4C1BBF52.1010603@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --cc=jerry85032@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox