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 257114 - disassmbly window does not show tabs correctly
Summary: disassmbly window does not show tabs correctly
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: Other Mac OS X
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-11 13:38 UTC by andrey_p
Modified: 2016-02-01 17:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed changed module (667.31 KB, application/x-java-archive)
2015-12-15 17:28 UTC, Alexander Simon
Details
proposed patch (1.07 KB, patch)
2015-12-15 17:31 UTC, Alexander Simon
Details | Diff
gdb log as requested (50.13 KB, text/plain)
2015-12-16 13:27 UTC, andrey_p
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrey_p 2015-12-11 13:38:10 UTC
when using cross-gdb with gdb server the tab characters are precessed by netbeans incorrectly and shown as "\t" instead of aligned whitespace. e.g.
_Z12init_globalsv()
_Z12init_globalsv+20: sub\tr3, r11, #44\t; 0x2c
_Z12init_globalsv+24: mov\tr0, r3
_Z12init_globalsv+28: bl\t0x74f51f40 <_ZN10HandleMarkC2Ev>

expected:
_Z12init_globalsv()
_Z12init_globalsv+20: sub     r3, r11, #44    ; 0x2c
_Z12init_globalsv+24: mov     r0, r3
_Z12init_globalsv+28: bl      0x74f51f40 <_ZN10HandleMarkC2Ev>

gdb:
GNU gdb (crosstool-NG 1.21.0 - Linaro GCC 2014.03) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
built for MacOS with TARGET=armel and TARGET_OS=linux

Netbeans:
Product Version: NetBeans IDE Dev (Build 201511240002)
Updates: Updates available
Java: 1.9.0_84; OpenJDK 64-Bit Server VM 1.9.0_84-b84
Runtime: OpenJDK Runtime Environment 1.9.0_84-b84
System: Mac OS X version 10.10.5 running on x86_64; UTF-8; en_US (nb)
Comment 1 Alexander Simon 2015-12-15 17:28:26 UTC
Created attachment 157800 [details]
proposed changed module

Please, backup your version of jar and put attached one to verify the fix. 
Also, please, provide us with GDB log.
http://wiki.netbeans.org/GdbLog shows where to get it.

Thanks!
Comment 2 Alexander Simon 2015-12-15 17:31:42 UTC
Created attachment 157801 [details]
proposed patch
Comment 3 andrey_p 2015-12-16 13:26:06 UTC
Thanks a lot, attached module fixed the problem!
Comment 4 andrey_p 2015-12-16 13:27:16 UTC
Created attachment 157812 [details]
gdb log as requested
Comment 5 Alexander Simon 2015-12-16 14:34:16 UTC
fixed in enum, change set:
b5e11f0673b6
Comment 6 Quality Engineering 2015-12-22 02:26:53 UTC
Integrated into 'main-silver', will be available in build *201512220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/be88293616e7
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #257114 disassmbly window does not show tabs correctly
(transplanted from b5e11f0673b6383eafde1f72db5941c8f3eadb17)
Comment 7 ilia 2016-01-27 14:51:05 UTC
  Fixes of this bug:
    http://hg.netbeans.org/releases/rev/b5e11f0673b6
Comment 8 soldatov 2016-02-01 17:23:45 UTC
Verified in in NetBeans IDE 8.1 (Build 201601300101)