public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer
@ 2014-05-10 0:11 dje at google dot com
2020-07-23 18:33 ` [Bug gdb/16930] " tromey at sourceware dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2014-05-10 0:11 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16930
Bug ID: 16930
Summary: find command end_address confusion, plus error message
could be clearer
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
The help text for the find command doesn't say whether the end address for the
find command is included in the range. IOW, is the range [start,end] or
[start,end)? It's [start,end], the help text should make this clear.
Plus, evidently (reported on IRC), if one thinks it's [start,end), and end is
inaccessible memory then the error message says "unable to access target
memory", but it's not straightforward for the user to see what the problem is
since the start address is clearly correct. Can the error message report the
attempted range?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/16930] find command end_address confusion, plus error message could be clearer
2014-05-10 0:11 [Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer dje at google dot com
@ 2020-07-23 18:33 ` tromey at sourceware dot org
2020-10-07 18:13 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2020-07-23 18:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16930
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
The address and range are printed now.
I have a patch to update the help text.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/16930] find command end_address confusion, plus error message could be clearer
2014-05-10 0:11 [Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer dje at google dot com
2020-07-23 18:33 ` [Bug gdb/16930] " tromey at sourceware dot org
@ 2020-10-07 18:13 ` cvs-commit at gcc dot gnu.org
2020-10-07 18:21 ` tromey at sourceware dot org
2020-10-08 17:53 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-07 18:13 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16930
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3a135a918614676f3d5b6297714dfa235af3d59d
commit 3a135a918614676f3d5b6297714dfa235af3d59d
Author: Tom Tromey <tromey@adacore.com>
Date: Wed Oct 7 12:07:55 2020 -0600
Document inclusive range in help for "find"
PR gdb/16930 points out that the "find" command uses an inclusive
range; but this is not documented in the "help". This patch updates
the help text.
gdb/ChangeLog
2020-10-07 Tom Tromey <tromey@adacore.com>
PR gdb/16930:
* findcmd.c (_initialize_mem_search): Mention that the range is
inclusive.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/16930] find command end_address confusion, plus error message could be clearer
2014-05-10 0:11 [Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer dje at google dot com
2020-07-23 18:33 ` [Bug gdb/16930] " tromey at sourceware dot org
2020-10-07 18:13 ` cvs-commit at gcc dot gnu.org
@ 2020-10-07 18:21 ` tromey at sourceware dot org
2020-10-08 17:53 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2020-10-07 18:21 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16930
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Fixed in 11.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/16930] find command end_address confusion, plus error message could be clearer
2014-05-10 0:11 [Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer dje at google dot com
` (2 preceding siblings ...)
2020-10-07 18:21 ` tromey at sourceware dot org
@ 2020-10-08 17:53 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2020-10-08 17:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16930
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-10-08 17:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-10 0:11 [Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer dje at google dot com
2020-07-23 18:33 ` [Bug gdb/16930] " tromey at sourceware dot org
2020-10-07 18:13 ` cvs-commit at gcc dot gnu.org
2020-10-07 18:21 ` tromey at sourceware dot org
2020-10-08 17:53 ` tromey at sourceware dot org
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).