This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Guys, May I have permission to apply the following patch please ? It fixes the shreloc.exp testsuite driver code so that when it is linking together the shared object files that it has created, it passes the -shared switch on to the linker. This fixes a seg fault when the testsuite was being run on a old arm-elf toolchain. Cheers Nick 2003-11-07 Nick Clifton <nickc@redhat.com> * gdb.base/shreloc.exp: Pass $additional_flags to gdb_compile when linking together the shared object files. Index: gdb/testsuite/gdb.base/shreloc.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/shreloc.exp,v retrieving revision 1.1 diff -c -3 -p -r1.1 shreloc.exp *** gdb/testsuite/gdb.base/shreloc.exp 9 Jun 2003 21:23:53 -0000 1.1 --- gdb/testsuite/gdb.base/shreloc.exp 7 Nov 2003 10:44:07 -0000 *************** foreach module [list "shreloc1" "shreloc *** 56,62 **** } } ! if {[gdb_compile [list "${workdir}/shreloc.o" "${workdir}/shreloc1.dll" "${workdir}/shreloc2.dll"] "${workdir}/shreloc" executable debug] != ""} { untested "Couldn't link shreloc executable" return -1 } --- 56,62 ---- } } ! if {[gdb_compile [list "${workdir}/shreloc.o" "${workdir}/shreloc1.dll" "${workdir}/shreloc2.dll"] "${workdir}/shreloc" executable [list debug $additional_flags]] != ""} { untested "Couldn't link shreloc executable" return -1 }
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |