Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: dbg MI help required !
       [not found] <995730792.22864.ezmlm@sources.redhat.com>
@ 2001-07-21 10:37 ` Jim Ingham
  2001-07-23 10:35   ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Ingham @ 2001-07-21 10:37 UTC (permalink / raw)
  To: gdb

Mickael,

The configure option is:

configure --enable-gdbmi=yes

As an aside, it is a lot more convenient to build the gdb tree in a tree 
parallel to the sources.  Since the configure process generates c-files, 
makes links, etc, it is good not to mess up your source tree with 
them...  I usually have:

source/configure
source/gdb
source/bfd
source/readline
...

then parallel to this make a directory

build/

then cd into build and do:

../source/configure --enable-gdbmi=yes

Anyway, once you have a gdb built with the mi enabled, then you do:

gdb -i mi

Hope this helps,

Jim


>
> Hi there!
> I am trying to figure out how to use MI and what it is for and to be 
> honest i
> am not getting anywhere.
> first i made a native solaris gdb with the following command:
> ./configure --with-gdb-interpreter=mi
> I ran make after and gdb was built but none of the c files in the mi 
> directory
> were compiled.
>
> So what do i do next?
> i thought mi would be a library and gdbmi would need that library in 
> order to
> support the tidy textual output that mi if i understand properly is 
> supposed to
> achieve.
>
> How do i make get gdbmi ?
>
>
> cheers mickael

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Jim Ingham                                                           
jingham@apple.com
Developer Tools - gdb


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dbg MI help required !
  2001-07-21 10:37 ` dbg MI help required ! Jim Ingham
@ 2001-07-23 10:35   ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2001-07-23 10:35 UTC (permalink / raw)
  To: Jim Ingham; +Cc: gdb

> The configure option is:
> 
> configure --enable-gdbmi=yes


Just FYI, is no longer required using the current source base.  MI is 
enabled by default.  So just this:

 > gdb -i mi

is all that is needed.

	Andrew




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dbg MI help required !
  2001-07-20  8:27 Mickael Gicquaire
@ 2001-07-23 14:17 ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2001-07-23 14:17 UTC (permalink / raw)
  To: Mickael Gicquaire; +Cc: gdb

> So what do i do next?
> i thought mi would be a library and gdbmi would need that library in order to
> support the tidy textual output that mi if i understand properly is supposed to
> achieve.


It is work in progress.

The MI is just one shaky step along a path to create a GDB library.  If 
you look at the MI command set then you should have a pretty good feel 
for what the underlying functions will be.

	Andrew




^ permalink raw reply	[flat|nested] 4+ messages in thread

* dbg MI help required !
@ 2001-07-20  8:27 Mickael Gicquaire
  2001-07-23 14:17 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Mickael Gicquaire @ 2001-07-20  8:27 UTC (permalink / raw)
  To: gdb

Hi there!
I am trying to figure out how to use MI and what it is for and to be honest i
am not getting anywhere.
first i made a native solaris gdb with the following command:
./configure --with-gdb-interpreter=mi
I ran make after and gdb was built but none of the c files in the mi directory
were compiled.

So what do i do next?
i thought mi would be a library and gdbmi would need that library in order to
support the tidy textual output that mi if i understand properly is supposed to
achieve.

How do i make get gdbmi ?


cheers mickael

-- 
---------------------------------------------------------------------------
| Mickael Gicquaire  | email mickael.gicquaire@.st.com  |                 |
|                    |                                  |   _____________ | 
| STMicroelectronics |                                  |  / ___/__   __/ |
| 1000 Aztec West    |                                  |  \__ \  /  /    | 
| Almondsbury        |   Phone 01454-462342             | /____/ /__/     |
| BRISTOL            |                                  |                 |
---------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-23 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <995730792.22864.ezmlm@sources.redhat.com>
2001-07-21 10:37 ` dbg MI help required ! Jim Ingham
2001-07-23 10:35   ` Andrew Cagney
2001-07-20  8:27 Mickael Gicquaire
2001-07-23 14:17 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox