Botch in previous change. Was comparing against "ask" instead of
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 23877a4f025ac8e0420242a6ec3fa207e445c9fd..a945c1a40fe945e8c74a05c1cfb236b98585774d 100644 (file)
@@ -466,7 +466,7 @@ follow_inferior_fork (int parent_pid, int child_pid, int has_forked,
   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")
+  if (follow_fork_mode_string == follow_fork_mode_ask)
     {
       internal_error ("follow_inferior_fork: \"ask\" mode not implemented");
       /* follow_mode = follow_fork_mode_...; */
This page took 0.02309 seconds and 4 git commands to generate.