diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-28 10:56:58 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-04-08 09:05:41 -0600 |
commit | 26003a205e207db7985c32ec1964a04652b68413 (patch) | |
tree | 9800bd8e170266abe2ecc4f07972ba47f88429ff /gdb/inferior.c | |
parent | d272eb370a4c086a1d0f86a7a94e89328ec8d97e (diff) | |
download | gdb-26003a205e207db7985c32ec1964a04652b68413.zip gdb-26003a205e207db7985c32ec1964a04652b68413.tar.gz gdb-26003a205e207db7985c32ec1964a04652b68413.tar.bz2 |
Make exception throwing a bit more efficient
This makes exception throwing a bit more efficient, by removing some
copies.
gdb/ChangeLog
2019-04-08 Tom Tromey <tom@tromey.com>
* common/common-exceptions.c (throw_exception): Rename from
throw_exception_cxx. Remove old copy. Make argument const.
(throw_it): Create and throw exception objects directly.
* common/common-exceptions.h (throw_exception): Make argument
const.
(struct gdb_exception_error): Add constructor.
(struct gdb_exception_quit): Add constructor.
Diffstat (limited to 'gdb/inferior.c')
0 files changed, 0 insertions, 0 deletions