Discussion:
[Bug gdb/23896] New: dump verilog memory doesn't truncates address > 32 bits
mneilly at yahoo dot com
2018-11-19 01:30:56 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23896

Bug ID: 23896
Summary: dump verilog memory doesn't truncates address > 32
bits
Product: gdb
Version: 7.12
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: mneilly at yahoo dot com
Target Milestone: ---

Using dump verilog memory with addresses larger than 32 bits truncates the
address in the generated file. The following uses an address of 0x8000010000
which results in @00010000. IEEE 1394-seems to be silent on any limitations on
address length.

Reading symbols from b2b-ld...(no debugging symbols found)...done.
(gdb) info address addrtable
Symbol "addrtable" is at 0x8000010000 in a file compiled without debugging.
(gdb) info address addrtable_end
Symbol "addrtable_end" is at 0x8000010440 in a file compiled without debugging.
(gdb) dump verilog memory test.mem 0x8000010000 0x8000010440
(gdb) q
$ head test.mem
@00010000
40 00 01 00 81 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80 00 01 00 81 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...