help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to debug assemly


From: aprekates
Subject: Re: Trying to debug assemly
Date: Wed, 18 Dec 2019 04:30:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0

Thanks.

That worked. Although i dont quite understand what is the /GDB/MI interface./

I  also enabled the option : GUD / GDB-MI / Display other windows

If i dont do that the other windows like breakpoints,registers etc wont close when i give the gdb> quit but i have to M-x kill-buffer each one.

Alexandros

On 17/12/19 9:27 π.μ., Andrew Savonichev wrote:
aprekates <address@hidden> writes:
I have a simp cpuid.s assemblied to cpuid.o and linked to create a
cpuid executable.

In emacs i do :

M-x gdb

and i give as argument the cpuid path.

I get :

Reading symbols from
/home/chomwitt/Programming/Assembly/Blum/code/chap04/cpuid...done.
(gdb) Undefined command: "1-inferior-tty-set".  Try "help".
(gdb) Undefined command: "2-gdb-set".  Try "help".

[...]

What are those lines mean? Are those warnings or bugs?

M-x gdb gives you a default command `gdb -i=mi'. Make sure you don't
delete this `-i=mi' option, and just add a path to an executable:

   M-x gdb
   gdb -i=mi /path/to/cpuid

More about `-i=mi' option:
   https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]