diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-04-22 22:52:36 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-04-24 22:49:59 +0100 |
commit | cf75d6c37e15e321e82e7f4ceebcf847b4f057fc (patch) | |
tree | 2afef4c763a792185d4364f300ed1414c3e0509d /gdb/doc | |
parent | dcbd20eb1499db937785881aca2f9584a330723c (diff) | |
download | gdb-cf75d6c37e15e321e82e7f4ceebcf847b4f057fc.zip gdb-cf75d6c37e15e321e82e7f4ceebcf847b4f057fc.tar.gz gdb-cf75d6c37e15e321e82e7f4ceebcf847b4f057fc.tar.bz2 |
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.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 23b2e68..5da9943 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -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 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0410702..9e2787d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 |