arm qemu env, how to use arm-gdb · Issue #1048 · ThrowTheSwitch/Ceedling · GitHub
Skip to content

arm qemu env, how to use arm-gdb #1048

Open

Description

@xiashiwendao

I use ceedling + qemu(arm env), when encounter crash, I encounter the ERROR:

👟 Executing

Running xxx.out...
☠️ ERROR: Test executable test_ewtch.out seems to have crashed -- likely terminating early due to a bad code reference.

Produced some output but contains no final test result counts.
Causes can include: bad memory access, stack overflow, heap error, or bad branch in source or test code.

Running Warnings Report

Generating artifact build/artifacts/test/warnings.log...


FAILED TEST SUMMARY

[test/src/test_ceedling/support/xx/xxx.c]
Test: test_EWTCH_HandleInit
At line (41): "Test case crashed (no usable gdb report)"

So, can I config the ceeding's project.xml, in qemu env, use the gdb to point the error postion?

Activity

  1. JoeLowtech commented on Sep 4, 2026

    @JoeLowtech

    Hello on a host machine you can use :use_backtrace: :gdb in your project.yml to get better error messages. But I am not sure how well this works with qemu.

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