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: [RFC/RFA] add struct parse_context to all command functions


On Tue, Oct 21, 2008 at 08:05:21PM +0200, Ulrich Weigand wrote:
> FWIW I'd also prefer this option.

Listening to Tom talk about this I've started to wonder if it's
necessary... do we have a unified vision on where the global state
accesses are OK?

GDB is single threaded.  I anticipate it will remain so.  So, having
the functions which implement user interface commands read global
state doesn't seem like a big problem - unlike the expression parser.

-- 
Daniel Jacobowitz
CodeSourcery


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