[Lldb-commits] [lldb] f384602 - [lldb] [Process/Utility] Update code url for FreeBSD in comments (#178556)

via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 5 06:51:51 PST 2026


Author: Minsoo Choo
Date: 2026-02-05T14:51:46Z
New Revision: f384602c1cab795d3c72609b25beffdc8e6f74a7

URL: https://github.com/llvm/llvm-project/commit/f384602c1cab795d3c72609b25beffdc8e6f74a7
DIFF: https://github.com/llvm/llvm-project/commit/f384602c1cab795d3c72609b25beffdc8e6f74a7.diff

LOG: [lldb] [Process/Utility] Update code url for FreeBSD in comments (#178556)

FreeBSD has moved from svn to git. Use https://cgit.freebsd.org/src
instead as it is the source of truth. i386 and mips64 were no longer
supported as of FreeBSD 15 and 14, respectively, so link stable branch
instead of main branch. See [FreeBSD platforms
page](https://www.freebsd.org/platforms/).

---------

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
    lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
    lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
    lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
index df6a82c11255e..841ae170466b5 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
@@ -12,7 +12,7 @@
 using namespace lldb_private;
 using namespace lldb;
 
-// http://svnweb.freebsd.org/base/head/sys/x86/include/reg.h
+// https://cgit.freebsd.org/src/tree/sys/x86/include/reg.h?h=stable/14
 struct GPR {
   uint32_t fs;
   uint32_t es;

diff  --git a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
index 1f52c09df12e7..8bc4e09870fce 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
@@ -61,7 +61,7 @@ static const RegisterSet g_reg_sets_mips64[k_num_register_sets] = {
      g_fp_regnums_mips64},
 };
 
-// http://svnweb.freebsd.org/base/head/sys/mips/include/regnum.h
+// https://cgit.freebsd.org/src/tree/sys/mips/include/regnum.h?h=stable/13
 typedef struct _GPR {
   uint64_t zero;
   uint64_t r1;

diff  --git a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
index d8dfa434335be..cd422556752fc 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
@@ -13,7 +13,7 @@
 using namespace lldb_private;
 using namespace lldb;
 
-// http://svnweb.freebsd.org/base/head/sys/powerpc/include/reg.h
+// https://cgit.freebsd.org/src/tree/sys/powerpc/include/reg.h
 typedef struct _GPR64 {
   uint64_t r0;
   uint64_t r1;

diff  --git a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
index c361b2abb726b..2a382175acfb3 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
@@ -15,7 +15,7 @@
 using namespace lldb_private;
 using namespace lldb;
 
-// http://svnweb.freebsd.org/base/head/sys/x86/include/reg.h
+// https://cgit.freebsd.org/src/tree/sys/x86/include/reg.h
 typedef struct _GPR {
   uint64_t r15;
   uint64_t r14;


        


More information about the lldb-commits mailing list