This is the mail archive of the 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] Replace macros by gdbarch functions in gdbint manual

Eli Zaretskii <> writes:
>> Date: Wed, 27 Jun 2007 16:11:34 -0400
>> From: Daniel Jacobowitz <>
>> Cc: Markus Deuling <>,,
>> 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?

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