Skip to content

Improve LLDB watchpoints on linux/android for arm/arm64/aarch32/aarch64 targets #26405

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 26031
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @emrekultursay

Extended Description

Following tests fail on arm-linux:

TestWatchLocationWithWatchSet.py
TestStepOverWatchpoint.py

Ptrace interface fails to set read/write watchpoints on single byte variables which are not word aligned.

Following commands fail, in case of TestStepOverWatchpoint:

watchpoint set variable -w read g_watch_me_write

Following commands fail, in case of TestWatchLocationWithWatchSet:

watchpoint set expression -w write -s 1 -- g_char_ptr + 7

Need to do further investigation on how to make sure we can select individual bytes while setting watchpoints on arm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillalldb

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions