Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342285

Summary: Addition of missing command to set/show endianess
Product: [Tools] CDT Reporter: Tomas Martinec <fyzmat>
Component: cdt-debug-dsf-gdbAssignee: Project Inbox <cdt-debug-dsf-gdb-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: cdtdoug, malaperle, pawel.1.piech
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Added command none

Description Tomas Martinec CLA 2011-04-08 09:42:05 EDT
Build Identifier: I20110127-2034

Hello,

I needed to set endianness of debugged platform in gdb and I did not find appropriate command in cdt. So I created the command and I would personally guess, that the right place for the command is in the org.eclipse.cdt.dsf.mi.service.command.commands package. I attached the patch - you can add it, if you like. Otherwise I will keep that command just in my plugin.

Tomas

Reproducible: Always
Comment 1 Tomas Martinec CLA 2011-04-08 09:42:35 EDT
Created attachment 192830 [details]
Added command
Comment 2 Marc Khouzam CLA 2011-04-08 10:00:31 EDT
Thanks, I was not aware of this command.

The patch looks good but I would prefer using the MI command -gdb-set.

Besides that, I'll put it in soon.

Thanks
Comment 3 Marc Khouzam CLA 2011-04-08 10:01:37 EDT
Oh, and we should have the corresponding -gdb-show endian command.