From owner-freebsd-questions@freebsd.org Thu Jun 20 10:36:00 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7AEC15B5186 for ; Thu, 20 Jun 2019 10:36:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1CA746E3 for ; Thu, 20 Jun 2019 10:35:58 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id x5KAZpFR077277 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 20 Jun 2019 12:35:54 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: GDB and prettyprinting Message-ID: <579a49db-ed0d-f626-055e-b2c6fb952dfe@netfence.it> Date: Thu, 20 Jun 2019 12:35:50 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 5A1CA746E3 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[cached: mailserver.netfence.it]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; DMARC_NA(0.00)[netfence.it]; IP_SCORE(-1.48)[ip: (-4.39), ipnet: 2.44.0.0/16(-2.19), asn: 30722(-0.86), country: IT(0.04)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2019 10:36:00 -0000 Hello. I'm trying to better see C++/STL structures in GDB, so I'd like prettyprint to work, but after some search, I'm confused. I've got a recent GDB (8.3), with PYTHON option enabled. All the (old?) tutorials I've seen say I have to download additional files, but "pkg info -l gdb" already shows some interesting elements, e.g. >... > /usr/local/share/gdb/python/gdb/__pycache__/printing.cpython-36.pyc >... > /usr/local/share/libcxx-gdbpy/libcxx/__pycache__/printers.cpython-36.pyc >... So a couple of question: _ is everything I need included in devel/gdb or do I need additional files? _ in the latter case are they available in some port? (I've seen talks about devel/libcxx-gdb, but it doesn't exist [yet]). _ In the former case, what do I need to enable all this? bye & Thanks av.