diff --git a/gdb-6.8.50.20080718-cvs.tar.bz2 b/gdb-6.8.50.20080718-cvs.tar.bz2 deleted file mode 100644 index f5fee14..0000000 --- a/gdb-6.8.50.20080718-cvs.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:413bea53e9f49532d277575a8d2c9a527d5d8ba4e83ba5e9eaee78f278413c34 -size 15439125 diff --git a/gdb-6.8.50.20080808-cvs.tar.bz2 b/gdb-6.8.50.20080808-cvs.tar.bz2 new file mode 100644 index 0000000..65dbd49 --- /dev/null +++ b/gdb-6.8.50.20080808-cvs.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89b67ef4b3cd1b537fb7ecd118a0d6645b450dce0f949238505eb44d8f5d617d +size 15463707 diff --git a/gdb.changes b/gdb.changes index 31fc2bb..7d2a626 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 8 15:30:07 CEST 2008 - schwab@suse.de + +- Update to head of trunk. +- Enable multi-target support. + ------------------------------------------------------------------- Fri Jul 18 13:18:33 CEST 2008 - schwab@suse.de diff --git a/gdb.spec b/gdb.spec index 34c637a..c19a6c9 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,10 +1,17 @@ # -# spec file for package gdb (Version 6.8.50.20080718) +# spec file for package gdb (Version 6.8.50.20080808) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -29,7 +36,7 @@ Group: Development/Tools/Debuggers AutoReqProv: on PreReq: %{install_info_prereq} Summary: The GNU Debugger -Version: 6.8.50.20080718 +Version: 6.8.50.20080808 Release: 1 %define sss -cvs Source: gdb-%{version}%{sss}.tar.bz2 @@ -114,20 +121,31 @@ Authors: %patch10 %build -%define DIST %(echo '%distribution' | sed 's/ (.*)//') -./configure --prefix=%{_prefix} --libdir=%{_libdir} --infodir=%{_infodir} \ - --mandir=%{_mandir} --with-system-readline \ -%ifarch ia64 - --with-libunwind \ +%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 +%define build_multitarget 1 %else - --without-libunwind \ +%define build_multitarget 0 %endif - --with-separate-debug-dir=%{_prefix}/lib/debug \ - --enable-64-bit-bfd --disable-werror --disable-sim \ - --with-bugurl=http://bugs.opensuse.org/ \ - --with-pkgversion="GDB; %{DIST}" \ - --build=%{_target_cpu}-suse-linux \ - CFLAGS="$RPM_OPT_FLAGS" +%define target_list i686 ia64 powerpc powerpc64 s390 s390x x86_64 +%define DIST %(echo '%distribution' | sed 's/ (.*)//') +%if %build_multitarget +ADDITIONAL_TARGETS="%(echo %target_list | sed -e 's/[^ ]\+/&-suse-linux/g')" +%else +ADDITIONAL_TARGETS= +%endif +./configure CFLAGS="$RPM_OPT_FLAGS" \ + --prefix=%{_prefix} --libdir=%{_libdir} --infodir=%{_infodir} \ + --mandir=%{_mandir} --with-system-readline \ +%ifarch ia64 + --with-libunwind \ +%else + --without-libunwind \ +%endif + --with-separate-debug-dir=%{_prefix}/lib/debug \ + --enable-64-bit-bfd --disable-werror --disable-sim \ + --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion="GDB; %{DIST}" \ + --build=%{_target_cpu}-suse-linux \ + ${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"} make %{?jobs:-j%jobs} make info @@ -174,6 +192,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Fri Aug 08 2008 schwab@suse.de +- Update to head of trunk. +- Enable multi-target support. * Fri Jul 18 2008 schwab@suse.de - Update to head of trunk. * Mon Jul 07 2008 schwab@suse.de diff --git a/pie-relocate.diff b/pie-relocate.diff index c18e224..8299125 100644 --- a/pie-relocate.diff +++ b/pie-relocate.diff @@ -1,23 +1,3 @@ ---- gdb/Makefile.in -+++ gdb/Makefile.in -@@ -2605,7 +2605,7 @@ objfiles.o: objfiles.c $(defs_h) $(bfd_h - $(gdb_assert_h) $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) \ - $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h) \ - $(parser_defs_h) $(expression_h) $(addrmap_h) $(arch_utils_h) \ -- $(exec_h) -+ $(exec_h) $(auxv_h) $(elf_common_h) - observer.o: observer.c $(defs_h) $(observer_h) $(command_h) $(gdbcmd_h) \ - $(observer_inc) - obsd-tdep.o: obsd-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(obsd_tdep_h) -@@ -2810,7 +2810,7 @@ solib-sunos.o: solib-sunos.c $(defs_h) $ - $(bcache_h) $(regcache_h) - solib-svr4.o: solib-svr4.c $(defs_h) $(elf_external_h) $(elf_common_h) \ - $(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \ -- $(gdbcore_h) $(target_h) $(inferior_h) $(gdb_assert_h) \ -+ $(gdbcore_h) $(target_h) $(inferior_h) $(command_h) $(gdb_assert_h) \ - $(solist_h) $(solib_h) $(solib_svr4_h) $(bfd_target_h) $(elf_bfd_h) \ - $(exec_h) $(auxv_h) - solib-target.o: solib-target.c $(defs_h) $(objfiles_h) $(solist_h) \ --- gdb/breakpoint.c +++ gdb/breakpoint.c @@ -4045,6 +4045,7 @@ describe_other_breakpoints (CORE_ADDR pc diff --git a/readnever.patch b/readnever.patch index 2454b74..cb66f08 100644 --- a/readnever.patch +++ b/readnever.patch @@ -7,17 +7,6 @@ * main.c (captured_main): Add --readnever option. ================================================================================ ---- gdb/Makefile.in -+++ gdb/Makefile.in -@@ -2101,7 +2101,7 @@ dwarf2read.o: dwarf2read.c $(defs_h) $(b - $(objfiles_h) $(elf_dwarf2_h) $(buildsym_h) $(demangle_h) \ - $(expression_h) $(filenames_h) $(macrotab_h) $(language_h) \ - $(complaints_h) $(bcache_h) $(dwarf2expr_h) $(dwarf2loc_h) \ -- $(cp_support_h) $(hashtab_h) $(command_h) $(gdbcmd_h) \ -+ $(cp_support_h) $(hashtab_h) $(command_h) $(gdbcmd_h) $(top_h) \ - $(addrmap_h) $(gdb_string_h) $(gdb_assert_h) - elfread.o: elfread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(elf_bfd_h) \ - $(elf_mips_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \ --- gdb/dwarf2read.c +++ gdb/dwarf2read.c @@ -46,6 +46,7 @@