Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Added recipe for native GDB (still under development) #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added recipe for native GDB (still under development) #12

wants to merge 1 commit into from

Conversation

ericlove
Copy link

You can compile it into the image by adding "gdb" it to core-image-riscv.bb, but it's not yet usable in qemu because of some GDB-internal problem, or possibly because of riscv-linux's ptrace support. I'll work on debugging that, but this recipe is independent of it.

It is, however, still a hack: the recipe acquire's Palmer's fixed-up GDB (https://github.com/riscv/riscv-binutils-gdb/) as part of the larger binutils repo, all of which is downloaded and compiled before GDB itself is extracted and installed. This isn't ideal, but there is no separate GDB repo.

@billasurendra
Copy link

Can any one tell me how to add new recipe for native GDB application debugging purpose.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants