Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] What is MI version for MIPlugin createCSession(...) call ?

Hello,

I am extending the CDT GDBCDIDebugger with the latest CDT 3.0.1.
Actually I am porting an older CDT version and the new creatCSession API
has changed requiring a MI Version argument.

I am making the call:

	Session session = MIPlugin.getDefault().createCSession(gdb,
"MI_VERSION_?", exe.getPath().toFile(), cwd, gdbinit, monitor);

BUT I do not know the Machine Interface (MI) Version to use in this
call.

As a result when I launch my configuration and run Debug from the
configuration dialog I get on the console:

	Listening on port 56414 for connection from GDB:
59s58s57s56s55s54s53s52s51s50s49s48s47s46s45s44s43s42s41s40s39s38s37s3
6s35s34s33s32s31s30s29s28s27s26s25s24s23s22s21s20s19s18s17s16s15s14s13
s12s11s10s 9s 8s 7s 6s 5s 4s 3s 2s 1stimed out
	Leaving target processor paused

And a dialog with text:

	:error creating session: Interpreter MI_VERSION_? Unrecognized.

I've tried a bunch of strings for the place holder MI_VERSION_? But I
cannot figure out which MI version I am using. Running "gdb --version"
doesn't seem to give the required info. Perhaps there is a different
version of createCSession I should use ?


Thanks,

Bob Sheehan
Altera Corp.



Back to the top