Git Product home page Git Product logo

Comments (4)

dunmengjun avatar dunmengjun commented on June 3, 2024

The led-roulette elf file is not in 05-led-roulette folder, it's in microbit floder

\discovery\microbit> arm-none-eabi-gdb target/thumbv7em-none-eabihf/debug/led-roulette

from discovery.

eldruin avatar eldruin commented on June 3, 2024

Fixed in #520

from discovery.

noiseOnTheNet avatar noiseOnTheNet commented on June 3, 2024

I just downloaded the latest commit and still have the same problem.

Any ideas? I completely recompiled the binary by deleting the build directories

I tried with both paths: using symlink and with the two upper directories ../../

BTW
my GDB process writes

Remote debugging using :1337
0xffffffff in ?? ()

instead of what the book says.

The microbit embed process writes the following messages: are they suggesting you anything? Looks like some of the messages from GDB are not understood

    WARN probe_rs_gdb_server::worker > WORKING qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+;memory-tagging+;xmlRegisters=i386
    WARN probe_rs_gdb_server::worker > WORKING vMustReplyEmpty
    WARN probe_rs_gdb_server::worker > WORKING Hg0
    WARN probe_rs_gdb_server::worker > Unknown command: 'Hg0'
    WARN probe_rs_gdb_server::worker > WORKING qTStatus
    WARN probe_rs_gdb_server::worker > Unknown command: 'qTStatus'
    WARN probe_rs_gdb_server::worker > WORKING ?
    WARN probe_rs_gdb_server::worker > WORKING qfThreadInfo
    WARN probe_rs_gdb_server::worker > Unknown command: 'qfThreadInfo'
    WARN probe_rs_gdb_server::worker > WORKING qL1200000000000000000
    WARN probe_rs_gdb_server::worker > Unknown command: 'qL1200000000000000000'
    WARN probe_rs_gdb_server::worker > WORKING Hc-1
    WARN probe_rs_gdb_server::worker > Unknown command: 'Hc-1'
    WARN probe_rs_gdb_server::worker > WORKING qC
    WARN probe_rs_gdb_server::worker > Unknown command: 'qC'
    WARN probe_rs_gdb_server::worker > WORKING qAttached
    WARN probe_rs_gdb_server::worker > WORKING qOffsets
    WARN probe_rs_gdb_server::worker > Unknown command: 'qOffsets'
    WARN probe_rs_gdb_server::worker > WORKING g
    WARN probe_rs_gdb_server::worker > WORKING p8
    WARN probe_rs_gdb_server::worker > WORKING qL1200000000000000000
    WARN probe_rs_gdb_server::worker > Unknown command: 'qL1200000000000000000'
    WARN probe_rs_gdb_server::worker > WORKING qXfer:memory-map:read::0,1000
    WARN probe_rs_gdb_server::worker > WORKING qSymbol::
    WARN probe_rs_gdb_server::worker > Unknown command: 'qSymbol::'

from discovery.

nocommentsgood avatar nocommentsgood commented on June 3, 2024

Not sure about the noise you get after setting the debug target to port 1337, but I fixed this by using 'continue' after setting the breakpoint on main. After issuing 'continue' use 'layout src'.

from discovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.