Skip to content

How to view the arguments that are passed to a system call? #154

Open

Description

@oscper

By default, when we debug a program inside GDB, it shows the registers, stack and code section as we step into the program. But I want to see the "arguments" section as well which contains the arguments that are passed to a specific system call. I have used the "dumpargs" command, but it didn't work.

What I am interested in is a separate section for "arguments" just like there is a section for registers, stack and code. I want to know what and how many arguments are passed to a specific system call.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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