================
@@ -74,8 +75,10 @@ class NativeRegisterContextLinux_arm : public 
NativeRegisterContextLinux {
 
   bool WatchpointIsEnabled(uint32_t wp_index);
 
-  // Debug register type select
-  enum DREGType { eDREGTypeWATCH = 0, eDREGTypeBREAK };
+  using DREGType = NativeRegisterContextDBReg::DREGType;
+  static const DREGType eDREGTypeBREAK = DREGType::eDREGTypeBREAK;
+  static const DREGType eDREGTypeWATCH = DREGType::eDREGTypeWATCH;
+  using DREG = NativeRegisterContextDBReg::DREG;
----------------
b10902118 wrote:

I did that just for modifying less files, not sure whether this should be a 
concern.

I am considering porting arm to use NativeRegisterContextDBReg, after this it 
will be not fully qualified again.

https://github.com/llvm/llvm-project/pull/147198
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to