[all-commits] [llvm/llvm-project] f10867: [lldb] Ignore notification packets (#204788)

Tim Hutt via All-commits all-commits at lists.llvm.org
Mon Jun 29 02:12:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f108671fa451e5ea66e7600141c4876b6e5ee34a
      https://github.com/llvm/llvm-project/commit/f108671fa451e5ea66e7600141c4876b6e5ee34a
  Author: Tim Hutt <tdhutt at gmail.com>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/gdbclientutils.py
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
    A lldb/test/API/functionalities/gdb_remote_client/TestIgnoringNotifications.py

  Log Message:
  -----------
  [lldb] Ignore notification packets (#204788)

The gdb-protocol spec says

> Recipients should silently ignore corrupted notifications and
notifications they do not understand.

This changes `WaitForPacketNoLock` so that it ignores all notifications
(I'm not sure about corrupted ones).

An example of a notification that causes issues without this change is
that OpenOCD sends `%ookeepalive:00` notifications during memory
accesses.

Fixes #197944



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