This is the mail archive of the gdb-patches@sourceware.cygnus.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: [rfa/cli] Tighten add_set_enum_cmd() interface


Fernando Nasser wrote:
> 
> Sure, go ahead.

Oops, the attatched got screwed up when I created the diff.  Its also
been applied.

> Thanks.
> 
> Fernando
> 
> P.S.: This is just one more Band-Aid.  The cli interface is old and must be
> revamped.

Very true.

	Andrew
Thu Jun  8 11:41:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* infrun.c (follow_inferior_fork): Bad merge from below.  Compare
 	strings using follow_fork_mode_ask and not "ask".

Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.15
diff -p -r1.15 infrun.c
*** infrun.c	2000/06/08 00:52:56	1.15
--- infrun.c	2000/06/08 01:45:19
*************** follow_inferior_fork (int parent_pid, in
*** 466,472 ****
    const char *follow_mode = follow_fork_mode_string;
  
    /* Or, did the user not know, and want us to ask? */
!   if (follow_fork_mode_string == "ask")
      {
        internal_error ("follow_inferior_fork: \"ask\" mode not implemented");
        /* follow_mode = follow_fork_mode_...; */
--- 466,472 ----
    const char *follow_mode = follow_fork_mode_string;
  
    /* Or, did the user not know, and want us to ask? */
!   if (follow_fork_mode_string == follow_fork_mode_ask)
      {
        internal_error ("follow_inferior_fork: \"ask\" mode not implemented");
        /* follow_mode = follow_fork_mode_...; */

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