From: Joel Brobecker <brobecker@adacore.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: marc.khouzam@ericsson.com, gdb@sourceware.org
Subject: Re: Pending breakpoints on lines that don't exist
Date: Wed, 04 Jan 2012 09:13:00 -0000 [thread overview]
Message-ID: <20120104091240.GS2742@adacore.com> (raw)
In-Reply-To: <E1RiLta-0003Hu-Ja@fencepost.gnu.org>
> Isn't the following at least slightly better?
>
> (gdb) b foo.c:100
> No line 100 in file "foo.c".
> Make breakpoint pending on future load of shared library
> containing "foo.c" where this line is valid? (y or [n]) n
I see what you are trying say. I don't have a strong opinion and
I would not object, but I do prefer the previous phrasing. Also,
I do not see why we would have to treat this case specially.
I think that if we change for this case, we should change for
every type of error. And lastly, one the pragmatic side, this
is going to screw up all the testcases as well as front-end that
might be matching the old output. This is a weak argument, but
it is true nonetheless.
--
Joel
next prev parent reply other threads:[~2012-01-04 9:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 21:30 Marc Khouzam
2012-01-04 3:52 ` Joel Brobecker
2012-01-04 5:07 ` Eli Zaretskii
2012-01-04 7:17 ` Joel Brobecker
2012-01-04 8:08 ` Eli Zaretskii
2012-01-04 9:13 ` Joel Brobecker [this message]
2012-01-06 2:30 ` Marc Khouzam
2012-01-04 20:49 ` Tom Tromey
2012-01-05 12:56 ` Pedro Alves
2012-01-04 14:28 Richard Guenther
2012-01-04 14:29 ` Richard Guenther
2012-01-04 20:42 ` Tom Tromey
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=20120104091240.GS2742@adacore.com \
--to=brobecker@adacore.com \
--cc=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=marc.khouzam@ericsson.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