This is the mail archive of the gdb-patches@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: [PATCH] [PR gdb/13463] linux-nat: Stop lwp before xfer if running


On 08/27/2013 08:33 PM, Pedro Alves wrote:

> Yeah, gdbserver does this.  Starts with prepare_to_access_memory.  A
> prepare -> do -> "unprepare" sequence is possibly more efficient,
> as we can batch several "do"s over a single pause sequence.  I've considered
> before pushing that prepare/unprepare sequence all the way to gdb core,
> in order to batch e.g., the whole of prologue analysis + breakpoint
> insertion, or of shared library list reading, etc., but I thought all
> the way through all that.

Grrr, in case it isn't obvious, I meant:
"but I _haven't_ thought all the way through all that."

-- 
Pedro Alves


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