Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342285 - Addition of missing command to set/show endianess
Summary: Addition of missing command to set/show endianess
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 09:42 EDT by Tomas Martinec CLA
Modified: 2020-09-04 15:18 EDT (History)
3 users (show)

See Also:


Attachments
Added command (3.43 KB, patch)
2011-04-08 09:42 EDT, Tomas Martinec CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.