Skip to content
Commit b2829fcf authored by Tom de Vries's avatar Tom de Vries
Browse files

[gdb] Fix rethrow exception slicing in insert_bp_location

The preferred way of rethrowing an exception is by using throw without
expression, because it avoids object slicing of the exception [1].

Fix this in insert_bp_location.

Tested on x86_64-linux.

[1] https://en.cppreference.com/w/cpp/language/throw



Approved-By: default avatarAndrew Burgess <aburgess@redhat.com>
parent 0a9c805d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment