From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5387 invoked by alias); 21 Apr 2015 02:06:24 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5266 invoked by uid 89); 21 Apr 2015 02:06:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f43.google.com Received: from mail-qg0-f43.google.com (HELO mail-qg0-f43.google.com) (209.85.192.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 21 Apr 2015 02:06:22 +0000 Received: by qgfi89 with SMTP id i89so62147213qgf.1 for ; Mon, 20 Apr 2015 19:06:20 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.140.152.209 with SMTP id 200mr21334002qhy.34.1429581980626; Mon, 20 Apr 2015 19:06:20 -0700 (PDT) Received: by 10.229.248.74 with HTTP; Mon, 20 Apr 2015 19:06:20 -0700 (PDT) Date: Tue, 21 Apr 2015 02:06:00 -0000 Message-ID: Subject: how to detect if gdb has been compiled with python support? From: Maurizio Vitale To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00042.txt.bz2 in my gdbinitrc I source python extensions. In my organization we have also gdbs compiled without python linked in and I'd like to give a clear message about it. Any programmatic way to check whether Python is compiled in? Thanks, Maurizio