This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] symbol lookup cache


> From: Doug Evans <xdje42@gmail.com>
> Date: Fri, 19 Dec 2014 23:56:23 -0800
> 
> Here is an updated patch for the symbol cache,
> with docs and ChangeLog entry.

Thanks.

> +@kindex maint set symbol-cache-size
> +@kindex maint show symbol-cache-size
> +@cindex symbol cache size
> +@item maint set symbol-cache-size @var{size}
> +@item maint show symbol-cache-size
> +Set the size of the symbol cache to @var{size}.
> +The default size is intended to be good enough for debugging
> +most applications.  This option exists to allow for experimenting
> +with different sizes.

The item is both for "set" and "show", but the text only says "Set".

Otherwise, the documentation parts are OK.

Btw, I wonder if this should be a user option, not a "maint" option.
The heuristics used to determine the cache size tend to be wrong in
some rare corner cases, so letting the user override this should be a
good thing, I think.


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