[all-commits] [llvm/llvm-project] 16a816: [lldb] [gdb-remote] Fix processing generic regnums

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Oct 29 12:38:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16a816a19e2a8c65cf34dbf2ef9d7497b200c0b1
      https://github.com/llvm/llvm-project/commit/16a816a19e2a8c65cf34dbf2ef9d7497b200c0b1
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

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

  Log Message:
  -----------
  [lldb] [gdb-remote] Fix processing generic regnums

Fix regression in processing generic regnums that was introduced
in fa456505b80b0cf83647a1b26713e4d3b38eccc2 ("[lldb] [gdb-remote]
Refactor getting remote regs to use local vector").  Since then,
the "generic" field was wrongly interpreted as integer rather than
string constant.

Thanks to Ted Woodward for noticing and providing the correct code.




More information about the All-commits mailing list