aboutsummaryrefslogtreecommitdiff
path: root/kapi/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'kapi/gdb')
-rw-r--r--kapi/gdb/devices/device.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kapi/gdb/devices/device.py b/kapi/gdb/devices/device.py
index 8e515ef8..58f6ea59 100644
--- a/kapi/gdb/devices/device.py
+++ b/kapi/gdb/devices/device.py
@@ -7,12 +7,10 @@ class KapiDevicesDevicePrinter(gdb.ValuePrinter):
def to_string(self):
return (
- f"{self.__val['m_name']} @ {self.__val['m_major']}:{self.__val['m_minor']}"
+ f"{self.__val['m_name']}"
)
def children(self):
- yield ("major", self.__val["m_major"])
- yield ("minor", self.__val["m_minor"])
yield ("name", self.__val["m_name"])
yield ("parent", self.__val["m_parent"])