Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Quality Quorum <qqi@world.std.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: gdb@sources.redhat.com
Subject: Re: more on gdb server
Date: Wed, 18 Jul 2001 13:53:00 -0000	[thread overview]
Message-ID: <Pine.SGI.4.21.0107181651460.6873-100000@world.std.com> (raw)
In-Reply-To: <20010718124918.A4250@nevyn.them.org>

On Wed, 18 Jul 2001, Daniel Jacobowitz wrote:

> On Wed, Jul 18, 2001 at 03:40:57PM -0400, Quality Quorum wrote:
> > On 18 Jul 2001, J.T. Conklin wrote:
> > 
> > > > > I know HP were once playing with ideas that would have eliminated any 
> > > > > copying because they were finding memory read/write performance using 
> > > > > ptrace (or what ever) lacking.
> > > > 
> > > > I would suppose they had something truly unusual - debuggin is going with 
> > > > the pace of human reaction to debugging events and I can hardly imagine
> > > > that network performance over local loop interface would be a factor here.
> > > 
> > > Remember that GDB may be issuing many low level commands for each high
> > > level (CLI) command.  For example, a single step or next command may
> > > issue several step instruction, fetch registers, and store registers
> > > commands.  On some large programs, some interactive commands are
> > > beyond the interactive threshold (something like .3 seconds?  I can't
> > > remember the commonly quoted figure), this additional overhead would
> > > only make it worse.
> > > 
> > > Also note that oftentimes it's not a human driving the debugging
> > > session, but user defined functions that grovel through data
> > > structures, call inferior functions, etc.
> > 
> > I still have hard time to beleive that there is an issue here.
> 
> Consider software watchpoints, already almost uselessly slow.  Consider
> single-stepping over a single line of code consisting of forty or four
> hundred machine instructions.  There can be a significant overhead.

I would say that it is a stong case to make protocol a tiny little bit
more rich :).

> Daniel Jacobowitz                           Carnegie Mellon University

Thanks,

Aleksey



  reply	other threads:[~2001-07-18 13:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5mitgq6ug4.fsf@orac.redback.com>
2001-07-18 12:41 ` Quality Quorum
2001-07-18 12:49   ` Daniel Jacobowitz
2001-07-18 13:53     ` Quality Quorum [this message]
2001-07-18 14:05       ` Andrew Cagney
     [not found] <3B55A2E7.9040304@cygnus.com>
2001-07-18  9:34 ` Quality Quorum
2001-07-17 11:57 Quality Quorum
2001-07-18  6:24 ` Stan Shebs
2001-07-18  6:52   ` Quality Quorum
2001-07-18  9:41   ` Daniel Jacobowitz

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=Pine.SGI.4.21.0107181651460.6873-100000@world.std.com \
    --to=qqi@world.std.com \
    --cc=dmj+@andrew.cmu.edu \
    --cc=gdb@sources.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