llvm-project/lldb/source/Plugins/Process/NetBSD
Michał Górny 5cc817be75 [lldb] Introduce i386 support in NetBSD Process plugin
Introduce support for i386 platform that is shared with amd64
in the same plugin.  The concept is partially based on the Linux
implementation.

The plugin tries to reuse as much code as possible.  As a result, i386
register enums are mapped into amd64 values and those are used in actual
code.  The code for accessing FPU and debug registers is shared,
although general-purpose register layouts do not match between the two
kernel APIs and need to be #ifdef-ed.

This layout will also make it possible to add support for debugging
32-bit programs on amd64 with minimal added code.

In order for this to work, I had to add missing data for debug registers
on i386.

Differential Revision: https://reviews.llvm.org/D73802
2020-02-05 13:31:06 +01:00
..
CMakeLists.txt [Process/NetBSD] Add missing linkage to -lutil 2019-01-24 22:20:47 +00:00
NativeProcessNetBSD.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
NativeProcessNetBSD.h [lldb] [Process/NetBSD] Improve threading support 2019-11-25 20:11:58 +01:00
NativeRegisterContextNetBSD.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
NativeRegisterContextNetBSD.h [lldb] [Process/NetBSD] Fix handling concurrent watchpoint events 2019-11-25 20:11:59 +01:00
NativeRegisterContextNetBSD_x86_64.cpp [lldb] Introduce i386 support in NetBSD Process plugin 2020-02-05 13:31:06 +01:00
NativeRegisterContextNetBSD_x86_64.h [lldb] Introduce i386 support in NetBSD Process plugin 2020-02-05 13:31:06 +01:00
NativeThreadNetBSD.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
NativeThreadNetBSD.h [lldb] [Process/NetBSD] Copy watchpoints to newly-created threads 2019-11-25 20:11:59 +01:00