From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Possible XInput2 cursor bug ? Date: Sun, 12 Dec 2021 09:26:18 +0200 Message-ID: <83ilvup9lx.fsf@gnu.org> References: <87ilvzga2h.fsf@yahoo.com> <87a6hbg6ps.fsf@yahoo.com> <20211212.104121.676618396851953065.enometh@meer.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3948"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 08:27:26 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwJGW-0000ma-LB for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 08:27:24 +0100 Original-Received: from localhost ([::1]:33974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwJGU-0006O1-VR for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 02:27:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwJFc-0005Yc-KZ for emacs-devel@gnu.org; Sun, 12 Dec 2021 02:26:28 -0500 Original-Received: from [2001:470:142:3::e] (port=53124 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwJFc-0001TT-6d; Sun, 12 Dec 2021 02:26:28 -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=+fO9uD0WNCfJ6bCueCwa4zMPVB+QgbW4nCdVVQrJ0Mc=; b=EsxXKktGZD7y E9p9An+Y5SuRKCF32TW8nXuWuDGYAGj9SdQ/gCAYkmaofiXKnywm+oayDFmulZI3lF9TWp06mkStu ItaTK87T2L0N3EdV58/MB3xIqA7CtSdOQ9Uq22EA25645H7Uc60HvKn4ovmPdM9Gk0mHnTAhyTIxe +eZ8vfaRcvtlzFz7JZAjHSu6qJ+7rsKd46z/lKMxBCFq5XLfuf2Pf2zt9ct7FeLfT73mRPjvh3oZm VTRhdXSgC7oZBhVLZNZ3oQIos/mNgP4YdXAUidY+5nqfVPqDZCwqvHevOvCOXuGQxPRmL6ZxqZUBl TiNxBB6/IR5s/+/jCzoKAw==; Original-Received: from [87.69.77.57] (port=5000 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 1mwJFc-00076F-0o; Sun, 12 Dec 2021 02:26:28 -0500 In-Reply-To: <20211212.104121.676618396851953065.enometh@meer.net> (message from Madhu on Sun, 12 Dec 2021 10:41:21 +0530 (IST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281770 Archived-At: > Date: Sun, 12 Dec 2021 10:41:21 +0530 (IST) > From: Madhu > Cc: emacs-devel@gnu.org > > [side comment: The GDB footprint for emacs -Q -D is 3-4GB. for > native-compilation it seems to be 1GB more. What do you mean by "GDB footprint"? Is that the GDB memory consumption? > gdb is also slow to load frames with jit on Maybe you should tell GDB not to read symbols automatically from the shared libraries loaded by Emacs: (gdb) set auto-solib-add off Do that inside GDB, before you run Emacs with the "run" command. This should both speed up loading frames and decrease the memory footprint of GDB. > and a new fingerprint on every `make' makes jit infeasible during > "development". I don't understand this part. Can you elaborate?