Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] I'm having issues extending dsf-gdb

Hi,

I am writing an extension to the GdbLaunch to launch our debugger. I have
written a FinalLaunchSequence (by copy/paste the existing one) and have
added some new Step()s to configure our target. These Steps use CLICommands
to configure gdb as we need. I have this working.

My problem is that the CLICommands seem to be sent to GDB asynchronously -
without waiting for a response. In the 'gdb traces' console, I see my new
commands like this:

7my-command1
8my-command2
9my-command3

And then

7+my-output1
7+my-output2
7^done
(gdb)
8^done
(gdb)
9^done
(gdb)

Is there any way I can make the commands execute synchronously (i.e. wait
for a response before moving on). For example, I need to modify step 8 in
response to the response to step 7.

Thanks for your help,

--
Subs



Back to the top