aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2024-06-12 16:51:59 +0300
committerDmitry Baryshkov <[email protected]>2024-06-12 16:52:39 +0300
commit92815da4576a495cb6362cdfb132152fccc2222d (patch)
treeaab359ebf2ab210e9455b1d21d8298ceb81080c0 /scripts/gdb/linux/tasks.py
parentaeacc39e2088a15ee31c8af4f68c84981fa08eb7 (diff)
parent6b4468b0c6ba37a16795da567b58dc80bc7fb439 (diff)
Merge remote-tracking branch 'drm-misc/drm-misc-next' into HEAD
Merge drm-misc-next tree into the msm-next tree in order to be able to use HDMI connector framework for the MSM HDMI driver.
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
-rw-r--r--scripts/gdb/linux/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/linux/tasks.py b/scripts/gdb/linux/tasks.py
index 6793d6e86e77..62348397c1f5 100644
--- a/scripts/gdb/linux/tasks.py
+++ b/scripts/gdb/linux/tasks.py
@@ -85,7 +85,7 @@ thread_info_type = utils.CachedType("struct thread_info")
def get_thread_info(task):
thread_info_ptr_type = thread_info_type.get_type().pointer()
- if task.type.fields()[0].type == thread_info_type.get_type():
+ if task_type.get_type().fields()[0].type == thread_info_type.get_type():
return task['thread_info']
thread_info = task['stack'].cast(thread_info_ptr_type)
return thread_info.dereference()