mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-04 08:08:01 +00:00
2008-12-03 Tristan Gingold <gingold@adacore.com>
* gdb.base/macscp.exp: Generate an object file during compilation to work around Darwin dsymutil limitations.
This commit is contained in:
parent
137627db10
commit
87bdc95928
@ -1,3 +1,8 @@
|
||||
2008-12-03 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* gdb.base/macscp.exp: Generate an object file during compilation
|
||||
to work around Darwin dsymutil limitations.
|
||||
|
||||
2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Test resolving external references to TLS variables.
|
||||
|
@ -23,6 +23,7 @@ set bug_id 0
|
||||
|
||||
set srcfile macscp1.c
|
||||
set testfile "macscp"
|
||||
set objfile "macscp.o"
|
||||
set binfile ${objdir}/${subdir}/${testfile}
|
||||
|
||||
set options { debug }
|
||||
@ -32,7 +33,11 @@ if [test_compiler_info gcc*] {
|
||||
lappend options additional_flags=-g3
|
||||
}
|
||||
|
||||
if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${binfile}" executable $options] != "" } {
|
||||
# Generate the intermediate object file. This is required by Darwin to
|
||||
# have access to the .debug_macinfo section.
|
||||
if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \
|
||||
object $options] != ""
|
||||
|| [gdb_compile "${objfile}" "${binfile}" executable $options] != "" } {
|
||||
untested macscp.exp
|
||||
return -1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user