Bug 265673 - [commands] CLI commands should use -interpreter-exec console
Summary: [commands] CLI commands should use -interpreter-exec console
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.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: 2009-02-20 11:42 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2009-02-20 11:42:11 EST
It just hit me that for the few CLI commands that we still use (e.g., attach, info threads, etc), we should wrap them in a '-interpreter-exec console' MI command.

Not only is this the recommended way from the GDB manual, but it should also allow us to use the --thread/--frame options that are being introduced in GDB 7.0, for those 'cli' commands too.