Skip to content

Allow level parameter in frame #35

@oriolarcas

Description

@oriolarcas

GDB frame command can simultaneously select the stack level and display the frame.

This patch does the same:

define frame
    if $argc == 1
        select-frame $arg0
    end
    info frame
    info args
    info locals
end
document frame
Syntax: frame <LEVEL>
| Print current stack frame, or the LEVEL stack frame.
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions