This is the mail archive of the
mailing list for the GDB project.
Re: About displaced-stepping function
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.