This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, v2] Add command to erase all flash memory regions
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Luis Machado <lgustavo at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 09 Jan 2017 21:22:06 +0200
- Subject: Re: [PATCH, v2] Add command to erase all flash memory regions
- Authentication-results: sourceware.org; auth=none
- References: <1483988641-27277-1-git-send-email-lgustavo@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Luis Machado <lgustavo@codesourcery.com>
> Date: Mon, 9 Jan 2017 13:04:01 -0600
>
> diff --git a/gdb/NEWS b/gdb/NEWS
> index b976815..4d9effa 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -57,6 +57,17 @@ FreeBSD/mips mips*-*-freebsd
> Synopsys ARC arc*-*-elf32
> FreeBSD/mips mips*-*-freebsd
This is OK, except...
> +* New commands
> +
> +flash-erase
> + Erases all the flash memory regions reported by the target.
> +
> +* New MI commands
> +
> +target-flash-erase
The MI command is "-target-flash-erase", with the leading dash.
Otherwise, the documentation parts are okay.
Thanks.