Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [docs] Naming on GDB/MI sections in docs
@ 2010-01-08 15:40 Vladimir Prus
  2010-01-08 19:54 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Prus @ 2010-01-08 15:40 UTC (permalink / raw)
  To: gdb


At present, the toc of documentation PDF looks like this:

	gdb
	27 The gdb/mi Interface
	Function and Purpose
	Notation and Terminology
	27.3 gdb/mi General Design
	27.3.1 Context management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
	27.3.2 Asynchronous command execution and non-stop mode . .
	27.3.3 Thread groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
	27.4 gdb/mi Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
	27.4.1 gdb/mi Input Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

I have two concerns about it:

1. Why some section titles are started by "gdb/mi"? We're already inside "The gdb/mi Interface"
section, so it's reasonable to assume subsections talk about gdb/mi. Can we remove those
prefixes?

2. Why is "Function and Purpose" subsection lacks section number in the TOC? I would
have expected "27.1".

Thanks,
Volodya


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [docs] Naming on GDB/MI sections in docs
  2010-01-08 15:40 [docs] Naming on GDB/MI sections in docs Vladimir Prus
@ 2010-01-08 19:54 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2010-01-08 19:54 UTC (permalink / raw)
  To: Vladimir Prus; +Cc: gdb

> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Fri, 8 Jan 2010 18:40:44 +0300
> 
> 
> At present, the toc of documentation PDF looks like this:
> 
> 	gdb
> 	27 The gdb/mi Interface
> 	Function and Purpose
> 	Notation and Terminology
> 	27.3 gdb/mi General Design
> 	27.3.1 Context management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> 	27.3.2 Asynchronous command execution and non-stop mode . .
> 	27.3.3 Thread groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> 	27.4 gdb/mi Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> 	27.4.1 gdb/mi Input Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Ouch!

> 1. Why some section titles are started by "gdb/mi"? We're already
> inside "The gdb/mi Interface" section, so it's reasonable to assume
> subsections talk about gdb/mi.

When you look at the entire TOC, yes.  But what if you land in that
section in Info, by following some cross-reference or index search?

> Can we remove those prefixes?

If others don't mind (and if the consideration I mention above doesn't
make you change your mind), then I won't object.  Just make sure we
don't already have other sections by the same name.

> 2. Why is "Function and Purpose" subsection lacks section number in
> the TOC? I would have expected "27.1".

Because it's an @unnumberedsec for some reason.  Change it to
@section, and you will have the number.  The same goes for "Notation
and Terminology".

Thanks for spotting these blunders.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-08 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-08 15:40 [docs] Naming on GDB/MI sections in docs Vladimir Prus
2010-01-08 19:54 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox