projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make exception handling more efficient
[deliverable/binutils-gdb.git]
/
gdb
/
common
/
new-op.c
diff --git
a/gdb/common/new-op.c
b/gdb/common/new-op.c
index c358b802fa4b1e777d73f3d3d73011838ebcbe6b..7c5dba0be6da571adf38a6af4c47807159ad8bf6 100644
(file)
--- a/
gdb/common/new-op.c
+++ b/
gdb/common/new-op.c
@@
-64,9
+64,9
@@
operator new (std::size_t sz)
{
malloc_failure (sz);
}
- catch (
const gdb_exception_RETURN_MASK_ALL
&ex)
+ catch (
gdb_exception
&ex)
{
- throw gdb_quit_bad_alloc (
ex
);
+ throw gdb_quit_bad_alloc (
std::move (ex)
);
}
}
return p;
This page took
0.023622 seconds
and
4
git commands to generate.