diff options
author | Tom Tromey <tromey@adacore.com> | 2025-09-03 09:26:25 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-09-26 09:29:13 -0600 |
commit | ecac42af735c3fa6abe49ec7cf9ebcd34096b2ac (patch) | |
tree | 850ee951cb01feaae32bbbb3174e08cafe06eaea /gdb/python/python-internal.h | |
parent | e14efc5bf7c1af686976cae532acf3d6ad31b2a1 (diff) | |
download | binutils-ecac42af735c3fa6abe49ec7cf9ebcd34096b2ac.zip binutils-ecac42af735c3fa6abe49ec7cf9ebcd34096b2ac.tar.gz binutils-ecac42af735c3fa6abe49ec7cf9ebcd34096b2ac.tar.bz2 |
Always propagate exceptions in DAP
This changes the DAP exec_and_log function to always transform an
exception into a DAPException and propagate it.
As the bug points out, we haven't always wrapped calls when
appropriate. I think it's better to cause the request to fail by
default; if any spot truly needs to ignore errors, that is readily
done at the point of call.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33346
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions