Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb-patches@sourceware.org
Subject: Re: Save the length of inserted breakpoints
Date: Mon, 06 Mar 2006 19:49:00 -0000	[thread overview]
Message-ID: <u4q2e2ipa.fsf@gnu.org> (raw)
In-Reply-To: <20060304150514.GC20187@nevyn.them.org> (message from Daniel 	Jacobowitz on Sat, 4 Mar 2006 10:05:14 -0500)

> Date: Sat, 4 Mar 2006 10:05:14 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> On Sat, Mar 04, 2006 at 04:54:04PM +0200, Eli Zaretskii wrote:
> > > Date: Sat, 4 Mar 2006 09:43:30 -0500
> > > From: Daniel Jacobowitz <drow@false.org>
> > > 
> > > > > There's a division in GDB between the target, which is a method of
> > > > > communication et cetera ("how"), and the architecture, which describes
> > > > > "what" is being debugged.
> > > > 
> > > > Btw, is this division described anywhere?
> > > 
> > > Yes, extensively, in gdbint.
> > 
> > I looked there before asking, so please tell what is the section name
> > that describes this.  Sorry for being blind.
> 
> They have their own chapters: Target Architecture Definition and Target
> Vector Definition.  Perhaps the titles could be clarified.
> 
> GDB's target architecture defines what sort of machine-language
> programs GDB can work with, and how it works with them.
> 
> versus
> 
> The target vector defines the interface between GDB's abstract handling
> of target systems, and the nitty-gritty code that actually exercises
> control over a process or a serial port.

I saw these.  The definition of the target vector is quite specific,
while that of the architecture, IMNSHO, doesn't explain anything.  In
particular, the usual meaning of the word ``architecture'' does not go
well with ``the sort of machine-language programs''.  The fact that
both terms use the word ``target'' (target architecture vs target
vector) doesn't help, either.

Perhaps a more elaborate description which lists at least the more
important parts of the architecture and, respectively, the target
vector, will make the docs better.  Would someone ``in the know'' care
to write it?

> > > The CPSR support is turning out to be a remarkable pain for such a
> > > simple change.
> > 
> > That's why I thought we should discuss the design aspects here.
> 
> Do you have any suggestions for the design?

Well, you say that this issue is between the target and the
architecture, so keeping the info in those layers seems like a good
start.  Does this make sense?

> Heh... another way I could make the interface more symmetric would be
> to bump up the size of the shadow contents vector, and have targets
> which care about the size store the length in there when inserting
> the breakpoint.

Sounds a bit unclean to me.


  reply	other threads:[~2006-03-04 18:01 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 22:25 Daniel Jacobowitz
2006-03-02 23:13 ` Mark Kettenis
2006-03-02 23:19   ` Daniel Jacobowitz
2006-03-03  0:08     ` Mark Kettenis
2006-03-03  1:21       ` Daniel Jacobowitz
2006-03-03 13:51   ` Eli Zaretskii
2006-03-03 15:03     ` Daniel Jacobowitz
2006-03-03 17:56       ` Eli Zaretskii
2006-03-03 18:04         ` Daniel Jacobowitz
2006-03-03 22:00           ` Eli Zaretskii
2006-03-03 22:10             ` Daniel Jacobowitz
2006-03-03 22:35               ` Eli Zaretskii
2006-03-03 23:01                 ` Daniel Jacobowitz
2006-03-04 10:39                   ` Eli Zaretskii
2006-03-04 14:58                     ` Daniel Jacobowitz
2006-03-04 15:05                       ` Eli Zaretskii
2006-03-04 15:11                         ` Daniel Jacobowitz
2006-03-06 19:49                           ` Eli Zaretskii [this message]
2006-03-07  5:31               ` Michael Snyder
2006-03-04  0:35             ` Steven Johnson
2006-03-04 10:18               ` Daniel Jacobowitz
2006-04-11 21:46   ` Daniel Jacobowitz
2006-04-11 22:32     ` David S. Miller
2006-04-12  7:30     ` Eli Zaretskii
2006-04-12  9:44     ` Mark Kettenis
2006-04-12 12:57       ` Daniel Jacobowitz
2006-04-12 18:38         ` Mark Kettenis
2006-04-12 18:47           ` Daniel Jacobowitz
2006-04-13  8:12             ` Eli Zaretskii
2006-04-13 22:13               ` Mark Kettenis
2006-04-13 22:59                 ` Daniel Jacobowitz
2006-04-13 23:30                   ` Daniel Jacobowitz
2006-04-14  8:10                   ` Eli Zaretskii
2006-04-14  8:52                     ` David S. Miller
2006-04-14  8:04                 ` Eli Zaretskii
2006-04-14  8:51                   ` David S. Miller
2006-04-16 23:58                   ` Mark Kettenis
2006-04-17  7:07                     ` Eli Zaretskii
2006-04-13 21:57             ` Michael Snyder
2006-04-13 22:59               ` Daniel Jacobowitz
2006-04-16 23:53                 ` Mark Kettenis
2006-04-16 23:50               ` Mark Kettenis
2006-04-17  1:41                 ` Daniel Jacobowitz
2006-04-17 13:09                   ` Mark Kettenis
2006-04-17 13:37                     ` Daniel Jacobowitz
2006-04-17 13:50                       ` Mark Kettenis
2006-04-17 19:08                         ` Daniel Jacobowitz
2006-04-17 20:25                           ` Mark Kettenis
2006-04-17 21:50                             ` Daniel Jacobowitz
2006-04-18  8:59                           ` Eli Zaretskii
2006-04-18 19:21                             ` Daniel Jacobowitz
2006-04-19  7:40                               ` Eli Zaretskii

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=u4q2e2ipa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /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