From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by sourceware.org (Postfix) with ESMTPS id A13D33858D35 for ; Wed, 20 May 2020 01:13:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A13D33858D35 Received: by mail-io1-xd2a.google.com with SMTP id k18so1404468ion.0 for ; Tue, 19 May 2020 18:13:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FijWjJ9YTtBaBtBuk8q05srkf9aoPoFXr2dePq2l5cQ=; b=G/BhVSm6Up4YxVeapnvRYWebwOkyKQ8/oJvWjA0KNjIjy3QeJkNuXOlEQthpxLShRr 5XXlZn06zAAb1WU+xv5Tc42McBZcq+2vfEBJ8asUD2jAHgTUmHeI+YGmGQaGtJKMEgsO 5JpNbe8uYcaCfBHK69jNBUshZ6qP2kUWbALmNhwyIrgp7mctwET5PZl9hcU4OFV8fd9l CX2dpThymvvl6GP1vKLuizdtBgxDA4bAazhfqE6Vue0brKSHd6jL1LxGBHz0cSCxUXj7 xeyA5EO7VUxrMmqUr2APTGd3BjeGlpf4uJ5YlBjFOhM5Y/Xx/GWZK8IZTUdxauCi+Ark zQFQ== X-Gm-Message-State: AOAM533R7WZbZksd/DAJ5jnOERWkcp9n7IZBwcfmpZuS5+LY8QJzn07N VBMWSlXb2J3O25uDfZg9lH3r0v3jjEFksUqVa+xI5g== X-Google-Smtp-Source: ABdhPJyG52/wW9QT8PQNdR/DIPsy5BGpt28+amKu5ywStqUg9GBXKoE2X2mMiiI23l8boGgZ68e96ccfI7fGoIoT+r0= X-Received: by 2002:a5d:8958:: with SMTP id b24mr1602873iot.53.1589937215937; Tue, 19 May 2020 18:13:35 -0700 (PDT) MIME-Version: 1.0 References: <970dd8cd-d548-b19c-accd-07871b1d9ea1@simark.ca> In-Reply-To: From: Sterling Augustine Date: Tue, 19 May 2020 18:13:24 -0700 Message-ID: Subject: Re: GDB locks RPM database To: Muhammad Umer Cc: Simon Marchi , "gdb@sourceware.org" X-Spam-Status: No, score=-21.9 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2020 01:13:37 -0000 On Tue, May 19, 2020 at 6:11 PM Muhammad Umer via Gdb wrote: > But why take a lock? If the purpose is to get info about debug packages, > why not just query the package database using rpm command and get the > required information? Why is taking a lock necessary? > Simon didn't implement the functionality, so you would have to ask redhat, or whomever it was that wrote the code. This is not a part of a normal gdb installation.