Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: teawater <teawater@gmail.com>
Subject: Re: About displaced-stepping function
Date: Thu, 21 Aug 2008 17:11:00 -0000	[thread overview]
Message-ID: <200808211138.04006.pedro@codesourcery.com> (raw)
In-Reply-To: <daef60380808201906j26cfa3afof55510752b0bc097@mail.gmail.com>

On Thursday 21 August 2008 03:06:14, teawater wrote:
> Hi guys,
>
> I used GDB cvs version to debug the KGDB and got a memory error.
> I found that "displaced-stepping" function cause this error. And when
> I use command "maintenance set can-use-displaced-stepping 0" close
> this function. Everything is OK.
> Did anyone meet this bug too?
>

Does debugging with against KGDB use the same gdbarch as debugging
a linux app?  Is there no separate OSABI or something?

This is probably displaced stepping on x86 trying to use the 
entry point as scratch space, but it's most likely not possible
to do that.

-- 
Pedro Alves


  parent reply	other threads:[~2008-08-21 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 12:04 teawater
2008-08-21 12:24 ` Michael Snyder
2008-08-21 17:11 ` Pedro Alves [this message]
2008-08-21 17:19   ` 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=200808211138.04006.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=teawater@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