forked from Imagelibrary/binutils-gdb
gdb: Add support for dumping to verilog hex format.
Extend the gdb 'dump' command to allow creating output in verilog hex format. Add some tests to cover new functionality. As bfd does not currently support reading in verilog hex formats the tests only cover the 'dump' command, not the 'restore' command. gdb/ChangeLog: * cli/cli-dump.c (verilog_cmdlist): New variable. (dump_verilog_memory): New function. (dump_verilog_value): New function. (verilog_dump_command): New function. (_initialize_cli_dump): Add new commands to support verilog dump format. * NEWS: Add entry for "dump verilog". gdb/doc/ChangeLog: * gdb.texinfo (Dump/Restore Files): Add detail about verilog dump format. gdb/testsuite/ChangeLog: * gdb.base/dump.exp: Add *.verilog files to all_files list. Add new tests for verilog output.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* gdb.texinfo (Dump/Restore Files): Add detail about verilog dump
|
||||
format.
|
||||
|
||||
2015-04-24 Doug Evans <dje@google.com>
|
||||
|
||||
* python.texi (Xmethods In Python): Fix name of method to call the
|
||||
|
||||
@@ -10868,9 +10868,9 @@ You can use the commands @code{dump}, @code{append}, and
|
||||
@code{restore} to copy data between target memory and a file. The
|
||||
@code{dump} and @code{append} commands write data to a file, and the
|
||||
@code{restore} command reads data from a file back into the inferior's
|
||||
memory. Files may be in binary, Motorola S-record, Intel hex, or
|
||||
Tektronix Hex format; however, @value{GDBN} can only append to binary
|
||||
files.
|
||||
memory. Files may be in binary, Motorola S-record, Intel hex,
|
||||
Tektronix Hex, or Verilog Hex format; however, @value{GDBN} can only
|
||||
append to binary files, and cannot read from Verilog Hex files.
|
||||
|
||||
@table @code
|
||||
|
||||
@@ -10890,6 +10890,8 @@ Intel hex format.
|
||||
Motorola S-record format.
|
||||
@item tekhex
|
||||
Tektronix Hex format.
|
||||
@item verilog
|
||||
Verilog Hex format.
|
||||
@end table
|
||||
|
||||
@value{GDBN} uses the same definitions of these formats as the
|
||||
|
||||
Reference in New Issue
Block a user