Skip to content

Symbol not defined when using gdb to debug the kernel. #329

@pppkkkuuu

Description

@pppkkkuuu

I boot the kernel successfully by running make boot, and I run make gdb to connect to the VM. But when I want to set a break point, e.g., break sys_access, break sys_dup2. It says that:
image

When I launched the gdb, it say my gdb is configured for x86_64-linux-gnu, and here is the output when I run show configuration in gdb. I doubt may be I should change the target of my gdb to x86 instead?
image

Metadata

Metadata

Assignees

No one assigned

    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