Skip to content

type callback doesn't happen for unsigned long #31

Description

@tehcaster

With the following:

type_callbacks = [ ('unsigned long', 'setup_ulong') ]

setup_ulong() never gets called. The goal was to determine a sizeof. When done in top-level code, sizeof is 4 and not 8.

Activity

  1. added a commit that references this issue on Feb 10, 2019
  2. ptesarik commented on Mar 8, 2019

    @ptesarik
    Contributor

    When done in top-level code, sizeof is 4 and not 8.

    That's because the default gdb target architecture on x86_64 is i386. I wonder if it would be a better idea to determine the architecture earlier using information from kdumpfile.

  3. added a commit that references this issue on Apr 18, 2019
  4. added a commit that references this issue on Apr 22, 2019
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions