Replace throw_exception with throw in some cases
[deliverable/binutils-gdb.git] / gdb / linespec.c
index 0ed9d7cf9778de75f9e08724f60ceb539929f804..c42ddba731510dfab7a128515323ae02ec099a4b 100644 (file)
@@ -3152,7 +3152,7 @@ event_location_to_sals (linespec_parser *parser,
          }
        catch (const gdb_exception_error &except)
          {
-           throw_exception (except);
+           throw;
          }
       }
       break;
@@ -3966,7 +3966,7 @@ find_linespec_symbols (struct linespec_state *state,
          catch (const gdb_exception_error &except)
            {
              if (except.error != NOT_FOUND_ERROR)
-               throw_exception (except);
+               throw;
            }
        }
     }
This page took 0.025822 seconds and 4 git commands to generate.