-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgdb-all-commands.txt
1449 lines (1424 loc) · 101 KB
/
gdb-all-commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Command class: aliases
ni - Step one instruction, but proceed through subroutine calls.
rc - Continue program being debugged but run it in reverse.
rni - Step backward one instruction, but proceed through called subroutines.
rsi - Step backward exactly one instruction.
si - Step one instruction exactly.
stepping - Specify single-stepping behavior at a tracepoint.
tp - Set a tracepoint at specified location.
tty - Set terminal for future runs of program being debugged.
where - Print backtrace of all stack frames, or innermost COUNT frames.
ws - Specify single-stepping behavior at a tracepoint.
Command class: breakpoints
awatch - Set a watchpoint for an expression.
break - Set breakpoint at specified location.
break-range - Set a breakpoint for an address range.
catch - Set catchpoints to catch events.
catch assert - Catch failed Ada assertions, when raised.
catch catch - Catch an exception, when caught.
catch exception - Catch Ada exceptions, when raised.
catch exec - Catch calls to exec.
catch fork - Catch calls to fork.
-Type <RET> for more, q to quit, c to continue without paging-c
catch handlers - Catch Ada exceptions, when handled.
catch load - Catch loads of shared libraries.
catch rethrow - Catch an exception, when rethrown.
catch signal - Catch signals by their names and/or numbers.
catch syscall - Catch system calls by their names, groups and/or numbers.
catch throw - Catch an exception, when thrown.
catch unload - Catch unloads of shared libraries.
catch vfork - Catch calls to vfork.
clear - Clear breakpoint at specified location.
commands - Set commands to be executed when the given breakpoints are hit.
condition - Specify breakpoint number N to break only if COND is true.
delete - Delete all or some breakpoints.
delete bookmark - Delete a bookmark from the bookmark list.
delete breakpoints - Delete all or some breakpoints or auto-display expressions.
delete checkpoint - Delete a checkpoint (experimental).
delete display - Cancel some expressions to be displayed when program stops.
delete mem - Delete memory region.
delete tracepoints - Delete specified tracepoints.
delete tvariable - Delete one or more trace state variables.
disable - Disable all or some breakpoints.
disable breakpoints - Disable all or some breakpoints.
disable display - Disable some expressions to be displayed when program stops.
disable frame-filter - GDB command to disable the specified frame-filter.
disable mem - Disable memory region.
disable pretty-printer - GDB command to disable the specified pretty-printer.
disable probes - Disable probes.
disable type-printer - GDB command to disable the specified type-printer.
disable unwinder - GDB command to disable the specified unwinder.
disable xmethod - GDB command to disable a specified (group of) xmethod(s).
dprintf - Set a dynamic printf at specified location.
enable - Enable all or some breakpoints.
enable breakpoints - Enable all or some breakpoints.
enable breakpoints count - Enable some breakpoints for COUNT hits.
enable breakpoints delete - Enable some breakpoints and delete when hit.
enable breakpoints once - Enable some breakpoints for one hit.
enable count - Enable some breakpoints for COUNT hits.
enable delete - Enable some breakpoints and delete when hit.
enable display - Enable some expressions to be displayed when program stops.
enable frame-filter - GDB command to enable the specified frame-filter.
enable mem - Enable memory region.
enable once - Enable some breakpoints for one hit.
enable pretty-printer - GDB command to enable the specified pretty-printer.
enable probes - Enable probes.
enable type-printer - GDB command to enable the specified type printer.
enable unwinder - GDB command to enable unwinders.
enable xmethod - GDB command to enable a specified (group of) xmethod(s).
ftrace - Set a fast tracepoint at specified location.
hbreak - Set a hardware assisted breakpoint.
ignore - Set ignore-count of breakpoint number N to COUNT.
rbreak - Set a breakpoint for all functions matching REGEXP.
rwatch - Set a read watchpoint for an expression.
save - Save breakpoint definitions as a script.
save breakpoints - Save current breakpoint definitions as a script.
save gdb-index - Save a gdb-index file.
save tracepoints - Save current tracepoint definitions as a script.
skip - Ignore a function while stepping.
skip delete - Delete skip entries.
skip disable - Disable skip entries.
skip enable - Enable skip entries.
skip file - Ignore a file while stepping.
skip function - Ignore a function while stepping.
strace - Set a static tracepoint at location or marker.
tbreak - Set a temporary breakpoint.
tcatch - Set temporary catchpoints to catch events.
tcatch assert - Catch failed Ada assertions, when raised.
tcatch catch - Catch an exception, when caught.
tcatch exception - Catch Ada exceptions, when raised.
tcatch exec - Catch calls to exec.
tcatch fork - Catch calls to fork.
tcatch handlers - Catch Ada exceptions, when handled.
tcatch load - Catch loads of shared libraries.
tcatch rethrow - Catch an exception, when rethrown.
tcatch signal - Catch signals by their names and/or numbers.
tcatch syscall - Catch system calls by their names, groups and/or numbers.
tcatch throw - Catch an exception, when thrown.
tcatch unload - Catch unloads of shared libraries.
tcatch vfork - Catch calls to vfork.
thbreak - Set a temporary hardware assisted breakpoint.
trace - Set a tracepoint at specified location.
watch - Set a watchpoint for an expression.
Command class: data
agent-printf - Target agent only formatted printing, like the C "printf" function.
append - Append target code/data to a local file.
append binary - Append target code/data to a raw binary file.
append binary memory - Append contents of memory to a raw binary file.
append binary value - Append the value of an expression to a raw binary file.
append memory - Append contents of memory to a raw binary file.
append value - Append the value of an expression to a raw binary file.
call - Call a function in the program.
disassemble - Disassemble a specified section of memory.
display - Print value of expression EXP each time the program stops.
dump - Dump target code/data to a local file.
dump binary - Write target code/data to a raw binary file.
dump binary memory - Write contents of memory to a raw binary file.
dump binary value - Write the value of an expression to a raw binary file.
dump ihex - Write target code/data to an intel hex file.
dump ihex memory - Write contents of memory to an ihex file.
dump ihex value - Write the value of an expression to an ihex file.
dump memory - Write contents of memory to a raw binary file.
dump srec - Write target code/data to an srec file.
dump srec memory - Write contents of memory to an srec file.
dump srec value - Write the value of an expression to an srec file.
dump tekhex - Write target code/data to a tekhex file.
dump tekhex memory - Write contents of memory to a tekhex file.
dump tekhex value - Write the value of an expression to a tekhex file.
dump value - Write the value of an expression to a raw binary file.
dump verilog - Write target code/data to a verilog hex file.
dump verilog memory - Write contents of memory to a verilog hex file.
dump verilog value - Write the value of an expression to a verilog hex file.
explore - Explore a value or a type valid in the current context.
explore type - Explore a type or the type of an expression.
explore value - Explore value of an expression valid in the current context.
find - Search memory for a sequence of bytes.
init-if-undefined - Initialize a convenience variable if necessary.
mem - Define attributes for memory region or reset memory region handling to target-based.
output - Like "print" but don't put in value history and don't print newline.
print - Print value of expression EXP.
print-object - Ask an Objective-C object to print itself.
printf - Formatted printing, like the C "printf" function.
ptype - Print definition of type TYPE.
restore - Restore the contents of FILE to target memory.
set - Evaluate expression EXP and assign result to variable VAR.
set ada - Prefix command for changing Ada-specific settings.
set ada print-signatures - Enable or disable the output of formal and return types for functions in the overloads selection menu.
set ada trust-PAD-over-XVS - Enable or disable an optimization trusting PAD types over XVS types.
set agent - Set debugger's willingness to use agent as a helper.
set annotate - Set annotation_level.
set architecture - Set architecture of target.
set args - Set argument list to give program being debugged when it is started.
set auto-connect-native-target - Set whether GDB may automatically connect to the native target.
set auto-load - Auto-loading specific settings.
set auto-load gdb-scripts - Enable or disable auto-loading of canned sequences of commands scripts.
set auto-load libthread-db - Enable or disable auto-loading of inferior specific libthread_db.
set auto-load local-gdbinit - Enable or disable auto-loading of .gdbinit script in current directory.
set auto-load python-scripts - Set the debugger's behaviour regarding auto-loaded Python scripts.
set auto-load safe-path - Set the list of files and directories that are safe for auto-loading.
set auto-load scripts-directory - Set the list of directories from which to load auto-loaded scripts.
set auto-solib-add - Set autoloading of shared library symbols.
set backtrace - Set backtrace specific variables.
set backtrace limit - Set an upper bound on the number of backtrace levels.
set backtrace past-entry - Set whether backtraces should continue past the entry point of a program.
set backtrace past-main - Set whether backtraces should continue past "main".
set basenames-may-differ - Set whether a source file may have multiple base names.
set breakpoint - Breakpoint specific settings.
set breakpoint always-inserted - Set mode for inserting breakpoints.
set breakpoint auto-hw - Set automatic usage of hardware breakpoints.
set breakpoint condition-evaluation - Set mode of breakpoint condition evaluation.
set breakpoint pending - Set debugger's behavior regarding pending breakpoints.
set can-use-hw-watchpoints - Set debugger's willingness to use watchpoint hardware.
set case-sensitive - Set case sensitivity in name search (on/off/auto).
set charset - Set the host and target character sets.
set check - Set the status of the type/range checker.
set check range - Set range checking (on/warn/off/auto).
set check type - Set strict type checking.
set circular-trace-buffer - Set target's use of circular trace buffer.
set code-cache - Set cache use for code segment access.
set coerce-float-to-double - Set coercion of floats to doubles when calling functions.
set compile-args - Set compile command GCC command-line arguments.
set compile-gcc - Set compile command GCC driver filename.
set complaints - Set max number of complaints about incorrect symbols.
set confirm - Set whether to confirm potentially dangerous operations.
set cp-abi - Set the ABI used for inspecting C++ objects.
set cwd - Set the current working directory to be used when the inferior is started.
set data-directory - Set GDB's data directory.
set dcache - Use this command to set number of lines in dcache and line-size.
set dcache line-size - Set dcache line size in bytes (must be power of 2).
set dcache size - Set number of dcache lines.
set debug - Generic command for setting gdb debugging flags.
set debug arch - Set architecture debugging.
set debug auto-load - Set auto-load verifications debugging.
set debug bfd-cache - Set bfd cache debugging.
set debug check-physname - Set cross-checking of "physname" code against demangler.
set debug coff-pe-read - Set coff PE read debugging.
set debug compile - Set compile command debugging.
set debug compile-cplus-scopes - Set debugging of C++ compile scopes.
set debug compile-cplus-types - Set debugging of C++ compile type conversion.
set debug displaced - Set displaced stepping debugging.
set debug dwarf-die - Set debugging of the DWARF DIE reader.
set debug dwarf-line - Set debugging of the dwarf line reader.
set debug dwarf-read - Set debugging of the DWARF reader.
set debug entry-values - Set entry values and tail call frames debugging.
set debug expression - Set expression debugging.
set debug frame - Set frame debugging.
set debug index-cache - Set display of index-cache debug messages.
set debug infrun - Set inferior debugging.
set debug jit - Set JIT debugging.
set debug libthread-db - Set libthread-db debugging.
set debug lin-lwp - Set debugging of GNU/Linux lwp module.
set debug linux-namespaces - Set debugging of GNU/Linux namespaces module.
set debug notification - Set debugging of async remote notification.
set debug observer - Set observer debugging.
set debug overload - Set debugging of C++ overloading.
set debug parser - Set parser debugging.
set debug py-unwind - Set Python unwinder debugging.
set debug record - Set debugging of record/replay feature.
set debug remote - Set debugging of remote protocol.
set debug remote-packet-max-chars - Set the maximum number of characters to display for each remote packet.
set debug separate-debug-file - Set printing of separate debug info file search debug.
set debug serial - Set serial debugging.
set debug skip - Set whether to print the debug output about skipping files and functions.
set debug stap-expression - Set SystemTap expression debugging.
set debug symbol-lookup - Set debugging of symbol lookup.
set debug symfile - Set debugging of the symfile functions.
set debug symtab-create - Set debugging of symbol table creation.
set debug target - Set target debugging.
set debug timestamp - Set timestamping of debugging messages.
set debug varobj - Set varobj debugging.
set debug xml - Set XML parser debugging.
set debug-file-directory - Set the directories where separate debug symbols are searched for.
set default-collect - Set the list of expressions to collect by default.
set demangle-style - Set the current C++ demangling style.
set detach-on-fork - Set whether gdb will detach the child of a fork.
set directories - Set the search path for finding source files.
set disable-randomization - Set disabling of debuggee's virtual address space randomization.
set disassemble-next-line - Set whether to disassemble next source line or insn when execution stops.
set disassembler-options - Set the disassembler options.
set disassembly-flavor - Set the disassembly flavor.
set disconnected-dprintf - Set whether dprintf continues after GDB disconnects.
set disconnected-tracing - Set whether tracing continues after GDB disconnects.
set displaced-stepping - Set debugger's willingness to use displaced stepping.
set dprintf-channel - Set the channel to use for dynamic printf.
set dprintf-function - Set the function to use for dynamic printf.
set dprintf-style - Set the style of usage for dynamic printf.
set dump-excluded-mappings - Set whether gcore should dump mappings marked with the VM_DONTDUMP flag.
set editing - Set editing of command lines as they are typed.
set endian - Set endianness of target.
set environment - Set environment variable value to give the program.
set exec-direction - Set direction of execution.
set exec-done-display - Set notification of completion for asynchronous execution commands.
set exec-wrapper - Set a wrapper for running programs.
set extended-prompt - Set the extended prompt.
set extension-language - Set mapping between filename extension and source language.
set filename-display - Set how to display filenames.
set follow-exec-mode - Set debugger response to a program call of exec.
set follow-fork-mode - Set debugger response to a program call of fork or vfork.
set frame-filter - Prefix command for 'set' frame-filter related operations.
set frame-filter priority - GDB command to set the priority of the specified frame-filter.
set gnutarget - Set the current BFD target.
set guile - Prefix command for Guile preference settings.
set guile print-stack - Set mode for Guile exception printing on error.
set height - Set number of lines in a page for GDB output pagination.
set history - Generic command for setting command history parameters.
set history expansion - Set history expansion on command input.
set history filename - Set the filename in which to record the command history.
set history remove-duplicates - Set how far back in history to look for and remove duplicate entries.
set history save - Set saving of the history record on exit.
set history size - Set the size of the command history.
set host-charset - Set the host character set.
set index-cache - Set index-cache options.
set index-cache directory - Set the directory of the index cache.
set index-cache off - Disable the index cache.
set index-cache on - Enable the index cache.
set inferior-tty - Set terminal for future runs of program being debugged.
set input-radix - Set default input radix for entering numbers.
set interactive-mode - Set whether GDB's standard input is a terminal.
set language - Set the current source language.
set libthread-db-search-path - Set search path for libthread_db.
set listsize - Set number of source lines gdb will list by default.
set logging - Set logging options.
set logging debugredirect - Set the logging debug output mode.
set logging file - Set the current logfile.
set logging off - Disable logging.
set logging on - Enable logging.
set logging overwrite - Set whether logging overwrites or appends to the log file.
set logging redirect - Set the logging output mode.
set max-completions - Set maximum number of completion candidates.
set max-user-call-depth - Set the max call depth for non-python/scheme user-defined commands.
set max-value-size - Set maximum sized value gdb will load from the inferior.
set may-call-functions - Set permission to call functions in the program.
set may-insert-breakpoints - Set permission to insert breakpoints in the target.
set may-insert-fast-tracepoints - Set permission to insert fast tracepoints in the target.
set may-insert-tracepoints - Set permission to insert tracepoints in the target.
set may-interrupt - Set permission to interrupt or signal the target.
set may-write-memory - Set permission to write into target memory.
set may-write-registers - Set permission to write into registers.
set mem - Memory regions settings.
set mem inaccessible-by-default - Set handling of unknown memory regions.
set mi-async - Set whether MI asynchronous mode is enabled.
set mpx - Set Intel Memory Protection Extensions specific variables.
set mpx bound - Set the memory bounds for a given array/pointer storage in the bound table.
set multiple-symbols - Set how the debugger handles ambiguities in expressions.
set non-stop - Set whether gdb controls the inferior in non-stop mode.
set observer - Set whether gdb controls the inferior in observer mode.
set opaque-type-resolution - Set resolution of opaque struct/class/union types (if set before loading symbols).
set osabi - Set OS ABI of target.
set output-radix - Set default output radix for printing of values.
set overload-resolution - Set overload resolution in evaluating C++ functions.
set pagination - Set state of GDB output pagination.
set print - Generic command for setting how things print.
set print address - Set printing of addresses.
set print array - Set pretty formatting of arrays.
set print array-indexes - Set printing of array indexes.
set print asm-demangle - Set demangling of C++/ObjC names in disassembly listings.
set print demangle - Set demangling of encoded C++/ObjC names when displaying symbols.
set print elements - Set limit on string chars or array elements to print.
set print entry-values - Set printing of function arguments at function entry.
set print finish - Set whether `finish' prints the return value.
set print frame-arguments - Set printing of non-scalar frame arguments.
set print frame-info - Set printing of frame information.
set print inferior-events - Set printing of inferior events (such as inferior start and exit).
set print max-depth - Set maximum print depth for nested structures, unions and arrays.
set print max-symbolic-offset - Set the largest offset that will be printed in <SYMBOL+1234> form.
set print null-stop - Set printing of char arrays to stop at first null char.
set print object - Set printing of C++ virtual function tables.
set print pascal_static-members - Set printing of pascal static members.
set print pretty - Set pretty formatting of structures.
set print raw-frame-arguments - Set whether to print frame arguments in raw form.
set print raw-values - Set whether to print values in raw form.
set print repeats - Set threshold for repeated print elements.
set print sevenbit-strings - Set printing of 8-bit characters in strings as \nnn.
set print static-members - Set printing of C++ static members.
set print symbol - Set printing of symbol names when printing pointers.
set print symbol-filename - Set printing of source filename and line number with <SYMBOL>.
set print symbol-loading - Set printing of symbol loading messages.
set print thread-events - Set printing of thread events (such as thread start and exit).
set print type - Generic command for setting how types print.
set print type methods - Set printing of methods defined in classes.
set print type nested-type-limit - Set the number of recursive nested type definitions to print ("unlimited" or -1 to show all).
set print type typedefs - Set printing of typedefs defined in classes.
set print union - Set printing of unions interior to structures.
set print vtbl - Set printing of C++ virtual function tables.
set prompt - Set gdb's prompt.
set python - Prefix command for python preference settings.
set python print-stack - Set mode for Python stack dump on error.
set radix - Set default input and output number radices.
set range-stepping - Enable or disable range stepping.
set record - Set record options.
set record btrace - Set record options.
set record btrace bts - Set record btrace bts options.
set record btrace bts buffer-size - Set the record/replay bts buffer size.
set record btrace cpu - Set the cpu to be used for trace decode.
set record btrace cpu auto - Automatically determine the cpu to be used for trace decode.
set record btrace cpu none - Do not enable errata workarounds for trace decode.
set record btrace pt - Set record btrace pt options.
set record btrace pt buffer-size - Set the record/replay pt buffer size.
set record btrace replay-memory-access - Set what memory accesses are allowed during replay.
set record full - Set record options.
set record full insn-number-max - Set record/replay buffer limit.
set record full memory-query - Set whether query if PREC cannot record memory change of next instruction.
set record full stop-at-limit - Set whether record/replay stops when record/replay buffer becomes full.
set record function-call-history-size - Set number of function to print in "record function-call-history".
set record instruction-history-size - Set number of instructions to print in "record instruction-history".
set remote - Remote protocol specific variables.
set remote P-packet - Set use of remote protocol `P' (set-register) packet.
set remote TracepointSource-packet - Set use of remote protocol `TracepointSource' (TracepointSource) packet.
set remote X-packet - Set use of remote protocol `X' (binary-download) packet.
set remote Z-packet - Set use of remote protocol `Z' packets.
set remote access-watchpoint-packet - Set use of remote protocol `Z4' (access-watchpoint) packet.
set remote agent-packet - Set use of remote protocol `QAgent' (agent) packet.
set remote allow-packet - Set use of remote protocol `QAllow' (allow) packet.
set remote attach-packet - Set use of remote protocol `vAttach' (attach) packet.
set remote binary-download-packet - Set use of remote protocol `X' (binary-download) packet.
set remote breakpoint-commands-packet - Set use of remote protocol `BreakpointCommands' (breakpoint-commands) packet.
set remote btrace-conf-bts-size-packet - Set use of remote protocol `Qbtrace-conf:bts:size' (btrace-conf-bts-size) packet.
set remote btrace-conf-pt-size-packet - Set use of remote protocol `Qbtrace-conf:pt:size' (btrace-conf-pt-size) packet.
set remote catch-syscalls-packet - Set use of remote protocol `QCatchSyscalls' (catch-syscalls) packet.
set remote conditional-breakpoints-packet - Set use of remote protocol `ConditionalBreakpoints' (conditional-breakpoints) packet.
set remote conditional-tracepoints-packet - Set use of remote protocol `ConditionalTracepoints' (conditional-tracepoints) packet.
set remote ctrl-c-packet - Set use of remote protocol `vCtrlC' (ctrl-c) packet.
set remote disable-btrace-packet - Set use of remote protocol `Qbtrace:off' (disable-btrace) packet.
set remote disable-randomization-packet - Set use of remote protocol `QDisableRandomization' (disable-randomization) packet.
set remote enable-btrace-bts-packet - Set use of remote protocol `Qbtrace:bts' (enable-btrace-bts) packet.
set remote enable-btrace-pt-packet - Set use of remote protocol `Qbtrace:pt' (enable-btrace-pt) packet.
set remote environment-hex-encoded-packet - Set use of remote protocol `QEnvironmentHexEncoded' (environment-hex-encoded) packet.
set remote environment-reset-packet - Set use of remote protocol `QEnvironmentReset' (environment-reset) packet.
set remote environment-unset-packet - Set use of remote protocol `QEnvironmentUnset' (environment-unset) packet.
set remote exec-event-feature-packet - Set use of remote protocol `exec-event-feature' (exec-event-feature) packet.
set remote exec-file - Set the remote pathname for "run".
set remote fast-tracepoints-packet - Set use of remote protocol `FastTracepoints' (fast-tracepoints) packet.
set remote fetch-register-packet - Set use of remote protocol `p' (fetch-register) packet.
set remote fork-event-feature-packet - Set use of remote protocol `fork-event-feature' (fork-event-feature) packet.
set remote get-thread-information-block-address-packet - Set use of remote protocol `qGetTIBAddr' (get-thread-information-block-address) packet.
set remote get-thread-local-storage-address-packet - Set use of remote protocol `qGetTLSAddr' (get-thread-local-storage-address) packet.
set remote hardware-breakpoint-limit - Set the maximum number of target hardware breakpoints.
set remote hardware-breakpoint-packet - Set use of remote protocol `Z1' (hardware-breakpoint) packet.
set remote hardware-watchpoint-length-limit - Set the maximum length (in bytes) of a target hardware watchpoint.
set remote hardware-watchpoint-limit - Set the maximum number of target hardware watchpoints.
set remote hostio-close-packet - Set use of remote protocol `vFile:close' (hostio-close) packet.
set remote hostio-fstat-packet - Set use of remote protocol `vFile:fstat' (hostio-fstat) packet.
set remote hostio-open-packet - Set use of remote protocol `vFile:open' (hostio-open) packet.
set remote hostio-pread-packet - Set use of remote protocol `vFile:pread' (hostio-pread) packet.
set remote hostio-pwrite-packet - Set use of remote protocol `vFile:pwrite' (hostio-pwrite) packet.
set remote hostio-readlink-packet - Set use of remote protocol `vFile:readlink' (hostio-readlink) packet.
set remote hostio-setfs-packet - Set use of remote protocol `vFile:setfs' (hostio-setfs) packet.
set remote hostio-unlink-packet - Set use of remote protocol `vFile:unlink' (hostio-unlink) packet.
set remote hwbreak-feature-packet - Set use of remote protocol `hwbreak-feature' (hwbreak-feature) packet.
set remote install-in-trace-packet - Set use of remote protocol `InstallInTrace' (install-in-trace) packet.
set remote interrupt-on-connect - Set whether interrupt-sequence is sent to remote target when gdb connects to.
set remote interrupt-sequence - Set interrupt sequence to remote target.
set remote kill-packet - Set use of remote protocol `vKill' (kill) packet.
set remote library-info-packet - Set use of remote protocol `qXfer:libraries:read' (library-info) packet.
set remote library-info-svr4-packet - Set use of remote protocol `qXfer:libraries-svr4:read' (library-info-svr4) packet.
set remote memory-map-packet - Set use of remote protocol `qXfer:memory-map:read' (memory-map) packet.
set remote memory-read-packet-size - Set the maximum number of bytes per memory-read packet.
set remote memory-write-packet-size - Set the maximum number of bytes per memory-write packet.
set remote multiprocess-feature-packet - Set use of remote protocol `multiprocess-feature' (multiprocess-feature) packet.
set remote no-resumed-stop-reply-packet - Set use of remote protocol `N stop reply' (no-resumed-stop-reply) packet.
set remote noack-packet - Set use of remote protocol `QStartNoAckMode' (noack) packet.
set remote osdata-packet - Set use of remote protocol `qXfer:osdata:read' (osdata) packet.
set remote p-packet - Set use of remote protocol `p' (fetch-register) packet.
set remote pass-signals-packet - Set use of remote protocol `QPassSignals' (pass-signals) packet.
set remote pid-to-exec-file-packet - Set use of remote protocol `qXfer:exec-file:read' (pid-to-exec-file) packet.
set remote program-signals-packet - Set use of remote protocol `QProgramSignals' (program-signals) packet.
set remote query-attached-packet - Set use of remote protocol `qAttached' (query-attached) packet.
set remote read-aux-vector-packet - Set use of remote protocol `qXfer:auxv:read' (read-aux-vector) packet.
set remote read-btrace-conf-packet - Set use of remote protocol `qXfer:btrace-conf' (read-btrace-conf) packet.
set remote read-btrace-packet - Set use of remote protocol `qXfer:btrace' (read-btrace) packet.
set remote read-fdpic-loadmap-packet - Set use of remote protocol `qXfer:fdpic:read' (read-fdpic-loadmap) packet.
set remote read-sdata-object-packet - Set use of remote protocol `qXfer:statictrace:read' (read-sdata-object) packet.
set remote read-siginfo-object-packet - Set use of remote protocol `qXfer:siginfo:read' (read-siginfo-object) packet.
set remote read-watchpoint-packet - Set use of remote protocol `Z3' (read-watchpoint) packet.
set remote reverse-continue-packet - Set use of remote protocol `bc' (reverse-continue) packet.
set remote reverse-step-packet - Set use of remote protocol `bs' (reverse-step) packet.
set remote run-packet - Set use of remote protocol `vRun' (run) packet.
set remote search-memory-packet - Set use of remote protocol `qSearch:memory' (search-memory) packet.
set remote set-register-packet - Set use of remote protocol `P' (set-register) packet.
set remote set-working-dir-packet - Set use of remote protocol `QSetWorkingDir' (set-working-dir) packet.
set remote software-breakpoint-packet - Set use of remote protocol `Z0' (software-breakpoint) packet.
set remote startup-with-shell-packet - Set use of remote protocol `QStartupWithShell' (startup-with-shell) packet.
set remote static-tracepoints-packet - Set use of remote protocol `StaticTracepoints' (static-tracepoints) packet.
set remote supported-packets-packet - Set use of remote protocol `qSupported' (supported-packets) packet.
set remote swbreak-feature-packet - Set use of remote protocol `swbreak-feature' (swbreak-feature) packet.
set remote symbol-lookup-packet - Set use of remote protocol `qSymbol' (symbol-lookup) packet.
set remote system-call-allowed - Set if the host system(3) call is allowed for the target.
set remote target-features-packet - Set use of remote protocol `qXfer:features:read' (target-features) packet.
set remote thread-events-packet - Set use of remote protocol `QThreadEvents' (thread-events) packet.
set remote threads-packet - Set use of remote protocol `qXfer:threads:read' (threads) packet.
set remote trace-buffer-size-packet - Set use of remote protocol `QTBuffer:size' (trace-buffer-size) packet.
set remote trace-status-packet - Set use of remote protocol `qTStatus' (trace-status) packet.
set remote traceframe-info-packet - Set use of remote protocol `qXfer:traceframe-info:read' (traceframe-info) packet.
set remote unwind-info-block-packet - Set use of remote protocol `qXfer:uib:read' (unwind-info-block) packet.
set remote verbose-resume-packet - Set use of remote protocol `vCont' (verbose-resume) packet.
set remote verbose-resume-supported-packet - Set use of remote protocol `vContSupported' (verbose-resume-supported) packet.
set remote vfork-event-feature-packet - Set use of remote protocol `vfork-event-feature' (vfork-event-feature) packet.
set remote write-siginfo-object-packet - Set use of remote protocol `qXfer:siginfo:write' (write-siginfo-object) packet.
set remote write-watchpoint-packet - Set use of remote protocol `Z2' (write-watchpoint) packet.
set remoteaddresssize - Set the maximum size of the address (in bits) in a memory packet.
set remotecache - Set cache use for remote targets.
set remoteflow - Set use of hardware flow control for remote serial I/O.
set remotelogbase - Set numerical base for remote session logging.
set remotelogfile - Set filename for remote session recording.
set remotetimeout - Set timeout limit to wait for target to respond.
set remotewritesize - Set the maximum number of bytes per memory write packet (deprecated).
set schedule-multiple - Set mode for resuming threads of all processes.
set scheduler-locking - Set mode for locking scheduler during execution.
set script-extension - Set mode for script filename extension recognition.
set serial - Set default serial/parallel port configuration.
set serial baud - Set baud rate for remote serial I/O.
set serial parity - Set parity for remote serial I/O.
set solib-absolute-prefix - Set an alternate system root.
set solib-search-path - Set the search path for loading non-absolute shared library symbol files.
set stack-cache - Set cache use for stack access.
set startup-with-shell - Set use of shell to start subprocesses. The default is on.
set step-mode - Set mode of the step operation.
set stop-on-solib-events - Set stopping for shared library events.
set struct-convention - Set the convention for returning small structs.
set style - Style-specific settings.
set style address - Address display styling.
set style address background - Set the background color for this property.
set style address foreground - Set the foreground color for this property.
set style address intensity - Set the display intensity for this property.
set style enabled - Set whether CLI styling is enabled.
set style filename - Filename display styling.
set style filename background - Set the background color for this property.
set style filename foreground - Set the foreground color for this property.
set style filename intensity - Set the display intensity for this property.
set style function - Function name display styling.
set style function background - Set the background color for this property.
set style function foreground - Set the foreground color for this property.
set style function intensity - Set the display intensity for this property.
set style highlight - Highlight display styling.
set style highlight background - Set the background color for this property.
set style highlight foreground - Set the foreground color for this property.
set style highlight intensity - Set the display intensity for this property.
set style metadata - Metadata display styling.
set style metadata background - Set the background color for this property.
set style metadata foreground - Set the foreground color for this property.
set style metadata intensity - Set the display intensity for this property.
set style sources - Set whether source code styling is enabled.
set style title - Title display styling.
set style title background - Set the background color for this property.
set style title foreground - Set the foreground color for this property.
set style title intensity - Set the display intensity for this property.
set style tui-active-border - TUI active border display styling.
set style tui-active-border background - Set the background color for this property.
set style tui-active-border foreground - Set the foreground color for this property.
set style tui-border - TUI border display styling.
set style tui-border background - Set the background color for this property.
set style tui-border foreground - Set the foreground color for this property.
set style variable - Variable name display styling.
set style variable background - Set the background color for this property.
set style variable foreground - Set the foreground color for this property.
set style variable intensity - Set the display intensity for this property.
set substitute-path - Add a substitution rule to rewrite the source directories.
set sysroot - Set an alternate system root.
set target-charset - Set the target character set.
set target-file-system-kind - Set assumed file system kind for target reported file names.
set target-wide-charset - Set the target wide character set.
set tcp - TCP protocol specific variables.
set tcp auto-retry - Set auto-retry on socket connect.
set tcp connect-timeout - Set timeout limit in seconds for socket connection.
set tdesc - Set target description specific variables.
set tdesc filename - Set the file to read for an XML target description.
set trace-buffer-size - Set requested size of trace buffer.
set trace-commands - Set tracing of GDB CLI commands.
set trace-notes - Set notes string to use for current and future trace runs.
set trace-stop-notes - Set notes string to use for future tstop commands.
set trace-user - Set the user name to use for current and future trace runs.
set trust-readonly-sections - Set mode for reading from readonly sections.
set tui - TUI configuration variables.
set tui active-border-mode - Set the attribute mode to use for the active TUI window border.
set tui border-kind - Set the kind of border for TUI windows.
set tui border-mode - Set the attribute mode to use for the TUI window borders.
set tui compact-source - Set whether the TUI source window is compact.
set tui tab-width - Set the tab width, in characters, for the TUI.
set unwind-on-terminating-exception - Set unwinding of stack if std::terminate is called while in call dummy.
set unwindonsignal - Set unwinding of stack if a signal is received while in a call dummy.
set use-coredump-filter - Set whether gcore should consider /proc/PID/coredump_filter.
set use-deprecated-index-sections - Set whether to use deprecated gdb_index sections.
set var - Evaluate expression EXP and assign result to variable VAR.
set variable - Evaluate expression EXP and assign result to variable VAR.
set varsize-limit - Set the maximum number of bytes allowed in a variable-size object.
set verbose - Set verbosity.
set watchdog - Set watchdog timer.
set width - Set number of characters where GDB should wrap lines of its output.
set write - Set writing into executable and core files.
undisplay - Cancel some expressions to be displayed when program stops.
whatis - Print data type of expression EXP.
with - Temporarily set SETTING to VALUE, run COMMAND, and restore SETTING.
x - Examine memory: x/FMT ADDRESS.
Command class: files
add-symbol-file - Load symbols from FILE, assuming FILE has been dynamically loaded.
add-symbol-file-from-memory - Load the symbols out of memory from a dynamically loaded object file.
cd - Set working directory to DIR for debugger.
core-file - Use FILE as core dump for examining memory and registers.
directory - Add directory DIR to beginning of search path for source files.
edit - Edit specified file or function.
exec-file - Use FILE as program for getting contents of pure memory.
file - Use FILE as program to be debugged.
forward-search - Search for regular expression (see regex(3)) from last line listed.
generate-core-file - Save a core file with the current state of the debugged process.
list - List specified function or line.
load - Dynamically load FILE into the running program.
nosharedlibrary - Unload all shared object library symbols.
path - Add directory DIR(s) to beginning of search path for object files.
pwd - Print working directory.
remote - Manipulate files on the remote system.
remote delete - Delete a remote file.
remote get - Copy a remote file to the local system.
remote put - Copy a local file to the remote system.
remove-symbol-file - Remove a symbol file added via the add-symbol-file command.
reverse-search - Search backward for regular expression (see regex(3)) from last line listed.
search - Search for regular expression (see regex(3)) from last line listed.
section - Change the base address of section SECTION of the exec file to ADDR.
sharedlibrary - Load shared object library symbols for files matching REGEXP.
symbol-file - Load symbol table from executable file FILE.
Command class: internals
flushregs - Force gdb to flush its register cache (maintainer command).
maintenance - Commands for use by GDB maintainers.
maintenance agent - Translate an expression into remote agent bytecode for tracing.
maintenance agent-eval - Translate an expression into remote agent bytecode for evaluation.
maintenance agent-printf - Translate an expression into remote agent bytecode for evaluation and display the bytecodes.
maintenance btrace - Branch tracing maintenance commands.
maintenance btrace clear - Clears the branch tracing data.
maintenance btrace clear-packet-history - Clears the branch tracing packet history.
maintenance btrace packet-history - Print the raw branch tracing data.
maintenance check - Commands for checking internal gdb state.
maintenance check libthread-db - Run integrity checks on the current inferior's libthread_db.
maintenance check xml-descriptions - Check equality of GDB target descriptions and XML created descriptions.
maintenance check-psymtabs - Check consistency of currently expanded psymtabs versus symtabs.
maintenance check-symtabs - Check consistency of currently expanded symtabs.
maintenance cplus - C++ maintenance commands.
maintenance cplus first_component - Print the first class/namespace component of NAME.
maintenance demangler-warning - Give GDB a demangler warning.
maintenance deprecate - Deprecate a command (for testing purposes).
maintenance dump-me - Get fatal error; make debugger dump its core.
maintenance expand-symtabs - Expand symbol tables.
maintenance flush-symbol-cache - Flush the symbol cache for each program space.
maintenance info - Commands for showing internal info about the program being debugged.
maintenance info bfds - List the BFDs that are currently open.
maintenance info breakpoints - Status of all breakpoints, or breakpoint number NUMBER.
maintenance info btrace - Info about branch tracing data.
maintenance info line-table - List the contents of all line tables, from all symbol tables.
maintenance info program-spaces - Info about currently known program spaces.
maintenance info psymtabs - List the partial symbol tables for all object files.
maintenance info sections - List the BFD sections of the exec and core files.
maintenance info selftests - List the registered selftests.
maintenance info symtabs - List the full symbol tables for all object files.
maintenance internal-error - Give GDB an internal error.
maintenance internal-warning - Give GDB an internal warning.
maintenance packet - Send an arbitrary packet to a remote target.
maintenance print - Maintenance command for printing GDB internal state.
maintenance print architecture - Print the internal architecture configuration.
maintenance print c-tdesc - Print the current target description as a C source file.
maintenance print cooked-registers - Print the internal register configuration including cooked values.
maintenance print dummy-frames - Print the contents of the internal dummy-frame stack.
maintenance print msymbols - Print dump of current minimal symbol definitions.
maintenance print objfiles - Print dump of current object file definitions.
maintenance print psymbols - Print dump of current partial symbol definitions.
maintenance print raw-registers - Print the internal register configuration including raw values.
maintenance print reggroups - Print the internal register group names.
maintenance print register-groups - Print the internal register configuration including each register's group.
maintenance print registers - Print the internal register configuration.
maintenance print remote-registers - Print the internal register configuration including remote register number and g/G packets offset.
maintenance print statistics - Print statistics about internal gdb state.
maintenance print symbol-cache - Dump the symbol cache for each program space.
maintenance print symbol-cache-statistics - Print symbol cache statistics for each program space.
maintenance print symbols - Print dump of current symbol definitions.
maintenance print target-stack - Print the name of each layer of the internal target stack.
maintenance print type - Print a type chain for a given symbol.
maintenance print user-registers - List the names of the current user registers.
maintenance selftest - Run gdb's unit tests.
maintenance set - Set GDB internal variables used by the GDB maintainer.
maintenance set ada - Set Ada maintenance-related variables.
maintenance set ada ignore-descriptive-types - Set whether descriptive types generated by GNAT should be ignored.
maintenance set bfd-sharing - Set whether gdb will share bfds that appear to be the same file.
maintenance set btrace - Set branch tracing specific variables.
maintenance set btrace pt - Set Intel Processor Trace specific variables.
maintenance set btrace pt skip-pad - Set whether PAD packets should be skipped in the btrace packet history.
maintenance set catch-demangler-crashes - Set whether to attempt to catch demangler crashes.
maintenance set check-libthread-db - Set whether to check libthread_db at load time.
maintenance set demangler-warning - Configure what GDB does when demangler-warning is detected.
maintenance set demangler-warning quit - Set whether GDB should quit when an demangler-warning is detected.
maintenance set dwarf - Set DWARF specific variables.
maintenance set dwarf always-disassemble - Set whether `info address' always disassembles DWARF expressions.
maintenance set dwarf max-cache-age - Set the upper bound on the age of cached DWARF compilation units.
maintenance set dwarf unwinders - Set whether the DWARF stack frame unwinders are used.
maintenance set internal-error - Configure what GDB does when internal-error is detected.
maintenance set internal-error corefile - Set whether GDB should create a core file of GDB when internal-error is detected.
maintenance set internal-error quit - Set whether GDB should quit when an internal-error is detected.
maintenance set internal-warning - Configure what GDB does when internal-warning is detected.
maintenance set internal-warning corefile - Set whether GDB should create a core file of GDB when internal-warning is detected.
maintenance set internal-warning quit - Set whether GDB should quit when an internal-warning is detected.
maintenance set per-command - Per-command statistics settings.
maintenance set per-command space - Set whether to display per-command space usage.
maintenance set per-command symtab - Set whether to display per-command symtab statistics.
maintenance set per-command time - Set whether to display per-command execution time.
maintenance set profile - Set internal profiling.
maintenance set show-debug-regs - Set whether to show variables that mirror the x86 debug registers.
maintenance set symbol-cache-size - Set the size of the symbol cache.
maintenance set target-async - Set whether gdb controls the inferior in asynchronous mode.
maintenance set target-non-stop - Set whether gdb always controls the inferior in non-stop mode.
maintenance set test-settings - Set GDB internal variables used for set/show command infrastructure testing.
maintenance set test-settings auto-boolean - command used for internal testing.
maintenance set test-settings boolean - command used for internal testing.
maintenance set test-settings enum - command used for internal testing.
maintenance set test-settings filename - command used for internal testing.
maintenance set test-settings integer - command used for internal testing.
maintenance set test-settings optional-filename - command used for internal testing.
maintenance set test-settings string - command used for internal testing.
maintenance set test-settings string-noescape - command used for internal testing.
maintenance set test-settings uinteger - command used for internal testing.
maintenance set test-settings zinteger - command used for internal testing.
maintenance set test-settings zuinteger - command used for internal testing.
maintenance set test-settings zuinteger-unlimited - command used for internal testing.
maintenance set tui-resize-message - Set TUI resize messaging.
maintenance set worker-threads - Set the number of worker threads GDB can use.
maintenance show - Show GDB internal variables used by the GDB maintainer.
maintenance show ada - Show Ada maintenance-related variables.
maintenance show ada ignore-descriptive-types - Show whether descriptive types generated by GNAT should be ignored.
maintenance show bfd-sharing - Show whether gdb will share bfds that appear to be the same file.
maintenance show btrace - Show branch tracing specific variables.
maintenance show btrace pt - Show Intel Processor Trace specific variables.
maintenance show btrace pt skip-pad - Show whether PAD packets should be skipped in the btrace packet history.
maintenance show catch-demangler-crashes - Show whether to attempt to catch demangler crashes.
maintenance show check-libthread-db - Show whether to check libthread_db at load time.
maintenance show demangler-warning - Show what GDB does when demangler-warning is detected.
maintenance show demangler-warning quit - Show whether GDB will quit when an demangler-warning is detected.
maintenance show dwarf - Show DWARF specific variables.
maintenance show dwarf always-disassemble - Show whether `info address' always disassembles DWARF expressions.
maintenance show dwarf max-cache-age - Show the upper bound on the age of cached DWARF compilation units.
maintenance show dwarf unwinders - Show whether the DWARF stack frame unwinders are used.
maintenance show internal-error - Show what GDB does when internal-error is detected.
maintenance show internal-error corefile - Show whether GDB will create a core file of GDB when internal-error is detected.
maintenance show internal-error quit - Show whether GDB will quit when an internal-error is detected.
maintenance show internal-warning - Show what GDB does when internal-warning is detected.
maintenance show internal-warning corefile - Show whether GDB will create a core file of GDB when internal-warning is detected.
maintenance show internal-warning quit - Show whether GDB will quit when an internal-warning is detected.
maintenance show per-command - Show per-command statistics settings.
maintenance show per-command space - Show whether to display per-command space usage.
maintenance show per-command symtab - Show whether to display per-command symtab statistics.
maintenance show per-command time - Show whether to display per-command execution time.
maintenance show profile - Show internal profiling.
maintenance show show-debug-regs - Show whether to show variables that mirror the x86 debug registers.
maintenance show symbol-cache-size - Show the size of the symbol cache.
maintenance show target-async - Show whether gdb controls the inferior in asynchronous mode.
maintenance show target-non-stop - Show whether gdb always controls the inferior in non-stop mode.
maintenance show test-options-completion-result - Show maintenance test-options completion result.
maintenance show test-settings - Show GDB internal variables used for set/show command infrastructure testing.
maintenance show test-settings auto-boolean - command used for internal testing.
maintenance show test-settings boolean - command used for internal testing.
maintenance show test-settings enum - command used for internal testing.
maintenance show test-settings filename - command used for internal testing.
maintenance show test-settings integer - command used for internal testing.
maintenance show test-settings optional-filename - command used for internal testing.
maintenance show test-settings string - command used for internal testing.
maintenance show test-settings string-noescape - command used for internal testing.
maintenance show test-settings uinteger - command used for internal testing.
maintenance show test-settings zinteger - command used for internal testing.
maintenance show test-settings zuinteger - command used for internal testing.
maintenance show test-settings zuinteger-unlimited - command used for internal testing.
maintenance show tui-resize-message - Show TUI resize messaging.
maintenance show worker-threads - Show the number of worker threads GDB can use.
maintenance space - Set the display of space usage.
maintenance test-options - Generic command for testing the options infrastructure.
maintenance test-options require-delimiter - Command used for testing options processing.
maintenance test-options unknown-is-error - Command used for testing options processing.
maintenance test-options unknown-is-operand - Command used for testing options processing.
maintenance time - Set the display of time usage.
maintenance translate-address - Translate a section name and address to a symbol.
maintenance undeprecate - Undeprecate a command (for testing purposes).
maintenance with - Like "with", but works with "maintenance set" variables.
Command class: obscure
checkpoint - Fork a duplicate process (experimental).
compare-sections - Compare section data on target to the exec file.
compile - Command to compile source code and inject it into the inferior.
compile code - Compile, inject, and execute code.
compile file - Evaluate a file containing source code.
compile print - Evaluate EXPR by using the compiler and print result.
complete - List the completions for the rest of the line as a command.
expression - Command to compile source code and inject it into the inferior.
compile code - Compile, inject, and execute code.
compile file - Evaluate a file containing source code.
compile print - Evaluate EXPR by using the compiler and print result.
guile - Evaluate a Guile expression.
guile-repl - Start a Guile interactive prompt.
monitor - Send a command to the remote monitor (remote targets only).
python - Evaluate a Python command.
python-interactive - Start an interactive Python prompt.
record - Start recording.
record btrace - Start branch trace recording.
record btrace bts - Start branch trace recording in Branch Trace Store (BTS) format.
record btrace pt - Start branch trace recording in Intel Processor Trace format.
record delete - Delete the rest of execution log and start recording it anew.
record full - Start full execution recording.
record full restore - Restore the execution log from a file.
record function-call-history - Prints the execution history at function granularity.
record goto - Restore the program to its state at instruction number N.
record goto begin - Go to the beginning of the execution log.
record goto end - Go to the end of the execution log.
record instruction-history - Print disassembled instructions stored in the execution log.
record save - Save the execution log to a file.
record stop - Stop the record/replay target.
restart - Restore program context from a checkpoint.
stop - There is no `stop' command, but you can set a hook on `stop'.
Command class: running
advance - Continue the program up to the given location (same form as args for break command).
attach - Attach to a process or file outside of GDB.
continue - Continue program being debugged, after signal or breakpoint.
detach - Detach a process or file previously attached.
detach checkpoint - Detach from a checkpoint (experimental).
detach inferiors - Detach from inferior ID (or list of IDS).
disconnect - Disconnect from a target.
finish - Execute until selected stack frame returns.
handle - Specify how to handle signals.
inferior - Use this command to switch between inferiors.
interrupt - Interrupt the execution of the debugged program.
jump - Continue program being debugged at specified line or address.
kill - Kill execution of program being debugged.
kill inferiors - Kill inferior ID (or list of IDs).
next - Step program, proceeding through subroutine calls.
nexti - Step one instruction, but proceed through subroutine calls.
queue-signal - Queue a signal to be delivered to the current thread when it is resumed.
reverse-continue - Continue program being debugged but run it in reverse.
reverse-finish - Execute backward until just before selected stack frame is called.
reverse-next - Step program backward, proceeding through subroutine calls.
reverse-nexti - Step backward one instruction, but proceed through called subroutines.
reverse-step - Step program backward until it reaches the beginning of another source line.
reverse-stepi - Step backward exactly one instruction.
run - Start debugged program.
signal - Continue program with the specified signal.
start - Start the debugged program stopping at the beginning of the main procedure.
starti - Start the debugged program stopping at the first instruction.
step - Step program until it reaches a different source line.
stepi - Step one instruction exactly.
taas - Apply a command to all threads (ignoring errors and empty output).
target - Connect to a target machine or process.
target core - Use a core file as a target.
target ctf - (Use a CTF directory as a target.
target exec - Use an executable file as a target.
target extended-remote - Use a remote computer via a serial line, using a gdb-specific protocol.
target native - Native process (started by the "run" command).
target record-btrace - Collect control-flow trace and provide the execution history.
target record-core - Log program while executing and replay execution from log.
target record-full - Log program while executing and replay execution from log.
target remote - Use a remote computer via a serial line, using a gdb-specific protocol.
target tfile - Use a trace file as a target.
task - Use this command to switch between Ada tasks.
tfaas - Apply a command to all frames of all threads (ignoring errors and empty output).
thread - Use this command to switch between threads.
thread apply - Apply a command to a list of threads.
thread apply all - Apply a command to all threads.
thread find - Find threads that match a regular expression.
thread name - Set the current thread's name.
until - Execute until past the current line or past a LOCATION.
Command class: stack
backtrace - Print backtrace of all stack frames, or innermost COUNT frames.
bt - Print backtrace of all stack frames, or innermost COUNT frames.
down - Select and print stack frame called by this one.
faas - Apply a command to all frames (ignoring errors and empty output).
frame - Select and print a stack frame.
frame address - Select and print a stack frame by stack address.
frame apply - Apply a command to a number of frames.
frame apply all - Apply a command to all frames.
frame apply level - Apply a command to a list of frames.
frame function - Select and print a stack frame by function name.
frame level - Select and print a stack frame by level.
frame view - View a stack frame that might be outside the current backtrace.
return - Make selected stack frame return to its caller.
select-frame - Select a stack frame without printing anything.
select-frame address - Select a stack frame by stack address.
select-frame function - Select a stack frame by function name.
select-frame level - Select a stack frame by level.
select-frame view - Select a stack frame that might be outside the current backtrace.
up - Select and print stack frame that called this one.
Command class: status
info - Generic command for showing things about the program being debugged.
info address - Describe where symbol SYM is stored.
info all-registers - List of all registers and their contents, for selected stack frame.
info args - All argument variables of current stack frame or those matching REGEXPs.
info auto-load - Print current status of auto-loaded files.
info auto-load gdb-scripts - Print the list of automatically loaded sequences of commands.
info auto-load libthread-db - Print the list of loaded inferior specific libthread_db.
info auto-load local-gdbinit - Print whether current directory .gdbinit file has been loaded.
info auto-load python-scripts - Print the list of automatically loaded Python scripts.
info auxv - Display the inferior's auxiliary vector.
info bookmarks - Status of user-settable bookmarks.
info breakpoints - Status of specified breakpoints (all user-settable breakpoints if no argument).
info checkpoints - IDs of currently known checkpoints.
info classes - All Objective-C classes, or those matching REGEXP.
info common - Print out the values contained in a Fortran COMMON block.
info copying - Conditions for redistributing copies of GDB.
info dcache - Print information on the dcache performance.
info display - Expressions to display when program stops, with code numbers.
info exceptions - List all Ada exception names.
info extensions - All filename extensions associated with a source language.
info files - Names of targets and files being debugged.
info float - Print the status of the floating point unit.
info frame - All about the selected stack frame.
info frame address - Print information about a stack frame selected by stack address.
info frame function - Print information about a stack frame selected by function name.
info frame level - Print information about a stack frame selected by level.
info frame view - Print information about a stack frame outside the current backtrace.
info frame-filter - List all registered Python frame-filters.
info functions - All function names or those matching REGEXPs.
info guile - Prefix command for Guile info displays.
info handle - What debugger does when program gets various signals.
info inferiors - Print a list of inferiors being managed.
info line - Core addresses of the code for a source line.
info locals - All local variables of current stack frame or those matching REGEXPs.
info macro - Show the definition of MACRO, and it's source location.
info macros - Show the definitions of all macros at LINESPEC, or the current source location.
info mem - Memory region attributes.
info module - Print information about modules.
info module functions - Display functions arranged by modules.
info module variables - Display variables arranged by modules.
info modules - All module names, or those matching REGEXP.
info os - Show OS data ARG.
info pretty-printer - GDB command to list all registered pretty-printers.
info probes - Show available static probes.
info probes all - Show information about all type of probes.
info probes dtrace - Show information about DTrace static probes.
info probes stap - Show information about SystemTap static probes.
info proc - Show additional information about a process.
info proc all - List all available info about the specified process.
info proc cmdline - List command line arguments of the specified process.
info proc cwd - List current working directory of the specified process.
info proc exe - List absolute filename for executable of the specified process.
info proc files - List files opened by the specified process.
info proc mappings - List memory regions mapped by the specified process.
info proc stat - List process info from /proc/PID/stat.
info proc status - List process info from /proc/PID/status.
info program - Execution status of the program.
info record - Info record options.
info registers - List of integer registers and their contents, for selected stack frame.
info scope - List the variables local to a scope.
info selectors - All Objective-C selectors, or those matching REGEXP.
info set - Show all GDB settings.
info sharedlibrary - Status of loaded shared object libraries.
info signals - What debugger does when program gets various signals.
info skip - Display the status of skips.
info source - Information about the current source file.
info sources - All source files in the program or those matching REGEXP.
info stack - Backtrace of the stack, or innermost COUNT frames.
info static-tracepoint-markers - List target static tracepoints markers.
info symbol - Describe what symbol is at location ADDR.
info target - Names of targets and files being debugged.
info tasks - Provide information about all known Ada tasks.
info terminal - Print inferior's saved terminal status.
info threads - Display currently known threads.
info tracepoints - Status of specified tracepoints (all tracepoints if no argument).
info tvariables - Status of trace state variables and their values.
info type-printers - GDB command to list all registered type-printers.
info types - All type names, or those matching REGEXP.
info unwinder - GDB command to list unwinders.
info variables - All global and static variable names or those matching REGEXPs.
info vector - Print the status of the vector unit.
info vtbl - Show the virtual function table for a C++ object.
info warranty - Various kinds of warranty you do not have.
info watchpoints - Status of specified watchpoints (all watchpoints if no argument).
info win - List of all displayed windows.
info xmethod - GDB command to list registered xmethod matchers.
macro - Prefix for commands dealing with C preprocessor macros.
macro define - Define a new C/C++ preprocessor macro.
macro expand - Fully expand any C/C++ preprocessor macro invocations in EXPRESSION.
macro expand-once - Expand C/C++ preprocessor macro invocations appearing directly in EXPRESSION.
macro list - List all the macros defined using the `macro define' command.
macro undef - Remove the definition of the C/C++ preprocessor macro with the given name.
show - Generic command for showing things about the debugger.
show ada - Generic command for showing Ada-specific settings.
show ada print-signatures - Show whether the output of formal and return types for functions in the overloads selection menu is activated.
show ada trust-PAD-over-XVS - Show whether an optimization trusting PAD types over XVS types is activated.
show agent - Show debugger's willingness to use agent as a helper.
show annotate - Show annotation_level.
show architecture - Show architecture of target.
show args - Show argument list to give program being debugged when it is started.
show auto-connect-native-target - Show whether GDB may automatically connect to the native target.
show auto-load - Show auto-loading specific settings.
show auto-load gdb-scripts - Show whether auto-loading of canned sequences of commands scripts is enabled.
show auto-load libthread-db - Show whether auto-loading inferior specific libthread_db is enabled.
show auto-load local-gdbinit - Show whether auto-loading .gdbinit script in current directory is enabled.
show auto-load python-scripts - Show the debugger's behaviour regarding auto-loaded Python scripts.
show auto-load safe-path - Show the list of files and directories that are safe for auto-loading.
show auto-load scripts-directory - Show the list of directories from which to load auto-loaded scripts.
show auto-solib-add - Show autoloading of shared library symbols.
show backtrace - Show backtrace specific variables.
show backtrace limit - Show the upper bound on the number of backtrace levels.
show backtrace past-entry - Show whether backtraces should continue past the entry point of a program.
show backtrace past-main - Show whether backtraces should continue past "main".
show basenames-may-differ - Show whether a source file may have multiple base names.
show breakpoint - Breakpoint specific settings.
show breakpoint always-inserted - Show mode for inserting breakpoints.
show breakpoint auto-hw - Show automatic usage of hardware breakpoints.
show breakpoint condition-evaluation - Show mode of breakpoint condition evaluation.
show breakpoint pending - Show debugger's behavior regarding pending breakpoints.
show can-use-hw-watchpoints - Show debugger's willingness to use watchpoint hardware.
show case-sensitive - Show case sensitivity in name search (on/off/auto).
show charset - Show the host and target character sets.
show check - Show the status of the type/range checker.
show check range - Show range checking (on/warn/off/auto).
show check type - Show strict type checking.
show circular-trace-buffer - Show target's use of circular trace buffer.
show code-cache - Show cache use for code segment access.
show coerce-float-to-double - Show coercion of floats to doubles when calling functions.
show commands - Show the history of commands you typed.
show compile-args - Show compile command GCC command-line arguments.
show compile-gcc - Show compile command GCC driver filename.
show complaints - Show max number of complaints about incorrect symbols.
show configuration - Show how GDB was configured at build time.
show confirm - Show whether to confirm potentially dangerous operations.
show convenience - Debugger convenience ("$foo") variables and functions.
show copying - Conditions for redistributing copies of GDB.
show cp-abi - Show the ABI used for inspecting C++ objects.
show cwd - Show the current working directory that is used when the inferior is started.
show data-directory - Show GDB's data directory.
show dcache - Show dcachesettings.
show dcache line-size - Show dcache line size.
show dcache size - Show number of dcache lines.
show debug - Generic command for showing gdb debugging flags.
show debug arch - Show architecture debugging.
show debug auto-load - Show auto-load verifications debugging.