This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: assembly editing in GDB


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]