help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs gdb program launcher


From: Lucius Fox
Subject: Re: emacs gdb program launcher
Date: Fri, 20 Mar 2009 00:36:30 -0700

On Thu, Mar 19, 2009 at 11:18 PM, Nick Roberts <nickrob@snap.net.nz> wrote:
>  > 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.
>

Can you please tell me what is ' --annotate=3' for?


> --
> Nick                                           http://www.inet.net.nz/~nickrob
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]