Bug 192742 - [console] CLI console needs to keep track of currently selected thread and stack frame
Summary: [console] CLI console needs to keep track of currently selected thread and st...
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 0 DD 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 15:11 EDT by Pawel Piech CLA
Modified: 2020-09-04 15:24 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 Pawel Piech CLA 2007-06-14 15:11:12 EDT
In the CLI console, users can switch the current thread and stack frame using the "thread <threadno>" and the "frame <n>" commands.  However, while the user is sending commands via CLI, the debugger may switch the current thread and stack frame using -thread-select and -stack-frame-select methods, which will make the CLI console appear broken.  

To address this problem, the CLI console should track its own current thread and stack frame context, and use these contexts when sending commands to the back end.