From: Eli Zaretskii <eliz@gnu.org>
To: Bart Veer <bartv@ecoscentric.com>
Cc: gdb-patches@sourceware.org
Subject: Re: add file I/O support when debugging an embedded target via jtag
Date: Tue, 12 Aug 2008 19:08:00 -0000 [thread overview]
Message-ID: <ubpzygigj.fsf@gnu.org> (raw)
In-Reply-To: <pn4p5quran.fsf@delenn.bartv.net>
> Date: Tue, 12 Aug 2008 17:33:20 +0100
> From: Bart Veer <bartv@ecoscentric.com>
>
> +When set, if the target halts at a well-defined location GDB\n\
^
Need a comma here.
> +will treat that as a request for file I/O. The request will be\n\
^^
Please use two spaces after a period that ends a sentence.
> +@node Hardware Debug Support
> +@section Extra support for hardware debuggers
> +
> +@cindex hwdebug
This isn't a useful index entry for the Concept Index. The entries in
that index are supposed to be phrases, not command names. The latter
are introduced by @kindex. How about
@cindex hardware debuggers support
@kindex hwdebug
> +When @value{GDBN} interacts with a server or stub running on the
> +remote target the target-side application can perform a number of
^
Missing comma.
> +host-side file I/O operations, @xref{File-I/O Remote Protocol
@xref should not be in the middle of a sentence, because it produces
"See" with a capital S. Please either use "see @ref" or replace the
preceding comma with a period.
> +or BDM. If so then target-side code may be unable to generate the
^
Missing comma.
> +remote protocol messages directly. Instead it can send the request by
^
Missing comma
> Instead it can send the request by
> +triggering a breakpoint or processor exception at a well-known
> +location @code{_gdb_hwdebug_break}.
Sorry, I'm not sure I understand this sentence. Are you saying that
_gdb_hwdebug_break is a name of a location? If so, please say
something like
by triggering a breakpoint or processor exception at a well-known
location named @code{_gdb_hwdebug_break}.
> +default, allowing the application to run stand-alone as well as inside
> +a debug session. It can be enabled by a @kbd{set hwdebug} command, or
> +disabled by @kbd{set hwdebug off}. ^^^^^^^^^^^
Shouldn't this be "set hwdebug on"?
> +Exact usage depends on the application being debugged. Amongst other
> +things @kbd{set hwdebug} clears a flag @code{_gdb_hwdebug_disabled} on
^
Missing comma.
> +the target. If the application is loaded into RAM then there are no
^
Missing comma.
> +problems. However if it is programmed into flash and restarted from
^
Missing comma.
> +the reset vector inside the debug session then typically the
^
Missing comma.
> +target-side initialization code will reset the disabled flag to its
> +default state, undoing the effect of @kbd{set hwdebug}. Instead it
^
Missing comma.
> +will be necessary to set a hardware breakpoint at a suitably early
> +point in the application startup and invoke @kbd{set hwdebug} when
> +that breakpoint is hit.
> +
> +The target-side API for accessing the h/w debug file I/O functionality
^^^
Please don't use shorthand in the manual. Please use full words.
> +depends on the embedded OS or run-time being used. If the
> +functionality has not yet been ported then a reference implementation
^
Missing comma.
Otherwise, the doco part is okay with me, assuming that the code is
approved.
Thanks!
next prev parent reply other threads:[~2008-08-12 19:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-12 16:34 Bart Veer
2008-08-12 19:08 ` Eli Zaretskii [this message]
2008-08-31 11:42 ` Bart Veer
2008-08-31 14:36 ` Stan Shebs
2008-08-31 15:39 ` Bart Veer
2008-09-23 10:15 ` Bart Veer
2008-09-23 12:03 ` Doug Evans
2008-09-24 21:21 ` Bart Veer
2008-09-25 17:05 ` Doug Evans
2008-09-25 20:27 ` Bart Veer
2008-09-25 22:20 ` Daniel Jacobowitz
2008-10-01 18:39 ` Bart Veer
2008-10-01 21:10 ` Daniel Jacobowitz
2008-10-09 17:11 ` Bart Veer
2008-10-17 11:59 ` John Dallaway
2008-09-01 3:07 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ubpzygigj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bartv@ecoscentric.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox