Rewrite TRY/CATCH
[deliverable/binutils-gdb.git] / gdb / cli / cli-cmds.c
index 5dc94a5361af9a15131159ac48452cc036a0b40b..1dc82b3a875ec7a28969b96579a4ad9ac504015d 100644 (file)
@@ -250,7 +250,7 @@ complete_command (const char *arg, int from_tty)
   int quote_char = '\0';
   const char *word;
 
-  TRY
+  try
     {
       word = completion_find_completion_word (tracker_handle_brkchars,
                                              arg, &quote_char);
@@ -267,11 +267,10 @@ complete_command (const char *arg, int from_tty)
          tracker = &tracker_handle_completions;
        }
     }
-  CATCH (ex, RETURN_MASK_ALL)
+  catch (const gdb_exception_RETURN_MASK_ALL &ex)
     {
       return;
     }
-  END_CATCH
 
   std::string arg_prefix (arg, word - arg);
 
This page took 0.023791 seconds and 4 git commands to generate.