This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Don't unwind past entry point
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: randolph at tausq dot org, gdb-patches at sources dot redhat dot com
- Date: Wed, 10 Nov 2004 22:34:37 +0200
- Subject: Re: [RFA] Don't unwind past entry point
- References: <20041109192430.GW15714@tausq.org> <41924990.9060504@gnu.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 10 Nov 2004 12:02:08 -0500
> From: Andrew Cagney <cagney@gnu.org>
> Cc: gdb-patches@sources.redhat.com
>
> Check eli for the doco.
Thanks for the heads-up, I missed the original message.
> @table @code
> @item set backtrace past-main
> @itemx set backtrace past-main on
> -@kindex set backtrace
> +@kindex set backtrace past-main
Please don't make this change. When there are several commands that
begin with the same string, like "set backtrace SOMETHING" which all
begin with "set backtrace", we should always index only the common
part and do it only once, so that we end up with a single index entry
that points to the place where the whole family is described.
So please leave only the original "@kindex set backtrace" and "@kindex
show backtrace" entries, and remove all the rest.
> -@kindex show backtrace
> +@kindex show backtrace past-main
This change should also be undone.
> +This entry point is encoded by the linker when the application is built,
> +and is likely before the user entry point ``main'' (or equivalent) is called.
Please use @code{main}, without any quotes. This produces `main' in
the Info manual and uses an appropriate typeface in the printed
version.
Otherwise, the doco patch is fine. Thanks.