[all-commits] [llvm/llvm-project] 4fac08: Recognize `addressing_bits` kv in stop reply packet

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu May 4 13:14:26 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fac08ff1dcd02c89c677365b10921399caf79df
  Author: Jason Molenda <jason at molenda.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M lldb/docs/lldb-gdb-remote.txt
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

  Log Message:
  Recognize `addressing_bits` kv in stop reply packet

If a remote stub provides the addressing_bits kv pair in
the stop reply packet, update the Process address masks with
that value as it possibly changes during the process runtime.
This is an unusual situation, most likely a JTAG remote stub
and some very early startup code that is setting up the page
tables.  Nearly all debug sessions will have a single address
mask that cannot change during the lifetime of a Process.

Differential Revision: https://reviews.llvm.org/D149803

More information about the All-commits mailing list