From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id AE88E384F6FB for ; Mon, 21 Nov 2022 19:56:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AE88E384F6FB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxCtj-0007WG-QG; Mon, 21 Nov 2022 14:56:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=B/Zs+gdhuCKDSwyD5mSk/Na3VfLL0BKLpYBpIkQEdSk=; b=pU60DvcjTGbQ EjPhH6xN2h5oMBVT6pLHTOkWXJ2R1Xd0kS4ogxbHbrlKDE91a1aODTb7XEmam/XRB3ZEt0HxkIIIM TkZEqcWDcyzdcO7N53Rv9C/AE45TMFKO5X8s/QuFkG9eREU0iIxxGqyyC55jtg6zxAeJtSuinfd0m R0jMlpwhVQb5YmRNarGlasCK4rOY9DA5ALkZ/xmXwWBKJHwokxtobX1hr0cQ8RmgtKxAd9W6JyJGi mj5pFyUOm/GHqE/O2Hq3XPInPYMMhX/pNxwz5eP+yk5oIBIFX3sb53Eltup3bci7em2sRQOKUclBg Gas0qedEYIHzl4cxZzwJ0w==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxCtj-00070G-2l; Mon, 21 Nov 2022 14:56:07 -0500 Date: Mon, 21 Nov 2022 21:56:19 +0200 Message-Id: <83zgck13q4.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi Cc: gdb-patches@sourceware.org In-Reply-To: <20221121193636.1479004-1-simon.marchi@polymtl.ca> (message from Simon Marchi via Gdb-patches on Mon, 21 Nov 2022 14:36:36 -0500) Subject: Re: [PATCH] gdb: add "set debug solib" and use it References: <20221121193636.1479004-1-simon.marchi@polymtl.ca> X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Cc: Simon Marchi > Date: Mon, 21 Nov 2022 14:36:36 -0500 > From: Simon Marchi via Gdb-patches > > From: Simon Marchi > > I'd like to add some debug output to solib-svr4. Add a "set debug > solib" knob, which can then be used in all solib-* files. Then, add > the debug output I needed, related to the svr4 shared library event > breakpoint probes. Not sure I understand: we already have "set debug aix-solib" and "set debug solib-frv". So this is going to be "set debug svr4-solib"? Or do you mean to make a single "set debug solib" command for all platforms? Thanks. > gdb/NEWS | 4 ++++ > gdb/doc/gdb.texinfo | 6 ++++++ > gdb/solib-svr4.c | 23 ++++++++++++++++++++++- > gdb/solib.c | 8 ++------ > gdb/solib.h | 12 ++++++++++++ > 5 files changed, 46 insertions(+), 7 deletions(-) The documentation parts are okay, but the text sounds as if this command is available on all platforms.