DOKK / manpages / debian 12 / gdb-avr / avr-gdb.1.en
GDB(1) User Commands GDB(1)

avr-gdb - manual page for avr-gdb (GDB) 12.1

This is the GNU debugger. Usage:

avr-gdb [options] [executable-file [core-file or process-id]] avr-gdb [options] --args executable-file [inferior-arguments ...]

Selection of debuggee and its files:

Arguments after executable-file are passed to inferior.
Analyze the core dump COREFILE.
Use EXECFILE as the executable.
Attach to running process PID.
Search for source files in DIR.
Use FILE as symbol file and executable file.
Read symbols from SYMFILE.
Fully read symbol files on first access.
Do not read symbol files.
Set writing into executable and core files.

Initial commands and command files:

--command=FILE, -x Execute GDB commands from FILE.

Like -x but execute commands before loading inferior.
Execute a single GDB command. May be used multiple times and in conjunction with --command.
Like -ex but before loading inferior.
Do not read ~/.gdbinit.
Do not read any .gdbinit files in any directory.

Output and user interface control:

Output information used by emacs-GDB interface.
Select a specific interpreter / user interface.
Use TTY for input/output by the program being debugged.
Use the GUI interface.
Do not use the GUI interface.
Use a terminal user interface.
DBX compatibility mode.
Do not print version number on startup.

Operating modes:

Exit after processing options.
Like --batch, but suppress all gdb stdout output.
GDB exit code will be the child's exit code.
Print details about GDB configuration and then exit.
Print this message and then exit.
Print version information and then exit.

Remote debugging options:

Set serial port baud rate used for remote debugging.
Set timeout in seconds for remote debugging.

Other options:

Change current directory to DIR.
Set GDB's data-directory to DIR.

At startup, GDB reads the following early init files and executes their commands:

None found.

None found.

For more information, type "help" from within GDB, or consult the GDB manual (available as on-line info or a printed manual).

Report bugs to <https://www.gnu.org/software/gdb/bugs/>.

You can ask GDB-related questions on the GDB users mailing list (gdb@sourceware.org) or on GDB's IRC channel (#gdb on Freenode).

Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://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.

The full documentation for gdb is maintained as a Texinfo manual. If the info and gdb programs are properly installed at your site, the command

info gdb

should give you access to the complete manual.

September 2022 GNU gdb (GDB) 12.1