]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: fix array dimensions
authorNick Alcock <nick.alcock@oracle.com>
Tue, 31 Jul 2012 17:33:58 +0000 (18:33 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:28 +0000 (22:40 +0100)
commitc8f704293d75c33082950f77fba2be542c87dc01
tree5856cc4b1ec3fa579d65532db9e6ce2e1a8b39a9
parent59b887a9c06153690165da6a2e3cb02d879061b5
ctf: fix array dimensions

Due to a premature optimization (in, admittedly, speed-critical code) and
mistakenly forgetting that dwarf_formudata() does not return its result like
dwarf_whatform(), all arrays were considered to be flexible arrays of unknown
dimension.

Also, the type ID representation for arrays was uniquely ugly in that it lacked
a trailing space after the close ].

(Both fixed.)

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
scripts/dwarf2ctf/dwarf2ctf.c