Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GDB disassemble crash #888

Open
Open
@CristiLupascuNXP

Description

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

        AltStyle によって変換されたページ (->オリジナル) /