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: make info warnings


Eli Zaretskii writes:
 > > From: Andreas Schwab <schwab@suse.de>
 > > Date: Wed, 15 Jan 2003 16:58:58 +0100
 > > 
 > > Elena Zannoni <ezannoni@redhat.com> writes:
 > > 
 > > |> these are the lines that generate the warnings.
 > > |> 
 > > |> @item htrace record @var{[data]*}
 > > |> @item htrace rewind @var{[filename]}
 > > |> @item htrace print @var{[start [len]]}
 > > 
 > > IMHO this should be written like this:
 > > 
 > > @item htrace record [@var{data}]*
 > > @item htrace rewind [@var{filename}]
 > > @item htrace print [@var{start} [@var{len}]]
 > 
 > Yes, that's the right fix.  It makes the printed version look better,
 > too.

Ok, here is a patch. I checked it in.

Elena


2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

	(OpenRISC 1000): Fix formatting of command names.

Index: gdb.texinfo
===================================================================
RCS file: /cvs/uberbaum/gdb/doc/gdb.texinfo,v
retrieving revision 1.138
diff -u -p -r1.138 gdb.texinfo
--- gdb.texinfo	15 Jan 2003 14:31:59 -0000	1.138
+++ gdb.texinfo	15 Jan 2003 17:55:36 -0000
@@ -11904,7 +11904,7 @@ Set acquisition qualifier for HW trace.
 Set HW trace stopping criteria.
 
 @kindex htrace record
-@item htrace record @var{[data]*}
+@item htrace record [@var{data}]*
 Selects the data to be recorded, when qualifier is met and HW trace was
 triggered.
 
@@ -11915,14 +11915,14 @@ triggered.
 Enables/disables the HW trace.
 
 @kindex htrace rewind
-@item htrace rewind @var{[filename]}
+@item htrace rewind [@var{filename}]
 Clears currently recorded trace data.
 
 If filename is specified, new trace file is made and any newly collected data
 will be written there.
 
 @kindex htrace print
-@item htrace print @var{[start [len]]}
+@item htrace print [@var{start} [@var{len}]]
 Prints trace buffer, using current record configuration.
 
 @kindex htrace mode continuous


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