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 02:38:36 +0200 Message-ID: <21755878-a78d-04e6-e169-20be43a38d45@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> 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="132519"; 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 01:38:55 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 1ihjqA-000YMu-PJ for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2019 01:38:55 +0100 Original-Received: from localhost ([::1]:34434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihjq9-0007eY-3P for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2019 19:38:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46240) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihjpy-0007eS-6a for help-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:38:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihjpw-0004Yu-RK for help-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:38:41 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:46395) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ihjpw-0004XD-Cf for help-gnu-emacs@gnu.org; Wed, 18 Dec 2019 19:38:40 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D869C16005E for ; Thu, 19 Dec 2019 01:38:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1576715917; bh=Cy1rhz5dRLvZ+/NFjDo4fclIx9RTmFK5aWwJl5NUtUE=; h=Subject:To:From:Date:From; b=pkagBe8t81PmDSKP2f/UWfeLvgQSsNCSxkh+62oyLodHosysL1Pds37ZcVRl+4ESO eReCDWXj8O5e6I5GWvKvOOySzFtLfSI6t5qj+2cvunW48yF6qcb9rwh9K0Qq6MkCK6 w9no1htq0BuzqmZcVH1MF5ccJzAUSzyFTAJPK7tAtP65YduOzdGl6wABjQwHKNQccf rhW2aGHw6g3ku6k7wCM1Jnu9mH7YoFX42mY0dQwqI8jD4kf4sLUx9gOg20YkfOxE9h 4mU1NH3t7k8DNumOVoWcEdqpY5H3+1/WdYqUAazQ9AGGDp7OU++KMnxJqRrE+VfBRx Dd5DdueOWTmjw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47dXzx0dP6z6tm6; Thu, 19 Dec 2019 01:38:36 +0100 (CET) In-Reply-To: <20191218083946.GA6021@tuxteam.de> 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-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:122068 Archived-At: Thanks. So if i want to debug in emacs with gdb and have ide like functionality=20 , giving me the ability to create breakpoint by clicking next to source=20 lines or windows with updates on variables, registers , memory region=20 etc then gdb must be able ta accept 'machine' like commands from the=20 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