public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: Allen Hopkins <allenh@eecs.berkeley.edu>
Cc: gdb@sources.redhat.com
Subject: Re: Can't set bkpt at throw statement
Date: Thu, 12 Aug 2004 08:59:00 -0000	[thread overview]
Message-ID: <411B316D.8010107@codito.com> (raw)
In-Reply-To: <411AC515.4080002@eecs.berkeley.edu>

Hey Allen ,

> I have two essentially identical C++ classes with essentially identical
> methods that both throw the same exception.  In gdb, I'm able to set a
> breakpoint at the "throw" statement in one class, but not in the other.
> Here are the break commands, first on the one that succeeds, then on
> the one that fails:


What are the versions of g++, binutils and gdb that you are using. I 
tried your case on a 686 with g++ -3.3.4 debian , gdb - 6.1 and binutils 
2.14.90 and had no problems with inserting breakpoint #2 . If you could 
tell the versions of the tools, maybe someone can help you and also 
check if this is a problem with gdb.

regards
Ramana

  reply	other threads:[~2004-08-12  8:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12  1:13 Allen Hopkins
2004-08-12  8:59 ` Ramana Radhakrishnan [this message]
2004-08-12 12:16 ` Michael Chastain
2004-08-12 15:31   ` Allen Hopkins
2004-08-12 15:41     ` Michael Chastain
2004-08-12 15:48       ` Allen Hopkins

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=411B316D.8010107@codito.com \
    --to=ramana.radhakrishnan@codito.com \
    --cc=allenh@eecs.berkeley.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).