This is an archive of the discontinued LLVM Phabricator instance.

Fixed 130 failures (39 left) in x86 test suite on x86_64 host.
ClosedPublic

Authored by chaoren on Feb 13 2015, 4:38 PM.

Details

Summary

Enable x86 register context in NativeThreadLinux.

Send default register number instead of GDB register number in StopReplyPacket.

Using GDB register numbers confuses ProcessGDBRemote since the rest of
LLGS (qRegisterInfo, p, P) uses the default register numbers instead.

Watchpoint debug registers should work in i386 as well.

Small assignment mistake.

Diff Detail

Repository
rL LLVM

Event Timeline

chaoren updated this revision to Diff 19949.Feb 13 2015, 4:38 PM
chaoren retitled this revision from to Fixed 130 failures (39 left) in x86 test suite on x86_64 host..
chaoren updated this object.
chaoren edited the test plan for this revision. (Show Details)
chaoren added reviewers: ovyalov, vharron, sivachandra.
chaoren added a subscriber: Unknown Object (MLST).
vharron accepted this revision.Feb 13 2015, 4:56 PM
vharron edited edge metadata.
This revision is now accepted and ready to land.Feb 13 2015, 4:56 PM
tberghammer accepted this revision.Feb 17 2015, 2:52 AM
tberghammer added a reviewer: tberghammer.
tberghammer added a subscriber: tberghammer.

LGTM

Using default register numbers over the GDB numbers in the StopReplayPacket is required (the same is used in other place of the code) and fixes several issues (some of them also present on x64).

This revision was automatically updated to reflect the committed changes.
clayborg edited edge metadata.Feb 19 2015, 11:22 AM

Looks good