From: Andrew Cagney Date: Thu, 8 Jun 2000 01:52:44 +0000 (+0000) Subject: Botch in previous change. Was comparing against "ask" instead of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e28d556f6be67e728e296f83a55f6abaf4251a31;p=binutils-gdb.git Botch in previous change. Was comparing against "ask" instead of follow_fork_mode_ask. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 747312dc1ed..88189303c50 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 8 11:41:41 2000 Andrew Cagney + + * infrun.c (follow_inferior_fork): Bad merge from below. Compare + strings using follow_fork_mode_ask and not "ask". + Wed Jun 7 15:13:04 2000 Andrew Cagney * command.h (add_set_enum_cmd): Make ``enumlist'' and ``var'' diff --git a/gdb/infrun.c b/gdb/infrun.c index 23877a4f025..a945c1a40fe 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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_...; */