Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Purpose of MIInferior class

That's what I get for trying to quickly scan the code and come up with an answer. Thought I had it right, but oh welll...

John

At 08:16 AM 12/3/2009, Mikhail Khodjaiants wrote:
John,

It's the opposite, MIInferior represents the process being debugged.

Mikhail
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of John Cortell
Sent: Thursday, December 03, 2009 2:00 PM
To: CDT General developers list.; cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] Purpose of MIInferior class

Nayna,

MIInferior is the java.lang.Process that represents the gdb process
itself, as opposed to the, say, the "Hello World" process the user is
debugging.

You will see that the gdb process is represented in the Debug view.
The model object associated with that view element is an MIInferior
instance.

As for standalone documentation on the gdb/mi CDI reference
implementation, there is none that I know of.  Detailed low level
documents is not something you're not going to come across very often in
CDT, but I think that holds true for many projects. There are comments
in the code, but admittedly, they are sparse. In a perfect world,
committers would thoroughly document their classes/interfaces/methods.
Often, though, the focus is on developing good software that performs,
is well designed, and intuitive. If software meets those three criteria,
engineers can often learn the design simply by studying the code. It's
not an ideal situation, but it's something.

John

At 05:20 AM 12/3/2009, Nayna Jain wrote:
>Hi all,
>
>What is the purpose of MIInferior class in
org.eclipse.cdt.debug.mi.core ?
>
>Is there any document which tells how the connection to gdb/mi is
>mapped in our cdt debug model ?
>
>Which class represents what ?
>
>Thanks & Regards,
>Nayna Jain
>
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
--
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top