public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "ciro.santilli at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug server/13984] gdb stops controlling a thread after "Remote 'g' packet reply is too long: ..." error message Date: Wed, 12 Aug 2015 12:55:00 -0000 [thread overview] Message-ID: <bug-13984-4717-FK7CfIly9W@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-13984-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=13984 Ciro Santilli <ciro.santilli at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ciro.santilli at gmail dot com --- Comment #4 from Ciro Santilli <ciro.santilli at gmail dot com> --- @Mehmet can you please make a patch, send to the mailing list, and keep pinging weekly until it gets reviewed? I reproduce this by taking the following steps: # On kernel 4.1, set `CONFIG_DEBUG_INFO` and `CONFIG_GDB_SCRIPTS`. qemu-system-x86_64 -kernel ../build/arch/x86/boot/bzImage -initrd rootfs.cpio.gz -S -s gdb -ex "add-auto-load-safe-path ${vmlinux_path}-gdb.py" \ -ex "file ${vmlinux_path}" \ -ex 'target remote localhost:1234' hbreak start_kernel continue Then the: Remote 'g' packet reply is too long message appears, QEMU stops (apparently at the right place) and for most commands I run, e.g. continue, GDB says: (gdb) continue Continuing. Cannot execute this command while the selected thread is running. `list` shows the wrong lines, not at `start_kernel` but around line 15. It is the right file however: `init/main.c`. If I do Ctrl + D GDB quits and QEMU continues booting as normal. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2015-08-12 12:55 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-16 2:34 [Bug server/13984] New: " curty at ieee dot org 2015-08-12 11:47 ` [Bug server/13984] " sarikayameh at gmail dot com 2015-08-12 11:49 ` sarikayameh at gmail dot com 2015-08-12 11:50 ` sarikayameh at gmail dot com 2015-08-12 12:55 ` ciro.santilli at gmail dot com [this message] 2015-08-12 12:57 ` ciro.santilli at gmail dot com 2015-08-12 13:07 ` ciro.santilli at gmail dot com 2015-08-12 17:08 ` sarikayameh at gmail dot com 2015-08-12 17:09 ` sarikayameh at gmail dot com 2015-08-12 21:01 ` ciro.santilli at gmail dot com 2015-08-13 10:37 ` sarikayameh at gmail dot com 2015-08-13 10:39 ` ciro.santilli at gmail dot com 2023-09-12 14:49 ` konsolebox at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-13984-4717-FK7CfIly9W@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).