aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-08 01:52:44 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-08 01:52:44 +0000
commite28d556f6be67e728e296f83a55f6abaf4251a31 (patch)
tree7c4c4117017c4f5c42dea2d0b496ac3f3337480d /gdb/infrun.c
parent53904c9e670da0974aebfb6cdaa30e9c55876508 (diff)
downloadgdb-e28d556f6be67e728e296f83a55f6abaf4251a31.zip
gdb-e28d556f6be67e728e296f83a55f6abaf4251a31.tar.gz
gdb-e28d556f6be67e728e296f83a55f6abaf4251a31.tar.bz2
Botch in previous change. Was comparing against "ask" instead of
follow_fork_mode_ask.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 23877a4..a945c1a 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_...; */