[PATCH, v2] Add command to erase all flash memory regions

Eli Zaretskii eliz@gnu.org
Mon Jan 9 19:22:00 GMT 2017


> 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.



More information about the Gdb-patches mailing list