Skip to content

GDB disassemble crash #888

@CristiLupascuNXP

Description

@CristiLupascuNXP

Steps:

  1. Download the attached ELF: zephyr.zip
  2. Open GDB using: arm-zephyr-eabi-gdb.exe zephyr.elf
  3. Send the following command: disas arch_tls_stack_setup

Result: GDB closes immediately with exit code 3. No other error messages are printed.

Expected: ARM GNU Toolchain 13.2.Rel1 disassembles the function correctly

Zephyr SDK: Tested with both 0.17.0 and 0.18.0-alpha2
Platform: Windows 10

Additional information

The provided ELF was built with Zephyr hello_world example for Board: NXP LPCXpresso55S69 (CPU0)

The issue occurs constantly with cortex-debug, and is probably related to #609, but the cause is clearly GDB here.
As mentioned above, using a newer GDB from the ARM toolchain fixes this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions