Home | History | Annotate | Download | only in lib

Lines Matching refs:Executable

380 	-re "No executable file now\\.\r\n" {
2729 return [gdb_can_simple_compile can_compile_$lang $src executable {d}]
2756 return [gdb_can_simple_compile can_compile_$lang $src executable \
2892 if { ![gdb_simple_compile $me $src executable \
2895 verbose -log "failed to build executable"
3580 } executable]
3592 } executable go]
3633 if {![gdb_simple_compile $me $src executable]} {
3956 if {![gdb_simple_compile $me $src executable {debug}]} {
4034 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4081 if {![gdb_simple_compile $me $src executable ]} {
4150 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4199 if {![gdb_simple_compile $me $src executable]} {
4250 if {![gdb_simple_compile $me $src executable]} {
4301 if {![gdb_simple_compile $me $src executable]} {
4367 if {![gdb_simple_compile $me $src executable ""]} {
4411 if {![gdb_simple_compile $me $src executable]} {
4462 if {![gdb_simple_compile $me $src executable]} {
4522 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4590 if {![gdb_simple_compile $me $src executable]} {
4651 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4709 set result [gdb_compile $src $test_exec executable [list debug ${compile_flags} nowarnings]]
4793 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4807 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4866 set result [gdb_compile $src $test_exec executable [list debug ${compile_flags} nowarnings]]
4962 if {![gdb_simple_compile $me $src executable $compile_flags]} {
4995 } executable $lang]
5331 # [ gdb_compile $ifile $ciexe_file executable $args ]
5605 "executable" {
5715 # - executable: Compile and link into an executable.
5920 && $type == "executable"} {
5946 } elseif { $opt == "shlib_load" && $type == "executable" } {
6031 # the executable to find the libraries it depends on.
6130 if { $type == "executable" } {
6215 if { $type == "executable" && $result == "" \
6219 set result "nopie failed to prevent PIE executable"
6221 set result "pie failed to generate PIE executable"
6238 if {$type != "executable"} {
6380 # systems to create the DT_NEEDED entry in the executable referring
6386 # rpath=$ORIGIN value when building the executable, so that it's
6392 if {[gdb_compile "${objects}" "${dest}" executable $link_options] != ""} {
6737 if {![gdb_simple_compile $me $src executable]} {
6884 foreach {executable} $executable_list {
6889 lappend spawn_id_list [remote_spawn target $executable]
7046 # executable. Normally just BINFILE unless it is renamed to something
7054 # executable. Normally just BINFILE unless executables for this target
7061 # Rename the executable file. Normally this is just BINFILE1 being renamed
7072 # "Touch" the executable file to update the date. Normally this is just
7130 # the executable is).
7197 # defaults to the executable currently being debugged.
7301 # Specifying no file defaults to the executable currently being
7644 # If EXECUTABLE, mark the new file for execution.
7646 proc cached_file { filename txt {executable 0}} {
7661 if { $executable } {
7722 # 'executable' is often set by tests.
7723 set gdb_test_file_last_vars {executable}
8145 # Return true if EXECUTABLE contains a .gdb_index or .debug_names index section.
8147 proc exec_has_index_section { executable } {
8149 set res [catch {exec $readelf_program -S $executable \
8182 # It would be better to construct a PIE executable and test if the PIE
8184 # executable if the multilib_flags dictate otherwise
8189 # Return 1 if EXECUTABLE is a Position Independent Executable, 0 if it is not,
8192 proc exec_is_pie { executable } {
8201 set res [catch {exec $readelf_program -h $executable} output]
8205 set res [regexp -line {^[ \t]*Type:[ \t]*DYN \((Position-Independent Executable|Shared object) file\)$} \
8263 set lines [gdb_compile $src $exe executable $compile_flags]
8363 } executable
8462 # Note: the procedure gdb_gnu_strip_debug will produce an executable called
8463 # ${binfile}.dbglnk, which is just like the executable ($binfile) but without
8470 # starting with an executable:
8471 # foo --> original executable
8717 # Build executable named EXECUTABLE from specifications that allow
8728 proc build_executable_from_specs {testname executable options args} {
8732 set binfile [standard_output_file $executable]
8777 set ret [$func $objects "${binfile}" executable $options]
8787 # Build executable named EXECUTABLE, from SOURCES. If SOURCES are not
8788 # provided, uses $EXECUTABLE.c. The TESTNAME paramer is the name of test
8791 proc build_executable { testname executable {sources ""} {options {debug}} } {
8793 set sources ${executable}.c
8796 set arglist [list $testname $executable $options]
8804 # Starts fresh GDB binary and loads an optional executable into GDB.
8805 # Usage: clean_restart [EXECUTABLE]
8806 # EXECUTABLE is the basename of the binary.
8807 # Return -1 if starting gdb or loading the executable failed.
8809 proc clean_restart {{executable ""}} {
8834 if {$executable != ""} {
8835 set binfile [standard_output_file ${executable}]
8846 # { EXECUTABLE OPTIONS SOURCE_SPEC... }
8848 # The last EXECUTABLE is passed to clean_restart.
8855 set executable [lindex $spec 0]
8857 clean_restart $executable
8863 proc prepare_for_testing { testname executable {sources ""} {options {debug}}} {
8865 if {[build_executable $testname $executable $sources $options] == -1} {
8868 clean_restart $executable
9081 if {![gdb_simple_compile $me $src executable]} {
9287 if {![gdb_simple_compile target_symbol_prefix $src executable]} {
9315 if {![gdb_simple_compile $me $src executable]} {
9377 } executable]
9944 } executable "additional_flags=-gctf"]
9957 } executable "additional_flags=-gstatement-frontiers"]
9968 } executable "additional_flags=-fcf-protection=full"]
10150 # Return 1 if executable contains .debug_types section. Otherwise, return 0.
10305 return [gdb_simple_compile $me $src executable $flags]
10313 return [gdb_simple_compile $me $src executable $flags]
10321 return [gdb_simple_compile $me $src executable $flags]
10329 return [gdb_simple_compile $me $src executable $flags]
10337 return [gdb_simple_compile $me $src executable $flags]
10362 if { ![gdb_simple_compile $me $src executable ""] } {
10415 if {![gdb_simple_compile $me $src executable $compile_flags]} {
10521 if {![gdb_simple_compile $me $src executable $compile_flags]} {
10601 # that the executable they produce can run.
10636 executable [list compiler=$compiler]]} {
10853 # Return 1 if we can create an executable using compile and link flag FLAG.
10857 return [gdb_can_simple_compile have_compile_and_link_flag_$flag $src executable \