From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by sourceware.org (Postfix) with ESMTPS id 54A5B395B08F for ; Fri, 17 Jul 2020 22:19:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 54A5B395B08F Received: by mail-oi1-x22f.google.com with SMTP id e4so9266369oib.1 for ; Fri, 17 Jul 2020 15:19:07 -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=VeKvEwCyXzcOZbZBR7oZIX4ZlC0FeLAYdnYtReyiI28=; b=LA9lky8qJhL2Fq1sJ8uVC7KkWagz3FSVuVt2T/NvzWmrkqnaIriPUcUSppsSvmkM9T GkCTAHFTKZxZn5RIc5V9JxFhCrIiGF67MNOe8ZMwckd0OVC5JDNt19rgBDesjdwib20N JEASaeyvLTG7hJJR6DllBIdk0Rsi7f6mQu560zEYtSgsUnj9U6PRxqpkUJTULTzk6iZ9 TEB1YIoW+56PsRtWkb+1S1rQam/Z8oNB7FxSZjz9mwHX6ud1T9nNNRg2CAeKVxKI4a10 0P1JtK9qopNZZ2hJj7FirFF2wVwkGADPghvTsbQa3Hryn1ps4KWfrJSQZKwKfhwMrm0e zBTQ== X-Gm-Message-State: AOAM533cFjm+leEGKdDTZ2ztWEAKXnbIsQZNZS7OoCLFu8aSYR+iOvWs L01LyN7nX5grcUusk/Fdbgi8/wEM06lrbCufyikifclw X-Google-Smtp-Source: ABdhPJz1jt33HyJN0iDlbi4JRjs+U1ladqQFv3hoaDXTMm5nHBdKQGu79u5pGfF00Npzg9Ze98LodOmXJtbSswYr3MU= X-Received: by 2002:aca:d1a:: with SMTP id 26mr8908744oin.11.1595024346596; Fri, 17 Jul 2020 15:19:06 -0700 (PDT) MIME-Version: 1.0 References: <20200717214210.GU5016@adacore.com> <20200717221403.GV5016@adacore.com> In-Reply-To: <20200717221403.GV5016@adacore.com> From: Reuben Thomas Date: Fri, 17 Jul 2020 23:18:55 +0100 Message-ID: Subject: Re: Adding Python files to be autoloaded for a particular architecture To: Joel Brobecker Cc: Reuben Thomas via Gdb X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: Fri, 17 Jul 2020 22:19:08 -0000 On Fri, 17 Jul 2020 at 23:14, Joel Brobecker wrote: > > > You can try with --with-system-gdbinit=xxx instead. > > > > > > > Thanks, but surely --with-system-gdbinit is designed for the system > > administrator? For example, on Debian, the supplied gdb is configured > with > > --with-system-gdbinit=/etc/gdb/gdbinit. I don't want to conflict with > this > > usage. > > I don't think you can categorize the intended user of each option. > They just do different things. > What I mean is that I cannot use --with-system-gdbinit for a solution that I would eventually like to merge into gdb. Thinking out loud (I do not know all the details off the top of my head), > I see a couple of ways: > - You use a subdirectory of system-gdbinit, and then configure GDB > to use that subdirectory > - You create one file that the sources all the other files you need, > and then configure GDB to use that file as the system-gdbinit. > Again, both of these suggestions involve configuring GDB, so I don't see how they can be suitable for code that can be merged into GDB. Sorry if I'm failing to understand something here! -- https://rrt.sc3d.org