This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Replace macros by gdbarch functions in gdbint manual
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Wed, 27 Jun 2007 16:11:34 -0400
>> From: Daniel Jacobowitz <drow@false.org>
>> Cc: Markus Deuling <deuling@de.ibm.com>, gdb-patches@sourceware.org, uweigand@de.ibm.com
>>
>> On Wed, Jun 27, 2007 at 09:30:19PM +0300, Eli Zaretskii wrote:
>> > > +the inferior function onto the stack. In addition to pushing @var{nargs}, the
>> > > +code should push @var{struct_addr} (when @var{struct_return}), and the return
>> > ^^^^^^^^^^^^^^^^^^^^^^^^^^
>> > It looks like something is missing in the parens. The old text also
>> > had this problem; can someone suggest or guess what was meant here?
>>
>> It's unclear wording, but I understand it; struct_return is
>> essentially a boolean condition here. And there's a flag variable of
>> the same name in call_function_by_hand.
>
> So it should say "when @var{struct_return} is non-zero", right?
>
> Or maybe, since you say this is the name of an actual variable, use
> @code{struct_return} instead of @var?
It's an argument to the function, and our convention is to use @var
for those, right?