Questions Columns Rows
GitHub icon


GDB - Application

< >

GDB is an open source application created in 1986.

#386on PLDB 37Years Old

Try now: Riju

The GNU Debugger (GDB) is a portable debugger that runs on many Unix-like systems and works for many programming languages, including Ada, C, C++, Objective-C, Free Pascal, Fortran, Java and partially others.. Read more on Wikipedia...

Example from Riju:
p "Hello, world!"
Example from Linguist:
# # MicropendousX LPC17xx Development Board # # # # Connect to a debugger controlling a LPC17xx # and download firmware. # # Start your OpenOCD gdb server before running # this script with: arm-none-eabi-gdb -x gdb_lpc17xx_program.gdb # # Note the 'monitor' command just passes its # arguments to OpenOCD # # This file is released under the MIT License # # Connect to OpenOCD gdb server target remote localhost:3333 # reset the LPC17xx IC with the OpenOCD reset command monitor reset # the following are OpenOCD commands as in OpenOCD_program.script # which will download a hex file into your LPC17xx monitor halt monitor sleep 200 monitor wait_halt monitor flash probe 0 monitor flash info 0 monitor flash write_image erase unlock USBtoSerial.hex monitor sleep 200 monitor reset run monitor exit quit
Example from Wikipedia:
GNU gdb (GDB) Fedora ( Copyright (C) 2011 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 "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <>... Reading symbols from /path/example...done. (gdb) run Starting program: /path/example size of a = 21 [Inferior 1 (process 14290) exited normally]

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Stats Sponsor Traffic Traffic Today Day 280 Logout