mbox series

[0/2] GDB: Support getting current task struct in UML

Message ID cover.1676416728.git.development@efficientek.com
Headers show
Series GDB: Support getting current task struct in UML | expand

Message

Glenn Washburn Feb. 14, 2023, 11:35 p.m. UTC
Hi all,

I noticed that running "call $lx_current()" with the kernel GDB helper
scripts was crashing when running in UML. So, I've fixed this. I'm not
100% sure this is correct or covers all corner cases, but I've done some
minimal testing. Perhaps someone on the linux-um list can review/comment
on whether this looks good or not.

There's also a trivial indentation fix in the same area.

Glenn


Glenn Washburn (2):
  scripts/gdb: Correct indentation in get_current_task
  scripts/gdb: Support getting current task struct in UML

 scripts/gdb/linux/cpus.py | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)