From: Michael Chastain <mec.gnu@mindspring.com>
To: gdb@sources.redhat.com, allenh@eecs.berkeley.edu
Subject: Re: Can't set bkpt at throw statement
Date: Thu, 12 Aug 2004 12:16:00 -0000 [thread overview]
Message-ID: <411B5F84.nailNOP219DTW@mindspring.com> (raw)
In-Reply-To: <411AC515.4080002@eecs.berkeley.edu>
Your program works fine for me on:
native i686-pc-linux-gnu
red hat 8.0
gcc 3.3.4
binutils 2.15
gdb 6.2
I also tested with gcc 3.4.1 and gcc 3.5.0 20040811 (experimental).
All worked fine.
However I see the bad breakpoint on Fred.cpp:12 with
native i686-pc-linux-gnu
red hat 8.0
gcc 3.2-7-rh
binutils 2.13.90.0.2-2-rh
gdb 6.2
(gdb) break Ethel.cpp:12
Breakpoint 1 at 0x80488b5: file Ethel.cpp, line 12.
(gdb) break Fred.cpp:12
Note: breakpoint -1 (disabled) also set at pc 0x0.
Breakpoint 2 at 0x0: file Fred.cpp, line 12.
Can you report:
output of "gdb --version"
output of "gcc -v"
(or if the C++ compiler is not gcc, the equivalent)
your os name and version number
I think you will have to install a newer gcc.
It's not hard, if you use the "--prefix" option to build gcc.
Michael C
next prev parent reply other threads:[~2004-08-12 12:16 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
2004-08-12 12:16 ` Michael Chastain [this message]
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=411B5F84.nailNOP219DTW@mindspring.com \
--to=mec.gnu@mindspring.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).