Gdb exited prematurley

Sysprogs forums Forums Analyzer2Go Gdb exited prematurley

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11541
    kushagra
    Participant

    I m getting following error when using debugger,

    Device nrf52840:

    Your VisualGDB trial expires in 30 days!
    C:\SysGCC\arm-eabi\bin\arm-eabi-gdb.exe –interpreter mi C:\Users\k.pareek\Documents\visualstudio2017\Projects\EmbeddedProject1\EmbeddedProject1/Debug/EmbeddedProject1.elf
    -gdb-version
    =thread-group-added,id=”i1″
    GNU gdb (GDB) 7.12
    Copyright (C) 2016 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type “show copying”
    and “show warranty” for details.
    This GDB was configured as “–host=i686-pc-mingw32 –target=arm-eabi”.
    Type “show configuration” for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/&gt;.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    For help, type “help”.
    Type “apropos word” to search for commands related to “word”…
    Reading symbols from C:\Users\k.pareek\Documents\visualstudio2017\Projects\EmbeddedProject1\EmbeddedProject1/Debug/EmbeddedProject1.elf…
    Warning: could not set a breakpoint on main. ‘Step into new instance’ will not work.
    vj+z1: GDB session exited prematurely. Please verify that the project is built, the selected GDB binary exists and the working directory is specified correctly.
    at vj.b2()
    at VisualGDB.GDBDebugEngine.d1(rw b, a a)

    #11544
    support
    Keymaster

    Hi,

    This looks like a gdb bug, so our best advice would be to try a different toolchain with a different gdb version. If this does not help, feel free to send us your ELF file so that we could try reproducing this on our side and checking why it crashes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.