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: [rfc/rfa:doc] PC_IN_SIGTRAMP; Was: [RFA] Multi-arch IN_SIGTRAMP


> Date: Sun, 21 Apr 2002 13:42:28 -0400
> From: Andrew Cagney <ac131313@cygnus.com>
> 
> [Eli, note the doco update]

Thanks for the heads-up.

> 	* gdbint.texinfo (Target Architecture Definition): Replace
> 	IN_SIGTRAMP with PC_IN_SIGTRAMP.

Approved, with a few minor comments:

> +@item PC_IN_SIGTRAMP (@var{pc}, @var{name})
> +@findex PC_IN_SIGTRAMP
> +Sigtramp is a routine that the kernel calls

Here you introduce a new term.  It is best to give it a @dfn markup,
so that it stands out, and add an index entry for it, so that someone
who bumps into this term elsewhere in the manual could find its
definition.  So:

  @item PC_IN_SIGTRAMP (@var{pc}, @var{name})
  @findex PC_IN_SIGTRAMP
  @cindex sigtramp
  A @dfn{sigtramp} is a routine that the kernel calls...

> +This function, given a program counter value and the (possibly NULL)

"NULL" should be in @code, since it's a C symbol.

Also, it's better to say "... given a program counter value in
@var{pc}...", since this immediately explains what is @var{pc}.

Thanks.


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