This is the mail archive of the gdb@sources.redhat.com 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]

Re: dbg MI help required !


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


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