Community
Participate
Working Groups
Build Identifier: In GDB 7.3 -data-disassemble MI gained support for modes 2 and 3 for dumping the instruction opcodes. MIDataDisassemble should support those modes. I have a patch which adds support for this. Reproducible: Always
Created attachment 202984 [details] Add support for modes 2 and 3 to MIDataDissassemble
A similar patch would apply to DSF-GDB: /org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIDataDisassemble.java
Created attachment 202990 [details] Also patch DSF Updated patch to also cover DSF-GDB.
Can you please confirm in this bug that: 1- you have written 100% of the patch 2- you have the right to contribute the code to eclipse Also, what copyright should we put at the top of the files? Should be like: "Daniel Thomas (<company>) - Added support for mode 2 and 3 (Bug 357073)"
(In reply to comment #4) > Can you please confirm in this bug that: > 1- you have written 100% of the patch I wrote 100% of this patch having examined a similar work by James Blackburn. > 2- you have the right to contribute the code to eclipse I have confirmed that I have the right to contribute this code to eclipse. > Also, what copyright should we put at the top of the files? > Should be like: > "Daniel Thomas (<company>) - Added support for mode 2 and 3 (Bug 357073)" "Broadcom core (Broadcom) - Added support for mode 2 and 3 (Bug 357073)" Do you want me to update the patch to contain that?
(In reply to comment #5) > "Broadcom core (Broadcom) - Added support for mode 2 and 3 (Bug 357073)" > Do you want me to update the patch to contain that? BWIM: "Broadcom Corp. - Added support for mode 2 and 3 (Bug 357073)"
Created attachment 203158 [details] Patch committed to master I committed this patch to master.
The patch I committed also modified the CommandFactory classes for both CDI and DSF. James, can you review? Thanks Daniel for the contribution.
*** cdt git genie on behalf of Daniel Thomas *** Bug 357073: MIDataDisassemble should support modes 2 and 3 added in GDB 7.3 [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=6d7a8182a01e264b6726f48e9bf29e9bd774d753