1 This is a collection of boards for GDB.
3 The file gdb/testsuite/boards/README contains an overview of the boards. The
4 idea is to group similar boards together, and have one line to describe a
7 # Modify gdb default flags.
11 # Post-process executable.
13 Use gdb to create .gdb_index section.
14 cc-with-debug-names.exp
15 Use gdb to create .debug_names section.
17 Use dwz to compress debug info in executable.
19 Use dwz to compress debug info in executable, optionally moving debug
20 info to a separate file.
21 cc-with-gnu-debuglink.exp
22 Use strip to move the debug info from executable to a separate file,
23 and add a .gnu_debuglink to it.
25 Base board used by all boards in this section, but can be used by
26 itself, f.i. do more than one type of post-processing.
30 Add -fdebug-types-section.
36 Add -fuse-ld=gold -Wl,--gdb-index -ggnu-pubnames
42 Set debug_flags to -gdwarf-4 -gsplit-dwarf -ggnu-pubnames
43 -fdebug-types-section -Wl,--gdb-index -fuse-ld=gold.
45 As fission.exp, but also post-process executables to generate a .dwp
48 # Test various things at the same time.
50 Set debug_flags to -gdwarf-4 -fdebug-types-section, and post-process
51 executable using gdb to create .gdb_index section.
53 # [is_remote host] == 0 && [is_remote target] == 0.
55 Test gdbserver using gdb_protocol remote.
56 native-extended-gdbserver.exp
57 Test gdbserver using gdb_protocol extended-remote.
58 native-stdio-gdbserver.exp
59 Test gdbserver using stdio connection.
61 # [is_remote host] == 0 && [is_remote target] == 1.
62 remote-gdbserver-on-localhost.exp
63 Run gdbserver on remote target.
64 remote-stdio-gdbserver.exp
65 Run gdbserver on remote target, using stdio connection.
67 # [is_remote host] == 1 && [is_remote target] == 0.
68 # Note: need to pass the board with --host_board instead of --target_board.
69 local-remote-host-notty.exp
70 Run gdb on remote host in pseudo-terminal with "set editing off".
72 Run gdb on remote host in pseudo-terminal.
74 # [is_remote host] == 1 && [is_remote target] == 1.
75 # Note: need to pass the board with both --target_board and --host_board.
76 local-remote-host-native.exp
77 Run gdb on remote host, run gdbserver on remote target, with
84 # Base boards, mostly to be included by other boards, so no individual
86 stdio-gdbserver-base.exp