|
From: | Žarko Živanov |
Subject: | DDD doesn't display 32-bit asembly variables anymore |
Date: | Tue, 5 Mar 2019 16:22:35 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
When I moved from older version of
Ubuntu to 18.04 a few days ago, I have tried DDD with assembly
(GAS) files that we use in Computer architecture course at my
faculty. It turned out that 32-bit variables cannot be shown as
easily as before. Older versions of GDB were using 32-bit int as
default when no type was known, and that was used by DDD to show
32-bit assembly variables, for example:
A: .long 12345 When one clicks on A, and then on Display, 32-bit vaule of A would be shown. In newer GDB, there is no default type, so when one tries the same to display assembly variable in DDD on Ubuntu 18.04, this is shown: <error: 'A' has unknown type; cast it to its declared type> One workaround is to type (int)A into display line, then to click on Display. Unfortunately, when the value is displayed this way, it cannot be changed form Right click/Set value anymore, and this is shown in GDB output pane: Left operand of assignment is not an lvalue. It is a real shame that DDD is more and more out of date with GDB and current widgets... Best regards, Zarko Zivanov Sent from my Commodore 64 |
[Prev in Thread] | Current Thread | [Next in Thread] |