[all-commits] [llvm/llvm-project] ebeb56: [lldb] Only send "posix" error codes through the g...

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Oct 11 01:40:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebeb56af5f8f1ff9da8f5a7e98348f460d223de1
      https://github.com/llvm/llvm-project/commit/ebeb56af5f8f1ff9da8f5a7e98348f460d223de1
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:

  Log Message:
  -----------
  [lldb] Only send "posix" error codes through the gdb-remote protocol (#108170)

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