From 763463269b7d9c71a85b08fea71086d2090f161b Mon Sep 17 00:00:00 2001 From: Dan <46821332+nsadeveloper789@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:42:07 -0500 Subject: [PATCH] GP-0: Refer to static field by class, not derivative. --- .../DbgModelTargetBreakpointSpecImpl.java | 37 ++++++++++++------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/model/impl/DbgModelTargetBreakpointSpecImpl.java b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/model/impl/DbgModelTargetBreakpointSpecImpl.java index d3ea892af2..94356b94af 100644 --- a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/model/impl/DbgModelTargetBreakpointSpecImpl.java +++ b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/model/impl/DbgModelTargetBreakpointSpecImpl.java @@ -30,19 +30,30 @@ import ghidra.dbg.target.schema.TargetObjectSchemaInfo; import ghidra.dbg.util.PathUtils; import ghidra.util.datastruct.ListenerSet; -@TargetObjectSchemaInfo(name = "BreakpointSpec", attributes = { // - @TargetAttributeType( // - name = TargetBreakpointSpec.CONTAINER_ATTRIBUTE_NAME, // - type = DbgModelTargetBreakpointContainerImpl.class), // - @TargetAttributeType( // - name = TargetBreakpointLocation.SPEC_ATTRIBUTE_NAME, // - type = DbgModelTargetBreakpointSpecImpl.class), // - @TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_TYPE_ATTRIBUTE_NAME, type = String.class), // - @TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_DISP_ATTRIBUTE_NAME, type = String.class), // - @TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_PENDING_ATTRIBUTE_NAME, type = String.class), // - @TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_TIMES_ATTRIBUTE_NAME, type = Integer.class), // - @TargetAttributeType(type = Void.class) // -}, canonicalContainer = true) +@TargetObjectSchemaInfo( + name = "BreakpointSpec", + attributes = { + @TargetAttributeType( + name = TargetBreakpointSpec.CONTAINER_ATTRIBUTE_NAME, + type = DbgModelTargetBreakpointContainerImpl.class), + @TargetAttributeType( + name = TargetBreakpointLocation.SPEC_ATTRIBUTE_NAME, + type = DbgModelTargetBreakpointSpecImpl.class), + @TargetAttributeType( + name = DbgModelTargetBreakpointSpec.BPT_TYPE_ATTRIBUTE_NAME, + type = String.class), + @TargetAttributeType( + name = DbgModelTargetBreakpointSpec.BPT_DISP_ATTRIBUTE_NAME, + type = String.class), + @TargetAttributeType( + name = DbgModelTargetBreakpointSpec.BPT_PENDING_ATTRIBUTE_NAME, + type = String.class), + @TargetAttributeType( + name = DbgModelTargetBreakpointSpec.BPT_TIMES_ATTRIBUTE_NAME, + type = Integer.class), + @TargetAttributeType(type = Void.class) // + }, + canonicalContainer = true) public class DbgModelTargetBreakpointSpecImpl extends DbgModelTargetObjectImpl implements DbgModelTargetBreakpointSpec {