Skip to content

[GDB] Read the BCR register for determining CPU version #43

@shahab-vahedi

Description

@shahab-vahedi

Found in issue. See the comment.

GDB sets disassembly options incorrectly based on insufficient data. It needs the following register to determine the CPU (and hence the correct disassembly option):

micro_arch_build

This probably means that the support for the BCR register has to be added to ptrace and then GDB should ask the remote stub for this value. The remote stub can be GDBserver, or QEMU and nSIM themselves in case of a baremetal application.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions