From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Savonichev Newsgroups: gmane.emacs.help Subject: Re: Trying to debug assemly Date: Tue, 17 Dec 2019 10:27:39 +0300 Message-ID: <87d0cntnro.fsf@gmail.com> References: <7d7b1cc5-7321-10b8-6f03-1aeceeaef42c@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66093"; mail-complaints-to="usenet@blaine.gmane.org" To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 17 08:28:04 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 1ih7H2-000H01-Ds for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2019 08:28:04 +0100 Original-Received: from localhost ([::1]:37140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ih7Gv-0001AX-I9 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2019 02:27:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36818) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ih7Gl-0001AL-7R for help-gnu-emacs@gnu.org; Tue, 17 Dec 2019 02:27:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ih7Gk-0001es-4d for help-gnu-emacs@gnu.org; Tue, 17 Dec 2019 02:27:47 -0500 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:36479) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ih7Gj-0001cW-UU for help-gnu-emacs@gnu.org; Tue, 17 Dec 2019 02:27:46 -0500 Original-Received: by mail-lj1-x231.google.com with SMTP id r19so9745143ljg.3 for ; Mon, 16 Dec 2019 23:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=BPq4XjeBIbKTGcC3WAS1j7f23td1KAtcG8vUcHQ6vIk=; b=mlvnAB0QIOKjZW5erE4N7c9DqHBwXkQlPODMWgU3QZpHWGHaWsymwZAU2Et8muQFcQ jfFptobc6FidcL8DGWsn6Om05DBMdy/Iw+gbsOVembey9JAyByeqSK/qJsFC/XlTe0xj ddL5igICXO/a6lQrqFRFCIg6if53yJe/+FszWayx2ADpG1RwrxtISNXR9tbY+bPooTWK 8nSFPNZiyWRqSHhTY4sauX4bQkZ93x8HL+53fHUWjnpBMbAiHw9IBtKpkFhVQ2dbkjUK h6YxWPctrdN2tUXQMp+M2stDintgyW/cHcccXZKb9wqtkd2+BIi1hGfn6tZVgLagSxj6 Npew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=BPq4XjeBIbKTGcC3WAS1j7f23td1KAtcG8vUcHQ6vIk=; b=bT/92I2NYcB0zkLnxIoeIA2IUEMrO+/JXa8fVLBQe/GGbY1Qe7Kq7Ki1i2DSzereY4 npMorxi14r3IKokd/litkfYEjnD81k2wVWfUmfrH3bsZqhe7znRsppE/4UDZISafNFGz RB55bn09URrRAJe3Y77p/ArZFiPyIdwldPeMaHLNLlqsjZyhpTXaepGJVdEUq4Owa15P Z4Nf6gsRDywxM+u+3KGOuVgFK7WOmRZLaBdVbPs+VAH++xFZgeICtE/L2CWy9vrIFoYc hZra5+2xor4AOIUcSlPuSarF6PooMlxo/CojTGAeO5aoVRfk7o/Fxfi9Dyn3AwFo9yv7 DKmw== X-Gm-Message-State: APjAAAUKvGNUEtdqMIYZPn5PnPxz9TV5+HiXVifjx0l5pyvmTg18WPjg mw2HCgKfTqjhHW7oGq27OU4N08PZBTw= X-Google-Smtp-Source: APXvYqwO/em8jQYj1BXg1naHAD1pmjFlO3hcDPpQNCPj7PCg4NOyyhsoQVXpCDnpGzm0GLWz+eqWyQ== X-Received: by 2002:a2e:83cc:: with SMTP id s12mr2091121ljh.11.1576567663285; Mon, 16 Dec 2019 23:27:43 -0800 (PST) Original-Received: from laptop ([82.208.100.93]) by smtp.gmail.com with ESMTPSA id e9sm11789192ljp.87.2019.12.16.23.27.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 23:27:42 -0800 (PST) In-Reply-To: <7d7b1cc5-7321-10b8-6f03-1aeceeaef42c@posteo.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::231 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:122054 Archived-At: aprekates writes: > I have a simp cpuid.s assemblied to cpuid.o and linked to create a=C2=A0= =20 > cpuid executable. > > In emacs i do : > > M-x gdb > > and i give as argument the cpuid path. > > I get : > > Reading symbols from=20 > /home/chomwitt/Programming/Assembly/Blum/code/chap04/cpuid...done. > (gdb) Undefined command: "1-inferior-tty-set".=C2=A0 Try "help". > (gdb) Undefined command: "2-gdb-set".=C2=A0 Try "help". > > [...] > > What are those lines mean? Are those warnings or bugs? > M-x gdb gives you a default command `gdb -i=3Dmi'. Make sure you don't delete this `-i=3Dmi' option, and just add a path to an executable: M-x gdb gdb -i=3Dmi /path/to/cpuid More about `-i=3Dmi' option: https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html --=20 Andrew