From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C1E03954F41; Sun, 18 Sep 2022 08:20:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C1E03954F41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663489240; bh=pNUQmhjRCKcRSlHVYxcUGtu7XfcZKIG72mEJT7boclk=; h=From:To:Subject:Date:From; b=s394xCX+zWoL62InABsH3wFt1wa4vHtLQUDbeZ2UME7cvWEQHFZCh5i3ltM8YDZj5 S0v6RcAchHqamn/RRExMbIuGCIsbVc0S7kKKg+QmBcKKlD2uPS8qW8uwB7H9FBt9I8 ixqpteSvbYLfKJxvhSC6M3R/TKShwE/ZaOIWk6ZY= From: "mliska at suse dot cz" To: gdb-prs@sourceware.org Subject: [Bug cli/29582] New: Usability improvement: CTRL+C when debugindod client is downloading a file Date: Sun, 18 Sep 2022 08:20:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mliska at suse dot cz X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29582 Bug ID: 29582 Summary: Usability improvement: CTRL+C when debugindod client is downloading a file Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: cli Assignee: unassigned at sourceware dot org Reporter: mliska at suse dot cz CC: fchen0000 at gmail dot com, vries at gcc dot gnu.org Target Milestone: --- Let's imagine you're debugging a binary with many shared libs and you're in= the middle of downloading debuginfo of the shared libs, you press CTRL+C. At that point, the running downloading is terminated and gdb continues downloading the next debug info. I would expect to be asked if I want to terminate all future downloading or not. Having that one can easily exit a debugging session instead of waiting for the cancelation of all the downloa= ding stuff. Example: [=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ]^CCancelling download of separate debug info f= or /lib64/libzypp.so.1722... Downloading 13.35 MB separate debug info for /lib64/libstdc++.so.6=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [###=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ]^CCancelling download of separate debug info f= or /lib64/libstdc++.so.6... Downloading 0.37 MB separate debug info for /lib64/libgcc_s.so.1=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 [#############################################################=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ]^CCancelling download of separate debug info f= or /lib64/libgcc_s.so.1... Downloading 5.93 MB separate debug info for /lib64/libc.so.6=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [##=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ]^CCancelling download of separate debug info f= or /lib64/libc.so.6... [Thread debugging using libthread_db enabled]=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Using host libthread_db library "/lib64/libthread_db.so.1". ^CCancelling download of separate debug info for /lib64/librpm.so.9... ^CCancelling download of separate debug info for /lib64/libz.so.1... ^CCancelling download of separate debug info for /lib64/libboost_thread.so.1.80.0... ^C^CCancelling download of separate debug info for /lib64/libglib-2.0.so.0.= .. ^CCancelling download of separate debug info for /lib64/libcrypto.so.1.1... ^CCancelling download of separate debug info for /lib64/libsigc-2.0.so.0... ^CCancelling download of separate debug info for /lib64/libzstd.so.1... ^CCancelling download of separate debug info for /lib64/libzck.so.1... ^CCancelling download of separate debug info for /lib64/libtinfo.so.6... ^CCancelling download of separate debug info for /lib64/libfa.so.1... ^CCancelling download of separate debug info for /lib64/liblzma.so.5... ^CCancelling download of separate debug info for /lib64/libm.so.6... ^CCancelling download of separate debug info for /lib64/librpmio.so.9... ^CCancelling download of separate debug info for /lib64/libpopt.so.0... ^CCancelling download of separate debug info for /lib64/libcap.so.2... ^CCancelling download of separate debug info for /lib64/libacl.so.1... ^CCancelling download of separate debug info for /lib64/libassuan.so.0... ^CCancelling download of separate debug info for /lib64/libgpg-error.so.0... ^CCancelling download of separate debug info for /lib64/libnghttp2.so.14... ^CCancelling download of separate debug info for /lib64/libidn2.so.0... ^CCancelling download of separate debug info for /lib64/libssh.so.4... ^CCancelling download of separate debug info for /lib64/libpsl.so.5... ^CCancelling download of separate debug info for /lib64/libssl.so.1.1... ^CCancelling download of separate debug info for /lib64/libgssapi_krb5.so.2= ... ^CCancelling download of separate debug info for /lib64/libldap.so.2... ^CCancelling download of separate debug info for /lib64/liblber.so.2... ^CCancelling download of separate debug info for /lib64/libbrotlidec.so.1... ^CCancelling download of separate debug info for /lib64/libpcre.so.1... ^CCancelling download of separate debug info for /lib64/libgcrypt.so.20... ^CCancelling download of separate debug info for /lib64/libbz2.so.1... ^CCancelling download of separate debug info for /lib64/liblua5.4.so.5... ^CCancelling download of separate debug info for /lib64/libunistring.so.2... ^CCancelling download of separate debug info for /lib64/libkrb5.so.3... ^CCancelling download of separate debug info for /lib64/libk5crypto.so.3... ^CCancelling download of separate debug info for /lib64/libcom_err.so.2... ^CCancelling download of separate debug info for /lib64/libkrb5support.so.0= ... ^CCancelling download of separate debug info for /lib64/libsasl2.so.3... ^CCancelling download of separate debug info for /lib64/libbrotlicommon.so.= 1... ^CCancelling download of separate debug info for /lib64/libkeyutils.so.1... ^CCancelling download of separate debug info for /lib64/libresolv.so.2... ^CCancelling download of separate debug info for /lib64/libselinux.so.1... ^CCancelling download of separate debug info for /lib64/libpcre2-8.so.0... [New Thread 0x7ffff60c76c0 (LWP 22188)] ^C Thread 1 "Zypp-main" received signal SIGINT, Interrupt. 0x00007ffff7307c1e in fstatat64 () from /lib64/libc.so.6 Missing separate debuginfos, use: zypper install zypper-debuginfo-1.14.56-1.1.x86_64 (gdb) Quit(gdb) Quit --=20 You are receiving this mail because: You are on the CC list for the bug.=