[Bug gdb/21693] New: same length extra question fools unwary users

jidanni at jidanni dot org sourceware-bugzilla@sourceware.org
Thu Jun 29 14:04:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21693

            Bug ID: 21693
           Summary: same length extra question fools unwary users
           Product: gdb
           Version: 8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: jidanni at jidanni dot org
  Target Milestone: ---

The user thinks "Let me out of here. No I don't want to report anything":

----
^C
/build/gdb-AqwUtn/gdb-8.0/gdb/linux-nat.c:2010: internal-error: wait returned
unexpected status 0x0
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) q
Please answer y or n.
/build/gdb-AqwUtn/gdb-8.0/gdb/linux-nat.c:2010: internal-error: wait returned
unexpected status 0x0
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

/build/gdb-AqwUtn/gdb-8.0/gdb/linux-nat.c:2010: internal-error: wait returned
unexpected status 0x0
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
----

The user didn't want to create a core file and use up all they bytes
left on his disk.

But you slipped an extra same sized question in at the end, which of
course the user thinks is just the third y or n to get out. (I mean you
already asked him if he wanted to quit, so he didn't expect any further
questions, he thought there was something wrong with some keypress
again, so unless he looks carefully, he will just hit y again.)

Maybe change the last question to "(c or n)".
gdb 8.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list