[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs gdb program launcher
From: |
Vincent Liard |
Subject: |
Re: emacs gdb program launcher |
Date: |
Fri, 20 Mar 2009 08:09:09 +0000 (UTC) |
User-agent: |
Pan/0.132 (Waxed in Black) |
>> My god... Of course you're right ! For some reason, it's not yet
>> working
> > through the script, but "set annotate 3" issued on the GDB command
> > line does the job perfectly.
>
> Yes, that will generally work but things probably won't initialise
> properly, e.g, you won't be able to click in the margin to set
> breakpoints in buffers for source files that Emacs is already visiting.
>
> If the script is bash, for example, then you would probably need to
> replace something like:
>
> exec gdb $@
>
> with:
>
> exec gdb --annotate=3 $@
>
> for proper initialisation.
That's what I did lately and it does work! (Actually, it would have
worked yesterday if I had not set my --annotate=3 in the wrong place of a
conditional.)
Many thanks for your concern!
Vincent