From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: aprekates Newsgroups: gmane.emacs.help Subject: Re: Trying to debug assemly Date: Thu, 19 Dec 2019 03:18:29 +0200 Message-ID: <974f1a63-1b71-5ed6-1b77-b576b4ec50cd@posteo.net> References: <7d7b1cc5-7321-10b8-6f03-1aeceeaef42c@posteo.net> <87d0cntnro.fsf@gmail.com> <8d2558b9-2232-8533-e2a2-951bec8c625c@posteo.net> <20191218083946.GA6021@tuxteam.de> <21755878-a78d-04e6-e169-20be43a38d45@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20079"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 To: tomas@tuxteam.de, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 02:19:01 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ihkSy-00052Z-Nd for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2019 02:19:00 +0100 Original-Received: from localhost ([::1]:34682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihkSx-0006Gh-L2 for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2019 20:18:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38481) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihkSc-0006GY-N6 for help-gnu-emacs@gnu.org; Wed, 18 Dec 2019 20:18:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihkSX-0007P4-Q0 for help-gnu-emacs@gnu.org; Wed, 18 Dec 2019 20:18:38 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:35356) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ihkSX-0007MK-6q for help-gnu-emacs@gnu.org; Wed, 18 Dec 2019 20:18:33 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E247B16005C for ; Thu, 19 Dec 2019 02:18:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1576718310; bh=9Hms4vYdsAYNEzwTOQ/fpPmlZnimHHgERgdb1hX7Wgw=; h=Subject:From:To:Date:From; b=HS2y0+4TLNC9R7g+NnGGINc87INUQcjMyp6XP5+hIvi3jnY50yKo86A0Z0gnagk5T XKPFkBGr/JGkCa+iyh9iPqChEr770MASQ7uWcHH+hQe3gIeo9fvVrH7PrqIQFbJ0kQ f7TxA6wo+GzZqvL9870HkrfdjRAp/JsGBe05PpN9LeDAVkJMGcNN+jqcCt48wDvr8l gRMoDLewmdUMGUEwzraR+8qsvtw9kpb63Lif3Ty8PN4jPYMuVKGnUq4wVjNYVSjjsO ULnrKBDEOJo7WXyPkgf2GMeNKqYaYERr1jOca5JPiRB/uwdXXNOgzCdYgadwEg8JyK MBYblJ4Tz6i1A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47dYsx5yFkz6tm6; Thu, 19 Dec 2019 02:18:29 +0100 (CET) In-Reply-To: <21755878-a78d-04e6-e169-20be43a38d45@posteo.net> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:122069 Archived-At: |||I've learned about three ways to initiate a debugging session in=C2=A0= =20 emacs with gdb.| ||a.=C2=A0 M-x gud-gdb|| |||b.=C2=A0 M-x gdb| |c.=C2=A0 M-x gdb=C2=A0 --interpreter=3Dmi | |Does option a. uses GDB/MI interface?| |Alexandros. | || || On 19/12/19 2:38 =CF=80.=CE=BC., aprekates wrote: > Thanks. > > So if i want to debug in emacs with gdb and have ide like=20 > functionality , giving me the ability to create breakpoint by clicking=20 > next to source lines or windows with updates on variables, registers ,=20 > memory region etc then gdb must be able ta accept 'machine' like=20 > commands from the emacs gdb frontent. > > Alexandros. > > GDB/MI > > On 18/12/19 10:39 =CF=80.=CE=BC., tomas@tuxteam.de wrote: >> On Wed, Dec 18, 2019 at 04:30:38AM +0200, aprekates wrote: >>> Thanks. >>> >>> That worked. Although i dont quite understand what is the /GDB/MI >>> interface./ >> GDB/MI is the so-called "machine interface". Back Then (TM), GDB was >> just an interactive program: you type in things, GDB displays things >> to you. With time, more-or-less graphical front ends appeared (among >> them, of course, something written in Emacs). It became clear that >> the interactive user interface wasn't the ideal way for a program to >> control GDB, and thus MI was born. >> >> Cheers >> -- t >