Yes, I compiled with "-g" option. I am able to use
msp430-gdb alone ( in a dos window) or gdb + Insight.

Under emacs I can send commands to gdb, set
breakpoint, view code with "disassembler" command,
exec. one instructions ... but the source code don't
appears. When I run the program a new Emacs window
appears with an "=>" arrow but without source code.
There are two windows, a first used to send command
to, and view answer from gdb, a second with only an
arrow.
Using the first window I am able to send command like
"next 1", "step 1", after these command gdb answer
with prompt "(gdb)". If I send "disass" I get the dump
of assembler code (in the first window) and the second
window sty blank (only the =>).


???

Thanks.

Paolo



--- Chris Liechti <cliec...@gmx.net> wrote:
> Paolo Santinelli wrote:
> > I need run mspg430-gdb under Emacs.
> > 
> > When I try to do it, Emacs buffer don't show the
> > source code
> 
> did you compile with the "-g" option. that embeds
> debug information into 
> the elf object file, which is required for GDB to
> locate the source.
> 
> chris
> 
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to