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

sergiodj at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jul 6 17:46:00 GMT 2017


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

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at redhat dot com

--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
I'm not sure about changing the answer expected; "y or n" is a default question
and there's infrastructure for generating it on GDB already.  However, I can
relate to the complaint that the error message is repeated before the corefile
question.  Maybe something like:

==
/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/>.

Create a core file of GDB? (y or n) y
==

would be clearer.  I'll propose a patch soon to adjust that.  Would that work
for you?

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


More information about the Gdb-prs mailing list