Gdb exited prematurley

Sysprogs forums Forums Analyzer2Go Gdb exited prematurley

This topic contains 1 reply, has 2 voices, and was last updated by  support 4 years, 11 months ago.

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


    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
    GNU gdb (GDB) 7.12
    Copyright (C) 2016 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <;
    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:
    Find the GDB manual and other documentation resources online at:
    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)




    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.