This is the mail archive of the gdb-patches@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: [RFA/doco] add obstacks to gdbint.texi


> From: Elena Zannoni <ezannoni@redhat.com>
> Date: Tue, 10 Feb 2004 14:47:41 -0500
>  > 
>  > I would put "obstack" either in @code or in @samp.
> 
> all over or just that sentence?

All over, I think.

>  > Finally, there are many places where there's only one blank after a
>  > dot that ends a sentence.  Please make that 2 spaces.
> 
> Ok, is there something in .emacs that I should set to get this done when
> I do an 'esc-q' for instance? 

It does that for me by default.  If it doesn't for you, perhaps you
have sentence-end-double-space set to nil somehow.

> +An essential and convenient property of all data on obstacks is that
> +memory for it gets allocated (with obstack_alloc) at various times
> +during a debugging sesssion, but it is released all at once using the
> +obstack_free function.  The obstack_free function takes a pointer to
> +where in the stack it must start the deletion from (much like the
> +cleanup chains have a pointer to where to start the cleanups).

obstack_free, obstack_alloc, etc. are functions, so they need @code.

Otherwise, fine; thanks.


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