public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Robert Vazan <robertvazan@privateweb.sk>
To: gdb@sources.redhat.com
Subject: Terminally slow (75 seconds) on some steps
Date: Sat, 12 Jul 2003 09:03:00 -0000	[thread overview]
Message-ID: <Mahogany-0.65.0-16720-20030712-110333.00@pcw2k69.energoinfo.sk> (raw)
In-Reply-To: <1057999221.6815.ezmlm@sources.redhat.com>

I am trying to debug large program and I am observing unusual slowdown.
I don't have any breakpoints, I am just running the app. I measured 75
seconds of wall clock for single click operation that takes fraction of
second outside debugger. Process time (as viewed by ps) of gdb increased
by 68 seconds. I get realtime reaction with some operations and this
delay with some other operations. When single stepping, it seems that
the more lines must be executed the more time it takes in debugger (but
this is in 1-5 seconds range).

As if gdb was emulating every instruction. I know this isn't the case.
However, breakpoints cause interrupts, so maybe gdb is being bogged down
by some other interrupts, timer maybe? Given that single step can take
one or more seconds, few timers could quickly accumulate to minute.

I have also this problem that I cannot run the program twice per
session, so I have to restart gdb and consequently reload symbols. I
have aging snapshot from 1. April 2002.

       reply	other threads:[~2003-07-12  9:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1057999221.6815.ezmlm@sources.redhat.com>
2003-07-12  9:03 ` Robert Vazan [this message]
2003-07-17 16:34   ` Andrew Cagney
2003-07-18 13:06     ` Robert Vazan
2003-07-18 21:56       ` Andrew Cagney
2003-07-19 11:29         ` Robert Vazan
2003-07-21 14:21           ` Andrew Cagney
2003-07-21 17:38             ` Robert Vazan
2003-08-05  5:20               ` Andrew Cagney
2003-08-05 18:04                 ` Robert Vazan
2003-08-05 18:35                   ` Andrew Cagney
2003-08-14 12:05                     ` Robert Vazan
2003-08-15 22:59                       ` Andrew Cagney
2003-08-16 15:11                         ` Daniel Jacobowitz
2003-08-16 16:36                           ` Andrew Cagney
2003-08-16 16:41                             ` Daniel Jacobowitz
2003-08-17  3:29                               ` Daniel Berlin
2003-08-18 15:05                                 ` Andrew Cagney
2003-08-18 16:15                                   ` Daniel Berlin
2003-08-16 16:38                         ` Robert Vazan
2003-08-20 16:12                         ` Robert Vazan

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=Mahogany-0.65.0-16720-20030712-110333.00@pcw2k69.energoinfo.sk \
    --to=robertvazan@privateweb.sk \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).