Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Milrith <milrith@gmail.com>
To: gdb@sourceware.org
Subject: Re: Problems with remote debugging on ARM
Date: Tue, 16 May 2006 19:25:00 -0000	[thread overview]
Message-ID: <20060516205958.beae8e7b.milrith@gmail.com> (raw)
In-Reply-To: <20060516161319.GA4329@nevyn.them.org>

Le Tue, 16 May 2006 12:13:19 -0400 Daniel Jacobowitz <drow@false.org> a
écrit : 
> On Tue, May 16, 2006 at 06:08:20PM +0200, Milrith wrote:
> > I use a timer which is generating a signal every 10 ms (SIGALRM). As
> > soon as timer_settime is called, there is a lot of network activity,
> > the gdb client seems to be busy (when I step) and debugging is unusable.
> > If i increase the period of this timer (to something like 50 ms) it is
> > OK. Would there be a means to still be able to debug my program with
> > the 10 ms period?
> 
> Right now there is no way to do this.  I had a patch for it long ago,
> but it wasn't very nice, and I never had time to go back to it.  You
> could hack your GDB stub to ignore SIGALRM, in the same way that it
> ignores certain threading-related signals (assuming you're using
> gdbserver).

Yes, I am using gdbserver. Right now SIGALRM is treated as pass noprint
nostop. Would you have more details on how to do this hack? ;)

> > I have problems with breakpoints not taken into account, are there
> > known problems with some parts of my configuration (C++ or threads)?
> 
> Are they in constructors?  Google would be glad to tell you about the
> problem, in that case.

Unfortunately not, it can happen in normal methods. I am compiling
with -g and without any optimisation option.

Another little problem: I can't autocomplete method names with "::"
after the class names (Class::<tab> produces nothing), I suppose I am
missing a little something?

Thanks a lot,

Milrith


  parent reply	other threads:[~2006-05-16 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 18:18 Milrith
2006-05-16 18:25 ` Daniel Jacobowitz
2006-05-16 19:03   ` Mark Kettenis
2006-05-16 19:05     ` Daniel Jacobowitz
2006-05-16 19:25   ` Milrith [this message]
2006-05-16 19:49     ` 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=20060516205958.beae8e7b.milrith@gmail.com \
    --to=milrith@gmail.com \
    --cc=gdb@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