Hello community,
here is the log from the commit of package gdb
checked in at Wed Dec 6 12:02:28 CET 2006.
--------
--- gdb/gdb.changes 2006-10-28 00:25:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/gdb/gdb.changes 2006-12-02 21:39:37.000000000 +0100
@@ -1,0 +2,50 @@
+Sat Dec 2 21:38:33 CET 2006 - schwab@suse.de
+
+- Update to gdb 6.5.90.
+ * New targets
+ Xtensa xtensa-elf
+ Cell Broadband Engine SPU spu-elf
+ * GDB can now be configured as a cross-debugger targeting native Windows
+ (mingw32) or Cygwin. It can communicate with a remote debugging stub
+ running on a Windows system over TCP/IP to debug Windows programs.
+ * The GDB remote stub, gdbserver, has been updated to support Windows and
+ Cygwin debugging. Both single-threaded and multi-threaded programs are
+ supported.
+ * The "set trust-readonly-sections" command works again. This command was
+ broken in GDB 6.3, 6.4, and 6.5.
+ * Support for GNU/Linux Thread Local Storage (TLS, per-thread variables) no
+ longer requires symbolic debug information (e.g. DWARF-2).
+ * New commands
+ set substitute-path
+ unset substitute-path
+ show substitute-path
+ Manage a list of substitution rules that GDB uses to rewrite the name
+ of the directories where the sources are located. This can be useful
+ for instance when the sources were moved to a different location
+ between compilation and debugging.
+ set trace-commands
+ show trace-commands
+ Print each CLI command as it is executed. Each command is prefixed with
+ a number of `+' symbols representing the nesting depth.
+ The source command now has a `-v' option to enable the same feature.
+ * REMOVED features
+ The ARM Demon monitor support (RDP protocol, "target rdp").
+ Kernel Object Display, an embedded debugging feature which only worked with
+ an obsolete version of Cisco IOS.
+ The 'set download-write-size' and 'show download-write-size' commands.
+ * New remote packets
+ qSupported:
+ Tell a stub about GDB client features, and request remote target features.
+ The first feature implemented is PacketSize, which allows the target to
+ specify the size of packets it can handle - to minimize the number of
+ packets required and improve performance when connected to a remote
+ target.
+ qXfer:auxv:read:
+ Fetch an OS auxilliary vector from the remote stub. This packet is a
+ more efficient replacement for qPart:auxv:read.
+ * Removed remote packets
+ qPart:auxv:read:
+ This packet has been replaced by qXfer:auxv:read. Only GDB 6.4 and 6.5
+ used it, and only gdbserver implemented it.
+
+-------------------------------------------------------------------
Old:
----
add-symbol-file-command.diff
detach-command.diff
gdb-6.5.tar.bz2
gnu-hash.diff
New:
----
gdb-6.5.90.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gdb.spec ++++++
--- /var/tmp/diff_new_pack.iPhCeI/_old 2006-12-06 12:02:16.000000000 +0100
+++ /var/tmp/diff_new_pack.iPhCeI/_new 2006-12-06 12:02:16.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package gdb (Version 6.5)
+# spec file for package gdb (Version 6.5.90)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -16,12 +16,12 @@
BuildRequires: libunwind-devel
%endif
URL: http://www.gnu.org/software/gdb/
-License: GNU General Public License (GPL) - all versions
+License: GNU General Public License (GPL)
Group: Development/Tools/Debuggers
Autoreqprov: on
PreReq: %{install_info_prereq}
-Version: 6.5
-Release: 21
+Version: 6.5.90
+Release: 1
Summary: The GNU Debugger
Source: gdb-%{version}.tar.bz2
Patch1: gdb-misc.patch
@@ -32,14 +32,11 @@
Patch7: ppc-dwarf2-cfi.patch
Patch8: pie-relocate.diff
Patch9: mst-solib-trampoline.diff
-Patch10: gnu-hash.diff
Patch11: loader_break.diff
Patch12: ppc-long-double.diff
Patch13: lr-frame-offset.diff
Patch14: ppc64-fdesc.diff
Patch15: solib-extract-address.diff
-Patch16: add-symbol-file-command.diff
-Patch17: detach-command.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -76,7 +73,6 @@
%patch7
%patch8
%patch9
-%patch10
cd gdb
%patch11
cd ..
@@ -84,8 +80,6 @@
%patch13 -p1
%patch14
%patch15
-%patch16
-%patch17
%build
CFLAGS="$RPM_OPT_FLAGS" \
@@ -107,8 +101,6 @@
make install-gdb install-info-gdb DESTDIR="$RPM_BUILD_ROOT"
echo '#!/bin/sh
exec gdb --tui "$@"' > $RPM_BUILD_ROOT%{_bindir}/gdbtui
-rm -f $RPM_BUILD_ROOT%{_bindir}/run
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/run.1
%clean
rm -rf $RPM_BUILD_ROOT
@@ -143,6 +135,53 @@
%endif
%changelog -n gdb
+* Sat Dec 02 2006 - schwab@suse.de
+- Update to gdb 6.5.90.
+ * New targets
+ Xtensa xtensa-elf
+ Cell Broadband Engine SPU spu-elf
+ * GDB can now be configured as a cross-debugger targeting native Windows
+ (mingw32) or Cygwin. It can communicate with a remote debugging stub
+ running on a Windows system over TCP/IP to debug Windows programs.
+ * The GDB remote stub, gdbserver, has been updated to support Windows and
+ Cygwin debugging. Both single-threaded and multi-threaded programs are
+ supported.
+ * The "set trust-readonly-sections" command works again. This command was
+ broken in GDB 6.3, 6.4, and 6.5.
+ * Support for GNU/Linux Thread Local Storage (TLS, per-thread variables) no
+ longer requires symbolic debug information (e.g. DWARF-2).
+ * New commands
+ set substitute-path
+ unset substitute-path
+ show substitute-path
+ Manage a list of substitution rules that GDB uses to rewrite the name
+ of the directories where the sources are located. This can be useful
+ for instance when the sources were moved to a different location
+ between compilation and debugging.
+ set trace-commands
+ show trace-commands
+ Print each CLI command as it is executed. Each command is prefixed with
+ a number of `+' symbols representing the nesting depth.
+ The source command now has a `-v' option to enable the same feature.
+ * REMOVED features
+ The ARM Demon monitor support (RDP protocol, "target rdp").
+ Kernel Object Display, an embedded debugging feature which only worked with
+ an obsolete version of Cisco IOS.
+ The 'set download-write-size' and 'show download-write-size' commands.
+ * New remote packets
+ qSupported:
+ Tell a stub about GDB client features, and request remote target features.
+ The first feature implemented is PacketSize, which allows the target to
+ specify the size of packets it can handle - to minimize the number of
+ packets required and improve performance when connected to a remote
+ target.
+ qXfer:auxv:read:
+ Fetch an OS auxilliary vector from the remote stub. This packet is a
+ more efficient replacement for qPart:auxv:read.
+ * Removed remote packets
+ qPart:auxv:read:
+ This packet has been replaced by qXfer:auxv:read. Only GDB 6.4 and 6.5
+ used it, and only gdbserver implemented it.
* Sat Oct 28 2006 - schwab@suse.de
- Rename detach-fork to detach fork.
* Tue Oct 24 2006 - schwab@suse.de
++++++ gdb-6.5.tar.bz2 -> gdb-6.5.90.tar.bz2 ++++++
gdb/gdb-6.5.tar.bz2 /mounts/work_src_done/STABLE/gdb/gdb-6.5.90.tar.bz2 differ: char 11, line 1
++++++ mst-solib-trampoline.diff ++++++
--- /var/tmp/diff_new_pack.iPhCeI/_old 2006-12-06 12:02:16.000000000 +0100
+++ /var/tmp/diff_new_pack.iPhCeI/_new 2006-12-06 12:02:16.000000000 +0100
@@ -1,11 +1,11 @@
---- gdb/minsyms.c.~1.45.~ 2006-01-09 18:20:59.000000000 +0100
-+++ gdb/minsyms.c 2006-05-22 13:19:48.000000000 +0200
-@@ -486,6 +486,8 @@ lookup_minimal_symbol_by_pc_section (COR
- don't fill the bfd_section member, so don't
- throw away symbols on those platforms. */
- && SYMBOL_BFD_SECTION (&msymbol[hi]) != NULL
-+ /* Don't ignore symbols for solib trampolines. */
-+ && MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline
- && SYMBOL_BFD_SECTION (&msymbol[hi]) != section)
- --hi;
-
+--- gdb/minsyms.c
++++ gdb/minsyms.c
+@@ -490,6 +490,8 @@
+ don't fill the bfd_section member, so don't
+ throw away symbols on those platforms. */
+ && SYMBOL_BFD_SECTION (&msymbol[hi]) != NULL
++ /* Don't ignore symbols for solib trampolines. */
++ && MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline
+ && (!matching_bfd_sections
+ (SYMBOL_BFD_SECTION (&msymbol[hi]), section)))
+ {
++++++ pie-relocate.diff ++++++
--- /var/tmp/diff_new_pack.iPhCeI/_old 2006-12-06 12:02:16.000000000 +0100
+++ /var/tmp/diff_new_pack.iPhCeI/_new 2006-12-06 12:02:16.000000000 +0100
@@ -1,16 +1,15 @@
--- gdb/Makefile.in
+++ gdb/Makefile.in
-@@ -2401,7 +2401,8 @@
- objfiles.o: objfiles.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
+@@ -2444,7 +2444,7 @@
$(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(mdebugread_h) \
$(gdb_assert_h) $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) \
-- $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h)
-+ $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h) \
-+ $(auxv_h) $(elf_common_h)
+ $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h) \
+- $(parser_defs_h) $(expression_h)
++ $(parser_defs_h) $(expression_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)
-@@ -2624,9 +2625,9 @@
+@@ -2663,9 +2663,9 @@
$(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) \
@@ -22,26 +21,26 @@
sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
$(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \
$(solib_h) $(symfile_h) $(gdb_string_h) $(gregset_h)
-@@ -2724,7 +2725,7 @@
+@@ -2773,7 +2773,7 @@
$(objfiles_h) $(source_h) $(gdbcmd_h) $(breakpoint_h) $(language_h) \
$(complaints_h) $(demangle_h) $(inferior_h) $(filenames_h) \
$(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
- $(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) \
+ $(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) $(varobj_h) \
- $(gdb_string_h) $(gdb_stat_h) $(observer_h) $(exec_h)
+ $(gdb_string_h) $(gdb_stat_h) $(observer_h) $(exec_h) \
+ $(parser_defs_h)
symfile-mem.o: symfile-mem.c $(defs_h) $(symtab_h) $(gdbcore_h) \
- $(objfiles_h) $(exceptions_h) $(gdbcmd_h) $(target_h) $(value_h) \
--- gdb/breakpoint.c
+++ gdb/breakpoint.c
-@@ -3804,6 +3804,7 @@
- b->number,
+@@ -3810,6 +3810,7 @@
+ printf_filtered ("%s%s ",
((b->enable_state == bp_disabled ||
b->enable_state == bp_shlib_disabled ||
+ b->enable_state == bp_startup_disabled ||
b->enable_state == bp_call_disabled)
- ? " (disabled)"
+ ? " (disabled)"
: b->enable_state == bp_permanent
-@@ -4481,6 +4482,60 @@
+@@ -4487,6 +4488,60 @@
}
}
@@ -102,7 +101,7 @@
static void
solib_load_unload_1 (char *hookname, int tempflag, char *dll_pathname,
char *cond_string, enum bptype bp_kind)
-@@ -6827,6 +6882,7 @@
+@@ -6833,6 +6888,7 @@
&& !b->loc->duplicate
&& b->enable_state != bp_disabled
&& b->enable_state != bp_shlib_disabled
@@ -110,7 +109,7 @@
&& !b->pending
&& b->enable_state != bp_call_disabled)
{
-@@ -7042,7 +7098,8 @@
+@@ -7048,7 +7104,8 @@
break;
save_enable = b->enable_state;
@@ -145,7 +144,7 @@
extern void create_solib_unload_event_breakpoint (char *, int,
--- gdb/dwarf2read.c
+++ gdb/dwarf2read.c
-@@ -1207,7 +1207,7 @@
+@@ -1221,7 +1221,7 @@
else
dwarf2_per_objfile->loc_buffer = NULL;
@@ -167,7 +166,7 @@
mainline = 0;
--- gdb/infrun.c
+++ gdb/infrun.c
-@@ -2183,6 +2183,11 @@
+@@ -2203,6 +2203,11 @@
code segments in shared libraries might be mapped in now. */
re_enable_breakpoints_in_shlibs ();
@@ -181,7 +180,7 @@
and place breakpoints in initializer routines for
--- gdb/objfiles.c
+++ gdb/objfiles.c
-@@ -46,6 +46,8 @@
+@@ -49,6 +49,8 @@
#include "block.h"
#include "dictionary.h"
#include "source.h"
@@ -190,7 +189,7 @@
/* Prototypes for local functions */
-@@ -258,7 +260,16 @@
+@@ -261,7 +263,16 @@
CORE_ADDR
entry_point_address (void)
{
@@ -226,7 +225,7 @@
static struct link_map_offsets *svr4_fetch_link_map_offsets (void);
static int svr4_have_link_map_offsets (void);
-@@ -265,8 +267,6 @@
+@@ -278,8 +280,6 @@
/* Local function prototypes */
@@ -235,7 +234,7 @@
static CORE_ADDR bfd_lookup_symbol (bfd *, char *, flagword);
/*
-@@ -391,17 +391,29 @@
+@@ -404,17 +404,29 @@
gdb_byte *buf;
gdb_byte *bufend;
int arch_size;
@@ -266,7 +265,7 @@
return 0;
/* Find the DT_DEBUG entry in the the .dynamic section.
-@@ -718,9 +730,55 @@
+@@ -763,9 +775,55 @@
does have a name, so we can no longer use a missing name to
decide when to ignore it. */
if (IGNORE_FIRST_LINK_MAP_ENTRY (new) && ldsomap == 0)
@@ -323,7 +322,7 @@
int errcode;
char *buffer;
-@@ -738,10 +796,8 @@
+@@ -783,10 +841,8 @@
strcpy (new->so_original_name, new->so_name);
}
@@ -336,7 +335,7 @@
free_so (new);
else
{
-@@ -834,24 +890,6 @@
+@@ -882,24 +938,6 @@
return 0;
}
@@ -361,7 +360,7 @@
/* Return 1 if PC lies in the dynamic symbol resolution code of the
SVR4 run time loader. */
static CORE_ADDR interp_text_sect_low;
-@@ -1323,6 +1361,8 @@
+@@ -1384,6 +1422,8 @@
while (stop_signal != TARGET_SIGNAL_TRAP);
stop_soon = NO_STOP_QUIETLY;
#endif /* defined(_SCO_DS) */
@@ -372,7 +371,7 @@
static void
--- gdb/solib.c
+++ gdb/solib.c
-@@ -392,15 +392,37 @@
+@@ -396,15 +396,37 @@
/* Have we already loaded this shared object? */
ALL_OBJFILES (so->objfile)
{
@@ -413,7 +412,7 @@
free_section_addr_info (sap);
return (1);
-@@ -576,28 +598,7 @@
+@@ -585,28 +607,7 @@
/* Fill in the rest of each of the `struct so_list' nodes. */
for (i = inferior; i; i = i->next)
{
@@ -443,8 +442,8 @@
/* Notify any observer that the shared object has been
loaded now that we've added it to GDB's tables. */
-@@ -606,6 +607,39 @@
- }
+@@ -702,6 +703,39 @@
+ }
}
+void
@@ -481,7 +480,7 @@
+}
+
- /* GLOBAL FUNCTION
+ /*
--- gdb/solist.h
+++ gdb/solist.h
@@ -518,15 +517,15 @@
reinit_frame_cache ();
--- gdb/symfile.c
+++ gdb/symfile.c
-@@ -51,6 +51,7 @@
+@@ -49,6 +49,7 @@
+ #include "readline/readline.h"
+ #include "gdb_assert.h"
#include "block.h"
++#include "varobj.h"
#include "observer.h"
#include "exec.h"
-+#include "varobj.h"
-
- #include
participants (1)
-
root@suse.de