This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]