From: Andrew Savonichev <andrew.savonichev@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Trying to debug assemly
Date: Tue, 17 Dec 2019 10:27:39 +0300 [thread overview]
Message-ID: <87d0cntnro.fsf@gmail.com> (raw)
In-Reply-To: <7d7b1cc5-7321-10b8-6f03-1aeceeaef42c@posteo.net>
aprekates <aprekates@posteo.net> 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
--
Andrew
next prev parent reply other threads:[~2019-12-17 7:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 1:22 Trying to debug assemly aprekates
2019-12-17 7:27 ` Andrew Savonichev [this message]
2019-12-18 2:30 ` aprekates
2019-12-18 8:39 ` tomas
2019-12-19 0:38 ` aprekates
2019-12-19 1:18 ` aprekates
2019-12-17 9:08 ` VanL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d0cntnro.fsf@gmail.com \
--to=andrew.savonichev@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.