[all-commits] [llvm/llvm-project] a7c174: [lldb] Only send "posix" error codes through the g...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Wed Sep 18 14:54:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7c174502aef45b2d33291129cce10c085fef944
https://github.com/llvm/llvm-project/commit/a7c174502aef45b2d33291129cce10c085fef944
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-09-18 (Wed, 18 Sep 2024)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationServerTest.cpp
Log Message:
-----------
[lldb] Only send "posix" error codes through the gdb-remote protocol
The other side has no way of telling which namespace do these codes
belong to, so mashing them all together is not very helpful.
I'm mainly doing this to simplify some code in a pending patch
<https://github.com/llvm/llvm-project/pull/106774/files#r1752628604>,
and I've picked the posix error category semi-randomly. If we wanted to
be serious about assigning meaning to these error codes, we should
create a special error category for "gdb errors".
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list