GDB is an actively used application created in 1986.
- GDB ranks in the top 10% of languages
- the GDB website
- the GDB wikipedia page
- GDB first appeared in 1986
- See also: c, ada, objective-c, free-pascal, fortran, java, arm, atmel-avr, x86-isa, mips, powerpc, sparc, arc-isa, python, guile, freebsd, vim-editor, linux
- I have 45 facts about GDB. just email me if you need more.
Example code from Linguist:
# # MicropendousX LPC17xx Development Board # # http://www.MicropendousX.org # # 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 code from Wikipedia:
GNU gdb (GDB) Fedora (220.127.116.1110722-13.fc16) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> 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: <https://www.gnu.org/software/gdb/bugs/>... Reading symbols from /path/example...done. (gdb) run Starting program: /path/example size of a = 21 [Inferior 1 (process 14290) exited normally]Edit
Last updated February 11th, 2019