From: Daniel Jacobowitz <drow@mvista.com>
To: Vinayak P Risbud <vinayak@multitech.co.in>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: assembly editing in GDB
Date: Tue, 06 Aug 2002 06:11:00 -0000 [thread overview]
Message-ID: <20020806131101.GA22456@nevyn.them.org> (raw)
In-Reply-To: <3D4F6B35.A5D0AA07@multitech.co.in>
On Tue, Aug 06, 2002 at 11:52:46AM +0530, Vinayak P Risbud wrote:
> Can I run and debug, an assembly program in GDB ?
Sure.
> If yes, how can I edit and write the assembly program
> in GDB ?
You can't. GDB does not have any support for editing or assembling
code. You compile the assembly as normal; if you're using the GNU
tools you can use "gcc -g" and it will generally arrange to put
line-number information in the object module.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-08-06 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-05 23:23 Vinayak P Risbud
2002-08-06 6:11 ` Daniel Jacobowitz [this message]
2002-08-06 7:01 ` William A. Gatliff
2002-08-06 6:28 ` Carlos O'Donell
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=20020806131101.GA22456@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=vinayak@multitech.co.in \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox