Normalize TRY_CATCH exception handling block
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index 99104e9b673d924c18e1a642afebd78aa39eb97b..e92b777023002cde533035627bc44fe7780d87a4 100644 (file)
@@ -430,8 +430,11 @@ post_create_inferior (struct target_ops *target, int from_tty)
     {
       stop_pc = regcache_read_pc (get_current_regcache ());
     }
-  if (ex.reason < 0 && ex.error != NOT_AVAILABLE_ERROR)
-    throw_exception (ex);
+  if (ex.reason < 0)
+    {
+      if (ex.error != NOT_AVAILABLE_ERROR)
+       throw_exception (ex);
+    }
 
   if (exec_bfd)
     {
This page took 0.026719 seconds and 4 git commands to generate.