From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0GB4C0ey/WodhBwAWB0awg (envelope-from ) for ; Wed, 18 Nov 2026 09:12:23 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=ewlN0iPn; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 1B04A1E023; Wed, 18 Nov 2026 09:12:23 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BD5A21E023 for ; Wed, 18 Nov 2026 09:12:19 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 046D64BA2E18 for ; Wed, 18 Nov 2026 14:12:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 046D64BA2E18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1795011137; bh=X2ZXnQvCiDgmcEk4eMDJjALozOuhmzTzOKj46IAySWo=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ewlN0iPnT5GxcmDP8kuLzM7xf756r6oZL4g9+qqjDqNM3TzLiu3j37Pw3hLEwGiTp WwkQ5HLpm9wOsjCTPSaLT88Ye7hLTH/yKRv62dlTwTyeUI2sOGNKtUWt9xTMcwc0XX wzOwMNuDnDy1/vrkXmmm+DXR65exhnkd5toRmEPA= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id DCEBA4BA2E06 for ; Wed, 18 Nov 2026 14:11:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DCEBA4BA2E06 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DCEBA4BA2E06 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1795011103; cv=none; b=CLs4QUthCKguEznyJuYf6Yx3dW5JtavQ07mWK+HZoO7Mdtx3jLuSmSyut1aoptphfMgFNAUYNAMQncDmQty0c40iCc/QRrY7YZ+G/DefVgPr9/UFPwYQ64CuFdqmVvNStmJv4Q07AF7hGD8mMGwPok6SvHAf8Np8qBBPfzpUeWs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1795011103; c=relaxed/simple; bh=H3Tp6rbSVxDaStGBm5gYC+eqX3v3X/omVDoRZLLLNE0=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=MwlKdfBv5v9ib5IJE1p5MydjgepNm86EsJs3J21VVG3znD1UcuoHK3vSOa6rvTs3jenHTgbEv7cMaWefJACaBjlVYCTpmXk2mL7OsCkqArwEaBQlpSlX7mSsLSmOsPwxYEOCPNoIAkCTYNQxmisEHR9x2s21AUroecrHKqvuK9A= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Rm2THJYf DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCEBA4BA2E06 Received: from mail-dl1-f70.google.com (mail-dl1-f70.google.com [74.125.82.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-451-G-zo_DZuOBqHBJRumZLXCg-1; Wed, 18 Nov 2026 09:11:41 -0500 X-MC-Unique: G-zo_DZuOBqHBJRumZLXCg-1 X-Mimecast-MFC-AGG-ID: G-zo_DZuOBqHBJRumZLXCg_1795011100 Received: by mail-dl1-f70.google.com with SMTP id a92af1059eb24-1b3b63b9665so863564c88.1 for ; Wed, 18 Nov 2026 06:11:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795011100; x=1795615900; h=content-type:to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=RskILHuWd7KMkKOTenWx+0gv2l7pc9gdJKGrVOxAjkA=; b=22LvSKZntg/9ve7Fnv+B6f/+MTmS+sIBKOiHdFVY2tiAPsEBNJLbYcvNTtbWrUnbIC 12TVNxINV2lDrAyHUkEN/g3QnpSPQghfIyj7+KYdBsImbbzYvRRKRCuu94WNlJmUdSHS lOsRP+t+UUraAV1R33/3JmubGjESbEC0zjeTor3HLitjiFNKmo+tMvhrOkVx3mr3Y8Lu CMiCdSF2NM5cHevostT68wTCOwGSKnCtK26JIkAclxvfycDs1Ak/JXwdcFqgRcgD983v iMPb+jbOQVETSGoqtCicmiL+je9r4BCPVTyMNRPAa9u3g7E0gB9OD+WMsgu/ZmnBO1EP YUGQ== X-Gm-Message-State: APuU4Z8uiXwvLoPQ88TfT+twMvA/NCVF2N6YLXRCkhaV9VoswJD/lN4b IUfzW0DGrNW+YM9xGafOuCF92tyqYSKkEzOQRkqTns2TswD/RR9b/4T5+sEEt3PIQjDONyxnzOl 2Wnjh2TSRTtmMHE9s3zDo5yolTrv514U7Gl+tmqEf1hU+wRV3taixf45iSnVTdA9HZOVtG9+ZNe ItW5liYakY5weOn+sQRqPJOZVBRPvIfqKGaBLbIRW9 X-Gm-Gg: AYBFou10THi7fqFRSoKceSpu2hjXapNFNGHF1hkSVMG3SmOLt8XDx/jf/TotP1WLaVF Ficov15AVclpjUpeVulBA5pHkaCPA3hpHTOVDUoh5GQvn53iMpDy/jCJ4etUdY0aqBmgDG2jnG7 GhYnkF/PHoyrxK3rYzzquaBTNLWbpSb2bmVB3PlpEDBHdB7V59hflfXRRsME1SAmipA3kw6jyhX eKTKmn/czdCWiE= X-Received: by 2002:a05:7022:287:10b0:1b5:2988:eba7 with SMTP id a92af1059eb24-1b543d4dbb6mr2399782c88.41.1795011099472; Wed, 18 Nov 2026 06:11:39 -0800 (PST) X-Received: by 2002:a05:7022:287:10b0:1b5:2988:eba7 with SMTP id a92af1059eb24-1b543d4dbb6mr2399764c88.41.1795011098575; Wed, 18 Nov 2026 06:11:38 -0800 (PST) MIME-Version: 1.0 Date: Wed, 18 Nov 2026 15:11:26 +0100 X-Gm-Features: Aa3M54oxhcXpTJvHD77OTPqAfBzxF3AbRfr9MKtlCvhqX4chff1hyxUZkWWuIf4 Message-ID: Subject: [RFC] A graphical counterpart to the TUI, written in Python To: gdb@sourceware.org X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: gA1UCQGUwGOFLlXL2N1Qidghq1mW5mzplzrbGnldRmc_1795011100 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tomas Hrnciar via Gdb Reply-To: Tomas Hrnciar Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hello, For the past couple of months I've been working on a side project based on an idea from Andrew Burgess: a graphical counterpart to the TUI, written in Python on top of GDB's Python API. I now have a working proof of concept, and I'd like to find out whether it is worth continuing and, potentially, integrating into GDB. It uses only the Python standard library; the GUI is built with Tkinter. Like the TUI, it is enabled with "gui enable", and the GUI and CLI stay in sync in both directions: "frame 2" or "break foo.c:42" typed at the prompt is reflected in the window, and clicking a frame or the line-number gutter in the window updates GDB's state. Code and a screenshot: https://github.com/hrnciar/pygui You can try it with: gdb (gdb) source /path/to/pygui.py (gdb) gui enable Implemented features: - source and assembly views, with a toggle between them - program controls: run, continue, interrupt, step(i), next(i), finish - backtrace view; clicking a frame selects it - breakpoints: set or remove by clicking the gutter, enable/disable - locals view for the selected frame - status bar showing the program state The script is growing and will need to be split into smaller files, but for the demo purpose it is easier to source just one file into GDB to play with it. I'd appreciate it if you could try it out and provide feedback. Is this something the community would be interested in? Feel free to open issue if you find any bugs or missing features. Tom=C3=A1=C5=A1