[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] What is MI version for MIPlugin createCSession(...) call ?
|
Found it !
I found it by looking at the gdb docs:
http://sources.redhat.com/gdb/current/onlinedocs/gdb_3.html#SEC9
for the --interpreter option.
The value to use for my purposes is "mi2"
Thanks,
..bob
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Bob Sheehan
Sent: Thursday, February 02, 2006 12:30 PM
To: CDT General developers list.
Subject: [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.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev