From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from confino.investici.org (confino.investici.org [212.103.72.250]) by sourceware.org (Postfix) with ESMTPS id B45A53858434 for ; Tue, 21 Dec 2021 14:15:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B45A53858434 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4JJJQH4zhQz10wZ for ; Tue, 21 Dec 2021 14:15:35 +0000 (UTC) Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4JJJQH4DPBz10wD for ; Tue, 21 Dec 2021 14:15:35 +0000 (UTC) From: Andrea Monaco To: gdb@sourceware.org Subject: gdb displaying only one line of instructions when stepping Date: Tue, 21 Dec 2021 15:15:34 +0100 Message-ID: <87h7b2gi2h.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: Tue, 21 Dec 2021 14:15:39 -0000 Hello. I noticed that, when single stepping through a program, gdb shows only one line of instructions that take more than one. For example, a simple a = 5; is showed as (gdb) next 24 a = (gdb) As a user, I'd definitely prefer gdb to show me the full instruction I'm about to run. Maybe there's some way to do that, and I missed it? Otherwise I can work on it. Let me know, Andrea Monaco