From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Eli Zaretskii Cc: gdb-patches@sourceware.cygnus.com Subject: Re: [patch] Add -i=mi0 as an interpreter Date: Tue, 19 Jun 2001 12:47:00 -0000 Message-id: <3B2FAC68.3080902@cygnus.com> References: <3B2E405A.7000500@cygnus.com> <200106190901.MAA07858@is.elta.co.il> X-SW-Source: 2001-06/msg00353.html > 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