This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Add -i=mi0 as an interpreter
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: [patch] Add -i=mi0 as an interpreter
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 19 Jun 2001 15:47:52 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <3B2E405A.7000500@cygnus.com> <200106190901.MAA07858@is.elta.co.il>
> We must update gdb.texinfo to reflect this change. It currently
> documents only -i=mi.
Ok. It turns out I also need to juggle the file names (DOS 8.3).
> Why can't this strncmp be done in one place and then saved in some
> variable? If you do need to use strncmp all over the place, then I
> can't say I care to see the magical constants "mi" and 2 every time
> you do ;-)
True. While still not good will at least be consistent. Perhaps I'll
call the function mi_out_p_but_i_wish_this_hack_would_just_go_away() :-)
(deprecated_mi_out_p()).
Andrew