This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB MI - differences in -var-create output

Hi List,
This is my first post here, so I hope that this is the correct place
to ask this.

I have developed a GDB plugin for my IDE using the GDB Machine Interface.

I have tested the plugin under Linux and Windows and it seems to
function very good. However, under Mac OSX (10.5.2) (it works well,
but only after I tweaked my GDB MI output parser a bit) the GDB MI
output is a bit difference than the other OSs, for example, running
this command:

-var-create - * <expression>
under Linux & Windows, provides the same output like this:

However, under Mac I get this:

Note the missing 'value={...}' part.

another difference, is in the -data-read-memory command output, On
Windows & Linux, I get this:


But On Mac:

Note the change between square brackets & curly brackets just after
the 'data=' part.

My question is this: is this a bug or by design, cause I hate leaving
parts of my code under #if __MAC__ / #endif

Eran Ifrah

Eran Ifrah

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]