This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 205920 - eax = 0xffffffff in Registers tab, $eax = 0xffffffffffffffff in Disassembly tab
Summary: eax = 0xffffffff in Registers tab, $eax = 0xffffffffffffffff in Disassembly tab
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 12:18 UTC by soldatov
Modified: 2017-08-15 09:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (100.50 KB, image/png)
2011-12-05 12:18 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2011-12-05 12:18:32 UTC
Solaris 11

Scenario:
- Create Welcome project
- Call Step Into
- Open Disassembly tab
- Open Registers tab
- Move cursor on %eax
==> $eax = 0xffffffffffffffff tooltip appears. But eax = 0xffffffff in Registers tab
Comment 1 soldatov 2011-12-05 12:18:58 UTC
Created attachment 113816 [details]
screenshot
Comment 2 Egor Ushakov 2012-05-12 09:55:39 UTC
causes by the fix of the bug 199557,
before that gdb reported -1 for such case and currently we do not if it is a 64 bit register or not
Comment 3 Maria Tishkova 2017-08-11 11:04:25 UTC
I cannot re-produce.
Comment 4 soldatov 2017-08-11 11:40:07 UTC
On x86 Linux such test case can be used:

int main() {
    asm ("movl $0xefffffff, %eax");
    asm ("movl $0x00001111, %eax");
    asm ("movl $0x11111111, %eax");
    return 0;
}

In Register tab I see 0xefffffff
In tooltip (Disassembly tab) I see: 0xffffffffefffffff
Comment 5 Maria Tishkova 2017-08-15 09:41:17 UTC
Fixed. Variable created for the tooltip and pinned watch for register will be formatted with current Data representation format (which is hexadecimal by default for Disassembly window) and therefore will be the same as in Registers window.

changeset:   304453:ff6398ef4163
tag:         qparent
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Tue Aug 15 12:39:47 2017 +0300