aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 0ed9d7c..c42ddba 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -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;
}
}
}