rpms/gdb/devel .cvsignore, 1.37, 1.38 gdb-6.3-gstack-20050411.patch, 1.6, 1.7 gdb-6.3-pie-20050110.patch, 1.22, 1.23 gdb-6.8-inlining-addon.patch, 1.8, 1.9 gdb-archer.patch, 1.29, 1.30 gdb.spec, 1.383, 1.384 sources, 1.36, 1.37 gdb-6.3-ia64-sigtramp-fp-20050926.patch, 1.7, NONE gdb-bz515434-qsort_cmp.patch, 1.3, NONE
Jan Kratochvil
jkratoch at fedoraproject.org
Thu Sep 17 12:15:42 UTC 2009
Author: jkratoch
Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5711
Modified Files:
.cvsignore gdb-6.3-gstack-20050411.patch
gdb-6.3-pie-20050110.patch gdb-6.8-inlining-addon.patch
gdb-archer.patch gdb.spec sources
Removed Files:
gdb-6.3-ia64-sigtramp-fp-20050926.patch
gdb-bz515434-qsort_cmp.patch
Log Message:
* Thu Sep 17 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.91.20090917-1
- Upgrade to the FSF GDB gdb-7.0 branch and snapshot: 6.8.91.20090917
- archer-jankratochvil-fedora12 commit: 16f3f01cc2cbc15283462eaabdfcde92cf42cdc6
- Drop the qsort_cmp workaround as resolved in FSF GDB now (BZ 515434).
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/.cvsignore,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- .cvsignore 10 Sep 2009 21:37:38 -0000 1.37
+++ .cvsignore 17 Sep 2009 12:15:41 -0000 1.38
@@ -1 +1 @@
-gdb-6.8.50.20090910.tar.bz2
+gdb-6.8.91.20090917.tar.bz2
gdb-6.3-gstack-20050411.patch:
Makefile.in | 32 ++++++++++++++++++++++++++++++--
gstack.sh | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+), 2 deletions(-)
Index: gdb-6.3-gstack-20050411.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-gstack-20050411.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- gdb-6.3-gstack-20050411.patch 4 Aug 2009 05:37:27 -0000 1.6
+++ gdb-6.3-gstack-20050411.patch 17 Sep 2009 12:15:41 -0000 1.7
@@ -4,20 +4,20 @@
to install and uninstall.
* gstack.sh, gstack.1: New files.
-Index: gdb-6.8.50.20090802/gdb/Makefile.in
+Index: gdb-6.8.91.20090917/gdb/Makefile.in
===================================================================
---- gdb-6.8.50.20090802.orig/gdb/Makefile.in 2009-08-03 09:50:57.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/Makefile.in 2009-08-03 11:09:49.000000000 +0200
-@@ -947,7 +947,7 @@ gdb.z:gdb.1
- # time it takes for make to check that all is up to date.
- # install-only is intended to address that need.
- install: all install-only
--install-only: $(CONFIG_INSTALL)
-+install-only: install-gstack $(CONFIG_INSTALL)
+--- gdb-6.8.91.20090917.orig/gdb/Makefile.in 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/Makefile.in 2009-09-17 12:47:38.000000000 +0200
+@@ -989,7 +989,7 @@ install: all install-only
+
+ # The "install-only" target also installs the syscalls' XML files in
+ # the system.
+-install-only: $(CONFIG_INSTALL) xml-syscall-install
++install-only: install-gstack $(CONFIG_INSTALL) xml-syscall-install
transformed_name=`t='$(program_transform_name)'; \
echo gdb | sed -e "$$t"` ; \
if test "x$$transformed_name" = x; then \
-@@ -979,9 +979,26 @@ install-tui:
+@@ -1021,9 +1021,26 @@ install-tui:
$(DESTDIR)$(man1dir) ; \
$(INSTALL_DATA) $(srcdir)/gdb.1 \
$(DESTDIR)$(man1dir)/$$transformed_name.1
@@ -45,7 +45,7 @@ Index: gdb-6.8.50.20090802/gdb/Makefile.
transformed_name=`t='$(program_transform_name)'; \
echo gdb | sed -e $$t` ; \
if test "x$$transformed_name" = x; then \
-@@ -1003,6 +1020,17 @@ uninstall-tui:
+@@ -1045,6 +1062,17 @@ uninstall-tui:
fi ; \
rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
$(DESTDIR)$(man1dir)/$$transformed_name.1
@@ -63,10 +63,10 @@ Index: gdb-6.8.50.20090802/gdb/Makefile.
# The C++ name parser can be built standalone for testing.
test-cp-name-parser.o: cp-name-parser.c
-Index: gdb-6.8.50.20090802/gdb/gstack.sh
+Index: gdb-6.8.91.20090917/gdb/gstack.sh
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20090802/gdb/gstack.sh 2009-08-03 11:08:52.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/gstack.sh 2009-09-17 12:47:14.000000000 +0200
@@ -0,0 +1,48 @@
+#!/bin/sh
+
gdb-6.3-pie-20050110.patch:
amd64-tdep.c | 71 +++++++-
auxv.c | 24 +-
auxv.h | 4
dwarf2read.c | 2
elfread.c | 2
infcmd.c | 3
infrun.c | 4
linux-tdep.c | 2
objfiles.c | 14 +
solib-svr4.c | 475 ++++++++++++++++++++++++++++++++++++++++++++++++++--------
solib.c | 83 ++++++++--
solist.h | 8
symfile-mem.c | 2
symfile.c | 23 ++
symfile.h | 8
target.h | 2
16 files changed, 616 insertions(+), 111 deletions(-)
Index: gdb-6.3-pie-20050110.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-pie-20050110.patch,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- gdb-6.3-pie-20050110.patch 10 Sep 2009 21:37:38 -0000 1.22
+++ gdb-6.3-pie-20050110.patch 17 Sep 2009 12:15:41 -0000 1.23
@@ -26,10 +26,10 @@
Fix scan_dyntag() for binaries provided by valgrind (BZ 460319).
-Index: gdb-6.8.50.20090909/gdb/amd64-tdep.c
+Index: gdb-6.8.91.20090917/gdb/amd64-tdep.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/amd64-tdep.c 2009-09-09 19:09:31.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/amd64-tdep.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/amd64-tdep.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/amd64-tdep.c 2009-09-17 12:50:07.000000000 +0200
@@ -36,6 +36,7 @@
#include "regcache.h"
#include "regset.h"
@@ -138,10 +138,10 @@ Index: gdb-6.8.50.20090909/gdb/amd64-tde
return pc;
}
-Index: gdb-6.8.50.20090909/gdb/auxv.c
+Index: gdb-6.8.91.20090917/gdb/auxv.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/auxv.c 2009-07-02 19:25:52.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/auxv.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/auxv.c 2009-07-02 19:25:52.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/auxv.c 2009-09-17 12:50:07.000000000 +0200
@@ -78,7 +78,7 @@ procfs_xfer_auxv (struct target_ops *ops
Return 1 if an entry was read into *TYPEP and *VALP. */
static int
@@ -230,10 +230,10 @@ Index: gdb-6.8.50.20090909/gdb/auxv.c
break;
}
-Index: gdb-6.8.50.20090909/gdb/auxv.h
+Index: gdb-6.8.91.20090917/gdb/auxv.h
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/auxv.h 2009-06-07 21:07:08.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/auxv.h 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/auxv.h 2009-06-07 21:07:08.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/auxv.h 2009-09-17 12:50:07.000000000 +0200
@@ -31,14 +31,14 @@
Return 1 if an entry was read into *TYPEP and *VALP. */
extern int target_auxv_parse (struct target_ops *ops,
@@ -251,11 +251,11 @@ Index: gdb-6.8.50.20090909/gdb/auxv.h
/* Print the contents of the target's AUXV on the specified file. */
extern int fprint_target_auxv (struct ui_file *file, struct target_ops *ops);
-Index: gdb-6.8.50.20090909/gdb/dwarf2read.c
+Index: gdb-6.8.91.20090917/gdb/dwarf2read.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/dwarf2read.c 2009-09-09 19:21:23.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/dwarf2read.c 2009-09-09 19:24:13.000000000 +0200
-@@ -1719,7 +1719,7 @@ dwarf2_build_psymtabs (struct objfile *o
+--- gdb-6.8.91.20090917.orig/gdb/dwarf2read.c 2009-09-17 12:49:20.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/dwarf2read.c 2009-09-17 12:50:07.000000000 +0200
+@@ -1717,7 +1717,7 @@ dwarf2_build_psymtabs (struct objfile *o
dwarf2_read_section (objfile, &dwarf2_per_objfile->eh_frame);
dwarf2_read_section (objfile, &dwarf2_per_objfile->frame);
@@ -264,10 +264,10 @@ Index: gdb-6.8.50.20090909/gdb/dwarf2rea
|| (objfile->global_psymbols.size == 0
&& objfile->static_psymbols.size == 0))
{
-Index: gdb-6.8.50.20090909/gdb/elfread.c
+Index: gdb-6.8.91.20090917/gdb/elfread.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/elfread.c 2009-09-09 19:05:55.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/elfread.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/elfread.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/elfread.c 2009-09-17 12:50:07.000000000 +0200
@@ -681,7 +681,7 @@ elf_symfile_read (struct objfile *objfil
/* If we are reinitializing, or if we have never loaded syms yet,
set table to empty. MAINLINE is cleared so that *_read_psymtab
@@ -277,11 +277,11 @@ Index: gdb-6.8.50.20090909/gdb/elfread.c
{
init_psymbol_list (objfile, 0);
mainline = 0;
-Index: gdb-6.8.50.20090909/gdb/infrun.c
+Index: gdb-6.8.91.20090917/gdb/infrun.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/infrun.c 2009-09-09 19:09:31.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/infrun.c 2009-09-09 19:24:13.000000000 +0200
-@@ -3602,6 +3602,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
+--- gdb-6.8.91.20090917.orig/gdb/infrun.c 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/infrun.c 2009-09-17 12:50:07.000000000 +0200
+@@ -3659,6 +3659,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (
#endif
target_terminal_inferior ();
@@ -292,13 +292,13 @@ Index: gdb-6.8.50.20090909/gdb/infrun.c
/* If requested, stop when the dynamic linker notifies
gdb of events. This allows the user to get control
and place breakpoints in initializer routines for
-Index: gdb-6.8.50.20090909/gdb/objfiles.c
+Index: gdb-6.8.91.20090917/gdb/objfiles.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/objfiles.c 2009-09-09 19:23:05.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/objfiles.c 2009-09-09 19:24:13.000000000 +0200
-@@ -51,6 +51,9 @@
- #include "arch-utils.h"
- #include "exec.h"
+--- gdb-6.8.91.20090917.orig/gdb/objfiles.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/objfiles.c 2009-09-17 12:50:20.000000000 +0200
+@@ -53,6 +53,9 @@
+ #include "observer.h"
+ #include "complaints.h"
+#include "auxv.h"
+#include "elf/common.h"
@@ -306,7 +306,7 @@ Index: gdb-6.8.50.20090909/gdb/objfiles.
/* Prototypes for local functions */
static void objfile_alloc_data (struct objfile *objfile);
-@@ -278,9 +281,17 @@ init_entry_point_info (struct objfile *o
+@@ -280,9 +283,17 @@ init_entry_point_info (struct objfile *o
CORE_ADDR
entry_point_address (void)
{
@@ -324,7 +324,7 @@ Index: gdb-6.8.50.20090909/gdb/objfiles.
if (symfile_objfile == NULL)
return 0;
-@@ -465,6 +476,9 @@ free_objfile (struct objfile *objfile)
+@@ -467,6 +478,9 @@ free_objfile (struct objfile *objfile)
if (objfile == symfile_objfile)
symfile_objfile = NULL;
@@ -334,10 +334,10 @@ Index: gdb-6.8.50.20090909/gdb/objfiles.
/* Before the symbol table code was redone to make it easier to
selectively load and remove information particular to a specific
linkage unit, gdb used to do these things whenever the monolithic
-Index: gdb-6.8.50.20090909/gdb/solib-svr4.c
+Index: gdb-6.8.91.20090917/gdb/solib-svr4.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/solib-svr4.c 2009-09-09 19:09:35.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/solib-svr4.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/solib-svr4.c 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/solib-svr4.c 2009-09-17 12:50:07.000000000 +0200
@@ -47,6 +47,7 @@
#include "exec.h"
#include "auxv.h"
@@ -1000,10 +1000,10 @@ Index: gdb-6.8.50.20090909/gdb/solib-svr
+ add_info ("linkmap", info_linkmap_command,
+ "Display the inferior's linkmap.");
}
-Index: gdb-6.8.50.20090909/gdb/solib.c
+Index: gdb-6.8.91.20090917/gdb/solib.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/solib.c 2009-09-09 19:05:56.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/solib.c 2009-09-09 19:25:18.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/solib.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/solib.c 2009-09-17 12:50:07.000000000 +0200
@@ -82,6 +82,8 @@ set_solib_ops (struct gdbarch *gdbarch,
/* external data declarations */
@@ -1140,10 +1140,10 @@ Index: gdb-6.8.50.20090909/gdb/solib.c
+ NULL, NULL,
+ &setdebuglist, &showdebuglist);
}
-Index: gdb-6.8.50.20090909/gdb/solist.h
+Index: gdb-6.8.91.20090917/gdb/solist.h
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/solist.h 2009-09-09 19:05:56.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/solist.h 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/solist.h 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/solist.h 2009-09-17 12:50:07.000000000 +0200
@@ -61,6 +61,8 @@ struct so_list
bfd *abfd;
char symbols_loaded; /* flag: symbols read in yet? */
@@ -1164,10 +1164,10 @@ Index: gdb-6.8.50.20090909/gdb/solist.h
+extern int debug_solib;
+
#endif
-Index: gdb-6.8.50.20090909/gdb/symfile-mem.c
+Index: gdb-6.8.91.20090917/gdb/symfile-mem.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/symfile-mem.c 2009-09-09 19:06:57.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/symfile-mem.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/symfile-mem.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/symfile-mem.c 2009-09-17 12:50:07.000000000 +0200
@@ -115,7 +115,7 @@ symbol_file_add_from_memory (struct bfd
++i;
}
@@ -1177,10 +1177,10 @@ Index: gdb-6.8.50.20090909/gdb/symfile-m
sai, OBJF_SHARED);
/* This might change our ideas about frames already looked at. */
-Index: gdb-6.8.50.20090909/gdb/symfile.c
+Index: gdb-6.8.91.20090917/gdb/symfile.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/symfile.c 2009-09-09 19:15:43.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/symfile.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/symfile.c 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/symfile.c 2009-09-17 12:50:07.000000000 +0200
@@ -49,6 +49,7 @@
#include "readline/readline.h"
#include "gdb_assert.h"
@@ -1250,7 +1250,7 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
&& (have_full_symbols () || have_partial_symbols ())
&& from_tty
&& (have_full_symbols () || have_partial_symbols ())
-@@ -1162,6 +1168,9 @@ symbol_file_clear (int from_tty)
+@@ -1163,6 +1169,9 @@ symbol_file_clear (int from_tty)
symfile_objfile->name)
: !query (_("Discard symbol table? "))))
error (_("Not confirmed."));
@@ -1269,11 +1269,11 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
/* If the mtime has changed between the time we set new_modtime
and now, we *want* this to be out of date, so don't call stat
again now. */
-Index: gdb-6.8.50.20090909/gdb/target.h
+Index: gdb-6.8.91.20090917/gdb/target.h
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/target.h 2009-09-09 19:07:36.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/target.h 2009-09-09 19:24:13.000000000 +0200
-@@ -528,7 +528,7 @@ struct target_ops
+--- gdb-6.8.91.20090917.orig/gdb/target.h 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/target.h 2009-09-17 12:50:07.000000000 +0200
+@@ -545,7 +545,7 @@ struct target_ops
Return -1 if there is insufficient buffer for a whole entry.
Return 1 if an entry was read into *TYPEP and *VALP. */
int (*to_auxv_parse) (struct target_ops *ops, gdb_byte **readptr,
@@ -1282,10 +1282,10 @@ Index: gdb-6.8.50.20090909/gdb/target.h
/* Search SEARCH_SPACE_LEN bytes beginning at START_ADDR for the
sequence of bytes in PATTERN with length PATTERN_LEN.
-Index: gdb-6.8.50.20090909/gdb/symfile.h
+Index: gdb-6.8.91.20090917/gdb/symfile.h
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/symfile.h 2009-09-09 19:15:43.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/symfile.h 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/symfile.h 2009-09-17 12:48:50.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/symfile.h 2009-09-17 12:50:07.000000000 +0200
@@ -229,7 +229,13 @@ enum symfile_add_flags
SYMFILE_MAINLINE = 1 << 2,
@@ -1301,10 +1301,10 @@ Index: gdb-6.8.50.20090909/gdb/symfile.h
};
extern void syms_from_objfile (struct objfile *,
-Index: gdb-6.8.50.20090909/gdb/infcmd.c
+Index: gdb-6.8.91.20090917/gdb/infcmd.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/infcmd.c 2009-09-09 19:20:33.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/infcmd.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/infcmd.c 2009-09-17 12:49:01.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/infcmd.c 2009-09-17 12:50:07.000000000 +0200
@@ -2308,6 +2308,9 @@ attach_command_post_wait (char *args, in
post_create_inferior (¤t_target, from_tty);
@@ -1315,10 +1315,10 @@ Index: gdb-6.8.50.20090909/gdb/infcmd.c
/* Install inferior's terminal modes. */
target_terminal_inferior ();
-Index: gdb-6.8.50.20090909/gdb/linux-tdep.c
+Index: gdb-6.8.91.20090917/gdb/linux-tdep.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/linux-tdep.c 2009-08-04 22:41:13.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/linux-tdep.c 2009-09-09 19:24:13.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/linux-tdep.c 2009-08-04 22:41:13.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/linux-tdep.c 2009-09-17 12:50:07.000000000 +0200
@@ -163,5 +163,7 @@ in this session.\n"));
void
_initialize_linux_tdep (void)
gdb-6.8-inlining-addon.patch:
breakpoint.c | 35 +++++++++++++---
dwarf2read.c | 6 ++
frame.c | 8 ++-
gdbthread.h | 6 ++
infcmd.c | 76 ++++++++++++++++++++++++++----------
inline-frame.c | 34 +++++++++++++---
inline-frame.h | 4 +
target.c | 1
testsuite/gdb.opt/inline-bt.c | 10 +++-
testsuite/gdb.opt/inline-cmds.c | 10 +++-
testsuite/gdb.opt/inline-cmds.exp | 28 ++++++-------
testsuite/gdb.opt/inline-locals.c | 9 +++-
testsuite/gdb.opt/inline-locals.exp | 6 ++
testsuite/gdb.opt/inline-markers.c | 5 --
14 files changed, 176 insertions(+), 62 deletions(-)
Index: gdb-6.8-inlining-addon.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.8-inlining-addon.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- gdb-6.8-inlining-addon.patch 10 Sep 2009 21:37:39 -0000 1.8
+++ gdb-6.8-inlining-addon.patch 17 Sep 2009 12:15:41 -0000 1.9
@@ -5,10 +5,10 @@ causing: FAIL: gdb.base/unwindonsignal.e
resume() -> target_resume() move of clear_inline_frame_state() is for:
gdb.mi/mi-nsmoribund.exp
-Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-bt.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-bt.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/testsuite/gdb.opt/inline-bt.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-bt.c 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-bt.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-bt.c 2009-09-17 12:49:01.000000000 +0200
@@ -13,10 +13,16 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -28,10 +28,10 @@ Index: gdb-6.8.50.20090909/gdb/testsuite
inline int func1(void)
{
-Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-cmds.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/testsuite/gdb.opt/inline-cmds.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-cmds.c 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-cmds.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.c 2009-09-17 12:49:01.000000000 +0200
@@ -13,13 +13,19 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -54,10 +54,10 @@ Index: gdb-6.8.50.20090909/gdb/testsuite
inline int func1(void)
{
bar ();
-Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-cmds.exp
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.exp
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-cmds.exp 2009-09-17 12:49:01.000000000 +0200
@@ -230,7 +230,7 @@ set line3 [gdb_get_line_number "set brea
gdb_breakpoint $line3
gdb_continue_to_breakpoint "consecutive func1"
@@ -110,10 +110,10 @@ Index: gdb-6.8.50.20090909/gdb/testsuite
+gdb_test "info frame" "inlined into frame.*" "outer_inline2 inlined"
+gdb_test "fini" "" "up from outer_inline2"
+gdb_test "info frame" " in main \[^\n\]*\n source language.*" "main not inlined"
-Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-locals.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/testsuite/gdb.opt/inline-locals.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-locals.c 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-locals.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.c 2009-09-17 12:49:01.000000000 +0200
@@ -13,11 +13,16 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -133,10 +133,10 @@ Index: gdb-6.8.50.20090909/gdb/testsuite
inline int func1(int arg1)
{
-Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-locals.exp
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.exp
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/testsuite/gdb.opt/inline-locals.exp 2009-06-30 17:50:27.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-locals.exp 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-locals.exp 2009-06-30 17:50:27.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-locals.exp 2009-09-17 12:49:01.000000000 +0200
@@ -77,6 +77,9 @@ if { ! $no_frames } {
# Make sure that locals on the stack are found. This is an array to
@@ -155,11 +155,11 @@ Index: gdb-6.8.50.20090909/gdb/testsuite
+ setup_kfail *-*-* "gcc/debug.optimization"
+}
gdb_test "print array\[0\]" "\\\$$decimal = 184" "print local (3)"
-Index: gdb-6.8.50.20090909/gdb/frame.c
+Index: gdb-6.8.91.20090917/gdb/frame.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/frame.c 2009-09-09 19:06:46.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/frame.c 2009-09-09 19:20:00.000000000 +0200
-@@ -276,7 +276,7 @@ fprint_frame (struct ui_file *file, stru
+--- gdb-6.8.91.20090917.orig/gdb/frame.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/frame.c 2009-09-17 12:49:01.000000000 +0200
+@@ -310,7 +310,7 @@ fprint_frame (struct ui_file *file, stru
static struct frame_info *
skip_inlined_frames (struct frame_info *frame)
{
@@ -168,7 +168,7 @@ Index: gdb-6.8.50.20090909/gdb/frame.c
frame = get_prev_frame (frame);
return frame;
-@@ -1715,6 +1715,7 @@ get_frame_address_in_block (struct frame
+@@ -1778,6 +1778,7 @@ get_frame_address_in_block (struct frame
{
/* A draft address. */
CORE_ADDR pc = get_frame_pc (this_frame);
@@ -176,7 +176,7 @@ Index: gdb-6.8.50.20090909/gdb/frame.c
struct frame_info *next_frame = this_frame->next;
-@@ -1757,6 +1758,9 @@ get_frame_address_in_block (struct frame
+@@ -1820,6 +1821,9 @@ get_frame_address_in_block (struct frame
while in an inlined function, then the code address of the
"calling" normal function should not be adjusted either. */
@@ -186,7 +186,7 @@ Index: gdb-6.8.50.20090909/gdb/frame.c
while (get_frame_type (next_frame) == INLINE_FRAME)
next_frame = next_frame->next;
-@@ -1788,7 +1792,7 @@ find_frame_sal (struct frame_info *frame
+@@ -1851,7 +1855,7 @@ find_frame_sal (struct frame_info *frame
sym = inline_skipped_symbol (inferior_ptid);
init_sal (sal);
@@ -195,19 +195,19 @@ Index: gdb-6.8.50.20090909/gdb/frame.c
{
sal->symtab = SYMBOL_SYMTAB (sym);
sal->line = SYMBOL_LINE (sym);
-Index: gdb-6.8.50.20090909/gdb/breakpoint.c
+Index: gdb-6.8.91.20090917/gdb/breakpoint.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/breakpoint.c 2009-09-09 19:19:46.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/breakpoint.c 2009-09-09 19:21:14.000000000 +0200
-@@ -61,6 +61,7 @@
- #include "valprint.h"
+--- gdb-6.8.91.20090917.orig/gdb/breakpoint.c 2009-09-17 12:48:51.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/breakpoint.c 2009-09-17 12:49:12.000000000 +0200
+@@ -62,6 +62,7 @@
#include "jit.h"
+ #include "xml-syscall.h"
#include "parser-defs.h"
+#include "inline-frame.h"
/* readline include files */
#include "readline/readline.h"
-@@ -3217,10 +3218,24 @@ bpstat_check_breakpoint_conditions (bpst
+@@ -3220,10 +3221,24 @@ bpstat_check_breakpoint_conditions (bpst
const struct bp_location *bl = bs->breakpoint_at;
struct breakpoint *b = bl->owner;
@@ -236,7 +236,7 @@ Index: gdb-6.8.50.20090909/gdb/breakpoin
{
int value_is_zero = 0;
-@@ -3380,6 +3395,12 @@ bpstat_stop_status (CORE_ADDR bp_addr, p
+@@ -3383,6 +3398,12 @@ bpstat_stop_status (CORE_ADDR bp_addr, p
bs->print = 0;
}
bs->commands = copy_command_lines (bs->commands);
@@ -249,7 +249,7 @@ Index: gdb-6.8.50.20090909/gdb/breakpoin
}
/* Print nothing for this entry if we dont stop or if we dont print. */
-@@ -5278,9 +5299,9 @@ set_momentary_breakpoint (struct gdbarch
+@@ -5572,9 +5593,9 @@ set_momentary_breakpoint (struct gdbarch
{
struct breakpoint *b;
@@ -262,11 +262,11 @@ Index: gdb-6.8.50.20090909/gdb/breakpoin
b = set_raw_breakpoint (gdbarch, sal, type);
b->enable_state = bp_enabled;
-Index: gdb-6.8.50.20090909/gdb/inline-frame.c
+Index: gdb-6.8.91.20090917/gdb/inline-frame.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/inline-frame.c 2009-06-28 02:20:22.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/inline-frame.c 2009-09-09 19:20:00.000000000 +0200
-@@ -195,6 +195,12 @@ inline_frame_sniffer (const struct frame
+--- gdb-6.8.91.20090917.orig/gdb/inline-frame.c 2009-09-13 18:28:28.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/inline-frame.c 2009-09-17 12:49:01.000000000 +0200
+@@ -199,6 +199,12 @@ inline_frame_sniffer (const struct frame
if (frame_block == NULL)
return 0;
@@ -279,7 +279,7 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
/* Calculate DEPTH, the number of inlined functions at this
location. */
depth = 0;
-@@ -204,6 +210,10 @@ inline_frame_sniffer (const struct frame
+@@ -208,6 +214,10 @@ inline_frame_sniffer (const struct frame
if (block_inlined_p (cur_block))
depth++;
@@ -290,7 +290,7 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
cur_block = BLOCK_SUPERBLOCK (cur_block);
}
-@@ -287,7 +297,6 @@ skip_inline_frames (ptid_t ptid)
+@@ -291,7 +301,6 @@ skip_inline_frames (ptid_t ptid)
{
CORE_ADDR this_pc;
struct block *frame_block, *cur_block;
@@ -298,7 +298,7 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
int skip_count = 0;
struct inline_state *state;
-@@ -308,10 +317,7 @@ skip_inline_frames (ptid_t ptid)
+@@ -312,10 +321,7 @@ skip_inline_frames (ptid_t ptid)
of BLOCK_START. */
if (BLOCK_START (cur_block) == this_pc
|| block_starting_point_at (this_pc, cur_block))
@@ -310,7 +310,7 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
else
break;
}
-@@ -323,7 +329,6 @@ skip_inline_frames (ptid_t ptid)
+@@ -327,7 +333,6 @@ skip_inline_frames (ptid_t ptid)
state = allocate_inline_frame_state (ptid);
state->skipped_frames = skip_count;
state->saved_pc = this_pc;
@@ -318,7 +318,7 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
if (skip_count != 0)
reinit_frame_cache ();
-@@ -341,6 +346,23 @@ step_into_inline_frame (ptid_t ptid)
+@@ -345,6 +350,23 @@ step_into_inline_frame (ptid_t ptid)
reinit_frame_cache ();
}
@@ -342,10 +342,10 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
/* Return the number of hidden functions inlined into the current
frame. */
-Index: gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-markers.c
+Index: gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-markers.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/testsuite/gdb.opt/inline-markers.c 2009-06-28 02:20:24.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/testsuite/gdb.opt/inline-markers.c 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/testsuite/gdb.opt/inline-markers.c 2009-06-28 02:20:24.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/testsuite/gdb.opt/inline-markers.c 2009-09-17 12:49:01.000000000 +0200
@@ -15,11 +15,6 @@
extern int x, y;
@@ -358,10 +358,10 @@ Index: gdb-6.8.50.20090909/gdb/testsuite
void marker(void)
{
x += y; /* set breakpoint 2 here */
-Index: gdb-6.8.50.20090909/gdb/gdbthread.h
+Index: gdb-6.8.91.20090917/gdb/gdbthread.h
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/gdbthread.h 2009-09-09 19:05:56.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/gdbthread.h 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/gdbthread.h 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/gdbthread.h 2009-09-17 12:49:01.000000000 +0200
@@ -191,6 +191,12 @@ struct thread_info
/* Private data used by the target vector implementation. */
@@ -375,10 +375,10 @@ Index: gdb-6.8.50.20090909/gdb/gdbthread
};
/* Create an empty thread list, or empty the existing one. */
-Index: gdb-6.8.50.20090909/gdb/infcmd.c
+Index: gdb-6.8.91.20090917/gdb/infcmd.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/infcmd.c 2009-09-09 19:05:56.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/infcmd.c 2009-09-09 19:20:33.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/infcmd.c 2009-09-17 12:47:07.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/infcmd.c 2009-09-17 12:49:01.000000000 +0200
@@ -1434,11 +1434,11 @@ finish_command_continuation (void *arg)
struct type *value_type;
@@ -518,11 +518,11 @@ Index: gdb-6.8.50.20090909/gdb/infcmd.c
}
-Index: gdb-6.8.50.20090909/gdb/target.c
+Index: gdb-6.8.91.20090917/gdb/target.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/target.c 2009-09-09 19:09:31.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/target.c 2009-09-09 19:21:00.000000000 +0200
-@@ -2182,6 +2182,7 @@ target_resume (ptid_t ptid, int step, en
+--- gdb-6.8.91.20090917.orig/gdb/target.c 2009-09-17 12:48:49.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/target.c 2009-09-17 12:49:01.000000000 +0200
+@@ -2187,6 +2187,7 @@ target_resume (ptid_t ptid, int step, en
{
struct target_ops *t;
@@ -530,10 +530,10 @@ Index: gdb-6.8.50.20090909/gdb/target.c
target_dcache_invalidate ();
for (t = current_target.beneath; t != NULL; t = t->beneath)
-Index: gdb-6.8.50.20090909/gdb/inline-frame.h
+Index: gdb-6.8.91.20090917/gdb/inline-frame.h
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/inline-frame.h 2009-06-28 02:20:22.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/inline-frame.h 2009-09-09 19:20:00.000000000 +0200
+--- gdb-6.8.91.20090917.orig/gdb/inline-frame.h 2009-06-28 02:20:22.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/inline-frame.h 2009-09-17 12:49:01.000000000 +0200
@@ -43,6 +43,10 @@ void clear_inline_frame_state (ptid_t pt
void step_into_inline_frame (ptid_t ptid);
@@ -545,11 +545,11 @@ Index: gdb-6.8.50.20090909/gdb/inline-fr
/* Return the number of hidden functions inlined into the current
frame. */
-Index: gdb-6.8.50.20090909/gdb/dwarf2read.c
+Index: gdb-6.8.91.20090917/gdb/dwarf2read.c
===================================================================
---- gdb-6.8.50.20090909.orig/gdb/dwarf2read.c 2009-09-09 19:19:46.000000000 +0200
-+++ gdb-6.8.50.20090909/gdb/dwarf2read.c 2009-09-09 19:20:00.000000000 +0200
-@@ -4130,6 +4130,7 @@ read_func_scope (struct die_info *die, s
+--- gdb-6.8.91.20090917.orig/gdb/dwarf2read.c 2009-09-17 12:48:51.000000000 +0200
++++ gdb-6.8.91.20090917/gdb/dwarf2read.c 2009-09-17 12:49:01.000000000 +0200
+@@ -4128,6 +4128,7 @@ read_func_scope (struct die_info *die, s
struct block *block;
unsigned die_children = 0;
int inlined_func = (die->tag == DW_TAG_inlined_subroutine);
@@ -557,7 +557,7 @@ Index: gdb-6.8.50.20090909/gdb/dwarf2rea
if (inlined_func)
{
-@@ -4171,7 +4172,10 @@ read_func_scope (struct die_info *die, s
+@@ -4169,7 +4170,10 @@ read_func_scope (struct die_info *die, s
add_to_cu_func_list (name, lowpc, highpc, cu);
new = push_context (0, lowpc);
gdb-archer.patch:
Makefile.in | 92
NEWS | 7
ada-lang.c | 43
amd64-linux-nat.c | 45
block.c | 24
block.h | 12
breakpoint.c | 763 ++++--
breakpoint.h | 21
c-exp.y | 240 ++
c-lang.c | 8
c-typeprint.c | 47
cli/cli-cmds.c | 72
coffread.c | 3
config.in | 8
config/i386/nm-i386.h | 125 +
config/i386/nm-linux64.h | 54
config/mips/nm-irix5.h | 44
configure | 76
configure.ac | 47
cp-name-parser.y | 5
cp-namespace.c | 275 +-
cp-support.c | 88
cp-support.h | 50
dbxread.c | 1
doc/gdb.texinfo | 438 +++
doc/gdbint.texinfo | 62
doc/observer.texi | 5
dwarf2-frame.c | 9
dwarf2expr.c | 7
dwarf2expr.h | 2
dwarf2loc.c | 227 +
dwarf2loc.h | 6
dwarf2read.c | 1740 ++++++++++-----
elfread.c | 11
eval.c | 170 +
expression.h | 11
f-exp.y | 4
f-lang.c | 457 ---
f-lang.h | 45
f-typeprint.c | 36
f-valprint.c | 267 --
findcmd.c | 111
findvar.c | 126 -
frame.c | 8
gdbinit.in | 10
gdbserver/linux-i386-low.c | 210 +
gdbserver/linux-x86-64-low.c | 184 +
gdbthread.h | 7
gdbtypes.c | 596 ++++-
gdbtypes.h | 146 +
gnu-v3-abi.c | 18
i386-linux-nat.c | 47
i386-nat.c | 49
i386-nat.h | 17
infcmd.c | 34
inferior.h | 2
infrun.c | 185 +
jv-lang.c | 1
language.h | 1
linespec.c | 62
linux-nat.c | 88
linux-nat.h | 6
m2-lang.c | 1
machoread.c | 1
main.c | 80
maint.c | 8
mdebugread.c | 2
mi/mi-cmd-var.c | 1
mi/mi-main.c | 2
mipsread.c | 1
objfiles.c | 20
objfiles.h | 21
parse.c | 154 +
parser-defs.h | 25
ppc-linux-nat.c | 19
printcmd.c | 90
python/lib/gdb/FrameIterator.py | 33
python/lib/gdb/FrameWrapper.py | 112
python/lib/gdb/__init__.py | 19
python/lib/gdb/backtrace.py | 42
python/lib/gdb/command/__init__.py | 1
python/lib/gdb/command/alias.py | 59
python/lib/gdb/command/backtrace.py | 106
python/lib/gdb/command/ignore_errors.py | 37
python/lib/gdb/command/pahole.py | 75
python/lib/gdb/command/require.py | 57
python/lib/gdb/command/save_breakpoints.py | 65
python/lib/gdb/command/upto.py | 129 +
python/lib/gdb/function/__init__.py | 1
python/lib/gdb/function/caller_is.py | 58
python/lib/gdb/function/in_scope.py | 47
python/py-block.c | 265 ++
python/py-breakpoint.c | 665 +++++
python/py-cmd.c | 17
python/py-frame.c | 116 -
python/py-hooks.c | 50
python/py-inferior.c | 926 +++++++
python/py-infthread.c | 285 ++
python/py-membuf.c | 268 ++
python/py-param.c | 606 +++++
python/py-prettyprint.c | 21
python/py-symbol.c | 336 ++
python/py-symtab.c | 322 ++
python/py-type.c | 170 +
python/py-utils.c | 46
python/py-value.c | 68
python/python-internal.h | 69
python/python.c | 384 +++
python/python.h | 4
scm-lang.c | 1
scm-valprint.c | 4
solib-darwin.c | 1
solib-spu.c | 7
solib-svr4.c | 4
solib.c | 3
solist.h | 2
somread.c | 1
spu-tdep.c | 2
stabsread.c | 4
stack.c | 38
symfile.c | 41
symfile.h | 12
symmisc.c | 4
symtab.c | 321 +-
symtab.h | 20
target.c | 20
target.h | 32
testsuite/gdb.arch/powerpc-power7.exp | 175 +
testsuite/gdb.arch/powerpc-power7.s | 107
testsuite/gdb.arch/x86_64-vla-typedef-foo.S | 455 +++
testsuite/gdb.arch/x86_64-vla-typedef.c | 43
testsuite/gdb.arch/x86_64-vla-typedef.exp | 64
testsuite/gdb.base/arrayidx.c | 7
testsuite/gdb.base/arrayidx.exp | 10
testsuite/gdb.base/help.exp | 2
testsuite/gdb.base/lineno-makeup-func.c | 21
testsuite/gdb.base/lineno-makeup.c | 35
testsuite/gdb.base/lineno-makeup.exp | 78
testsuite/gdb.base/macscp.exp | 8
testsuite/gdb.base/radix.exp | 7
testsuite/gdb.base/valgrind-attach.c | 28
testsuite/gdb.base/valgrind-attach.exp | 94
testsuite/gdb.base/valgrind-attach.sh | 20
testsuite/gdb.base/vla-overflow.c | 30
testsuite/gdb.base/vla-overflow.exp | 108
testsuite/gdb.base/vla.c | 55
testsuite/gdb.base/vla.exp | 62
testsuite/gdb.base/watchpoint-hw.c | 6
testsuite/gdb.base/watchpoint-hw.exp | 45
testsuite/gdb.cp/Makefile.in | 2
testsuite/gdb.cp/cp-relocate.exp | 6
testsuite/gdb.cp/cplusfuncs.cc | 6
testsuite/gdb.cp/cplusfuncs.exp | 195 +
testsuite/gdb.cp/expand-sals.exp | 2
testsuite/gdb.cp/gdb9593.cc | 180 +
testsuite/gdb.cp/gdb9593.exp | 185 +
testsuite/gdb.cp/member-ptr.cc | 17
testsuite/gdb.cp/member-ptr.exp | 34
testsuite/gdb.cp/namespace-multiple-imports.cc | 20
testsuite/gdb.cp/namespace-multiple-imports.exp | 49
testsuite/gdb.cp/namespace-nested-imports.cc | 36
testsuite/gdb.cp/namespace-nested-imports.exp | 57
testsuite/gdb.cp/namespace-no-imports.cc | 37
testsuite/gdb.cp/namespace-no-imports.exp | 76
testsuite/gdb.cp/namespace-recursive.cc | 47
testsuite/gdb.cp/namespace-recursive.exp | 75
testsuite/gdb.cp/namespace-stress.cc | 60
testsuite/gdb.cp/namespace-stress.exp | 50
testsuite/gdb.cp/namespace-using.cc | 128 +
testsuite/gdb.cp/namespace-using.exp | 132 +
testsuite/gdb.cp/namespace.exp | 23
testsuite/gdb.cp/overload.exp | 8
testsuite/gdb.cp/ovldbreak.exp | 46
testsuite/gdb.cp/shadowing.cc | 48
testsuite/gdb.cp/shadowing.exp | 91
testsuite/gdb.dwarf2/dw2-aranges.S | 140 +
testsuite/gdb.dwarf2/dw2-aranges.exp | 40
testsuite/gdb.dwarf2/dw2-stripped.c | 42
testsuite/gdb.dwarf2/dw2-stripped.exp | 79
testsuite/gdb.dwarf2/dw2-struct-member-data-location.S | 83
testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp | 37
testsuite/gdb.fortran/common-block.exp | 101
testsuite/gdb.fortran/common-block.f90 | 67
testsuite/gdb.fortran/dwarf-stride.exp | 42
testsuite/gdb.fortran/dwarf-stride.f90 | 40
testsuite/gdb.fortran/dynamic.exp | 145 +
testsuite/gdb.fortran/dynamic.f90 | 98
testsuite/gdb.fortran/library-module-lib.f90 | 28
testsuite/gdb.fortran/library-module-main.f90 | 23
testsuite/gdb.fortran/library-module.exp | 53
testsuite/gdb.fortran/logical.exp | 44
testsuite/gdb.fortran/logical.f90 | 33
testsuite/gdb.fortran/module.exp | 28
testsuite/gdb.fortran/module.f90 | 37
testsuite/gdb.fortran/string.exp | 59
testsuite/gdb.fortran/string.f90 | 37
testsuite/gdb.gdb/selftest.exp | 4
testsuite/gdb.java/jnpe.exp | 72
testsuite/gdb.java/jnpe.java | 38
testsuite/gdb.opt/array-from-register-func.c | 22
testsuite/gdb.opt/array-from-register.c | 28
testsuite/gdb.opt/array-from-register.exp | 33
testsuite/gdb.opt/fortran-string.exp | 41
testsuite/gdb.opt/fortran-string.f90 | 28
testsuite/gdb.python/py-cmd.exp | 27
testsuite/gdb.python/py-frame.exp | 48
testsuite/gdb.python/py-function.exp | 27
testsuite/gdb.python/py-inferior.c | 49
testsuite/gdb.python/py-inferior.exp | 201 +
testsuite/gdb.python/py-infthread.c | 14
testsuite/gdb.python/py-infthread.exp | 58
testsuite/gdb.python/py-prettyprint.exp | 27
testsuite/gdb.python/py-template.exp | 25
testsuite/gdb.python/py-value.c | 15
testsuite/gdb.python/py-value.exp | 106
testsuite/gdb.python/python.exp | 27
testsuite/gdb.threads/watchpoint-fork-forkoff.c | 175 +
testsuite/gdb.threads/watchpoint-fork-mt.c | 157 +
testsuite/gdb.threads/watchpoint-fork.c | 57
testsuite/gdb.threads/watchpoint-fork.exp | 130 +
testsuite/gdb.threads/watchthreads-reorder.c | 366 +++
testsuite/gdb.threads/watchthreads-reorder.exp | 101
testsuite/lib/cp-support.exp | 3
testsuite/lib/gdb.exp | 1
testsuite/lib/python-support.exp | 53
thread.c | 18
top.c | 1
typeprint.c | 14
typeprint.h | 3
ui-file.c | 20
ui-file.h | 6
utils.c | 7
valarith.c | 45
valops.c | 258 +-
valprint.c | 4
value.c | 150 +
value.h | 8
varobj.c | 76
xcoffread.c | 1
239 files changed, 18411 insertions(+), 2415 deletions(-)
View full diff with command:
/usr/bin/cvs -n -f diff -kk -u -p -N -r 1.29 -r 1.30 gdb-archer.patchIndex: gdb-archer.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-archer.patch,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- gdb-archer.patch 10 Sep 2009 21:37:39 -0000 1.29
+++ gdb-archer.patch 17 Sep 2009 12:15:41 -0000 1.30
@@ -2,7 +2,7 @@ http://sourceware.org/gdb/wiki/ProjectAr
http://sourceware.org/gdb/wiki/ArcherBranchManagement
GIT snapshot:
-commit 941eb487a42933e442cb4d11344cda96ecb8a04d
+commit 16f3f01cc2cbc15283462eaabdfcde92cf42cdc6
branch `archer' - the merge of branches:
archer-tromey-call-frame-cfa
@@ -19,16 +19,13 @@ archer-pmuldoon-next-over-throw
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
-index 7f2fe58..ac3a4a0 100644
+index f5e1dde..73ee55c 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
-@@ -166,6 +166,13 @@ INTL_CFLAGS = @INCINTL@
- TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
- TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
+@@ -169,6 +169,10 @@ TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
+ # Did the user give us a --with-gdb-datadir option?
+ GDB_DATADIR_PATH = @GDB_DATADIR_PATH@
-+# Did the user give us a --with-gdb-datadir option?
-+GDB_DATADIR_PATH = @GDB_DATADIR_PATH@
-+
+# The argument to --with-pythondir. If not given, this is
+# GDB_DATADIR_PATH/python.
+pythondir = @pythondir@
@@ -36,7 +33,7 @@ index 7f2fe58..ac3a4a0 100644
# Helper code from gnulib.
LIBGNU = gnulib/libgnu.a
INCGNU = -I$(srcdir)/gnulib -Ignulib
-@@ -264,21 +271,37 @@ SUBDIR_TUI_CFLAGS= \
+@@ -267,21 +271,37 @@ SUBDIR_TUI_CFLAGS= \
#
SUBDIR_PYTHON_OBS = \
python.o \
@@ -74,25 +71,25 @@ index 7f2fe58..ac3a4a0 100644
python/py-type.c \
python/py-utils.c \
python/py-value.c
-@@ -746,7 +769,7 @@ config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
+@@ -750,7 +770,7 @@ config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h \
remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
--gdb_usleep.h jit.h
-+gdb_usleep.h jit.h python/python.h python/python-internal.h
+-gdb_usleep.h jit.h xml-syscall.h ada-operator.inc
++gdb_usleep.h jit.h xml-syscall.h ada-operator.inc python/python.h python/python-internal.h
# Header files that already have srcdir in them, or which are in objdir.
-@@ -864,7 +887,7 @@ generated_files = config.h observer.h observer.inc ada-lex.c \
+@@ -874,7 +894,7 @@ generated_files = config.h observer.h observer.inc ada-lex.c \
$(COMPILE) $<
$(POSTCOMPILE)
--all: gdb$(EXEEXT) $(CONFIG_ALL)
-+all: gdb$(EXEEXT) $(CONFIG_ALL) .gdbinit
+-all: gdb$(EXEEXT) $(CONFIG_ALL) xml-syscall-copy
++all: gdb$(EXEEXT) $(CONFIG_ALL) xml-syscall-copy .gdbinit
@$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
.PHONY: all-tui
all-tui: $(TUI)$(EXEEXT)
-@@ -1221,6 +1244,12 @@ stamp-h: $(srcdir)/config.in config.status
+@@ -1264,6 +1284,12 @@ stamp-h: $(srcdir)/config.in config.status
CONFIG_LINKS= \
$(SHELL) config.status
@@ -105,7 +102,7 @@ index 7f2fe58..ac3a4a0 100644
config.status: $(srcdir)/configure configure.tgt configure.host
$(SHELL) config.status --recheck
-@@ -1920,6 +1949,14 @@ python.o: $(srcdir)/python/python.c
+@@ -1963,6 +1989,14 @@ python.o: $(srcdir)/python/python.c
$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python.c
$(POSTCOMPILE)
@@ -120,7 +117,7 @@ index 7f2fe58..ac3a4a0 100644
py-cmd.o: $(srcdir)/python/py-cmd.c
$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-cmd.c
$(POSTCOMPILE)
-@@ -1932,14 +1969,38 @@ py-function.o: $(srcdir)/python/py-function.c
+@@ -1975,14 +2009,38 @@ py-function.o: $(srcdir)/python/py-function.c
$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-function.c
$(POSTCOMPILE)
@@ -159,7 +156,7 @@ index 7f2fe58..ac3a4a0 100644
py-type.o: $(srcdir)/python/py-type.c
$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-type.c
$(POSTCOMPILE)
-@@ -1952,6 +2013,36 @@ py-value.o: $(srcdir)/python/py-value.c
+@@ -1995,6 +2053,36 @@ py-value.o: $(srcdir)/python/py-value.c
$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-value.c
$(POSTCOMPILE)
@@ -197,10 +194,10 @@ index 7f2fe58..ac3a4a0 100644
# Dependency tracking. Most of this is conditional on GNU Make being
# found by configure; if GNU Make is not found, we fall back to a
diff --git a/gdb/NEWS b/gdb/NEWS
-index 14da6c8..1979f42 100644
+index 4fc6dcd..6744b23 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
-@@ -444,6 +444,13 @@ x86/x86_64 Darwin i[34567]86-*-darwin*
+@@ -462,6 +462,13 @@ x86/x86_64 Darwin i[34567]86-*-darwin*
x86_64 MinGW x86_64-*-mingw*
@@ -466,18 +463,18 @@ index 53e7371..d373f8a 100644
+
#endif /* BLOCK_H */
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
-index 9f50872..a4255d7 100644
+index 811cdfb..b0bf314 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
-@@ -60,6 +60,7 @@
- #include "wrapper.h"
+@@ -61,6 +61,7 @@
#include "valprint.h"
#include "jit.h"
+ #include "xml-syscall.h"
+#include "parser-defs.h"
/* readline include files */
#include "readline/readline.h"
-@@ -111,8 +112,6 @@ struct breakpoint *set_raw_breakpoint (struct gdbarch *gdbarch,
+@@ -112,8 +113,6 @@ struct breakpoint *set_raw_breakpoint (struct gdbarch *gdbarch,
struct symtab_and_line,
enum bptype);
@@ -486,7 +483,7 @@ index 9f50872..a4255d7 100644
static void breakpoint_adjustment_warning (CORE_ADDR, CORE_ADDR, int, int);
static CORE_ADDR adjust_breakpoint_address (struct gdbarch *gdbarch,
-@@ -334,14 +333,14 @@ static int executing_startup;
+@@ -337,14 +336,14 @@ static int executing_startup;
B ? (TMP=B->next, 1): 0; \
B = TMP)
@@ -508,7 +505,7 @@ index 9f50872..a4255d7 100644
/* Iterator for tracepoints only. */
-@@ -353,10 +352,31 @@ static int executing_startup;
+@@ -356,10 +355,31 @@ static int executing_startup;
struct breakpoint *breakpoint_chain;
@@ -542,7 +539,7 @@ index 9f50872..a4255d7 100644
may still be reported by a target. */
VEC(bp_location_p) *moribund_locations = NULL;
-@@ -579,6 +599,53 @@ get_breakpoint (int num)
+@@ -582,6 +602,53 @@ get_breakpoint (int num)
}
@@ -596,7 +593,7 @@ index 9f50872..a4255d7 100644
/* condition N EXP -- set break condition of breakpoint N to EXP. */
static void
-@@ -599,42 +666,7 @@ condition_command (char *arg, int from_tty)
+@@ -602,42 +669,7 @@ condition_command (char *arg, int from_tty)
ALL_BREAKPOINTS (b)
if (b->number == bnum)
{
@@ -640,7 +637,7 @@ index 9f50872..a4255d7 100644
return;
}
-@@ -732,35 +764,88 @@ commands_from_control_command (char *arg, struct command_line *cmd)
+@@ -735,35 +767,88 @@ commands_from_control_command (char *arg, struct command_line *cmd)
}
error (_("No breakpoint number %d."), bnum);
}
@@ -742,7 +739,7 @@ index 9f50872..a4255d7 100644
if (bp_addr + bp_size <= memaddr)
/* The breakpoint is entirely before the chunk of memory we
-@@ -909,7 +994,7 @@ update_watchpoint (struct breakpoint *b, int reparse)
+@@ -912,7 +997,7 @@ update_watchpoint (struct breakpoint *b, int reparse)
struct bp_location *loc;
bpstat bs;
@@ -751,7 +748,7 @@ index 9f50872..a4255d7 100644
update_global_locations will eventually delete them and remove
breakpoints if needed. */
[...5653 lines suppressed...]
to return the real type of the variable.
-@@ -2139,6 +2411,8 @@ value_of_root (struct varobj **var_handle, int *type_changed)
- else
- {
- tmp_var->obj_name = xstrdup (var->obj_name);
-+ tmp_var->from = var->from;
-+ tmp_var->to = var->to;
- varobj_delete (var, NULL, 0);
-
- install_variable (tmp_var);
-@@ -2173,7 +2447,11 @@ static char *
- my_value_of_variable (struct varobj *var, enum varobj_display_formats format)
- {
- if (var->root->is_valid)
-- return (*var->root->lang->value_of_variable) (var, format);
-+ {
-+ if (var->pretty_printer)
-+ return value_get_print_value (var->value, var->format, var);
-+ return (*var->root->lang->value_of_variable) (var, format);
-+ }
- else
- return NULL;
- }
-@@ -2196,43 +2474,51 @@ value_get_print_value (struct value *value, enum varobj_display_formats format,
- struct cleanup *back_to = varobj_ensure_python_env (var);
- PyObject *value_formatter = var->pretty_printer;
-
-- if (value_formatter && PyObject_HasAttr (value_formatter,
-- gdbpy_to_string_cst))
-+ if (value_formatter)
- {
-- char *hint;
-- struct value *replacement;
-- int string_print = 0;
-- PyObject *output = NULL;
-+ /* First check to see if we have any children at all. If so,
-+ we simply return {...}. */
-+ if (dynamic_varobj_has_child_method (var))
-+ return xstrdup ("{...}");
-
-- hint = gdbpy_get_display_hint (value_formatter);
-- if (hint)
-+ if (PyObject_HasAttr (value_formatter, gdbpy_to_string_cst))
- {
-- if (!strcmp (hint, "string"))
-- string_print = 1;
-- xfree (hint);
-- }
-+ char *hint;
-+ struct value *replacement;
-+ int string_print = 0;
-+ PyObject *output = NULL;
-+
-+ hint = gdbpy_get_display_hint (value_formatter);
-+ if (hint)
-+ {
-+ if (!strcmp (hint, "string"))
-+ string_print = 1;
-+ xfree (hint);
-+ }
-
-- output = apply_varobj_pretty_printer (value_formatter,
-- &replacement);
-- if (output)
-- {
-- PyObject *py_str = python_string_to_target_python_string (output);
-- if (py_str)
-- {
-- char *s = PyString_AsString (py_str);
-- len = PyString_Size (py_str);
-- thevalue = xmemdup (s, len + 1, len + 1);
-- Py_DECREF (py_str);
-+ output = apply_varobj_pretty_printer (value_formatter,
-+ &replacement);
-+ if (output)
-+ {
-+ PyObject *py_str
-+ = python_string_to_target_python_string (output);
-+ if (py_str)
-+ {
-+ char *s = PyString_AsString (py_str);
-+ len = PyString_Size (py_str);
-+ thevalue = xmemdup (s, len + 1, len + 1);
-+ Py_DECREF (py_str);
-+ }
-+ Py_DECREF (output);
- }
-- Py_DECREF (output);
-- }
-- if (thevalue && !string_print)
-- {
-- do_cleanups (back_to);
-- return thevalue;
-+ if (thevalue && !string_print)
-+ {
-+ do_cleanups (back_to);
-+ return thevalue;
-+ }
-+ if (replacement)
-+ value = replacement;
- }
-- if (replacement)
-- value = replacement;
- }
- do_cleanups (back_to);
- }
-@@ -2961,10 +3247,7 @@ cplus_describe_child (struct varobj *parent, int index,
- *cname = xstrdup (TYPE_FIELD_NAME (type, index));
-
- if (cvalue && value)
-- {
-- *cvalue = value_cast (TYPE_FIELD_TYPE (type, index), value);
-- release_value (*cvalue);
-- }
-+ *cvalue = value_cast (TYPE_FIELD_TYPE (type, index), value);
-
- if (ctype)
- {
-@@ -3170,6 +3453,19 @@ java_value_of_variable (struct varobj *var, enum varobj_display_formats format)
+@@ -3442,6 +3466,19 @@ java_value_of_variable (struct varobj *var, enum varobj_display_formats format)
return cplus_value_of_variable (var, format);
}
@@ -31652,7 +28591,7 @@ index 603071f..f1ce89f 100644
/* Iterate all the existing _root_ VAROBJs and call the FUNC callback for them
with an arbitrary caller supplied DATA pointer. */
-@@ -3187,6 +3483,43 @@ all_root_varobjs (void (*func) (struct varobj *var, void *data), void *data)
+@@ -3459,6 +3496,43 @@ all_root_varobjs (void (*func) (struct varobj *var, void *data), void *data)
(*func) (var_root->rootvar, data);
}
}
@@ -31696,66 +28635,6 @@ index 603071f..f1ce89f 100644
extern void _initialize_varobj (void);
void
-diff --git a/gdb/varobj.h b/gdb/varobj.h
-index 7297243..f43c593 100644
---- a/gdb/varobj.h
-+++ b/gdb/varobj.h
-@@ -78,6 +78,12 @@ typedef struct varobj_update_result_t
- new value of varobj is already computed and installed, or has to
- be yet installed. Don't use this outside varobj.c */
- int value_installed;
-+
-+ /* This will be non-NULL when new children were added to the varobj.
-+ It lists the new children (which must necessarily come at the end
-+ of the child list) added during an update. The caller is
-+ responsible for freeing this vector. */
-+ VEC (varobj_p) *new;
- } varobj_update_result;
-
- DEF_VEC_O (varobj_update_result);
-@@ -112,13 +118,24 @@ extern void varobj_set_frozen (struct varobj *var, int frozen);
-
- extern int varobj_get_frozen (struct varobj *var);
-
-+extern void varobj_get_child_range (struct varobj *var, int *from, int *to);
-+
-+extern void varobj_set_child_range (struct varobj *var, int from, int to);
-+
- extern char *varobj_get_display_hint (struct varobj *var);
-
- extern int varobj_get_num_children (struct varobj *var);
-
--/* Return the list of children of VAR. The returned vector
-- should not be modified in any way. */
--extern VEC (varobj_p)* varobj_list_children (struct varobj *var);
-+/* Return the list of children of VAR. The returned vector should not
-+ be modified in any way. FROM and TO are in/out parameters
-+ indicating the range of children to return. If either *FROM or *TO
-+ is less than zero on entry, then all children will be returned. On
-+ return, *FROM and *TO will be updated to indicate the real range
-+ that was returned. The resulting VEC will contain at least the
-+ children from *FROM to just before *TO; it might contain more
-+ children, depending on whether any more were available. */
-+extern VEC (varobj_p)* varobj_list_children (struct varobj *var,
-+ int *from, int *to);
-
- extern char *varobj_get_type (struct varobj *var);
-
-@@ -149,6 +166,13 @@ extern int varobj_editable_p (struct varobj *var);
-
- extern int varobj_floating_p (struct varobj *var);
-
--extern void varobj_set_visualizer (struct varobj *var, const char *visualizer);
-+extern void
-+varobj_set_visualizer (struct varobj *var, const char *visualizer);
-+
-+extern void varobj_enable_pretty_printing (void);
-+
-+extern int varobj_has_more (struct varobj *var, int to);
-+
-+extern int varobj_pretty_printed_p (struct varobj *var);
-
- #endif /* VAROBJ_H */
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index c56ab86..dacf913 100644
--- a/gdb/xcoffread.c
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.383
retrieving revision 1.384
diff -u -p -r1.383 -r1.384
--- gdb.spec 10 Sep 2009 21:37:40 -0000 1.383
+++ gdb.spec 17 Sep 2009 12:15:42 -0000 1.384
@@ -10,7 +10,7 @@ Name: gdb%{?_with_debug:-debug}
# Set version to contents of gdb/version.in.
# NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
# and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch).
-Version: 6.8.50.20090910
+Version: 6.8.91.20090917
# The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
@@ -18,7 +18,7 @@ Release: 1%{?_with_upstream:.upstream}%{
License: GPLv3+
Group: Development/Debuggers
-Source: ftp://sourceware.org/pub/gdb/snapshots/current/gdb-%{version}.tar.bz2
+Source: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{version}.tar.bz2
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
URL: http://gnu.org/software/gdb/
@@ -149,9 +149,6 @@ Patch163: gdb-6.3-inheritancetest-200507
# Add readnever option
Patch164: gdb-6.3-readnever-20050907.patch
-# Fix frame pointer for ia64 sigtramp frame
-Patch166: gdb-6.3-ia64-sigtramp-fp-20050926.patch
-
# Fix ia64 gdb problem with user-specified SIGILL handling
Patch169: gdb-6.3-ia64-sigill-20051115.patch
@@ -360,9 +357,6 @@ Patch360: gdb-6.8-bz457187-largefile-tes
# Fix compatibility of --with-system-readline and readline-6.0+.
Patch375: gdb-readline-6.0.patch
-# Temporarily disable assertion checks crashing in qsort_cmp (BZ 515434).
-Patch378: gdb-bz515434-qsort_cmp.patch
-
BuildRequires: ncurses-devel texinfo gettext flex bison expat-devel
Requires: readline
BuildRequires: readline-devel
@@ -479,7 +473,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc
%patch162 -p1
%patch163 -p1
%patch164 -p1
-%patch166 -p1
%patch169 -p1
%patch170 -p1
%patch176 -p1
@@ -551,7 +544,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc
%patch352 -p1
%patch360 -p1
%patch375 -p1
-%patch378 -p1
%patch124 -p1
find -name "*.orig" | xargs rm -f
@@ -811,6 +803,7 @@ fi
%{python_sitelib}/gdb
%endif # 0%{!?_without_python:1}
%endif # 0%{!?_with_upstream:1}
+%{_datadir}/gdb
%{_infodir}/annotate.info*
%{_infodir}/gdb.info*
%{_infodir}/gdbint.info*
@@ -825,6 +818,11 @@ fi
%endif
%changelog
+* Thu Sep 17 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.91.20090917-1
+- Upgrade to the FSF GDB gdb-7.0 branch and snapshot: 6.8.91.20090917
+- archer-jankratochvil-fedora12 commit: 16f3f01cc2cbc15283462eaabdfcde92cf42cdc6
+- Drop the qsort_cmp workaround as resolved in FSF GDB now (BZ 515434).
+
* Thu Sep 10 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090910-1
- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090910
- archer-jankratochvil-fedora12 commit: 941eb487a42933e442cb4d11344cda96ecb8a04d
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/sources,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- sources 10 Sep 2009 21:37:41 -0000 1.36
+++ sources 17 Sep 2009 12:15:42 -0000 1.37
@@ -1 +1 @@
-476e005b8bb33c5c3b3f0b7bd93988bc gdb-6.8.50.20090910.tar.bz2
+eaed9150b219c8ee56bb676e32a9d2a5 gdb-6.8.91.20090917.tar.bz2
--- gdb-6.3-ia64-sigtramp-fp-20050926.patch DELETED ---
--- gdb-bz515434-qsort_cmp.patch DELETED ---
More information about the scm-commits
mailing list