Home | History | Annotate | Download | only in gdb.base

Lines Matching refs:jit

16 # Test fork handling of an inferior that has JIT-ed objfiles.
20 load_lib jit-elf-helpers.exp
22 # The main code that loads and registers JIT objects.
23 set main_basename "jit-elf-fork-main"
27 # The shared library that gets loaded as JIT objects.
28 set jit_solib_basename jit-elf-fork-solib
31 # Compile a shared library to use as JIT objects.
38 # Compile the main code (which loads the JIT objects).
75 # We should have one JIT object loaded.
76 gdb_test "maint info jit" \
80 "jit-ed objfiles before fork"
86 # We should still have one JIT object loaded in whatever inferior we are
88 gdb_test "maint info jit" \
92 "jit-ed objfiles after fork"
109 # Switch to the child, verify there is a JIT-ed objfile.
111 gdb_test "maint info jit" \
115 "jit-ed objfile in child"
117 # Continue child past JIT unload, verify there are no more JIT-ed objfiles.
119 gdb_test_no_output "maint info jit" "no more jit-ed objfiles in child"
121 # Go back to parent, the JIT-ed objfile should still be there.
123 gdb_test "maint info jit" \
127 "jit-ed objfile in parent"
129 # Continue parent past JIT unload, verify there are no more JIT-ed objfiles.
131 gdb_test_no_output "maint info jit" "no more jit-ed objfiles in parent"
144 # Switch to the parent, verify there is a JIT-ed objfile.
146 gdb_test "maint info jit" \
150 "jit-ed objfile in parent"
152 # Continue parent past JIT unload, verify there are no more JIT-ed objfiles.
154 gdb_test_no_output "maint info jit" "no more jit-ed objfiles in parent"
156 # Go back to child, the JIT-ed objfile should still be there.
158 gdb_test "maint info jit" \
162 "jit-ed objfile in child"
164 # Continue child past JIT unload, verify there are no more JIT-ed objfiles.
166 gdb_test_no_output "maint info jit" "no more jit-ed objfiles in child"
178 # Continue past JIT unload, verify there are no more JIT-ed objfiles.
180 gdb_test_no_output "maint info jit" "no more jit-ed objfiles"
193 # Continue past JIT unload, verify there are no more JIT-ed objfiles.
195 gdb_test_no_output "maint info jit" "no more jit-ed objfiles"