This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 1/2] minor Python doc updates
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 27 Apr 2013 00:06:42 +0300
- Subject: Re: [RFA 1/2] minor Python doc updates
- References: <87d2th9kqq dot fsf at fleche dot redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 26 Apr 2013 13:04:29 -0600
>
> Doug pointed out on irc that the Python docs don't mention the
> close-on-exec change, even though Python was a major driver for the
> approach taken in the patch.
>
> I also noticed that the docs don't mention SIGINT and SIGCHLD, and
> this is something that has bitten users in the past.
>
> This patch pulls in some introductory text from the old archer python
> branch that I thought was useful, moves the stdout information to the
> "Basic Python" node, and documents close-on-exec and signal handling a
> bit.
>
> Ok?
Yes, thanks.
> +You can get quick online help for @value{GDBN}'s Python API by issuing
> +the command @w{@kbd{python help (gdb)}}.
This dumps about 20 screen-fulls (each screen 57 lines) on my system.
Shouldn't this be paginated? This part:
> +At startup, @value{GDBN} overrides Python's @code{sys.stdout} and
> +@code{sys.stderr} to print using @value{GDBN}'s output-paging streams.
seems to imply it should, but it doesn't here (MS-Windows), at least
not with GDB 7.6 and Python 2.6.6.