public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: getting rid of the target stack
Date: Thu, 27 Jun 2002 07:44:00 -0000	[thread overview]
Message-ID: <3D1B24AE.7060104@ges.redhat.com> (raw)
In-Reply-To: <nphejp2tj1.fsf@zwingli.cygnus.com>

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

      parent reply	other threads:[~2002-06-27 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-26 22:13 Jim Blandy
2002-06-26 22:25 ` Daniel Jacobowitz
2002-06-27  6:23   ` Jim Blandy
2002-07-01  9:38     ` Namespaces; Was: " Andrew Cagney
2002-06-27  7:44 ` Andrew Cagney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D1B24AE.7060104@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).