https://bugs.kde.org/show_bug.cgi?id=462834

            Bug ID: 462834
           Summary: Kate CANNOT display value of registers while debugging
                    OS Kernel via QEMU+GDB
    Classification: Applications
           Product: kate
           Version: 22.08.3
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: usability
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: lucky...@126.com
  Target Milestone: ---

Created attachment 154468
  --> https://bugs.kde.org/attachment.cgi?id=154468&action=edit
Use Kate to debug my tiny x86 OS

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. Start qemu-system-i386 by adding arguments "-s" (shorthand for -gdb
tcp::1234) and "-S" (freeze CPU at startup, waiting for GDB to connect).
2. Use the GDB Plugin in Kate to debug the OS Kernel (connect to QEMU, add
symbol files and execute to 0x7c00)

OBSERVED RESULT
Only local variables are displayed in "Call Stack and Locals".

EXPECTED RESULT
Value of CPU registers should be displayed in "Call Stack and Locals".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux + KDE Plasma
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Another popular code editor - Visual Studio Code, can display value of CPU
registers in the debug session.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to