From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cvs.linux-mips.org (eddie.linux-mips.org [148.251.95.138]) by sourceware.org (Postfix) with ESMTP id 59B76386F829 for ; Sat, 2 May 2020 21:19:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 59B76386F829 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-mips.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=macro@linux-mips.org Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23993074AbgEBVTBzJHn0 (ORCPT ); Sat, 2 May 2020 23:19:01 +0200 Date: Sat, 2 May 2020 22:19:01 +0100 (BST) Sender: "Maciej W. Rozycki" From: "Maciej W. Rozycki" To: Kevin Buettner cc: Philippe Waroquiers via Gdb-patches , Philippe Waroquiers Subject: Re: [PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command. In-Reply-To: <20200501210229.5cb3950d@f31-4.lan> Message-ID: References: <20200501145451.20119-1-philippe.waroquiers@skynet.be> <20200501210229.5cb3950d@f31-4.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, SPF_HELO_NONE, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2020 21:19:06 -0000 On Fri, 1 May 2020, Kevin Buettner via Gdb-patches wrote: > I couldn't find any clue from the ChangeLog entries about why that > break command was put into the .gdbinit file. It might be possible to > figure out more precisely when it was introduced, but I didn't attempt > this. I doubt that earlier imports would have any additional useful > info not already in the ChangeLog entries that I did examine. Hmm, I'm quite badly surprised to see this feature go, and I do hope it has been functionally (and hopefully transparently) replaced with whatever replaced `info_command'. Its use was quite obvious to anyone who actually debugged GDB from time to time: it was there so that you could break from the debuggee GDB into the debugger GDB with the use of the `info' command (with no arguments), as obviously using signals like SIGINT for that was quite problematic. I used to use this feature regularly, up until the last time a couple months back when I switched to non-GDB work. So what's the current mechanism to do that? I do hope to have it the next time I poke at GDB. NB I fixed the mess from the `From' rewrite and cc-ed Philippe back manually. Maciej