[Bug cli/29582] New: Usability improvement: CTRL+C when debugindod client is downloading a file
mliska at suse dot cz
sourceware-bugzilla@sourceware.org
Sun Sep 18 08:20:39 GMT 2022
https://sourceware.org/bugzilla/show_bug.cgi?id=29582
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 downloading
stuff.
Example:
[
]^CCancelling download of separate debug info for
/lib64/libzypp.so.1722...
Downloading 13.35 MB separate debug info for /lib64/libstdc++.so.6
[###
]^CCancelling download of separate debug info for
/lib64/libstdc++.so.6...
Downloading 0.37 MB separate debug info for /lib64/libgcc_s.so.1
[#############################################################
]^CCancelling download of separate debug info for
/lib64/libgcc_s.so.1...
Downloading 5.93 MB separate debug info for /lib64/libc.so.6
[##
]^CCancelling download of separate debug info for
/lib64/libc.so.6...
[Thread debugging using libthread_db enabled]
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list