[Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/16930] New: find command end_address confusion, plus error message could be clearer

glaubitz at physik dot fu-berlin.de
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/16930] find command end_address confusion, plus error message could be clearer

Sourceware - gdb-prs mailing list
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.