Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)
The following commands are not affected by the optimization level of the program being debugged:
• attach
• catch
• commands
• continue
• core
• delete
• define
• detach
• disable
• enable *
• file
• forw
• handle *
• help *
• ignore
• kill
• load
• nexti
• path
• quit
• rev
• run
• set args, set env, set <param>
• show args, show <param>
• signal
• source
• stepi
• symbol
• target
• tty
• undisplay
• unset env
• until
Debugging Optimized Code at Various Optimization Levels
The following sections describe debugging optimized code support at each optimization level.
Debugging optimized code 173