This is the mail archive of the gdb@sources.redhat.com 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: getting rid of the target stack


Just FYI,

The problem is that the current target stack implementation is serving two masters:

- a layer/stack of targets - thread on top of raw/remote. This is a true stack. As with a stack, each has an above and below and can propogate requests through it. This part of the architecture works.

- the vineer - live, core, file - are all ``targets'' that can be switched between and mechanisms that allow GDB to fall back to other layers if one can't provide it.

Some incremental things that have been pointed out in the past include:

- making the targets true objects - eliminate that global state

- tighten/fix the target stack interfaces so that people don't keep bypassing them (or worse, as in the hw breakpoint stuff avoiding adding them to the vector).

Andrew



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