public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Rebase to FSF GDB 7.9.90.20150709 (7.10 branch snapshot).
@ 2026-06-27 23:57 Jan Kratochvil
0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : ae96b4a09515766d177b191e4af611c8e19399b2
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date : 2015-07-10T10:25:09+02:00
Stats : +544/-868 in 13 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/ae96b4a09515766d177b191e4af611c8e19399b2?branch=gdb-17.2-rebase-f44
Log:
Rebase to FSF GDB 7.9.90.20150709 (7.10 branch snapshot).
---
diff --git a/.gitignore b/.gitignore
index 9bf5f62..0b8e93b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
/gdb-libstdc++-v3-python-r225521.tar.xz
-/gdb-7.9.50.20150531.tar.xz
+/gdb-7.9.90.20150709.tar.xz
diff --git a/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch b/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
index 044a408..126d6a2 100644
--- a/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
+++ b/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
@@ -15,10 +15,10 @@ Comments by Sergio Durigan Junior <sergiodj@redhat.com>:
NULL after it is free'd, otherwise the code below thinks that it is still
valid and doesn't print the necessary warning ("Try: yum install ...").
-Index: gdb-7.7/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
===================================================================
---- /dev/null
-+++ gdb-7.7/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-7.9.90.20150709/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp 2015-07-09 22:22:26.278304653 +0200
@@ -0,0 +1,97 @@
+# Copyright (C) 2014 Free Software Foundation, Inc.
+
@@ -117,15 +117,19 @@ Index: gdb-7.7/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.
+
+# Leaving the link there will cause breakage in the next run.
+remote_exec build "rm -f ${objdir}/${subdir}/${build_id_without_debug}"
-Index: gdb-7.7/gdb/build-id.c
+Index: gdb-7.9.90.20150709/gdb/build-id.c
===================================================================
---- gdb-7.7.orig/gdb/build-id.c
-+++ gdb-7.7/gdb/build-id.c
-@@ -588,6 +588,7 @@ build_id_to_debug_bfd (size_t build_id_l
+--- gdb-7.9.90.20150709.orig/gdb/build-id.c 2015-07-09 22:22:26.278304653 +0200
++++ gdb-7.9.90.20150709/gdb/build-id.c 2015-07-09 22:22:51.398502329 +0200
+@@ -589,7 +589,10 @@ build_id_to_debug_bfd (size_t build_id_l
+ do_cleanups (inner);
+
if (abfd == NULL)
- {
- xfree (filename);
+- continue;
++ {
+ filename = NULL;
- continue;
- }
++ continue;
++ }
+ if (build_id_verify (abfd, build_id_len, build_id))
+ break;
diff --git a/gdb-6.6-buildid-locate-rpm.patch b/gdb-6.6-buildid-locate-rpm.patch
index 65a4b53..abd0745 100644
--- a/gdb-6.6-buildid-locate-rpm.patch
+++ b/gdb-6.6-buildid-locate-rpm.patch
@@ -1,7 +1,7 @@
-Index: gdb-7.8.50.20141228/gdb/event-top.c
+Index: gdb-7.9.90.20150709/gdb/event-top.c
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/event-top.c 2015-01-01 17:12:24.881489087 +0100
-+++ gdb-7.8.50.20141228/gdb/event-top.c 2015-01-01 17:12:28.821486803 +0100
+--- gdb-7.9.90.20150709.orig/gdb/event-top.c 2015-07-09 18:22:45.008383794 +0200
++++ gdb-7.9.90.20150709/gdb/event-top.c 2015-07-09 18:22:51.401438337 +0200
@@ -37,6 +37,7 @@
#include "gdbcmd.h" /* for dont_repeat() */
#include "annotate.h"
@@ -28,24 +28,24 @@ Index: gdb-7.8.50.20141228/gdb/event-top.c
old_chain = make_cleanup (free_current_contents, &actual_gdb_prompt);
/* Do not call the python hook on an explicit prompt change as
-Index: gdb-7.8.50.20141228/gdb/symfile.h
+Index: gdb-7.9.90.20150709/gdb/symfile.h
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/symfile.h 2015-01-01 17:12:24.881489087 +0100
-+++ gdb-7.8.50.20141228/gdb/symfile.h 2015-01-01 17:12:28.822486802 +0100
-@@ -577,6 +577,8 @@ void map_symbol_filenames (symbol_filena
+--- gdb-7.9.90.20150709.orig/gdb/symfile.h 2015-07-09 18:22:45.009383802 +0200
++++ gdb-7.9.90.20150709/gdb/symfile.h 2015-07-09 18:22:51.402438346 +0200
+@@ -587,6 +587,8 @@ void map_symbol_filenames (symbol_filena
/* build-id support. */
- extern struct elf_build_id *build_id_addr_get (CORE_ADDR addr);
+ extern struct bfd_build_id *build_id_addr_get (CORE_ADDR addr);
extern void debug_print_missing (const char *binary, const char *debug);
+extern void debug_flush_missing (void);
+#define BUILD_ID_MAIN_EXECUTABLE_FILENAME _("the main executable file")
/* From dwarf2read.c */
-Index: gdb-7.8.50.20141228/gdb/testsuite/lib/gdb.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/lib/gdb.exp
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/testsuite/lib/gdb.exp 2015-01-01 17:12:24.883489085 +0100
-+++ gdb-7.8.50.20141228/gdb/testsuite/lib/gdb.exp 2015-01-01 17:12:28.823486801 +0100
-@@ -1522,7 +1522,7 @@ proc default_gdb_start { } {
+--- gdb-7.9.90.20150709.orig/gdb/testsuite/lib/gdb.exp 2015-07-09 18:22:45.010383811 +0200
++++ gdb-7.9.90.20150709/gdb/testsuite/lib/gdb.exp 2015-07-09 18:22:51.403438354 +0200
+@@ -1573,7 +1573,7 @@ proc default_gdb_start { } {
warning "Couldn't set the width to 0."
}
}
@@ -54,10 +54,10 @@ Index: gdb-7.8.50.20141228/gdb/testsuite/lib/gdb.exp
send_gdb "set build-id-verbose 0\n"
gdb_expect 10 {
-re "$gdb_prompt $" {
-Index: gdb-7.8.50.20141228/gdb/testsuite/lib/mi-support.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/lib/mi-support.exp
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/testsuite/lib/mi-support.exp 2015-01-01 17:12:24.884489085 +0100
-+++ gdb-7.8.50.20141228/gdb/testsuite/lib/mi-support.exp 2015-01-01 17:12:28.823486801 +0100
+--- gdb-7.9.90.20150709.orig/gdb/testsuite/lib/mi-support.exp 2015-07-09 18:22:45.012383828 +0200
++++ gdb-7.9.90.20150709/gdb/testsuite/lib/mi-support.exp 2015-07-09 18:22:51.404438363 +0200
@@ -214,7 +214,7 @@ proc default_mi_gdb_start { args } {
warning "Couldn't set the width to 0."
}
@@ -67,10 +67,10 @@ Index: gdb-7.8.50.20141228/gdb/testsuite/lib/mi-support.exp
send_gdb "190-gdb-set build-id-verbose 0\n"
gdb_expect 10 {
-re ".*190-gdb-set build-id-verbose 0\r\n190\\\^done\r\n$mi_gdb_prompt$" {
-Index: gdb-7.8.50.20141228/gdb/tui/tui-interp.c
+Index: gdb-7.9.90.20150709/gdb/tui/tui-interp.c
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/tui/tui-interp.c 2015-01-01 17:12:28.824486801 +0100
-+++ gdb-7.8.50.20141228/gdb/tui/tui-interp.c 2015-01-01 17:12:43.240478444 +0100
+--- gdb-7.9.90.20150709.orig/gdb/tui/tui-interp.c 2015-07-09 18:22:45.012383828 +0200
++++ gdb-7.9.90.20150709/gdb/tui/tui-interp.c 2015-07-09 18:22:51.404438363 +0200
@@ -31,6 +31,7 @@
#include "tui/tui-io.h"
#include "infrun.h"
@@ -79,10 +79,10 @@ Index: gdb-7.8.50.20141228/gdb/tui/tui-interp.c
static struct ui_out *tui_ui_out (struct interp *self);
-Index: gdb-7.8.50.20141228/gdb/aclocal.m4
+Index: gdb-7.9.90.20150709/gdb/aclocal.m4
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/aclocal.m4 2015-01-01 17:12:24.885489084 +0100
-+++ gdb-7.8.50.20141228/gdb/aclocal.m4 2015-01-01 17:12:28.824486801 +0100
+--- gdb-7.9.90.20150709.orig/gdb/aclocal.m4 2015-07-09 18:22:45.013383837 +0200
++++ gdb-7.9.90.20150709/gdb/aclocal.m4 2015-07-09 18:22:51.405438371 +0200
@@ -11,6 +11,221 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@@ -305,10 +305,10 @@ Index: gdb-7.8.50.20141228/gdb/aclocal.m4
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-Index: gdb-7.8.50.20141228/gdb/config.in
+Index: gdb-7.9.90.20150709/gdb/config.in
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/config.in 2015-01-01 17:12:24.885489084 +0100
-+++ gdb-7.8.50.20141228/gdb/config.in 2015-01-01 17:12:28.824486801 +0100
+--- gdb-7.9.90.20150709.orig/gdb/config.in 2015-07-09 18:22:45.013383837 +0200
++++ gdb-7.9.90.20150709/gdb/config.in 2015-07-09 18:22:51.405438371 +0200
@@ -33,6 +33,9 @@
/* Define to BFD's default target vector. */
#undef DEFAULT_BFD_VEC
@@ -319,7 +319,7 @@ Index: gdb-7.8.50.20141228/gdb/config.in
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS
-@@ -207,6 +210,9 @@
+@@ -258,6 +261,9 @@
/* Define if Python 2.7 is being used. */
#undef HAVE_LIBPYTHON2_7
@@ -329,11 +329,11 @@ Index: gdb-7.8.50.20141228/gdb/config.in
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
#undef HAVE_LIBUNWIND_IA64_H
-Index: gdb-7.8.50.20141228/gdb/configure
+Index: gdb-7.9.90.20150709/gdb/configure
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/configure 2015-01-01 17:12:24.891489081 +0100
-+++ gdb-7.8.50.20141228/gdb/configure 2015-01-01 17:12:28.828486798 +0100
-@@ -698,6 +698,11 @@ PKGVERSION
+--- gdb-7.9.90.20150709.orig/gdb/configure 2015-07-09 18:22:45.020383896 +0200
++++ gdb-7.9.90.20150709/gdb/configure 2015-07-09 18:22:51.410438414 +0200
+@@ -703,6 +703,11 @@ PKGVERSION
HAVE_NATIVE_GCORE_TARGET
TARGET_OBS
subdirs
@@ -345,7 +345,7 @@ Index: gdb-7.8.50.20141228/gdb/configure
GDB_DATADIR
DEBUGDIR
MAKEINFO_EXTRA_FLAGS
-@@ -801,6 +806,7 @@ with_gdb_datadir
+@@ -811,6 +816,7 @@ with_gdb_datadir
with_relocated_sources
with_auto_load_dir
with_auto_load_safe_path
@@ -353,7 +353,7 @@ Index: gdb-7.8.50.20141228/gdb/configure
enable_targets
enable_64_bit_bfd
enable_gdbcli
-@@ -852,6 +858,11 @@ CPPFLAGS
+@@ -867,6 +873,11 @@ CCC
CPP
MAKEINFO
MAKEINFOFLAGS
@@ -365,7 +365,7 @@ Index: gdb-7.8.50.20141228/gdb/configure
YACC
YFLAGS
XMKMF'
-@@ -1522,6 +1533,8 @@ Optional Packages:
+@@ -1538,6 +1549,8 @@ Optional Packages:
[--with-auto-load-dir]
--without-auto-load-safe-path
do not restrict auto-loaded files locations
@@ -374,7 +374,7 @@ Index: gdb-7.8.50.20141228/gdb/configure
--with-libunwind-ia64 use libunwind frame unwinding for ia64 targets
--with-curses use the curses library instead of the termcap
library
-@@ -1571,6 +1584,13 @@ Some influential environment variables:
+@@ -1592,6 +1605,13 @@ Some influential environment variables:
MAKEINFO Parent configure detects if it is of sufficient version.
MAKEINFOFLAGS
Parameters for MAKEINFO.
@@ -388,7 +388,7 @@ Index: gdb-7.8.50.20141228/gdb/configure
YACC The `Yet Another C Compiler' implementation to use. Defaults to
the first program found out of: `bison -y', `byacc', `yacc'.
YFLAGS The list of arguments that will be passed by default to $YACC.
-@@ -5267,6 +5287,491 @@ _ACEOF
+@@ -5608,6 +5628,491 @@ _ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_auto_load_safe_path" >&5
$as_echo "$with_auto_load_safe_path" >&6; }
@@ -880,11 +880,11 @@ Index: gdb-7.8.50.20141228/gdb/configure
subdirs="$subdirs testsuite"
-Index: gdb-7.8.50.20141228/gdb/configure.ac
+Index: gdb-7.9.90.20150709/gdb/configure.ac
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/configure.ac 2015-01-01 17:12:24.893489079 +0100
-+++ gdb-7.8.50.20141228/gdb/configure.ac 2015-01-01 17:12:28.829486798 +0100
-@@ -172,6 +172,199 @@ AC_DEFINE_DIR(AUTO_LOAD_SAFE_PATH, escap
+--- gdb-7.9.90.20150709.orig/gdb/configure.ac 2015-07-09 18:22:45.022383913 +0200
++++ gdb-7.9.90.20150709/gdb/configure.ac 2015-07-09 18:22:51.411438422 +0200
+@@ -177,6 +177,199 @@ AC_DEFINE_DIR(AUTO_LOAD_SAFE_PATH, escap
[Directories safe to hold auto-loaded files.])
AC_MSG_RESULT([$with_auto_load_safe_path])
@@ -1084,10 +1084,10 @@ Index: gdb-7.8.50.20141228/gdb/configure.ac
AC_CONFIG_SUBDIRS(testsuite)
# Check whether to support alternative target configurations
-Index: gdb-7.8.50.20141228/gdb/corelow.c
+Index: gdb-7.9.90.20150709/gdb/corelow.c
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/corelow.c 2015-01-01 17:12:24.894489079 +0100
-+++ gdb-7.8.50.20141228/gdb/corelow.c 2015-01-01 17:12:28.829486798 +0100
+--- gdb-7.9.90.20150709.orig/gdb/corelow.c 2015-07-09 18:22:45.022383913 +0200
++++ gdb-7.9.90.20150709/gdb/corelow.c 2015-07-09 18:22:51.412438431 +0200
@@ -310,7 +310,7 @@ build_id_locate_exec (int from_tty)
symfile_objfile->flags |= OBJF_BUILD_ID_CORE_LOADED;
}
@@ -1097,19 +1097,19 @@ Index: gdb-7.8.50.20141228/gdb/corelow.c
do_cleanups (back_to);
-Index: gdb-7.8.50.20141228/gdb/build-id.c
+Index: gdb-7.9.90.20150709/gdb/build-id.c
===================================================================
---- gdb-7.8.50.20141228.orig/gdb/build-id.c 2015-01-01 17:12:24.894489079 +0100
-+++ gdb-7.8.50.20141228/gdb/build-id.c 2015-01-01 17:12:28.830486797 +0100
-@@ -31,6 +31,7 @@
- #include "gdbcmd.h"
- #include "observer.h"
+--- gdb-7.9.90.20150709.orig/gdb/build-id.c 2015-07-09 18:22:45.023383922 +0200
++++ gdb-7.9.90.20150709/gdb/build-id.c 2015-07-09 18:22:51.412438431 +0200
+@@ -35,6 +35,7 @@
+ #include "elf/common.h"
+ #include "elf-bfd.h"
#include <sys/stat.h>
+#include "elf/external.h"
#define BUILD_ID_VERBOSE_NONE 0
#define BUILD_ID_VERBOSE_FILENAMES 1
-@@ -664,8 +665,363 @@ build_id_to_filename (const struct elf_b
+@@ -669,8 +670,363 @@ build_id_to_filename (const struct bfd_b
return result;
}
@@ -1474,7 +1474,7 @@ Index: gdb-7.8.50.20141228/gdb/build-id.c
avoidance. */
struct missing_filepair
-@@ -719,11 +1072,17 @@ missing_filepair_change (void)
+@@ -724,11 +1080,17 @@ missing_filepair_change (void)
/* All their memory came just from missing_filepair_OBSTACK. */
missing_filepair_hash = NULL;
}
@@ -1492,7 +1492,7 @@ Index: gdb-7.8.50.20141228/gdb/build-id.c
missing_filepair_change ();
}
-@@ -790,14 +1149,34 @@ debug_print_missing (const char *binary,
+@@ -795,14 +1157,34 @@ debug_print_missing (const char *binary,
*slot = missing_filepair;
diff --git a/gdb-6.6-buildid-locate-solib-missing-ids.patch b/gdb-6.6-buildid-locate-solib-missing-ids.patch
index 5d314e0..a89893c 100644
--- a/gdb-6.6-buildid-locate-solib-missing-ids.patch
+++ b/gdb-6.6-buildid-locate-solib-missing-ids.patch
@@ -1,13 +1,13 @@
-Index: gdb-7.5.50.20130310/gdb/solib-svr4.c
+Index: gdb-7.9.90.20150709/gdb/solib-svr4.c
===================================================================
---- gdb-7.5.50.20130310.orig/gdb/solib-svr4.c 2013-03-10 16:37:49.000000000 +0100
-+++ gdb-7.5.50.20130310/gdb/solib-svr4.c 2013-03-10 16:43:45.498585091 +0100
-@@ -1225,14 +1225,27 @@ svr4_read_so_list (CORE_ADDR lm, struct
+--- gdb-7.9.90.20150709.orig/gdb/solib-svr4.c 2015-07-09 18:18:54.526417766 +0200
++++ gdb-7.9.90.20150709/gdb/solib-svr4.c 2015-07-09 18:19:33.074746586 +0200
+@@ -1381,14 +1381,27 @@ svr4_read_so_list (CORE_ADDR lm, CORE_AD
}
{
-- struct elf_build_id *build_id;
-+ struct elf_build_id *build_id = NULL;
+- struct bfd_build_id *build_id;
++ struct bfd_build_id *build_id = NULL;
strncpy (newobj->so_original_name, buffer, SO_NAME_MAX_PATH_SIZE - 1);
newobj->so_original_name[SO_NAME_MAX_PATH_SIZE - 1] = '\0';
@@ -32,7 +32,7 @@ Index: gdb-7.5.50.20130310/gdb/solib-svr4.c
if (build_id != NULL)
{
char *name, *build_id_filename;
-@@ -1247,23 +1260,7 @@ svr4_read_so_list (CORE_ADDR lm, struct
+@@ -1403,23 +1416,7 @@ svr4_read_so_list (CORE_ADDR lm, CORE_AD
xfree (name);
}
else
diff --git a/gdb-6.6-buildid-locate.patch b/gdb-6.6-buildid-locate.patch
index e928ed0..dc05c39 100644
--- a/gdb-6.6-buildid-locate.patch
+++ b/gdb-6.6-buildid-locate.patch
@@ -1,7 +1,7 @@
-Index: gdb-7.9.50.20150520/gdb/corelow.c
+Index: gdb-7.9.90.20150709/gdb/corelow.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/corelow.c 2015-05-31 16:38:55.123112227 +0200
-+++ gdb-7.9.50.20150520/gdb/corelow.c 2015-05-31 16:38:57.601130366 +0200
+--- gdb-7.9.90.20150709.orig/gdb/corelow.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/corelow.c 2015-07-09 22:05:42.057222722 +0200
@@ -45,6 +45,10 @@
#include "gdb_bfd.h"
#include "completer.h"
@@ -23,7 +23,7 @@ Index: gdb-7.9.50.20150520/gdb/corelow.c
+build_id_locate_exec (int from_tty)
+{
+ CORE_ADDR at_entry;
-+ struct elf_build_id *build_id;
++ struct bfd_build_id *build_id;
+ char *execfilename, *debug_filename;
+ char *build_id_filename;
+ struct cleanup *back_to;
@@ -94,11 +94,11 @@ Index: gdb-7.9.50.20150520/gdb/corelow.c
+ NULL, NULL, NULL,
+ &setlist, &showlist);
}
-Index: gdb-7.9.50.20150520/gdb/doc/gdb.texinfo
+Index: gdb-7.9.90.20150709/gdb/doc/gdb.texinfo
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/doc/gdb.texinfo 2015-05-31 16:38:55.137112330 +0200
-+++ gdb-7.9.50.20150520/gdb/doc/gdb.texinfo 2015-05-31 16:38:57.612130447 +0200
-@@ -18254,6 +18254,27 @@ information files.
+--- gdb-7.9.90.20150709.orig/gdb/doc/gdb.texinfo 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/doc/gdb.texinfo 2015-07-09 22:05:42.067222806 +0200
+@@ -18304,6 +18304,27 @@ information files.
@end table
@@ -126,10 +126,10 @@ Index: gdb-7.9.50.20150520/gdb/doc/gdb.texinfo
@cindex @code{.gnu_debuglink} sections
@cindex debug link sections
A debug link is a special section of the executable file named
-Index: gdb-7.9.50.20150520/gdb/solib-svr4.c
+Index: gdb-7.9.90.20150709/gdb/solib-svr4.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/solib-svr4.c 2015-05-31 16:38:55.142112366 +0200
-+++ gdb-7.9.50.20150520/gdb/solib-svr4.c 2015-05-31 16:40:33.593819702 +0200
+--- gdb-7.9.90.20150709.orig/gdb/solib-svr4.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/solib-svr4.c 2015-07-09 22:05:42.068222815 +0200
@@ -45,6 +45,7 @@
#include "auxv.h"
#include "gdb_bfd.h"
@@ -146,7 +146,7 @@ Index: gdb-7.9.50.20150520/gdb/solib-svr4.c
- newobj->so_name[SO_NAME_MAX_PATH_SIZE - 1] = '\0';
- strcpy (newobj->so_original_name, newobj->so_name);
+ {
-+ struct elf_build_id *build_id;
++ struct bfd_build_id *build_id;
+
+ strncpy (newobj->so_original_name, buffer, SO_NAME_MAX_PATH_SIZE - 1);
+ newobj->so_original_name[SO_NAME_MAX_PATH_SIZE - 1] = '\0';
@@ -194,11 +194,11 @@ Index: gdb-7.9.50.20150520/gdb/solib-svr4.c
xfree (buffer);
/* If this entry has no name, or its name matches the name
-Index: gdb-7.9.50.20150520/gdb/elfread.c
+Index: gdb-7.9.90.20150709/gdb/elfread.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/elfread.c 2015-05-31 16:38:55.143112374 +0200
-+++ gdb-7.9.50.20150520/gdb/elfread.c 2015-05-31 16:38:57.614130462 +0200
-@@ -1341,9 +1341,10 @@ elf_symfile_read (struct objfile *objfil
+--- gdb-7.9.90.20150709.orig/gdb/elfread.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/elfread.c 2015-07-09 22:05:42.068222815 +0200
+@@ -1250,9 +1250,10 @@ elf_symfile_read (struct objfile *objfil
&& objfile->separate_debug_objfile == NULL
&& objfile->separate_debug_objfile_backlink == NULL)
{
@@ -211,7 +211,7 @@ Index: gdb-7.9.50.20150520/gdb/elfread.c
if (debugfile == NULL)
debugfile = find_separate_debug_file_by_debuglink (objfile);
-@@ -1357,6 +1358,12 @@ elf_symfile_read (struct objfile *objfil
+@@ -1266,6 +1267,12 @@ elf_symfile_read (struct objfile *objfil
symbol_file_add_separate (abfd, debugfile, symfile_flags, objfile);
do_cleanups (cleanup);
}
@@ -224,25 +224,25 @@ Index: gdb-7.9.50.20150520/gdb/elfread.c
}
}
-Index: gdb-7.9.50.20150520/gdb/symfile.h
+Index: gdb-7.9.90.20150709/gdb/symfile.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/symfile.h 2015-05-31 16:38:55.143112374 +0200
-+++ gdb-7.9.50.20150520/gdb/symfile.h 2015-05-31 16:38:57.614130462 +0200
+--- gdb-7.9.90.20150709.orig/gdb/symfile.h 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/symfile.h 2015-07-09 22:05:42.068222815 +0200
@@ -584,6 +584,10 @@ void expand_symtabs_matching (expand_sym
void map_symbol_filenames (symbol_filename_ftype *fun, void *data,
int need_fullname);
+/* build-id support. */
-+extern struct elf_build_id *build_id_addr_get (CORE_ADDR addr);
++extern struct bfd_build_id *build_id_addr_get (CORE_ADDR addr);
+extern void debug_print_missing (const char *binary, const char *debug);
+
/* From dwarf2read.c */
/* Names for a dwarf2 debugging section. The field NORMAL is the normal
-Index: gdb-7.9.50.20150520/gdb/testsuite/lib/gdb.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/lib/gdb.exp
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/testsuite/lib/gdb.exp 2015-05-31 16:38:55.145112388 +0200
-+++ gdb-7.9.50.20150520/gdb/testsuite/lib/gdb.exp 2015-05-31 16:38:57.615130469 +0200
+--- gdb-7.9.90.20150709.orig/gdb/testsuite/lib/gdb.exp 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/testsuite/lib/gdb.exp 2015-07-09 22:05:42.070222832 +0200
@@ -1573,6 +1573,16 @@ proc default_gdb_start { } {
warning "Couldn't set the width to 0."
}
@@ -260,10 +260,10 @@ Index: gdb-7.9.50.20150520/gdb/testsuite/lib/gdb.exp
return 0
}
-Index: gdb-7.9.50.20150520/gdb/testsuite/lib/mi-support.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/lib/mi-support.exp
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/testsuite/lib/mi-support.exp 2015-05-31 16:38:55.146112396 +0200
-+++ gdb-7.9.50.20150520/gdb/testsuite/lib/mi-support.exp 2015-05-31 16:38:57.616130476 +0200
+--- gdb-7.9.90.20150709.orig/gdb/testsuite/lib/mi-support.exp 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/testsuite/lib/mi-support.exp 2015-07-09 22:05:42.070222832 +0200
@@ -214,6 +214,16 @@ proc default_mi_gdb_start { args } {
warning "Couldn't set the width to 0."
}
@@ -281,10 +281,10 @@ Index: gdb-7.9.50.20150520/gdb/testsuite/lib/mi-support.exp
# If allowing the inferior to have its own PTY then assign the inferior
# its own terminal device here.
if { $separate_inferior_pty } {
-Index: gdb-7.9.50.20150520/gdb/objfiles.h
+Index: gdb-7.9.90.20150709/gdb/objfiles.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/objfiles.h 2015-05-31 16:38:55.147112403 +0200
-+++ gdb-7.9.50.20150520/gdb/objfiles.h 2015-05-31 16:38:57.616130476 +0200
+--- gdb-7.9.90.20150709.orig/gdb/objfiles.h 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/objfiles.h 2015-07-09 22:05:42.071222840 +0200
@@ -459,6 +459,10 @@ struct objfile
#define OBJF_NOT_FILENAME (1 << 6)
@@ -296,10 +296,10 @@ Index: gdb-7.9.50.20150520/gdb/objfiles.h
/* Declarations for functions defined in objfiles.c */
extern struct objfile *allocate_objfile (bfd *, const char *name, int);
-Index: gdb-7.9.50.20150520/gdb/testsuite/gdb.base/corefile.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/gdb.base/corefile.exp
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/testsuite/gdb.base/corefile.exp 2015-05-31 16:38:55.147112403 +0200
-+++ gdb-7.9.50.20150520/gdb/testsuite/gdb.base/corefile.exp 2015-05-31 16:38:57.616130476 +0200
+--- gdb-7.9.90.20150709.orig/gdb/testsuite/gdb.base/corefile.exp 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/testsuite/gdb.base/corefile.exp 2015-07-09 22:05:42.071222840 +0200
@@ -293,3 +293,33 @@ gdb_test_multiple "core-file $corefile"
pass $test
}
@@ -334,11 +334,11 @@ Index: gdb-7.9.50.20150520/gdb/testsuite/gdb.base/corefile.exp
+ gdb_test "info files" "Local exec file:\r\n\[ \t\]*`[string_to_regexp $debugdir/$buildid]', file type .*"
+ pass $wholetest
+}
-Index: gdb-7.9.50.20150520/gdb/build-id.c
+Index: gdb-7.9.90.20150709/gdb/build-id.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/build-id.c 2015-05-31 16:38:55.148112410 +0200
-+++ gdb-7.9.50.20150520/gdb/build-id.c 2015-05-31 16:45:35.025722142 +0200
-@@ -27,11 +27,63 @@
+--- gdb-7.9.90.20150709.orig/gdb/build-id.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/build-id.c 2015-07-09 22:19:35.022957009 +0200
+@@ -26,11 +26,67 @@
#include "objfiles.h"
#include "filenames.h"
#include "gdbcore.h"
@@ -346,6 +346,10 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+#include "gdbcore.h"
+#include "gdbcmd.h"
+#include "observer.h"
++#include "elf/external.h"
++#include "elf/internal.h"
++#include "elf/common.h"
++#include "elf-bfd.h"
+#include <sys/stat.h>
+
+#define BUILD_ID_VERBOSE_NONE 0
@@ -362,7 +366,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+/* Locate NT_GNU_BUILD_ID and return its matching debug filename.
+ FIXME: NOTE decoding should be unified with the BFD core notes decoding. */
+
-+static struct elf_build_id *
++static struct bfd_build_id *
+build_id_buf_get (bfd *templ, gdb_byte *buf, bfd_size_type size)
+{
+ bfd_byte *p;
@@ -382,7 +386,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+ {
+ size_t size = descsz;
+ gdb_byte *data = (void *) descdata;
-+ struct elf_build_id *retval;
++ struct bfd_build_id *retval;
+
+ retval = xmalloc (sizeof *retval - 1 + size);
+ retval->size = size;
@@ -397,26 +401,26 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
/* See build-id.h. */
- const struct elf_build_id *
+ const struct bfd_build_id *
-build_id_bfd_get (bfd *abfd)
+build_id_bfd_shdr_get (bfd *abfd)
{
- if (!bfd_check_format (abfd, bfd_object)
- || bfd_get_flavour (abfd) != bfd_target_elf_flavour
-@@ -45,6 +97,348 @@ build_id_bfd_get (bfd *abfd)
- return elf_tdata (abfd)->build_id;
+ if (!bfd_check_format (abfd, bfd_object))
+ return NULL;
+@@ -42,6 +98,348 @@ build_id_bfd_get (bfd *abfd)
+ return NULL;
}
+/* Core files may have missing (corrupt) SHDR but PDHR is correct there.
+ bfd_elf_bfd_from_remote_memory () has too much overhead by
+ allocating/reading all the available ELF PT_LOADs. */
+
-+static struct elf_build_id *
++static struct bfd_build_id *
+build_id_phdr_get (bfd *templ, bfd_vma loadbase, unsigned e_phnum,
+ Elf_Internal_Phdr *i_phdr)
+{
+ int i;
-+ struct elf_build_id *retval = NULL;
++ struct bfd_build_id *retval = NULL;
+
+ for (i = 0; i < e_phnum; i++)
+ if (i_phdr[i].p_type == PT_NOTE && i_phdr[i].p_filesz > 0)
@@ -703,11 +707,11 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+ }
+}
+
-+struct elf_build_id *
++struct bfd_build_id *
+build_id_addr_get (CORE_ADDR addr)
+{
+ struct build_id_addr_sect *candidate;
-+ struct elf_build_id *retval = NULL;
++ struct bfd_build_id *retval = NULL;
+ Elf_Internal_Phdr *i_phdr = NULL;
+ bfd_vma loadbase = 0;
+ unsigned e_phnum = 0;
@@ -752,8 +756,8 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
/* See build-id.h. */
int
-@@ -53,7 +447,7 @@ build_id_verify (bfd *abfd, size_t check
- const struct elf_build_id *found;
+@@ -50,7 +448,7 @@ build_id_verify (bfd *abfd, size_t check
+ const struct bfd_build_id *found;
int retval = 0;
- found = build_id_bfd_get (abfd);
@@ -761,7 +765,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
if (found == NULL)
warning (_("File \"%s\" has no build-id, file skipped"),
-@@ -68,20 +462,56 @@ build_id_verify (bfd *abfd, size_t check
+@@ -65,20 +463,56 @@ build_id_verify (bfd *abfd, size_t check
return retval;
}
@@ -822,12 +826,13 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
/* Keep backward compatibility so that DEBUG_FILE_DIRECTORY being "" will
cause "/.build-id/..." lookups. */
-@@ -94,8 +524,11 @@ build_id_to_debug_bfd (size_t build_id_l
+@@ -91,9 +525,12 @@ build_id_to_debug_bfd (size_t build_id_l
size_t debugdir_len = strlen (debugdir);
const gdb_byte *data = build_id;
size_t size = build_id_len;
- char *s;
char *filename = NULL;
+ struct cleanup *inner;
+ unsigned seqno;
+ struct stat statbuf_trash;
+ /* Initialize it just to avoid a GCC false warning. */
@@ -835,7 +840,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
memcpy (link, debugdir, debugdir_len);
s = &link[debugdir_len];
-@@ -109,44 +542,282 @@ build_id_to_debug_bfd (size_t build_id_l
+@@ -107,47 +544,281 @@ build_id_to_debug_bfd (size_t build_id_l
*s++ = '/';
while (size-- > 0)
s += sprintf (s, "%02x", (unsigned) *data++);
@@ -882,20 +887,22 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+ continue;
+
+ /* We expect to be silent on the non-existing files. */
++ inner = make_cleanup (xfree, filename);
+ abfd = gdb_bfd_open (filename, gnutarget, -1);
-+ if (abfd == NULL)
-+ {
-+ xfree (filename);
-+ continue;
-+ }
++ do_cleanups (inner);
- if (filename == NULL)
- continue;
-+ if (build_id_verify (abfd, build_id_len, build_id))
-+ break;
++ if (abfd == NULL)
++ continue;
- /* We expect to be silent on the non-existing files. */
+- inner = make_cleanup (xfree, filename);
- abfd = gdb_bfd_open (filename, gnutarget, -1);
+- do_cleanups (inner);
++ if (build_id_verify (abfd, build_id_len, build_id))
++ break;
+
- if (abfd == NULL)
- continue;
+ gdb_bfd_unref (abfd);
@@ -903,7 +910,6 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
- if (build_id_verify (abfd, build_id_len, build_id))
- break;
-+ xfree (filename);
+ filename = NULL;
+ }
@@ -961,7 +967,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
}
+char *
-+build_id_to_filename (const struct elf_build_id *build_id, char **link_return)
++build_id_to_filename (const struct bfd_build_id *build_id, char **link_return)
+{
+ bfd *abfd;
+ char *result;
@@ -1118,7 +1124,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+find_separate_debug_file_by_buildid (struct objfile *objfile,
+ char **build_id_filename_return)
{
- const struct elf_build_id *build_id;
+ const struct bfd_build_id *build_id;
- build_id = build_id_bfd_get (objfile->obfd);
+ if (build_id_filename_return)
@@ -1135,7 +1141,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
/* Prevent looping on a stripped .debug file. */
if (abfd != NULL
&& filename_cmp (bfd_get_filename (abfd),
-@@ -166,3 +837,21 @@ find_separate_debug_file_by_buildid (str
+@@ -167,3 +838,21 @@ find_separate_debug_file_by_buildid (str
}
return NULL;
}
@@ -1157,10 +1163,10 @@ Index: gdb-7.9.50.20150520/gdb/build-id.c
+
+ observer_attach_executable_changed (debug_print_executable_changed);
+}
-Index: gdb-7.9.50.20150520/gdb/build-id.h
+Index: gdb-7.9.90.20150709/gdb/build-id.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/build-id.h 2015-05-31 16:38:55.149112418 +0200
-+++ gdb-7.9.50.20150520/gdb/build-id.h 2015-05-31 16:38:57.618130491 +0200
+--- gdb-7.9.90.20150709.orig/gdb/build-id.h 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/build-id.h 2015-07-09 22:05:42.072222849 +0200
@@ -20,9 +20,10 @@
#ifndef BUILD_ID_H
#define BUILD_ID_H
@@ -1169,8 +1175,8 @@ Index: gdb-7.9.50.20150520/gdb/build-id.h
+/* Separate debuginfo files have corrupted PHDR but SHDR is correct there.
+ Locate NT_GNU_BUILD_ID from ABFD and return its content. */
--extern const struct elf_build_id *build_id_bfd_get (bfd *abfd);
-+extern const struct elf_build_id *build_id_bfd_shdr_get (bfd *abfd);
+-extern const struct bfd_build_id *build_id_bfd_get (bfd *abfd);
++extern const struct bfd_build_id *build_id_bfd_shdr_get (bfd *abfd);
/* Return true if ABFD has NT_GNU_BUILD_ID matching the CHECK value.
Otherwise, issue a warning and return false. */
@@ -1182,7 +1188,7 @@ Index: gdb-7.9.50.20150520/gdb/build-id.h
+ const bfd_byte *build_id, char **link_return,
+ int add_debug_suffix);
+
-+extern char *build_id_to_filename (const struct elf_build_id *build_id,
++extern char *build_id_to_filename (const struct bfd_build_id *build_id,
+ char **link_return);
/* Find the separate debug file for OBJFILE, by using the build-id
@@ -1195,11 +1201,11 @@ Index: gdb-7.9.50.20150520/gdb/build-id.h
+ char **build_id_filename_return);
#endif /* BUILD_ID_H */
-Index: gdb-7.9.50.20150520/gdb/dwarf2read.c
+Index: gdb-7.9.90.20150709/gdb/dwarf2read.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/dwarf2read.c 2015-05-31 16:38:55.156112469 +0200
-+++ gdb-7.9.50.20150520/gdb/dwarf2read.c 2015-05-31 16:38:57.623130528 +0200
-@@ -2504,7 +2504,7 @@ dwarf2_get_dwz_file (void)
+--- gdb-7.9.90.20150709.orig/gdb/dwarf2read.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/dwarf2read.c 2015-07-09 22:05:42.077222891 +0200
+@@ -2507,7 +2507,7 @@ dwarf2_get_dwz_file (void)
}
if (dwz_bfd == NULL)
@@ -1208,11 +1214,11 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2read.c
if (dwz_bfd == NULL)
error (_("could not find '.gnu_debugaltlink' file for %s"),
-Index: gdb-7.9.50.20150520/gdb/python/py-objfile.c
+Index: gdb-7.9.90.20150709/gdb/python/py-objfile.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/python/py-objfile.c 2015-05-31 16:38:55.157112476 +0200
-+++ gdb-7.9.50.20150520/gdb/python/py-objfile.c 2015-05-31 16:38:57.623130528 +0200
-@@ -140,7 +140,7 @@ objfpy_get_build_id (PyObject *self, voi
+--- gdb-7.9.90.20150709.orig/gdb/python/py-objfile.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/python/py-objfile.c 2015-07-09 22:05:42.077222891 +0200
+@@ -139,7 +139,7 @@ objfpy_get_build_id (PyObject *self, voi
TRY
{
@@ -1221,7 +1227,7 @@ Index: gdb-7.9.50.20150520/gdb/python/py-objfile.c
}
CATCH (except, RETURN_MASK_ALL)
{
-@@ -549,7 +549,7 @@ objfpy_lookup_objfile_by_build_id (const
+@@ -548,7 +548,7 @@ objfpy_lookup_objfile_by_build_id (const
/* Don't return separate debug files. */
if (objfile->separate_debug_objfile_backlink != NULL)
continue;
@@ -1230,3 +1236,16 @@ Index: gdb-7.9.50.20150520/gdb/python/py-objfile.c
if (obfd_build_id == NULL)
continue;
if (objfpy_build_id_matches (obfd_build_id, build_id))
+Index: gdb-7.9.90.20150709/gdb/coffread.c
+===================================================================
+--- gdb-7.9.90.20150709.orig/gdb/coffread.c 2015-07-09 22:05:20.988044312 +0200
++++ gdb-7.9.90.20150709/gdb/coffread.c 2015-07-09 22:05:42.078222899 +0200
+@@ -739,7 +739,7 @@ coff_symfile_read (struct objfile *objfi
+ {
+ char *debugfile;
+
+- debugfile = find_separate_debug_file_by_buildid (objfile);
++ debugfile = find_separate_debug_file_by_buildid (objfile, NULL);
+
+ if (debugfile == NULL)
+ debugfile = find_separate_debug_file_by_debuglink (objfile);
diff --git a/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch b/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
index 3e14a57..53ed2cb 100644
--- a/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
+++ b/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
@@ -1,7 +1,7 @@
-Index: gdb-7.9.50.20150520/gdb/gdb_bfd.c
+Index: gdb-7.9.90.20150709/gdb/gdb_bfd.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdb_bfd.c 2015-05-31 17:02:57.742303086 +0200
-+++ gdb-7.9.50.20150520/gdb/gdb_bfd.c 2015-05-31 17:03:20.145444480 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gdb_bfd.c 2015-07-09 18:23:59.344017882 +0200
++++ gdb-7.9.90.20150709/gdb/gdb_bfd.c 2015-07-09 18:24:06.986083071 +0200
@@ -24,12 +24,14 @@
#include "hashtab.h"
#include "filestuff.h"
@@ -16,8 +16,8 @@ Index: gdb-7.9.50.20150520/gdb/gdb_bfd.c
+#endif
#include "target.h"
#include "gdb/fileio.h"
-
-@@ -408,6 +410,7 @@ free_one_bfd_section (bfd *abfd, asectio
+ #include "inferior.h"
+@@ -397,6 +399,7 @@ free_one_bfd_section (bfd *abfd, asectio
if (sect != NULL && sect->data != NULL)
{
@@ -25,7 +25,7 @@ Index: gdb-7.9.50.20150520/gdb/gdb_bfd.c
#ifdef HAVE_MMAP
if (sect->map_addr != NULL)
{
-@@ -418,6 +421,7 @@ free_one_bfd_section (bfd *abfd, asectio
+@@ -407,6 +410,7 @@ free_one_bfd_section (bfd *abfd, asectio
}
else
#endif
@@ -33,7 +33,7 @@ Index: gdb-7.9.50.20150520/gdb/gdb_bfd.c
xfree (sect->data);
}
}
-@@ -569,6 +573,7 @@ gdb_bfd_map_section (asection *sectp, bf
+@@ -558,6 +562,7 @@ gdb_bfd_map_section (asection *sectp, bf
if (descriptor->data != NULL)
goto done;
@@ -41,7 +41,7 @@ Index: gdb-7.9.50.20150520/gdb/gdb_bfd.c
#ifdef HAVE_MMAP
if (!bfd_is_section_compressed (abfd, sectp))
{
-@@ -603,6 +608,7 @@ gdb_bfd_map_section (asection *sectp, bf
+@@ -592,6 +597,7 @@ gdb_bfd_map_section (asection *sectp, bf
}
}
#endif /* HAVE_MMAP */
diff --git a/gdb-attach-fail-reasons-5of5.patch b/gdb-attach-fail-reasons-5of5.patch
index bcd4a33..83005b4 100644
--- a/gdb-attach-fail-reasons-5of5.patch
+++ b/gdb-attach-fail-reasons-5of5.patch
@@ -37,13 +37,13 @@ gdb/gdbserver/
(linux_create_inferior, linux_tracefork_child): Call it instead of
direct ptrace.
-Index: gdb-7.9.50.20150520/gdb/nat/linux-ptrace.c
+Index: gdb-7.9.90.20150709/gdb/nat/linux-ptrace.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/nat/linux-ptrace.c 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/nat/linux-ptrace.c 2015-05-31 18:17:19.584046540 +0200
-@@ -25,6 +25,10 @@
-
- #include <stdint.h>
+--- gdb-7.9.90.20150709.orig/gdb/nat/linux-ptrace.c 2015-07-09 18:24:13.705140384 +0200
++++ gdb-7.9.90.20150709/gdb/nat/linux-ptrace.c 2015-07-09 18:24:24.911235973 +0200
+@@ -23,6 +23,10 @@
+ #include "buffer.h"
+ #include "gdb_wait.h"
+#ifdef HAVE_SELINUX_SELINUX_H
+# include <selinux/selinux.h>
@@ -52,7 +52,7 @@ Index: gdb-7.9.50.20150520/gdb/nat/linux-ptrace.c
/* Stores the ptrace options supported by the running kernel.
A value of -1 means we did not check for features yet. A value
of 0 means there are no supported features. */
-@@ -49,6 +53,8 @@ linux_ptrace_attach_fail_reason (pid_t p
+@@ -47,6 +51,8 @@ linux_ptrace_attach_fail_reason (pid_t p
buffer_xml_printf (buffer, _("process %d is a zombie "
"- the process has already terminated"),
(int) pid);
@@ -61,7 +61,7 @@ Index: gdb-7.9.50.20150520/gdb/nat/linux-ptrace.c
}
/* See linux-ptrace.h. */
-@@ -583,6 +589,22 @@ linux_ptrace_init_warnings (void)
+@@ -581,6 +587,22 @@ linux_ptrace_init_warnings (void)
linux_ptrace_test_ret_to_nx ();
}
@@ -84,11 +84,11 @@ Index: gdb-7.9.50.20150520/gdb/nat/linux-ptrace.c
/* Extract extended ptrace event from wait status. */
int
-Index: gdb-7.9.50.20150520/gdb/nat/linux-ptrace.h
+Index: gdb-7.9.90.20150709/gdb/nat/linux-ptrace.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/nat/linux-ptrace.h 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/nat/linux-ptrace.h 2015-05-31 18:17:19.584046540 +0200
-@@ -149,6 +149,7 @@ extern void linux_ptrace_attach_fail_rea
+--- gdb-7.9.90.20150709.orig/gdb/nat/linux-ptrace.h 2015-07-09 18:24:13.706140392 +0200
++++ gdb-7.9.90.20150709/gdb/nat/linux-ptrace.h 2015-07-09 18:24:24.912235981 +0200
+@@ -157,6 +157,7 @@ extern void linux_ptrace_attach_fail_rea
extern char *linux_ptrace_attach_fail_reason_string (ptid_t ptid, int err);
extern void linux_ptrace_init_warnings (void);
@@ -96,11 +96,11 @@ Index: gdb-7.9.50.20150520/gdb/nat/linux-ptrace.h
extern void linux_check_ptrace_features (void);
extern void linux_enable_event_reporting (pid_t pid, int attached);
extern void linux_disable_event_reporting (pid_t pid);
-Index: gdb-7.9.50.20150520/gdb/configure.ac
+Index: gdb-7.9.90.20150709/gdb/configure.ac
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/configure.ac 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/configure.ac 2015-05-31 18:17:19.585046546 +0200
-@@ -2130,6 +2130,10 @@ case $host_os in
+--- gdb-7.9.90.20150709.orig/gdb/configure.ac 2015-07-09 18:24:13.707140401 +0200
++++ gdb-7.9.90.20150709/gdb/configure.ac 2015-07-09 18:24:24.913235990 +0200
+@@ -2150,6 +2150,10 @@ case $host_os in
esac
AC_DEFINE_UNQUOTED(GDBINIT,"$gdbinit",[The .gdbinit filename.])
@@ -111,10 +111,10 @@ Index: gdb-7.9.50.20150520/gdb/configure.ac
dnl Handle optional features that can be enabled.
# Support for --with-sysroot is a copy of GDB_AC_WITH_DIR,
-Index: gdb-7.9.50.20150520/gdb/gdbserver/configure.ac
+Index: gdb-7.9.90.20150709/gdb/gdbserver/configure.ac
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdbserver/configure.ac 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/gdbserver/configure.ac 2015-05-31 18:17:19.585046546 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gdbserver/configure.ac 2015-07-09 18:24:13.707140401 +0200
++++ gdb-7.9.90.20150709/gdb/gdbserver/configure.ac 2015-07-09 18:24:24.913235990 +0200
@@ -499,6 +499,10 @@ if $want_ipa ; then
fi
fi
@@ -126,11 +126,11 @@ Index: gdb-7.9.50.20150520/gdb/gdbserver/configure.ac
AC_SUBST(GDBSERVER_DEPFILES)
AC_SUBST(GDBSERVER_LIBS)
AC_SUBST(srv_xmlbuiltin)
-Index: gdb-7.9.50.20150520/gdb/gdbserver/linux-low.c
+Index: gdb-7.9.90.20150709/gdb/gdbserver/linux-low.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdbserver/linux-low.c 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/gdbserver/linux-low.c 2015-05-31 18:17:19.587046558 +0200
-@@ -749,6 +749,29 @@ add_lwp (ptid_t ptid)
+--- gdb-7.9.90.20150709.orig/gdb/gdbserver/linux-low.c 2015-07-09 18:24:13.709140418 +0200
++++ gdb-7.9.90.20150709/gdb/gdbserver/linux-low.c 2015-07-09 18:24:24.914235998 +0200
+@@ -755,6 +755,29 @@ add_lwp (ptid_t ptid)
return lwp;
}
@@ -160,7 +160,7 @@ Index: gdb-7.9.50.20150520/gdb/gdbserver/linux-low.c
/* Start an inferior process and returns its pid.
ALLARGS is a vector of program-name and args. */
-@@ -772,7 +795,7 @@ linux_create_inferior (char *program, ch
+@@ -778,7 +801,7 @@ linux_create_inferior (char *program, ch
if (pid == 0)
{
close_most_fds ();
@@ -169,10 +169,10 @@ Index: gdb-7.9.50.20150520/gdb/gdbserver/linux-low.c
#ifndef __ANDROID__ /* Bionic doesn't use SIGRTMIN the way glibc does. */
signal (__SIGRTMIN + 1, SIG_DFL);
-Index: gdb-7.9.50.20150520/gdb/inf-ptrace.c
+Index: gdb-7.9.90.20150709/gdb/inf-ptrace.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/inf-ptrace.c 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/inf-ptrace.c 2015-05-31 18:17:19.588046565 +0200
+--- gdb-7.9.90.20150709.orig/gdb/inf-ptrace.c 2015-07-09 18:24:13.710140426 +0200
++++ gdb-7.9.90.20150709/gdb/inf-ptrace.c 2015-07-09 18:24:24.915236007 +0200
@@ -79,7 +79,15 @@ static void
inf_ptrace_me (void)
{
@@ -189,11 +189,11 @@ Index: gdb-7.9.50.20150520/gdb/inf-ptrace.c
}
/* Start a new inferior Unix child process. EXEC_FILE is the file to
-Index: gdb-7.9.50.20150520/gdb/linux-nat.c
+Index: gdb-7.9.90.20150709/gdb/linux-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/linux-nat.c 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/linux-nat.c 2015-05-31 18:17:56.214272683 +0200
-@@ -1179,6 +1179,7 @@ linux_nat_create_inferior (struct target
+--- gdb-7.9.90.20150709.orig/gdb/linux-nat.c 2015-07-09 18:24:13.712140443 +0200
++++ gdb-7.9.90.20150709/gdb/linux-nat.c 2015-07-09 18:24:24.916236015 +0200
+@@ -1184,6 +1184,7 @@ linux_nat_create_inferior (struct target
{
struct cleanup *restore_personality
= maybe_disable_address_space_randomization (disable_randomization);
@@ -201,7 +201,7 @@ Index: gdb-7.9.50.20150520/gdb/linux-nat.c
/* The fork_child mechanism is synchronous and calls target_wait, so
we have to mask the async mode. */
-@@ -1186,7 +1187,28 @@ linux_nat_create_inferior (struct target
+@@ -1191,7 +1192,28 @@ linux_nat_create_inferior (struct target
/* Make sure we report all signals during startup. */
linux_nat_pass_signals (ops, 0, NULL);
@@ -231,11 +231,11 @@ Index: gdb-7.9.50.20150520/gdb/linux-nat.c
do_cleanups (restore_personality);
}
-Index: gdb-7.9.50.20150520/gdb/config.in
+Index: gdb-7.9.90.20150709/gdb/config.in
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/config.in 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/config.in 2015-05-31 18:17:19.589046571 +0200
-@@ -261,6 +261,9 @@
+--- gdb-7.9.90.20150709.orig/gdb/config.in 2015-07-09 18:24:13.713140452 +0200
++++ gdb-7.9.90.20150709/gdb/config.in 2015-07-09 18:24:24.916236015 +0200
+@@ -264,6 +264,9 @@
/* Define if librpm library is being used. */
#undef HAVE_LIBRPM
@@ -245,7 +245,7 @@ Index: gdb-7.9.50.20150520/gdb/config.in
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
#undef HAVE_LIBUNWIND_IA64_H
-@@ -393,6 +396,9 @@
+@@ -396,6 +399,9 @@
/* Define to 1 if you have the `scm_new_smob' function. */
#undef HAVE_SCM_NEW_SMOB
@@ -255,11 +255,11 @@ Index: gdb-7.9.50.20150520/gdb/config.in
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
-Index: gdb-7.9.50.20150520/gdb/configure
+Index: gdb-7.9.90.20150709/gdb/configure
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/configure 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/configure 2015-05-31 18:17:19.594046602 +0200
-@@ -13730,6 +13730,64 @@ cat >>confdefs.h <<_ACEOF
+--- gdb-7.9.90.20150709.orig/gdb/configure 2015-07-09 18:24:13.718140495 +0200
++++ gdb-7.9.90.20150709/gdb/configure 2015-07-09 18:24:24.920236049 +0200
+@@ -14228,6 +14228,64 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
@@ -324,10 +324,10 @@ Index: gdb-7.9.50.20150520/gdb/configure
# Support for --with-sysroot is a copy of GDB_AC_WITH_DIR,
# except that the argument to --with-sysroot is optional.
-Index: gdb-7.9.50.20150520/gdb/gdbserver/config.in
+Index: gdb-7.9.90.20150709/gdb/gdbserver/config.in
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdbserver/config.in 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/gdbserver/config.in 2015-05-31 18:17:19.594046602 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gdbserver/config.in 2015-07-09 18:24:13.719140503 +0200
++++ gdb-7.9.90.20150709/gdb/gdbserver/config.in 2015-07-09 18:24:24.920236049 +0200
@@ -113,6 +113,9 @@
/* Define to 1 if you have the `mcheck' library (-lmcheck). */
#undef HAVE_LIBMCHECK
@@ -338,9 +338,9 @@ Index: gdb-7.9.50.20150520/gdb/gdbserver/config.in
/* Define if the target supports branch tracing. */
#undef HAVE_LINUX_BTRACE
-@@ -186,6 +189,9 @@
- /* Define to 1 if you have the `pwrite' function. */
- #undef HAVE_PWRITE
+@@ -189,6 +192,9 @@
+ /* Define to 1 if you have the `setns' function. */
+ #undef HAVE_SETNS
+/* Define to 1 if you have the <selinux/selinux.h> header file. */
+#undef HAVE_SELINUX_SELINUX_H
@@ -348,10 +348,10 @@ Index: gdb-7.9.50.20150520/gdb/gdbserver/config.in
/* Define to 1 if you have the <sgtty.h> header file. */
#undef HAVE_SGTTY_H
-Index: gdb-7.9.50.20150520/gdb/gdbserver/configure
+Index: gdb-7.9.90.20150709/gdb/gdbserver/configure
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdbserver/configure 2015-05-31 18:16:54.348890746 +0200
-+++ gdb-7.9.50.20150520/gdb/gdbserver/configure 2015-05-31 18:17:19.596046614 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gdbserver/configure 2015-07-09 18:24:13.721140520 +0200
++++ gdb-7.9.90.20150709/gdb/gdbserver/configure 2015-07-09 18:24:24.922236066 +0200
@@ -7022,6 +7022,64 @@ if $want_ipa ; then
fi
fi
diff --git a/gdb-bz541866-rwatch-before-run.patch b/gdb-bz541866-rwatch-before-run.patch
index 83b3a35..792b410 100644
--- a/gdb-bz541866-rwatch-before-run.patch
+++ b/gdb-bz541866-rwatch-before-run.patch
@@ -1,20 +1,20 @@
-Index: gdb-7.9.50.20150520/gdb/config/i386/linux64.mh
+Index: gdb-7.9.90.20150709/gdb/config/i386/linux64.mh
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/config/i386/linux64.mh 2015-05-31 16:59:34.258018827 +0200
-+++ gdb-7.9.50.20150520/gdb/config/i386/linux64.mh 2015-05-31 16:59:47.779104163 +0200
+--- gdb-7.9.90.20150709.orig/gdb/config/i386/linux64.mh 2015-07-09 18:23:32.173786118 +0200
++++ gdb-7.9.90.20150709/gdb/config/i386/linux64.mh 2015-07-09 18:23:51.823953736 +0200
@@ -7,7 +7,7 @@ NATDEPFILES= inf-ptrace.o fork-child.o \
linux-procfs.o linux-ptrace.o linux-btrace.o \
linux-waitpid.o linux-personality.o x86-linux.o \
- x86-linux-dregs.o
+ x86-linux-dregs.o linux-namespaces.o
-NAT_FILE= config/nm-linux.h
+NAT_FILE= nm-linux64.h
NAT_CDEPS = $(srcdir)/proc-service.list
# The dynamically loaded libthread_db needs access to symbols in the
-Index: gdb-7.9.50.20150520/gdb/config/i386/linux.mh
+Index: gdb-7.9.90.20150709/gdb/config/i386/linux.mh
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/config/i386/linux.mh 2015-05-31 16:56:12.869747796 +0200
-+++ gdb-7.9.50.20150520/gdb/config/i386/linux.mh 2015-05-31 16:59:34.259018833 +0200
+--- gdb-7.9.90.20150709.orig/gdb/config/i386/linux.mh 2015-07-09 18:23:30.527772078 +0200
++++ gdb-7.9.90.20150709/gdb/config/i386/linux.mh 2015-07-09 18:23:32.174786127 +0200
@@ -1,6 +1,6 @@
# Host: Intel 386 running GNU/Linux.
@@ -23,10 +23,10 @@ Index: gdb-7.9.50.20150520/gdb/config/i386/linux.mh
NATDEPFILES= inf-ptrace.o fork-child.o \
x86-nat.o x86-dregs.o i386-linux-nat.o x86-linux-nat.o \
proc-service.o linux-thread-db.o \
-Index: gdb-7.9.50.20150520/gdb/config/i386/nm-linux.h
+Index: gdb-7.9.90.20150709/gdb/config/i386/nm-linux.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.9.50.20150520/gdb/config/i386/nm-linux.h 2015-05-31 16:59:34.259018833 +0200
++++ gdb-7.9.90.20150709/gdb/config/i386/nm-linux.h 2015-07-09 18:23:32.174786127 +0200
@@ -0,0 +1,28 @@
+/* Native support for GNU/Linux i386.
+
@@ -56,10 +56,10 @@ Index: gdb-7.9.50.20150520/gdb/config/i386/nm-linux.h
+#define target_can_use_hardware_watchpoint(type, cnt, ot) 1
+
+#endif /* NM_LINUX64_H */
-Index: gdb-7.9.50.20150520/gdb/config/i386/nm-linux64.h
+Index: gdb-7.9.90.20150709/gdb/config/i386/nm-linux64.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.9.50.20150520/gdb/config/i386/nm-linux64.h 2015-05-31 16:59:34.259018833 +0200
++++ gdb-7.9.90.20150709/gdb/config/i386/nm-linux64.h 2015-07-09 18:23:32.174786127 +0200
@@ -0,0 +1,28 @@
+/* Native support for GNU/Linux amd64.
+
@@ -89,11 +89,11 @@ Index: gdb-7.9.50.20150520/gdb/config/i386/nm-linux64.h
+#define target_can_use_hardware_watchpoint(type, cnt, ot) 1
+
+#endif /* NM_LINUX64_H */
-Index: gdb-7.9.50.20150520/gdb/target.h
+Index: gdb-7.9.90.20150709/gdb/target.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/target.h 2015-05-31 16:59:34.260018839 +0200
-+++ gdb-7.9.50.20150520/gdb/target.h 2015-05-31 17:00:11.067251143 +0200
-@@ -1820,9 +1820,11 @@ extern char *target_thread_name (struct
+--- gdb-7.9.90.20150709.orig/gdb/target.h 2015-07-09 18:23:30.528772086 +0200
++++ gdb-7.9.90.20150709/gdb/target.h 2015-07-09 18:23:32.175786135 +0200
+@@ -1849,9 +1849,11 @@ extern char *target_thread_name (struct
CNT is the number of such watchpoints used so far, including this
one. OTHERTYPE is who knows what... */
@@ -105,10 +105,10 @@ Index: gdb-7.9.50.20150520/gdb/target.h
/* Returns the number of debug registers needed to watch the given
memory region, or zero if not supported. */
-Index: gdb-7.9.50.20150520/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp
+Index: gdb-7.9.90.20150709/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.9.50.20150520/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp 2015-05-31 16:59:34.261018846 +0200
++++ gdb-7.9.90.20150709/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp 2015-07-09 18:23:32.175786135 +0200
@@ -0,0 +1,40 @@
+# Copyright 2009, 2010 Free Software Foundation, Inc.
+
diff --git a/gdb-cxx-enum-tag.patch b/gdb-cxx-enum-tag.patch
deleted file mode 100644
index 1471f66..0000000
--- a/gdb-cxx-enum-tag.patch
+++ /dev/null
@@ -1,284 +0,0 @@
-Last year a patch was submitted/approved/commited to eliminate
-symbol_matches_domain which was causing this problem. It was later reverted
-because it introduced a (severe) performance regression.
-
-Recap:
-
-(gdb) list
-1 enum e {A,B,C} e;
-2 int main (void) { return 0; }
-3
-(gdb) p e
-Attempt to use a type name as an expression
-
-The parser attempts to find a symbol named "e" of VAR_DOMAIN.
-This gets passed down through lookup_symbol and (eventually) into
-block_lookup_symbol_primary, which iterates over the block's dictionary
-of symbols:
-
- for (sym = dict_iter_name_first (block->dict, name, &dict_iter);
- sym != NULL;
- sym = dict_iter_name_next (name, &dict_iter))
- {
- if (symbol_matches_domain (SYMBOL_LANGUAGE (sym),
- SYMBOL_DOMAIN (sym), domain))
- return sym;
- }
-
-The problem here is that we have a symbol named "e" in both STRUCT_DOMAIN
-and VAR_DOMAIN, and for languages like C++, Java, and Ada, where a tag name
-may be used as an implicit typedef of the type, symbol_matches_domain ignores
-the difference between VAR_DOMAIN and STRUCT_DOMAIN. As it happens, the
-STRUCT_DOMAIN symbol is found first, considered a match, and that symbol is
-returned to the parser, eliciting the (now dreaded) error message.
-
-Since this bug exists specifically because we have both STRUCT and VAR_DOMAIN
-symbols in a given block/CU, this patch rather simply/naively changes
-block_lookup_symbol_primary so that it continues to search for an exact
-domain match on the symbol if symbol_matches_domain returns a symbol
-which does not exactly match the requested domain.
-
-This "fixes" the immediate problem, but admittedly might uncover other,
-related bugs. [Paranoia?] However, it causes no regressions (functional
-or performance) in the test suite.
-
-I have also resurrected the tests from the previous submission. However
-since we can still be given a matching symbol with a different domain than
-requested, we cannot say that a symbol "was not found." The error messages
-today will still be the (dreaded) "Attempt to use a type name..." I've
-updated the tests to reflect this.
-
-ChangeLog
-
- PR 16253
- * block.c (block_lookup_symbol_primary): If a symbol is found
- which does not exactly match the requested domain, keep searching
- for an exact match. Otherwise, return the previously found "best"
- symbol.
-
-testsuite/ChangeLog
-
- PR 16253
- * gdb.cp/var-tag.cc: New file.
- * gdb.cp/var-tag.exp: New file.
----
- gdb/ChangeLog | 8 ++++
- gdb/block.c | 16 +++++--
- gdb/testsuite/ChangeLog | 6 +++
- gdb/testsuite/gdb.cp/var-tag.cc | 44 +++++++++++++++++++
- gdb/testsuite/gdb.cp/var-tag.exp | 94 ++++++++++++++++++++++++++++++++++++++++
- 5 files changed, 165 insertions(+), 3 deletions(-)
- create mode 100644 gdb/testsuite/gdb.cp/var-tag.cc
- create mode 100644 gdb/testsuite/gdb.cp/var-tag.exp
-
-### a/gdb/ChangeLog
-### b/gdb/ChangeLog
-## -1,3 +1,11 @@
-+2015-06-11 Keith Seitz <keiths@redhat.com>
-+
-+ PR 16253
-+ * block.c (block_lookup_symbol_primary): If a symbol is found
-+ which does not exactly match the requested domain, keep searching
-+ for an exact match. Otherwise, return the previously found "best"
-+ symbol.
-+
- 2015-06-11 Gary Benson <gbenson@redhat.com>
-
- * nat/linux-namespaces.c (mnsh_send_message): Use pulongest.
---- a/gdb/block.c
-+++ b/gdb/block.c
-@@ -779,23 +779,33 @@ struct symbol *
- block_lookup_symbol_primary (const struct block *block, const char *name,
- const domain_enum domain)
- {
-- struct symbol *sym;
-+ struct symbol *sym, *other;
- struct dict_iterator dict_iter;
-
- /* Verify BLOCK is STATIC_BLOCK or GLOBAL_BLOCK. */
- gdb_assert (BLOCK_SUPERBLOCK (block) == NULL
- || BLOCK_SUPERBLOCK (BLOCK_SUPERBLOCK (block)) == NULL);
-
-+ other = NULL;
- for (sym = dict_iter_name_first (block->dict, name, &dict_iter);
- sym != NULL;
- sym = dict_iter_name_next (name, &dict_iter))
- {
-+ if (SYMBOL_DOMAIN (sym) == domain)
-+ return sym;
-+
-+ /* This is a bit of a hack, but symbol_matches_domain might ignore
-+ STRUCT vs VAR domain symbols. So if a matching symbol is found, make
-+ sure there is no "better" matching symbol, i.e., one with
-+ exactly the same domain. */
- if (symbol_matches_domain (SYMBOL_LANGUAGE (sym),
- SYMBOL_DOMAIN (sym), domain))
-- return sym;
-+ {
-+ other = sym;
-+ }
- }
-
-- return NULL;
-+ return other;
- }
-
- /* See block.h. */
-### a/gdb/testsuite/ChangeLog
-### b/gdb/testsuite/ChangeLog
-## -1,3 +1,9 @@
-+2015-06-11 Keith Seitz <keiths@redhat.com>
-+
-+ PR 16253
-+ * gdb.cp/var-tag.cc: New file.
-+ * gdb.cp/var-tag.exp: New file.
-+
- 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
- Mircea Gherzan <mircea.gherzan@intel.com>
-
---- /dev/null
-+++ b/gdb/testsuite/gdb.cp/var-tag.cc
-@@ -0,0 +1,44 @@
-+/* This testcase is part of GDB, the GNU debugger.
-+
-+ Copyright 2014 Free Software Foundation, Inc.
-+
-+ This program is free software; you can redistribute it and/or modify
-+ it under the terms of the GNU General Public License as published by
-+ the Free Software Foundation; either version 3 of the License, or
-+ (at your option) any later version.
-+
-+ This program is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License
-+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
-+
-+int global = 3;
-+
-+class C {
-+public:
-+ struct C1 {} C1;
-+ enum E1 {a1, b1, c1} E1;
-+ union U1 {int a1; char b1;} U1;
-+
-+ C () : E1 (b1) {}
-+ void global (void) const {}
-+ int f (void) const { global (); return 0; }
-+} C;
-+
-+struct S {} S;
-+enum E {a, b, c} E;
-+union U {int a; char b;} U;
-+
-+class CC {} cc;
-+struct SS {} ss;
-+enum EE {ea, eb, ec} ee;
-+union UU {int aa; char bb;} uu;
-+
-+int
-+main (void)
-+{
-+ return C.f ();
-+}
---- /dev/null
-+++ b/gdb/testsuite/gdb.cp/var-tag.exp
-@@ -0,0 +1,94 @@
-+# Copyright 2014, 2015 Free Software Foundation, Inc.
-+
-+# This program is free software; you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation; either version 3 of the License, or
-+# (at your option) any later version.
-+#
-+# This program is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with this program. If not, see <http://www.gnu.org/licenses/>.
-+
-+# This file is part of the gdb testsuite
-+
-+# Test expressions in which variable names shadow tag names.
-+
-+if {[skip_cplus_tests]} { continue }
-+
-+standard_testfile .cc
-+
-+if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
-+ return -1
-+}
-+
-+proc do_global_tests {lang} {
-+ set invalid_print "Attempt to use a type name as an expression"
-+ set ptypefmt "type = (class|enum|union|struct) %s {.*}"
-+
-+ with_test_prefix $lang {
-+ gdb_test_no_output "set language $lang"
-+ gdb_test "ptype C" "type = class C {.*}"
-+ gdb_test "print E" "= a"
-+ gdb_test "ptype E" "type = enum E {.*}"
-+ gdb_test "print S" "= {<No data fields>}"
-+ gdb_test "ptype S" "type = struct S {.*}"
-+ gdb_test "print U" "= {.*}"
-+ gdb_test "ptype U" "type = union U {.*}"
-+ gdb_test "print cc" "= {.*}"
-+ gdb_test "ptype cc" "type = class CC {.*}"
-+ gdb_test "print CC" [format $invalid_print "CC"]
-+ gdb_test "ptype CC" [format $ptypefmt "CC"]
-+ gdb_test "print ss" "= {<No data fields>}"
-+ gdb_test "ptype ss" "type = struct SS {.*}"
-+ gdb_test "print SS" [format $invalid_print "SS"]
-+ gdb_test "ptype SS" [format $ptypefmt "SS"]
-+ gdb_test "print ee" "= .*"
-+ gdb_test "ptype ee" "type = enum EE {.*}"
-+ gdb_test "print EE" [format $invalid_print "EE"]
-+ gdb_test "ptype EE" [format $ptypefmt "EE"]
-+ gdb_test "print uu" "= {.*}"
-+ gdb_test "ptype uu" "type = union UU {.*}"
-+ gdb_test "print UU" [format $invalid_print "UU"]
-+ gdb_test "ptype UU" [format $ptypefmt "UU"]
-+ }
-+}
-+
-+# First test expressions when there is no context.
-+with_test_prefix "before start" {
-+ do_global_tests c++
-+ do_global_tests c
-+}
-+
-+# Run to main and test again.
-+if {![runto_main]} {
-+ perror "couldn't run to main"
-+ continue
-+}
-+
-+with_test_prefix "in main" {
-+ do_global_tests c++
-+ do_global_tests c
-+}
-+
-+# Finally run to C::f and test again
-+gdb_breakpoint "C::f"
-+gdb_continue_to_breakpoint "continue to C::f"
-+with_test_prefix "in C::f" {
-+ do_global_tests c++
-+ do_global_tests c
-+}
-+
-+# Another hard-to-guess-the-users-intent bug...
-+# It would be really nice if we could query the user!
-+with_test_prefix "global collision" {
-+ gdb_test_no_output "set language c++"
-+ setup_kfail "c++/16463" "*-*-*"
-+ gdb_test "print global" "= 3"
-+
-+ # ... with a simple workaround:
-+ gdb_test "print ::global" "= 3"
-+}
---
-2.1.0
diff --git a/gdb-rhbz795424-bitpos-20of25.patch b/gdb-rhbz795424-bitpos-20of25.patch
index 21eaed8..dbc8579 100644
--- a/gdb-rhbz795424-bitpos-20of25.patch
+++ b/gdb-rhbz795424-bitpos-20of25.patch
@@ -463,10 +463,10 @@ Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=bitpos-main.patch
-Index: gdb-7.9.50.20150520/gdb/ada-lang.c
+Index: gdb-7.9.90.20150709/gdb/ada-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ada-lang.c 2015-05-31 17:08:46.807506157 +0200
-+++ gdb-7.9.50.20150520/gdb/ada-lang.c 2015-05-31 17:11:22.122486403 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ada-lang.c 2015-07-09 18:24:38.968355881 +0200
++++ gdb-7.9.90.20150709/gdb/ada-lang.c 2015-07-09 18:24:42.219383612 +0200
@@ -74,7 +74,7 @@ static struct type *desc_bounds_type (st
static struct value *desc_bounds (struct value *);
@@ -864,10 +864,10 @@ Index: gdb-7.9.50.20150520/gdb/ada-lang.c
int elt_bitsize = TYPE_FIELD_BITSIZE (type0, 0);
TYPE_FIELD_BITSIZE (result, 0) = TYPE_FIELD_BITSIZE (type0, 0);
-Index: gdb-7.9.50.20150520/gdb/ada-lang.h
+Index: gdb-7.9.90.20150709/gdb/ada-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ada-lang.h 2015-05-31 17:08:46.809506170 +0200
-+++ gdb-7.9.50.20150520/gdb/ada-lang.h 2015-05-31 17:09:21.428724663 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ada-lang.h 2015-07-09 18:24:38.969355889 +0200
++++ gdb-7.9.90.20150709/gdb/ada-lang.h 2015-07-09 18:24:42.219383612 +0200
@@ -179,7 +179,7 @@ extern void ada_print_type (struct type
extern void ada_print_typedef (struct type *type, struct symbol *new_symbol,
struct ui_file *stream);
@@ -895,10 +895,10 @@ Index: gdb-7.9.50.20150520/gdb/ada-lang.h
struct type *);
extern struct type *ada_coerce_to_simple_array_type (struct type *);
-Index: gdb-7.9.50.20150520/gdb/ada-typeprint.c
+Index: gdb-7.9.90.20150709/gdb/ada-typeprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ada-typeprint.c 2015-05-31 17:08:46.809506170 +0200
-+++ gdb-7.9.50.20150520/gdb/ada-typeprint.c 2015-05-31 17:09:21.429724670 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ada-typeprint.c 2015-07-09 18:24:38.969355889 +0200
++++ gdb-7.9.90.20150709/gdb/ada-typeprint.c 2015-07-09 18:24:42.220383621 +0200
@@ -886,8 +886,8 @@ ada_print_type (struct type *type0, cons
const char *name = ada_type_name (type);
@@ -920,10 +920,10 @@ Index: gdb-7.9.50.20150520/gdb/ada-typeprint.c
break;
case TYPE_CODE_ENUM:
if (show < 0)
-Index: gdb-7.9.50.20150520/gdb/ada-valprint.c
+Index: gdb-7.9.90.20150709/gdb/ada-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ada-valprint.c 2015-05-31 17:08:46.810506176 +0200
-+++ gdb-7.9.50.20150520/gdb/ada-valprint.c 2015-05-31 17:09:21.430724676 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ada-valprint.c 2015-07-09 18:24:38.970355898 +0200
++++ gdb-7.9.90.20150709/gdb/ada-valprint.c 2015-07-09 18:24:42.220383621 +0200
@@ -33,11 +33,11 @@
#include "objfiles.h"
@@ -1068,10 +1068,10 @@ Index: gdb-7.9.50.20150520/gdb/ada-valprint.c
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options)
-Index: gdb-7.9.50.20150520/gdb/annotate.c
+Index: gdb-7.9.90.20150709/gdb/annotate.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/annotate.c 2015-05-31 17:08:46.811506182 +0200
-+++ gdb-7.9.50.20150520/gdb/annotate.c 2015-05-31 17:09:21.430724676 +0200
+--- gdb-7.9.90.20150709.orig/gdb/annotate.c 2015-07-09 18:24:38.971355906 +0200
++++ gdb-7.9.90.20150709/gdb/annotate.c 2015-07-09 18:24:42.221383629 +0200
@@ -542,21 +542,21 @@ annotate_frame_end (void)
}
\f
@@ -1098,10 +1098,10 @@ Index: gdb-7.9.50.20150520/gdb/annotate.c
}
void
-Index: gdb-7.9.50.20150520/gdb/annotate.h
+Index: gdb-7.9.90.20150709/gdb/annotate.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/annotate.h 2015-05-31 17:08:46.811506182 +0200
-+++ gdb-7.9.50.20150520/gdb/annotate.h 2015-05-31 17:09:21.430724676 +0200
+--- gdb-7.9.90.20150709.orig/gdb/annotate.h 2015-07-09 18:24:38.971355906 +0200
++++ gdb-7.9.90.20150709/gdb/annotate.h 2015-07-09 18:24:42.221383629 +0200
@@ -92,8 +92,8 @@ extern void annotate_frame_source_end (v
extern void annotate_frame_where (void);
extern void annotate_frame_end (void);
@@ -1113,11 +1113,11 @@ Index: gdb-7.9.50.20150520/gdb/annotate.h
extern void annotate_elt_rep_end (void);
extern void annotate_elt (void);
extern void annotate_array_section_end (void);
-Index: gdb-7.9.50.20150520/gdb/arm-linux-nat.c
+Index: gdb-7.9.90.20150709/gdb/arm-linux-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/arm-linux-nat.c 2015-05-31 17:08:46.812506188 +0200
-+++ gdb-7.9.50.20150520/gdb/arm-linux-nat.c 2015-05-31 17:09:21.431724682 +0200
-@@ -1194,7 +1194,7 @@ arm_linux_remove_hw_breakpoint (struct t
+--- gdb-7.9.90.20150709.orig/gdb/arm-linux-nat.c 2015-07-09 18:24:38.971355906 +0200
++++ gdb-7.9.90.20150709/gdb/arm-linux-nat.c 2015-07-09 18:24:42.221383629 +0200
+@@ -1362,7 +1362,7 @@ arm_linux_remove_hw_breakpoint (struct t
ADDR? */
static int
arm_linux_region_ok_for_hw_watchpoint (struct target_ops *self,
@@ -1126,10 +1126,10 @@ Index: gdb-7.9.50.20150520/gdb/arm-linux-nat.c
{
const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
CORE_ADDR max_wp_length, aligned_addr;
-Index: gdb-7.9.50.20150520/gdb/ax-gdb.c
+Index: gdb-7.9.90.20150709/gdb/ax-gdb.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ax-gdb.c 2015-05-31 17:08:46.813506195 +0200
-+++ gdb-7.9.50.20150520/gdb/ax-gdb.c 2015-05-31 17:09:21.432724689 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ax-gdb.c 2015-07-09 18:24:38.973355923 +0200
++++ gdb-7.9.90.20150709/gdb/ax-gdb.c 2015-07-09 18:24:42.222383638 +0200
@@ -82,12 +82,12 @@ static void gen_traced_pop (struct gdbar
static void gen_sign_extend (struct agent_expr *, struct type *);
static void gen_extend (struct agent_expr *, struct type *);
@@ -1229,10 +1229,10 @@ Index: gdb-7.9.50.20150520/gdb/ax-gdb.c
{
int i, rslt;
int nbases = TYPE_N_BASECLASSES (type);
-Index: gdb-7.9.50.20150520/gdb/ax-general.c
+Index: gdb-7.9.90.20150709/gdb/ax-general.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ax-general.c 2015-05-31 17:08:46.814506201 +0200
-+++ gdb-7.9.50.20150520/gdb/ax-general.c 2015-05-31 17:09:21.432724689 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ax-general.c 2015-07-09 18:24:38.973355923 +0200
++++ gdb-7.9.90.20150709/gdb/ax-general.c 2015-07-09 18:24:42.223383646 +0200
@@ -193,7 +193,7 @@ ax_zero_ext (struct agent_expr *x, int n
/* Append a trace_quick instruction to EXPR, to record N bytes. */
@@ -1242,10 +1242,10 @@ Index: gdb-7.9.50.20150520/gdb/ax-general.c
{
/* N must fit in a byte. */
if (n < 0 || n > 255)
-Index: gdb-7.9.50.20150520/gdb/ax.h
+Index: gdb-7.9.90.20150709/gdb/ax.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ax.h 2015-05-31 17:08:46.814506201 +0200
-+++ gdb-7.9.50.20150520/gdb/ax.h 2015-05-31 17:09:21.432724689 +0200
+--- gdb-7.9.90.20150709.orig/gdb/ax.h 2015-07-09 18:24:38.973355923 +0200
++++ gdb-7.9.90.20150709/gdb/ax.h 2015-07-09 18:24:42.223383646 +0200
@@ -207,7 +207,7 @@ extern void ax_ext (struct agent_expr *E
extern void ax_zero_ext (struct agent_expr *EXPR, int N);
@@ -1255,11 +1255,11 @@ Index: gdb-7.9.50.20150520/gdb/ax.h
/* Append a goto op to EXPR. OP is the actual op (must be aop_goto or
aop_if_goto). We assume we don't know the target offset yet,
-Index: gdb-7.9.50.20150520/gdb/breakpoint.c
+Index: gdb-7.9.90.20150709/gdb/breakpoint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/breakpoint.c 2015-05-31 17:08:46.819506233 +0200
-+++ gdb-7.9.50.20150520/gdb/breakpoint.c 2015-05-31 17:09:21.436724714 +0200
-@@ -2201,9 +2201,9 @@ should_be_inserted (struct bp_location *
+--- gdb-7.9.90.20150709.orig/gdb/breakpoint.c 2015-07-09 18:24:38.977355958 +0200
++++ gdb-7.9.90.20150709/gdb/breakpoint.c 2015-07-09 18:24:42.227383680 +0200
+@@ -2202,9 +2202,9 @@ should_be_inserted (struct bp_location *
{
fprintf_unfiltered (gdb_stdlog,
"infrun: stepping past non-steppable watchpoint. "
@@ -1271,7 +1271,7 @@ Index: gdb-7.9.50.20150520/gdb/breakpoint.c
}
return 0;
}
-@@ -7003,7 +7003,7 @@ breakpoint_address_match (struct address
+@@ -6995,7 +6995,7 @@ breakpoint_address_match (struct address
static int
breakpoint_address_match_range (struct address_space *aspace1, CORE_ADDR addr1,
@@ -1280,7 +1280,7 @@ Index: gdb-7.9.50.20150520/gdb/breakpoint.c
CORE_ADDR addr2)
{
return ((gdbarch_has_global_breakpoints (target_gdbarch ())
-@@ -11325,7 +11325,7 @@ can_use_hardware_watchpoint (struct valu
+@@ -11302,7 +11302,7 @@ can_use_hardware_watchpoint (struct valu
&& TYPE_CODE (vtype) != TYPE_CODE_ARRAY))
{
CORE_ADDR vaddr = value_address (v);
@@ -1289,10 +1289,10 @@ Index: gdb-7.9.50.20150520/gdb/breakpoint.c
int num_regs;
len = (target_exact_watchpoints
-Index: gdb-7.9.50.20150520/gdb/breakpoint.h
+Index: gdb-7.9.90.20150709/gdb/breakpoint.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/breakpoint.h 2015-05-31 17:08:46.821506245 +0200
-+++ gdb-7.9.50.20150520/gdb/breakpoint.h 2015-05-31 17:09:21.437724720 +0200
+--- gdb-7.9.90.20150709.orig/gdb/breakpoint.h 2015-07-09 18:24:38.978355966 +0200
++++ gdb-7.9.90.20150709/gdb/breakpoint.h 2015-07-09 18:24:42.227383680 +0200
@@ -236,7 +236,7 @@ struct bp_target_info
/* If this is a ranged breakpoint, then this field contains the
@@ -1311,10 +1311,10 @@ Index: gdb-7.9.50.20150520/gdb/breakpoint.h
/* Type of hardware watchpoint. */
enum target_hw_bp_type watchpoint_type;
-Index: gdb-7.9.50.20150520/gdb/c-lang.c
+Index: gdb-7.9.90.20150709/gdb/c-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/c-lang.c 2015-05-31 17:08:46.821506245 +0200
-+++ gdb-7.9.50.20150520/gdb/c-lang.c 2015-05-31 17:09:21.437724720 +0200
+--- gdb-7.9.90.20150709.orig/gdb/c-lang.c 2015-07-09 18:24:38.979355975 +0200
++++ gdb-7.9.90.20150709/gdb/c-lang.c 2015-07-09 18:24:42.228383689 +0200
@@ -187,7 +187,7 @@ c_printchar (int c, struct type *type, s
void
@@ -1342,10 +1342,10 @@ Index: gdb-7.9.50.20150520/gdb/c-lang.c
if (get_discrete_bounds (TYPE_INDEX_TYPE (expect_type),
&low_bound, &high_bound) < 0)
-Index: gdb-7.9.50.20150520/gdb/c-lang.h
+Index: gdb-7.9.90.20150709/gdb/c-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/c-lang.h 2015-05-31 17:08:46.821506245 +0200
-+++ gdb-7.9.50.20150520/gdb/c-lang.h 2015-05-31 17:09:21.438724726 +0200
+--- gdb-7.9.90.20150709.orig/gdb/c-lang.h 2015-07-09 18:24:38.979355975 +0200
++++ gdb-7.9.90.20150709/gdb/c-lang.h 2015-07-09 18:24:42.228383689 +0200
@@ -74,7 +74,7 @@ extern void c_print_typedef (struct type
struct ui_file *);
@@ -1381,10 +1381,10 @@ Index: gdb-7.9.50.20150520/gdb/c-lang.h
struct ui_file *, int,
const struct value *,
const struct value_print_options *,
-Index: gdb-7.9.50.20150520/gdb/c-valprint.c
+Index: gdb-7.9.90.20150709/gdb/c-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/c-valprint.c 2015-05-31 17:08:46.822506252 +0200
-+++ gdb-7.9.50.20150520/gdb/c-valprint.c 2015-05-31 17:09:21.438724726 +0200
+--- gdb-7.9.90.20150709.orig/gdb/c-valprint.c 2015-07-09 18:24:38.979355975 +0200
++++ gdb-7.9.90.20150709/gdb/c-valprint.c 2015-07-09 18:24:42.228383689 +0200
@@ -132,7 +132,7 @@ static const struct generic_val_print_de
void
@@ -1426,10 +1426,10 @@ Index: gdb-7.9.50.20150520/gdb/c-valprint.c
struct value_print_options opts = *options;
opts.deref_ref = 1;
-Index: gdb-7.9.50.20150520/gdb/cp-abi.c
+Index: gdb-7.9.90.20150709/gdb/cp-abi.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/cp-abi.c 2015-05-31 17:08:46.822506252 +0200
-+++ gdb-7.9.50.20150520/gdb/cp-abi.c 2015-05-31 17:12:53.766064798 +0200
+--- gdb-7.9.90.20150709.orig/gdb/cp-abi.c 2015-07-09 18:24:38.980355983 +0200
++++ gdb-7.9.90.20150709/gdb/cp-abi.c 2015-07-09 18:24:42.228383689 +0200
@@ -64,12 +64,12 @@ is_operator_name (const char *name)
return (*current_cp_abi.is_operator_name) (name);
}
@@ -1464,10 +1464,10 @@ Index: gdb-7.9.50.20150520/gdb/cp-abi.c
{
struct type *ret = NULL;
-Index: gdb-7.9.50.20150520/gdb/cp-abi.h
+Index: gdb-7.9.90.20150709/gdb/cp-abi.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/cp-abi.h 2015-05-31 17:08:46.823506258 +0200
-+++ gdb-7.9.50.20150520/gdb/cp-abi.h 2015-05-31 17:09:21.439724733 +0200
+--- gdb-7.9.90.20150709.orig/gdb/cp-abi.h 2015-07-09 18:24:38.980355983 +0200
++++ gdb-7.9.90.20150709/gdb/cp-abi.h 2015-07-09 18:24:42.229383698 +0200
@@ -108,7 +108,7 @@ extern struct value *value_virtual_fn_fi
struct fn_field *f,
int j,
@@ -1522,10 +1522,10 @@ Index: gdb-7.9.50.20150520/gdb/cp-abi.h
void (*print_method_ptr) (const gdb_byte *contents,
struct type *type,
struct ui_file *stream);
-Index: gdb-7.9.50.20150520/gdb/cp-valprint.c
+Index: gdb-7.9.90.20150709/gdb/cp-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/cp-valprint.c 2015-05-31 17:08:46.823506258 +0200
-+++ gdb-7.9.50.20150520/gdb/cp-valprint.c 2015-05-31 17:14:41.796746617 +0200
+--- gdb-7.9.90.20150709.orig/gdb/cp-valprint.c 2015-07-09 18:24:38.980355983 +0200
++++ gdb-7.9.90.20150709/gdb/cp-valprint.c 2015-07-09 18:24:42.229383698 +0200
@@ -80,7 +80,7 @@ static void cp_print_static_field (struc
const struct value_print_options *);
@@ -1599,10 +1599,10 @@ Index: gdb-7.9.50.20150520/gdb/cp-valprint.c
int skip = 0;
struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i));
const char *basename = TYPE_NAME (baseclass);
-Index: gdb-7.9.50.20150520/gdb/d-lang.h
+Index: gdb-7.9.90.20150709/gdb/d-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/d-lang.h 2015-05-31 17:08:46.824506264 +0200
-+++ gdb-7.9.50.20150520/gdb/d-lang.h 2015-05-31 17:09:21.439724733 +0200
+--- gdb-7.9.90.20150709.orig/gdb/d-lang.h 2015-07-09 18:24:38.981355992 +0200
++++ gdb-7.9.90.20150709/gdb/d-lang.h 2015-07-09 18:24:42.229383698 +0200
@@ -71,7 +71,7 @@ extern const struct builtin_d_type *buil
/* Defined in d-valprint.c */
@@ -1612,10 +1612,10 @@ Index: gdb-7.9.50.20150520/gdb/d-lang.h
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options);
-Index: gdb-7.9.50.20150520/gdb/d-valprint.c
+Index: gdb-7.9.90.20150709/gdb/d-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/d-valprint.c 2015-05-31 17:08:46.824506264 +0200
-+++ gdb-7.9.50.20150520/gdb/d-valprint.c 2015-05-31 17:09:21.440724739 +0200
+--- gdb-7.9.90.20150709.orig/gdb/d-valprint.c 2015-07-09 18:24:38.981355992 +0200
++++ gdb-7.9.90.20150709/gdb/d-valprint.c 2015-07-09 18:24:42.229383698 +0200
@@ -29,7 +29,7 @@
static int
@@ -1638,10 +1638,10 @@ Index: gdb-7.9.50.20150520/gdb/d-valprint.c
const struct value_print_options *options)
{
int ret;
-Index: gdb-7.9.50.20150520/gdb/doublest.c
+Index: gdb-7.9.90.20150709/gdb/doublest.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/doublest.c 2015-05-31 17:08:46.824506264 +0200
-+++ gdb-7.9.50.20150520/gdb/doublest.c 2015-05-31 17:09:21.440724739 +0200
+--- gdb-7.9.90.20150709.orig/gdb/doublest.c 2015-07-09 18:24:38.981355992 +0200
++++ gdb-7.9.90.20150709/gdb/doublest.c 2015-07-09 18:24:42.230383706 +0200
@@ -765,7 +765,7 @@ floatformat_from_doublest (const struct
but not passed on by GDB. This should be fixed. */
@@ -1662,11 +1662,11 @@ Index: gdb-7.9.50.20150520/gdb/doublest.c
return format;
}
-Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
+Index: gdb-7.9.90.20150709/gdb/dwarf2loc.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/dwarf2loc.c 2015-05-31 17:08:46.826506277 +0200
-+++ gdb-7.9.50.20150520/gdb/dwarf2loc.c 2015-05-31 17:09:21.441724745 +0200
-@@ -1558,19 +1558,19 @@ insert_bits (unsigned int datum,
+--- gdb-7.9.90.20150709.orig/gdb/dwarf2loc.c 2015-07-09 18:24:38.983356009 +0200
++++ gdb-7.9.90.20150709/gdb/dwarf2loc.c 2015-07-09 18:24:42.231383715 +0200
+@@ -1557,19 +1557,19 @@ insert_bits (unsigned int datum,
BITS_BIG_ENDIAN is taken directly from gdbarch. */
static void
@@ -1692,7 +1692,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
dest_avail = 8 - dest_offset_bits % 8;
-@@ -1608,13 +1608,13 @@ static void
+@@ -1607,13 +1607,13 @@ static void
read_pieced_value (struct value *v)
{
int i;
@@ -1708,7 +1708,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
size_t buffer_size = 0;
gdb_byte *buffer = NULL;
struct cleanup *cleanup;
-@@ -1641,8 +1641,8 @@ read_pieced_value (struct value *v)
+@@ -1640,8 +1640,8 @@ read_pieced_value (struct value *v)
for (i = 0; i < c->n_pieces && offset < type_len; i++)
{
struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1719,7 +1719,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
const gdb_byte *intermediate_buffer;
/* Compute size, source, and destination offsets for copying, in
-@@ -1791,13 +1791,13 @@ static void
+@@ -1790,13 +1790,13 @@ static void
write_pieced_value (struct value *to, struct value *from)
{
int i;
@@ -1735,7 +1735,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
size_t buffer_size = 0;
gdb_byte *buffer = NULL;
struct cleanup *cleanup;
-@@ -1825,8 +1825,8 @@ write_pieced_value (struct value *to, st
+@@ -1824,8 +1824,8 @@ write_pieced_value (struct value *to, st
for (i = 0; i < c->n_pieces && offset < type_len; i++)
{
struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1746,7 +1746,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
int need_bitwise;
const gdb_byte *source_buffer;
-@@ -1954,8 +1954,8 @@ write_pieced_value (struct value *to, st
+@@ -1953,8 +1953,8 @@ write_pieced_value (struct value *to, st
a synthetic pointer. */
static int
@@ -1757,7 +1757,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
{
struct piece_closure *c
= (struct piece_closure *) value_computed_closure (value);
-@@ -1968,7 +1968,7 @@ check_pieced_synthetic_pointer (const st
+@@ -1967,7 +1967,7 @@ check_pieced_synthetic_pointer (const st
for (i = 0; i < c->n_pieces && bit_length > 0; i++)
{
struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1766,7 +1766,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
if (bit_offset > 0)
{
-@@ -2010,9 +2010,10 @@ indirect_pieced_value (struct value *val
+@@ -2009,9 +2009,10 @@ indirect_pieced_value (struct value *val
struct type *type;
struct frame_info *frame;
struct dwarf2_locexpr_baton baton;
@@ -1779,7 +1779,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
enum bfd_endian byte_order;
type = check_typedef (value_type (value));
-@@ -2027,7 +2028,7 @@ indirect_pieced_value (struct value *val
+@@ -2026,7 +2027,7 @@ indirect_pieced_value (struct value *val
for (i = 0; i < c->n_pieces && bit_length > 0; i++)
{
struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1788,7 +1788,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
if (bit_offset > 0)
{
-@@ -2310,7 +2311,7 @@ dwarf2_evaluate_loc_desc_full (struct ty
+@@ -2309,7 +2310,7 @@ dwarf2_evaluate_loc_desc_full (struct ty
struct value *value = dwarf_expr_fetch (ctx, 0);
gdb_byte *contents;
const gdb_byte *val_bytes;
@@ -1797,11 +1797,11 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2loc.c
if (byte_offset + TYPE_LENGTH (type) > n)
invalid_synthetic_pointer ();
-Index: gdb-7.9.50.20150520/gdb/dwarf2read.c
+Index: gdb-7.9.90.20150709/gdb/dwarf2read.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/dwarf2read.c 2015-05-31 17:08:46.832506315 +0200
-+++ gdb-7.9.50.20150520/gdb/dwarf2read.c 2015-05-31 17:09:21.446724777 +0200
-@@ -1907,12 +1907,12 @@ dwarf2_complex_location_expr_complaint (
+--- gdb-7.9.90.20150709.orig/gdb/dwarf2read.c 2015-07-09 18:24:38.989356060 +0200
++++ gdb-7.9.90.20150709/gdb/dwarf2read.c 2015-07-09 18:24:42.236383757 +0200
+@@ -1910,12 +1910,12 @@ dwarf2_complex_location_expr_complaint (
}
static void
@@ -1818,7 +1818,7 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2read.c
}
static void
-@@ -12521,8 +12521,8 @@ dwarf2_add_field (struct field_info *fip
+@@ -12524,8 +12524,8 @@ dwarf2_add_field (struct field_info *fip
object, and then subtract off the number of bits of
the field itself. The result is the bit offset of
the LSB of the field. */
@@ -1829,10 +1829,10 @@ Index: gdb-7.9.50.20150520/gdb/dwarf2read.c
attr = dwarf2_attr (die, DW_AT_byte_size, cu);
if (attr)
-Index: gdb-7.9.50.20150520/gdb/eval.c
+Index: gdb-7.9.90.20150709/gdb/eval.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/eval.c 2015-05-31 17:08:46.834506327 +0200
-+++ gdb-7.9.50.20150520/gdb/eval.c 2015-05-31 17:09:21.447724783 +0200
+--- gdb-7.9.90.20150709.orig/gdb/eval.c 2015-07-09 18:24:38.990356068 +0200
++++ gdb-7.9.90.20150709/gdb/eval.c 2015-07-09 18:24:42.237383766 +0200
@@ -317,7 +317,8 @@ evaluate_struct_tuple (struct value *str
while (--nargs >= 0)
{
@@ -1895,10 +1895,10 @@ Index: gdb-7.9.50.20150520/gdb/eval.c
struct value_print_options opts;
get_user_print_options (&opts);
-Index: gdb-7.9.50.20150520/gdb/f-lang.c
+Index: gdb-7.9.90.20150709/gdb/f-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/f-lang.c 2015-05-31 17:08:46.835506334 +0200
-+++ gdb-7.9.50.20150520/gdb/f-lang.c 2015-05-31 17:09:21.448724790 +0200
+--- gdb-7.9.90.20150709.orig/gdb/f-lang.c 2015-07-09 18:24:38.991356077 +0200
++++ gdb-7.9.90.20150709/gdb/f-lang.c 2015-07-09 18:24:42.237383766 +0200
@@ -103,7 +103,7 @@ f_printchar (int c, struct type *type, s
static void
@@ -1908,10 +1908,10 @@ Index: gdb-7.9.50.20150520/gdb/f-lang.c
const struct value_print_options *options)
{
const char *type_encoding = f_get_encoding (type);
-Index: gdb-7.9.50.20150520/gdb/f-lang.h
+Index: gdb-7.9.90.20150709/gdb/f-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/f-lang.h 2015-05-31 17:08:46.835506334 +0200
-+++ gdb-7.9.50.20150520/gdb/f-lang.h 2015-05-31 17:09:21.448724790 +0200
+--- gdb-7.9.90.20150709.orig/gdb/f-lang.h 2015-07-09 18:24:38.991356077 +0200
++++ gdb-7.9.90.20150709/gdb/f-lang.h 2015-07-09 18:24:42.238383774 +0200
@@ -30,7 +30,7 @@ extern void f_error (char *); /* Defined
extern void f_print_type (struct type *, const char *, struct ui_file *, int,
int, const struct type_print_options *);
@@ -1921,10 +1921,10 @@ Index: gdb-7.9.50.20150520/gdb/f-lang.h
struct ui_file *, int,
const struct value *,
const struct value_print_options *);
-Index: gdb-7.9.50.20150520/gdb/f-valprint.c
+Index: gdb-7.9.90.20150709/gdb/f-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/f-valprint.c 2015-05-31 17:08:46.835506334 +0200
-+++ gdb-7.9.50.20150520/gdb/f-valprint.c 2015-05-31 17:09:21.448724790 +0200
+--- gdb-7.9.90.20150709.orig/gdb/f-valprint.c 2015-07-09 18:24:38.991356077 +0200
++++ gdb-7.9.90.20150709/gdb/f-valprint.c 2015-07-09 18:24:42.238383774 +0200
@@ -38,7 +38,7 @@ extern void _initialize_f_valprint (void
static void info_common_command (char *, int);
static void f77_get_dynamic_length_of_aggregate (struct type *);
@@ -1984,10 +1984,10 @@ Index: gdb-7.9.50.20150520/gdb/f-valprint.c
const struct value *original_value,
const struct value_print_options *options)
{
-Index: gdb-7.9.50.20150520/gdb/findvar.c
+Index: gdb-7.9.90.20150709/gdb/findvar.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/findvar.c 2015-05-31 17:08:46.836506340 +0200
-+++ gdb-7.9.50.20150520/gdb/findvar.c 2015-05-31 17:09:21.448724790 +0200
+--- gdb-7.9.90.20150709.orig/gdb/findvar.c 2015-07-09 18:24:38.991356077 +0200
++++ gdb-7.9.90.20150709/gdb/findvar.c 2015-07-09 18:24:42.238383774 +0200
@@ -626,7 +626,7 @@ struct value *
default_value_from_register (struct gdbarch *gdbarch, struct type *type,
int regnum, struct frame_id frame_id)
@@ -2020,10 +2020,10 @@ Index: gdb-7.9.50.20150520/gdb/findvar.c
/* If the register length is larger than the number of bytes
remaining to copy, then only copy the appropriate bytes. */
-Index: gdb-7.9.50.20150520/gdb/frame.c
+Index: gdb-7.9.90.20150709/gdb/frame.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/frame.c 2015-05-31 17:08:46.837506346 +0200
-+++ gdb-7.9.50.20150520/gdb/frame.c 2015-05-31 17:09:21.449724796 +0200
+--- gdb-7.9.90.20150709.orig/gdb/frame.c 2015-07-09 18:24:38.992356085 +0200
++++ gdb-7.9.90.20150709/gdb/frame.c 2015-07-09 18:24:42.239383783 +0200
@@ -1272,7 +1272,7 @@ deprecated_frame_register_read (struct f
int
@@ -2042,10 +2042,10 @@ Index: gdb-7.9.50.20150520/gdb/frame.c
/* Copy the data. */
while (len > 0)
-Index: gdb-7.9.50.20150520/gdb/frame.h
+Index: gdb-7.9.90.20150709/gdb/frame.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/frame.h 2015-05-31 17:08:46.837506346 +0200
-+++ gdb-7.9.50.20150520/gdb/frame.h 2015-05-31 17:09:21.450724802 +0200
+--- gdb-7.9.90.20150709.orig/gdb/frame.h 2015-07-09 18:24:38.992356085 +0200
++++ gdb-7.9.90.20150709/gdb/frame.h 2015-07-09 18:24:42.239383783 +0200
@@ -583,7 +583,7 @@ extern void put_frame_register (struct f
contents are optimized out or unavailable, set *OPTIMIZEDP,
*UNAVAILABLEP accordingly. */
@@ -2055,10 +2055,10 @@ Index: gdb-7.9.50.20150520/gdb/frame.h
gdb_byte *myaddr,
int *optimizedp, int *unavailablep);
-Index: gdb-7.9.50.20150520/gdb/gdbtypes.c
+Index: gdb-7.9.90.20150709/gdb/gdbtypes.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdbtypes.c 2015-05-31 17:08:46.839506359 +0200
-+++ gdb-7.9.50.20150520/gdb/gdbtypes.c 2015-05-31 17:09:21.451724809 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gdbtypes.c 2015-07-09 18:24:38.995356111 +0200
++++ gdb-7.9.90.20150709/gdb/gdbtypes.c 2015-07-09 18:24:42.241383800 +0200
@@ -2698,7 +2698,7 @@ allocate_gnat_aux_type (struct type *typ
least as long as OBJFILE. */
@@ -2126,10 +2126,10 @@ Index: gdb-7.9.50.20150520/gdb/gdbtypes.c
{
struct type *type;
-Index: gdb-7.9.50.20150520/gdb/gdbtypes.h
+Index: gdb-7.9.90.20150709/gdb/gdbtypes.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gdbtypes.h 2015-05-31 17:08:46.840506365 +0200
-+++ gdb-7.9.50.20150520/gdb/gdbtypes.h 2015-05-31 17:13:16.294206977 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gdbtypes.h 2015-07-09 18:24:38.995356111 +0200
++++ gdb-7.9.90.20150709/gdb/gdbtypes.h 2015-07-09 18:24:42.241383800 +0200
@@ -504,7 +504,7 @@ union field_location
gdbarch_bits_big_endian=0 targets, it is the bit offset to
the LSB. */
@@ -2163,10 +2163,10 @@ Index: gdb-7.9.50.20150520/gdb/gdbtypes.h
extern struct type *arch_integer_type (struct gdbarch *, int, int, char *);
extern struct type *arch_character_type (struct gdbarch *, int, int, char *);
extern struct type *arch_boolean_type (struct gdbarch *, int, int, char *);
-Index: gdb-7.9.50.20150520/gdb/gnu-v2-abi.c
+Index: gdb-7.9.90.20150709/gdb/gnu-v2-abi.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gnu-v2-abi.c 2015-05-31 17:08:46.840506365 +0200
-+++ gdb-7.9.50.20150520/gdb/gnu-v2-abi.c 2015-05-31 17:09:21.452724815 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gnu-v2-abi.c 2015-07-09 18:24:38.996356120 +0200
++++ gdb-7.9.90.20150709/gdb/gnu-v2-abi.c 2015-07-09 18:24:42.241383800 +0200
@@ -82,7 +82,7 @@ gnuv2_is_operator_name (const char *name
TYPE is the type in which F is located. */
static struct value *
@@ -2218,10 +2218,10 @@ Index: gdb-7.9.50.20150520/gdb/gnu-v2-abi.c
gnuv2_baseclass_offset (type, i, valaddr,
embedded_offset, address, val);
-Index: gdb-7.9.50.20150520/gdb/gnu-v3-abi.c
+Index: gdb-7.9.90.20150709/gdb/gnu-v3-abi.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/gnu-v3-abi.c 2015-05-31 17:08:46.841506371 +0200
-+++ gdb-7.9.50.20150520/gdb/gnu-v3-abi.c 2015-05-31 17:09:21.453724821 +0200
+--- gdb-7.9.90.20150709.orig/gdb/gnu-v3-abi.c 2015-07-09 18:24:38.996356120 +0200
++++ gdb-7.9.90.20150709/gdb/gnu-v3-abi.c 2015-07-09 18:24:42.242383808 +0200
@@ -108,7 +108,7 @@ build_gdb_vtable_type (struct gdbarch *a
{
struct type *t;
@@ -2296,10 +2296,10 @@ Index: gdb-7.9.50.20150520/gdb/gnu-v3-abi.c
struct type *basetype;
if (BASETYPE_VIA_VIRTUAL (domain, i))
-Index: gdb-7.9.50.20150520/gdb/go-lang.h
+Index: gdb-7.9.90.20150709/gdb/go-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/go-lang.h 2015-05-31 17:08:46.841506371 +0200
-+++ gdb-7.9.50.20150520/gdb/go-lang.h 2015-05-31 17:09:21.453724821 +0200
+--- gdb-7.9.90.20150709.orig/gdb/go-lang.h 2015-07-09 18:24:38.997356128 +0200
++++ gdb-7.9.90.20150709/gdb/go-lang.h 2015-07-09 18:24:42.242383808 +0200
@@ -85,7 +85,7 @@ extern void go_print_type (struct type *
/* Defined in go-valprint.c. */
@@ -2309,10 +2309,10 @@ Index: gdb-7.9.50.20150520/gdb/go-lang.h
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options);
-Index: gdb-7.9.50.20150520/gdb/go-valprint.c
+Index: gdb-7.9.90.20150709/gdb/go-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/go-valprint.c 2015-05-31 17:08:46.842506378 +0200
-+++ gdb-7.9.50.20150520/gdb/go-valprint.c 2015-05-31 17:09:21.453724821 +0200
+--- gdb-7.9.90.20150709.orig/gdb/go-valprint.c 2015-07-09 18:24:38.997356128 +0200
++++ gdb-7.9.90.20150709/gdb/go-valprint.c 2015-07-09 18:24:42.242383808 +0200
@@ -37,7 +37,7 @@
static void
@@ -2335,10 +2335,10 @@ Index: gdb-7.9.50.20150520/gdb/go-valprint.c
const struct value_print_options *options)
{
CHECK_TYPEDEF (type);
-Index: gdb-7.9.50.20150520/gdb/jv-lang.c
+Index: gdb-7.9.90.20150709/gdb/jv-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/jv-lang.c 2015-05-31 17:08:46.842506378 +0200
-+++ gdb-7.9.50.20150520/gdb/jv-lang.c 2015-05-31 17:09:21.454724828 +0200
+--- gdb-7.9.90.20150709.orig/gdb/jv-lang.c 2015-07-09 18:24:38.997356128 +0200
++++ gdb-7.9.90.20150709/gdb/jv-lang.c 2015-07-09 18:24:42.243383817 +0200
@@ -436,7 +436,7 @@ java_link_class_type (struct gdbarch *gd
for (i = TYPE_N_BASECLASSES (type); i < nfields; i++)
{
@@ -2357,10 +2357,10 @@ Index: gdb-7.9.50.20150520/gdb/jv-lang.c
const struct value_print_options *options)
{
const char *type_encoding = java_get_encoding (type);
-Index: gdb-7.9.50.20150520/gdb/jv-lang.h
+Index: gdb-7.9.90.20150709/gdb/jv-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/jv-lang.h 2015-05-31 17:08:46.842506378 +0200
-+++ gdb-7.9.50.20150520/gdb/jv-lang.h 2015-05-31 17:09:21.454724828 +0200
+--- gdb-7.9.90.20150709.orig/gdb/jv-lang.h 2015-07-09 18:24:38.997356128 +0200
++++ gdb-7.9.90.20150709/gdb/jv-lang.h 2015-07-09 18:24:42.243383817 +0200
@@ -43,8 +43,8 @@ struct builtin_java_type
extern const struct builtin_java_type *builtin_java_type (struct gdbarch *);
@@ -2372,10 +2372,10 @@ Index: gdb-7.9.50.20150520/gdb/jv-lang.h
const struct value *,
const struct value_print_options *);
-Index: gdb-7.9.50.20150520/gdb/jv-valprint.c
+Index: gdb-7.9.90.20150709/gdb/jv-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/jv-valprint.c 2015-05-31 17:08:46.843506384 +0200
-+++ gdb-7.9.50.20150520/gdb/jv-valprint.c 2015-05-31 17:09:21.454724828 +0200
+--- gdb-7.9.90.20150709.orig/gdb/jv-valprint.c 2015-07-09 18:24:38.998356137 +0200
++++ gdb-7.9.90.20150709/gdb/jv-valprint.c 2015-07-09 18:24:42.243383817 +0200
@@ -265,7 +265,7 @@ java_value_print (struct value *val, str
static void
@@ -2394,10 +2394,10 @@ Index: gdb-7.9.50.20150520/gdb/jv-valprint.c
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options)
-Index: gdb-7.9.50.20150520/gdb/language.c
+Index: gdb-7.9.90.20150709/gdb/language.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/language.c 2015-05-31 17:08:46.843506384 +0200
-+++ gdb-7.9.50.20150520/gdb/language.c 2015-05-31 17:09:21.454724828 +0200
+--- gdb-7.9.90.20150709.orig/gdb/language.c 2015-07-09 18:24:38.998356137 +0200
++++ gdb-7.9.90.20150709/gdb/language.c 2015-07-09 18:24:42.244383825 +0200
@@ -720,7 +720,7 @@ unk_lang_printchar (int c, struct type *
static void
@@ -2416,10 +2416,10 @@ Index: gdb-7.9.50.20150520/gdb/language.c
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options)
-Index: gdb-7.9.50.20150520/gdb/language.h
+Index: gdb-7.9.90.20150709/gdb/language.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/language.h 2015-05-31 17:08:46.844506390 +0200
-+++ gdb-7.9.50.20150520/gdb/language.h 2015-05-31 17:09:21.455724834 +0200
+--- gdb-7.9.90.20150709.orig/gdb/language.h 2015-07-09 18:24:38.998356137 +0200
++++ gdb-7.9.90.20150709/gdb/language.h 2015-07-09 18:24:42.244383825 +0200
@@ -189,7 +189,7 @@ struct language_defn
struct ui_file * stream);
@@ -2438,10 +2438,10 @@ Index: gdb-7.9.50.20150520/gdb/language.h
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options);
-Index: gdb-7.9.50.20150520/gdb/m2-lang.c
+Index: gdb-7.9.90.20150709/gdb/m2-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/m2-lang.c 2015-05-31 17:08:46.844506390 +0200
-+++ gdb-7.9.50.20150520/gdb/m2-lang.c 2015-05-31 17:09:21.455724834 +0200
+--- gdb-7.9.90.20150709.orig/gdb/m2-lang.c 2015-07-09 18:24:38.999356145 +0200
++++ gdb-7.9.90.20150709/gdb/m2-lang.c 2015-07-09 18:24:42.244383825 +0200
@@ -104,10 +104,10 @@ m2_printchar (int c, struct type *type,
static void
@@ -2476,10 +2476,10 @@ Index: gdb-7.9.50.20150520/gdb/m2-lang.c
i = rep1 - 1;
things_printed += options->repeat_count_threshold;
need_comma = 1;
-Index: gdb-7.9.50.20150520/gdb/m2-lang.h
+Index: gdb-7.9.90.20150709/gdb/m2-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/m2-lang.h 2015-05-31 17:08:46.844506390 +0200
-+++ gdb-7.9.50.20150520/gdb/m2-lang.h 2015-05-31 17:09:21.455724834 +0200
+--- gdb-7.9.90.20150709.orig/gdb/m2-lang.h 2015-07-09 18:24:38.999356145 +0200
++++ gdb-7.9.90.20150709/gdb/m2-lang.h 2015-07-09 18:24:42.244383825 +0200
@@ -34,7 +34,7 @@ extern void m2_print_typedef (struct typ
extern int m2_is_long_set (struct type *type);
extern int m2_is_unbounded_array (struct type *type);
@@ -2489,10 +2489,10 @@ Index: gdb-7.9.50.20150520/gdb/m2-lang.h
struct ui_file *, int,
const struct value *,
const struct value_print_options *);
-Index: gdb-7.9.50.20150520/gdb/m2-typeprint.c
+Index: gdb-7.9.90.20150709/gdb/m2-typeprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/m2-typeprint.c 2015-05-31 17:08:46.844506390 +0200
-+++ gdb-7.9.50.20150520/gdb/m2-typeprint.c 2015-05-31 17:09:21.455724834 +0200
+--- gdb-7.9.90.20150709.orig/gdb/m2-typeprint.c 2015-07-09 18:24:38.999356145 +0200
++++ gdb-7.9.90.20150709/gdb/m2-typeprint.c 2015-07-09 18:24:42.245383834 +0200
@@ -234,9 +234,12 @@ static void m2_array (struct type *type,
m2_print_bounds (TYPE_INDEX_TYPE (type), stream, show, -1, 1);
}
@@ -2509,10 +2509,10 @@ Index: gdb-7.9.50.20150520/gdb/m2-typeprint.c
}
fprintf_filtered (stream, "] OF ");
m2_print_type (TYPE_TARGET_TYPE (type), "", stream, show, level, flags);
-Index: gdb-7.9.50.20150520/gdb/m2-valprint.c
+Index: gdb-7.9.90.20150709/gdb/m2-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/m2-valprint.c 2015-05-31 17:08:46.845506397 +0200
-+++ gdb-7.9.50.20150520/gdb/m2-valprint.c 2015-05-31 17:09:21.456724840 +0200
+--- gdb-7.9.90.20150709.orig/gdb/m2-valprint.c 2015-07-09 18:24:38.999356145 +0200
++++ gdb-7.9.90.20150709/gdb/m2-valprint.c 2015-07-09 18:24:42.245383834 +0200
@@ -35,7 +35,7 @@ static int print_unpacked_pointer (struc
struct ui_file *stream);
static void
@@ -2578,10 +2578,10 @@ Index: gdb-7.9.50.20150520/gdb/m2-valprint.c
/* Look for a NULL char. */
for (temp_len = 0;
-Index: gdb-7.9.50.20150520/gdb/memrange.c
+Index: gdb-7.9.90.20150709/gdb/memrange.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/memrange.c 2015-05-31 17:08:46.845506397 +0200
-+++ gdb-7.9.50.20150520/gdb/memrange.c 2015-05-31 17:09:21.456724840 +0200
+--- gdb-7.9.90.20150709.orig/gdb/memrange.c 2015-07-09 18:24:38.999356145 +0200
++++ gdb-7.9.90.20150709/gdb/memrange.c 2015-07-09 18:24:42.245383834 +0200
@@ -21,8 +21,8 @@
#include "memrange.h"
@@ -2593,10 +2593,10 @@ Index: gdb-7.9.50.20150520/gdb/memrange.c
{
ULONGEST h, l;
-Index: gdb-7.9.50.20150520/gdb/memrange.h
+Index: gdb-7.9.90.20150709/gdb/memrange.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/memrange.h 2015-05-31 17:08:46.845506397 +0200
-+++ gdb-7.9.50.20150520/gdb/memrange.h 2015-05-31 17:09:21.456724840 +0200
+--- gdb-7.9.90.20150709.orig/gdb/memrange.h 2015-07-09 18:24:39.000356154 +0200
++++ gdb-7.9.90.20150709/gdb/memrange.h 2015-07-09 18:24:42.245383834 +0200
@@ -30,7 +30,7 @@ struct mem_range
CORE_ADDR start;
@@ -2617,10 +2617,10 @@ Index: gdb-7.9.50.20150520/gdb/memrange.h
/* Returns true if ADDR is in RANGE. */
-Index: gdb-7.9.50.20150520/gdb/mips-linux-nat.c
+Index: gdb-7.9.90.20150709/gdb/mips-linux-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/mips-linux-nat.c 2015-05-31 17:08:46.846506403 +0200
-+++ gdb-7.9.50.20150520/gdb/mips-linux-nat.c 2015-05-31 17:09:21.456724840 +0200
+--- gdb-7.9.90.20150709.orig/gdb/mips-linux-nat.c 2015-07-09 18:24:39.000356154 +0200
++++ gdb-7.9.90.20150709/gdb/mips-linux-nat.c 2015-07-09 18:24:42.245383834 +0200
@@ -586,7 +586,7 @@ mips_linux_stopped_data_address (struct
static int
@@ -2630,10 +2630,10 @@ Index: gdb-7.9.50.20150520/gdb/mips-linux-nat.c
{
struct pt_watch_regs dummy_regs;
int i;
-Index: gdb-7.9.50.20150520/gdb/opencl-lang.c
+Index: gdb-7.9.90.20150709/gdb/opencl-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/opencl-lang.c 2015-05-31 17:08:46.846506403 +0200
-+++ gdb-7.9.50.20150520/gdb/opencl-lang.c 2015-05-31 17:09:21.457724846 +0200
+--- gdb-7.9.90.20150709.orig/gdb/opencl-lang.c 2015-07-09 18:24:39.000356154 +0200
++++ gdb-7.9.90.20150709/gdb/opencl-lang.c 2015-07-09 18:24:42.246383843 +0200
@@ -78,11 +78,11 @@ builtin_opencl_type (struct gdbarch *gdb
static struct type *
@@ -2710,10 +2710,10 @@ Index: gdb-7.9.50.20150520/gdb/opencl-lang.c
if (!value_bits_synthetic_pointer (c->val,
c->indices[i] * elsize + comp_offset,
-Index: gdb-7.9.50.20150520/gdb/p-lang.c
+Index: gdb-7.9.90.20150709/gdb/p-lang.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/p-lang.c 2015-05-31 17:08:46.847506409 +0200
-+++ gdb-7.9.50.20150520/gdb/p-lang.c 2015-05-31 17:09:21.457724846 +0200
+--- gdb-7.9.90.20150709.orig/gdb/p-lang.c 2015-07-09 18:24:39.001356162 +0200
++++ gdb-7.9.90.20150709/gdb/p-lang.c 2015-07-09 18:24:42.246383843 +0200
@@ -95,8 +95,8 @@ pascal_main_name (void)
are not multiple of TARGET_CHAR_BIT then the results are wrong
but this does not happen for Free Pascal nor for GPC. */
@@ -2761,10 +2761,10 @@ Index: gdb-7.9.50.20150520/gdb/p-lang.c
i = rep1 - 1;
things_printed += options->repeat_count_threshold;
need_comma = 1;
-Index: gdb-7.9.50.20150520/gdb/p-lang.h
+Index: gdb-7.9.90.20150709/gdb/p-lang.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/p-lang.h 2015-05-31 17:08:46.847506409 +0200
-+++ gdb-7.9.50.20150520/gdb/p-lang.h 2015-05-31 17:09:21.457724846 +0200
+--- gdb-7.9.90.20150709.orig/gdb/p-lang.h 2015-07-09 18:24:39.001356162 +0200
++++ gdb-7.9.90.20150709/gdb/p-lang.h 2015-07-09 18:24:42.246383843 +0200
@@ -36,7 +36,7 @@ extern void pascal_print_type (struct ty
extern void pascal_print_typedef (struct type *, struct symbol *,
struct ui_file *);
@@ -2799,10 +2799,10 @@ Index: gdb-7.9.50.20150520/gdb/p-lang.h
CORE_ADDR, struct ui_file *,
int,
const struct value *,
-Index: gdb-7.9.50.20150520/gdb/p-valprint.c
+Index: gdb-7.9.90.20150709/gdb/p-valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/p-valprint.c 2015-05-31 17:08:46.847506409 +0200
-+++ gdb-7.9.50.20150520/gdb/p-valprint.c 2015-05-31 17:10:57.550331320 +0200
+--- gdb-7.9.90.20150709.orig/gdb/p-valprint.c 2015-07-09 18:24:39.001356162 +0200
++++ gdb-7.9.90.20150709/gdb/p-valprint.c 2015-07-09 18:24:42.247383851 +0200
@@ -57,7 +57,7 @@ static const struct generic_val_print_de
void
@@ -2864,11 +2864,11 @@ Index: gdb-7.9.50.20150520/gdb/p-valprint.c
int skip = 0;
if (BASETYPE_VIA_VIRTUAL (type, i))
-Index: gdb-7.9.50.20150520/gdb/ppc-linux-nat.c
+Index: gdb-7.9.90.20150709/gdb/ppc-linux-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/ppc-linux-nat.c 2015-05-31 17:08:46.848506416 +0200
-+++ gdb-7.9.50.20150520/gdb/ppc-linux-nat.c 2015-05-31 17:09:21.458724853 +0200
-@@ -1451,7 +1451,7 @@ ppc_linux_can_use_hw_breakpoint (struct
+--- gdb-7.9.90.20150709.orig/gdb/ppc-linux-nat.c 2015-07-09 18:24:39.002356171 +0200
++++ gdb-7.9.90.20150709/gdb/ppc-linux-nat.c 2015-07-09 18:24:42.247383851 +0200
+@@ -1449,7 +1449,7 @@ ppc_linux_can_use_hw_breakpoint (struct
static int
ppc_linux_region_ok_for_hw_watchpoint (struct target_ops *self,
@@ -2877,10 +2877,10 @@ Index: gdb-7.9.50.20150520/gdb/ppc-linux-nat.c
{
/* Handle sub-8-byte quantities. */
if (len <= 0)
-Index: gdb-7.9.50.20150520/gdb/printcmd.c
+Index: gdb-7.9.90.20150709/gdb/printcmd.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/printcmd.c 2015-05-31 17:08:46.849506422 +0200
-+++ gdb-7.9.50.20150520/gdb/printcmd.c 2015-05-31 17:09:21.459724859 +0200
+--- gdb-7.9.90.20150709.orig/gdb/printcmd.c 2015-07-09 18:24:39.003356179 +0200
++++ gdb-7.9.90.20150709/gdb/printcmd.c 2015-07-09 18:24:42.248383860 +0200
@@ -274,7 +274,7 @@ print_formatted (struct value *val, int
struct ui_file *stream)
{
@@ -2899,10 +2899,10 @@ Index: gdb-7.9.50.20150520/gdb/printcmd.c
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
/* String printing should go through val_print_scalar_formatted. */
-Index: gdb-7.9.50.20150520/gdb/procfs.c
+Index: gdb-7.9.90.20150709/gdb/procfs.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/procfs.c 2015-05-31 17:08:46.850506428 +0200
-+++ gdb-7.9.50.20150520/gdb/procfs.c 2015-05-31 17:09:21.460724865 +0200
+--- gdb-7.9.90.20150709.orig/gdb/procfs.c 2015-07-09 18:24:39.004356188 +0200
++++ gdb-7.9.90.20150709/gdb/procfs.c 2015-07-09 18:24:42.249383868 +0200
@@ -4859,7 +4859,7 @@ procfs_remove_watchpoint (struct target_
static int
@@ -2912,10 +2912,10 @@ Index: gdb-7.9.50.20150520/gdb/procfs.c
{
/* The man page for proc(4) on Solaris 2.6 and up says that the
system can support "thousands" of hardware watchpoints, but gives
-Index: gdb-7.9.50.20150520/gdb/python/py-prettyprint.c
+Index: gdb-7.9.90.20150709/gdb/python/py-prettyprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/python/py-prettyprint.c 2015-05-31 17:08:46.851506435 +0200
-+++ gdb-7.9.50.20150520/gdb/python/py-prettyprint.c 2015-05-31 17:09:21.460724865 +0200
+--- gdb-7.9.90.20150709.orig/gdb/python/py-prettyprint.c 2015-07-09 18:24:39.004356188 +0200
++++ gdb-7.9.90.20150709/gdb/python/py-prettyprint.c 2015-07-09 18:24:42.249383868 +0200
@@ -703,7 +703,7 @@ print_children (PyObject *printer, const
enum ext_lang_rc
gdbpy_apply_val_pretty_printer (const struct extension_language_defn *extlang,
@@ -2925,10 +2925,10 @@ Index: gdb-7.9.50.20150520/gdb/python/py-prettyprint.c
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options,
-Index: gdb-7.9.50.20150520/gdb/regcache.c
+Index: gdb-7.9.90.20150709/gdb/regcache.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/regcache.c 2015-05-31 17:08:46.851506435 +0200
-+++ gdb-7.9.50.20150520/gdb/regcache.c 2015-05-31 17:09:21.461724872 +0200
+--- gdb-7.9.90.20150709.orig/gdb/regcache.c 2015-07-09 18:24:39.005356196 +0200
++++ gdb-7.9.90.20150709/gdb/regcache.c 2015-07-09 18:24:42.250383877 +0200
@@ -949,7 +949,7 @@ typedef void (regcache_write_ftype) (str
static enum register_status
@@ -2974,10 +2974,10 @@ Index: gdb-7.9.50.20150520/gdb/regcache.c
{
struct regcache_descr *descr = regcache->descr;
-Index: gdb-7.9.50.20150520/gdb/regcache.h
+Index: gdb-7.9.90.20150709/gdb/regcache.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/regcache.h 2015-05-31 17:08:46.852506441 +0200
-+++ gdb-7.9.50.20150520/gdb/regcache.h 2015-05-31 17:09:21.461724872 +0200
+--- gdb-7.9.90.20150709.orig/gdb/regcache.h 2015-07-09 18:24:39.005356196 +0200
++++ gdb-7.9.90.20150709/gdb/regcache.h 2015-07-09 18:24:42.250383877 +0200
@@ -92,9 +92,9 @@ extern void regcache_raw_write_unsigned
extern enum register_status
@@ -3005,11 +3005,11 @@ Index: gdb-7.9.50.20150520/gdb/regcache.h
/* Special routines to read/write the PC. */
-Index: gdb-7.9.50.20150520/gdb/remote.c
+Index: gdb-7.9.90.20150709/gdb/remote.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/remote.c 2015-05-31 17:08:46.854506454 +0200
-+++ gdb-7.9.50.20150520/gdb/remote.c 2015-05-31 17:09:21.464724891 +0200
-@@ -8751,7 +8751,7 @@ int remote_hw_breakpoint_limit = -1;
+--- gdb-7.9.90.20150709.orig/gdb/remote.c 2015-07-09 18:24:39.007356213 +0200
++++ gdb-7.9.90.20150709/gdb/remote.c 2015-07-09 18:24:42.253383902 +0200
+@@ -8796,7 +8796,7 @@ int remote_hw_breakpoint_limit = -1;
static int
remote_region_ok_for_hw_watchpoint (struct target_ops *self,
@@ -3018,10 +3018,10 @@ Index: gdb-7.9.50.20150520/gdb/remote.c
{
if (remote_hw_watchpoint_length_limit == 0)
return 0;
-Index: gdb-7.9.50.20150520/gdb/spu-multiarch.c
+Index: gdb-7.9.90.20150709/gdb/spu-multiarch.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/spu-multiarch.c 2015-05-31 17:08:46.855506460 +0200
-+++ gdb-7.9.50.20150520/gdb/spu-multiarch.c 2015-05-31 17:09:21.464724891 +0200
+--- gdb-7.9.90.20150709.orig/gdb/spu-multiarch.c 2015-07-09 18:24:39.008356222 +0200
++++ gdb-7.9.90.20150709/gdb/spu-multiarch.c 2015-07-09 18:24:42.253383902 +0200
@@ -117,7 +117,7 @@ spu_thread_architecture (struct target_o
/* Override the to_region_ok_for_hw_watchpoint routine. */
static int
@@ -3031,11 +3031,11 @@ Index: gdb-7.9.50.20150520/gdb/spu-multiarch.c
{
struct target_ops *ops_beneath = find_target_beneath (self);
-Index: gdb-7.9.50.20150520/gdb/stack.c
+Index: gdb-7.9.90.20150709/gdb/stack.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/stack.c 2015-05-31 17:08:46.856506466 +0200
-+++ gdb-7.9.50.20150520/gdb/stack.c 2015-05-31 17:09:21.465724897 +0200
-@@ -178,7 +178,7 @@ print_stack_frame (struct frame_info *fr
+--- gdb-7.9.90.20150709.orig/gdb/stack.c 2015-07-09 18:24:39.009356230 +0200
++++ gdb-7.9.90.20150709/gdb/stack.c 2015-07-09 18:24:42.254383911 +0200
+@@ -176,7 +176,7 @@ print_stack_frame (struct frame_info *fr
argument (not just the first nameless argument). */
static void
@@ -3044,7 +3044,7 @@ Index: gdb-7.9.50.20150520/gdb/stack.c
int first, struct ui_file *stream)
{
struct gdbarch *gdbarch = get_frame_arch (frame);
-@@ -541,7 +541,7 @@ print_frame_args (struct symbol *func, s
+@@ -539,7 +539,7 @@ print_frame_args (struct symbol *func, s
/* Offset of next stack argument beyond the one we have seen that is
at the highest offset, or -1 if we haven't come to a stack
argument yet. */
@@ -3053,7 +3053,7 @@ Index: gdb-7.9.50.20150520/gdb/stack.c
/* Number of ints of arguments that we have printed so far. */
int args_printed = 0;
struct cleanup *old_chain;
-@@ -575,8 +575,8 @@ print_frame_args (struct symbol *func, s
+@@ -573,8 +573,8 @@ print_frame_args (struct symbol *func, s
case LOC_ARG:
case LOC_REF_ARG:
{
@@ -3064,7 +3064,7 @@ Index: gdb-7.9.50.20150520/gdb/stack.c
/* Compute address of next argument by adding the size of
this argument and rounding to an int boundary. */
-@@ -711,7 +711,7 @@ print_frame_args (struct symbol *func, s
+@@ -709,7 +709,7 @@ print_frame_args (struct symbol *func, s
enough about the stack to find them. */
if (num != -1)
{
@@ -3073,10 +3073,10 @@ Index: gdb-7.9.50.20150520/gdb/stack.c
if (highest_offset == -1)
start = gdbarch_frame_args_skip (get_frame_arch (frame));
-Index: gdb-7.9.50.20150520/gdb/symmisc.c
+Index: gdb-7.9.90.20150709/gdb/symmisc.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/symmisc.c 2015-05-31 17:08:46.856506466 +0200
-+++ gdb-7.9.50.20150520/gdb/symmisc.c 2015-05-31 17:09:21.465724897 +0200
+--- gdb-7.9.90.20150709.orig/gdb/symmisc.c 2015-07-09 18:24:39.009356230 +0200
++++ gdb-7.9.90.20150709/gdb/symmisc.c 2015-07-09 18:24:42.254383911 +0200
@@ -534,11 +534,11 @@ print_symbol (void *args)
case LOC_CONST_BYTES:
@@ -3092,10 +3092,10 @@ Index: gdb-7.9.50.20150520/gdb/symmisc.c
for (i = 0; i < TYPE_LENGTH (type); i++)
fprintf_filtered (outfile, " %02x",
(unsigned) SYMBOL_VALUE_BYTES (symbol)[i]);
-Index: gdb-7.9.50.20150520/gdb/target.c
+Index: gdb-7.9.90.20150709/gdb/target.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/target.c 2015-05-31 17:08:46.857506473 +0200
-+++ gdb-7.9.50.20150520/gdb/target.c 2015-05-31 17:09:21.466724903 +0200
+--- gdb-7.9.90.20150709.orig/gdb/target.c 2015-07-09 18:24:39.010356239 +0200
++++ gdb-7.9.90.20150709/gdb/target.c 2015-07-09 18:24:42.255383919 +0200
@@ -54,7 +54,7 @@ static int default_watchpoint_addr_withi
CORE_ADDR, CORE_ADDR, int);
@@ -3105,7 +3105,7 @@ Index: gdb-7.9.50.20150520/gdb/target.c
static void default_rcmd (struct target_ops *, const char *, struct ui_file *);
-@@ -3056,7 +3056,7 @@ target_fileio_read_stralloc (const char
+@@ -3085,7 +3085,7 @@ target_fileio_read_stralloc (struct infe
static int
default_region_ok_for_hw_watchpoint (struct target_ops *self,
@@ -3114,11 +3114,11 @@ Index: gdb-7.9.50.20150520/gdb/target.c
{
return (len <= gdbarch_ptr_bit (target_gdbarch ()) / TARGET_CHAR_BIT);
}
-Index: gdb-7.9.50.20150520/gdb/target.h
+Index: gdb-7.9.90.20150709/gdb/target.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/target.h 2015-05-31 17:08:46.858506479 +0200
-+++ gdb-7.9.50.20150520/gdb/target.h 2015-05-31 17:09:21.466724903 +0200
-@@ -527,7 +527,7 @@ struct target_ops
+--- gdb-7.9.90.20150709.orig/gdb/target.h 2015-07-09 18:24:39.010356239 +0200
++++ gdb-7.9.90.20150709/gdb/target.h 2015-07-09 18:24:42.256383928 +0200
+@@ -547,7 +547,7 @@ struct target_ops
/* Documentation of this routine is provided with the corresponding
target_* macro. */
int (*to_region_ok_for_hw_watchpoint) (struct target_ops *,
@@ -3127,10 +3127,10 @@ Index: gdb-7.9.50.20150520/gdb/target.h
TARGET_DEFAULT_FUNC (default_region_ok_for_hw_watchpoint);
int (*to_can_accel_watchpoint_condition) (struct target_ops *,
-Index: gdb-7.9.50.20150520/gdb/tracepoint.c
+Index: gdb-7.9.90.20150709/gdb/tracepoint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/tracepoint.c 2015-05-31 17:08:46.859506485 +0200
-+++ gdb-7.9.50.20150520/gdb/tracepoint.c 2015-05-31 17:09:21.467724910 +0200
+--- gdb-7.9.90.20150709.orig/gdb/tracepoint.c 2015-07-09 18:24:39.012356256 +0200
++++ gdb-7.9.90.20150709/gdb/tracepoint.c 2015-07-09 18:24:42.257383936 +0200
@@ -928,13 +928,13 @@ add_register (struct collection_list *co
static void
add_memrange (struct collection_list *memranges,
@@ -3224,10 +3224,10 @@ Index: gdb-7.9.50.20150520/gdb/tracepoint.c
}
if (BLOCK_FUNCTION (block))
break;
-Index: gdb-7.9.50.20150520/gdb/typeprint.c
+Index: gdb-7.9.90.20150709/gdb/typeprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/typeprint.c 2015-05-31 17:08:46.860506491 +0200
-+++ gdb-7.9.50.20150520/gdb/typeprint.c 2015-05-31 17:09:21.468724916 +0200
+--- gdb-7.9.90.20150709.orig/gdb/typeprint.c 2015-07-09 18:24:39.013356264 +0200
++++ gdb-7.9.90.20150709/gdb/typeprint.c 2015-07-09 18:24:42.257383936 +0200
@@ -404,7 +404,7 @@ whatis_exp (char *exp, int show)
struct type *real_type = NULL;
struct type *type;
@@ -3237,10 +3237,10 @@ Index: gdb-7.9.50.20150520/gdb/typeprint.c
int using_enc = 0;
struct value_print_options opts;
struct type_print_options flags = default_ptype_flags;
-Index: gdb-7.9.50.20150520/gdb/valarith.c
+Index: gdb-7.9.90.20150709/gdb/valarith.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/valarith.c 2015-05-31 17:08:46.861506498 +0200
-+++ gdb-7.9.50.20150520/gdb/valarith.c 2015-05-31 17:09:21.468724916 +0200
+--- gdb-7.9.90.20150709.orig/gdb/valarith.c 2015-07-09 18:24:39.014356273 +0200
++++ gdb-7.9.90.20150709/gdb/valarith.c 2015-07-09 18:24:42.257383936 +0200
@@ -188,12 +188,13 @@ value_subscript (struct value *array, LO
to doubles, but no longer does. */
@@ -3300,16 +3300,11 @@ Index: gdb-7.9.50.20150520/gdb/valarith.c
for (i = 0; i < len; i++)
{
-Index: gdb-7.9.50.20150520/gdb/valops.c
+Index: gdb-7.9.90.20150709/gdb/valops.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/valops.c 2015-05-31 17:08:46.864506517 +0200
-+++ gdb-7.9.50.20150520/gdb/valops.c 2015-05-31 17:09:21.469724922 +0200
-@@ -47,11 +47,11 @@ static int typecmp (int staticp, int var
- struct field t1[], struct value *t2[]);
-
- static struct value *search_struct_field (const char *, struct value *,
-- int, struct type *, int);
-+ LONGEST, struct type *, int);
+--- gdb-7.9.90.20150709.orig/gdb/valops.c 2015-07-09 18:24:39.019356316 +0200
++++ gdb-7.9.90.20150709/gdb/valops.c 2015-07-09 18:26:02.032064420 +0200
+@@ -51,7 +51,7 @@ static struct value *search_struct_field
static struct value *search_struct_method (const char *, struct value **,
struct value **,
@@ -3497,21 +3492,16 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
if (BASETYPE_VIA_VIRTUAL (type, i))
{
-@@ -1965,11 +1967,11 @@ do_search_struct_field (const char *name
- fields, look for a baseclass named NAME. */
-
- static struct value *
--search_struct_field (const char *name, struct value *arg1, int offset,
-+search_struct_field (const char *name, struct value *arg1, LONGEST offset,
+@@ -1968,7 +1970,7 @@ search_struct_field (const char *name, s
struct type *type, int looking_for_baseclass)
{
struct value *result = NULL;
- int boffset = 0;
+ LONGEST boffset = 0;
- do_search_struct_field (name, arg1, offset, type, looking_for_baseclass,
+ do_search_struct_field (name, arg1, 0, type, looking_for_baseclass,
&result, &boffset, type);
-@@ -1986,7 +1988,7 @@ search_struct_field (const char *name, s
+@@ -1985,7 +1987,7 @@ search_struct_field (const char *name, s
static struct value *
search_struct_method (const char *name, struct value **arg1p,
@@ -3520,7 +3510,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
int *static_memfuncp, struct type *type)
{
int i;
-@@ -2050,8 +2052,8 @@ search_struct_method (const char *name,
+@@ -2049,8 +2051,8 @@ search_struct_method (const char *name,
for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
{
@@ -3531,7 +3521,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
if (BASETYPE_VIA_VIRTUAL (type, i))
{
-@@ -2286,10 +2288,10 @@ value_struct_elt_bitpos (struct value **
+@@ -2285,10 +2287,10 @@ value_struct_elt_bitpos (struct value **
static void
find_method_list (struct value **argp, const char *method,
@@ -3544,7 +3534,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
{
int i;
struct fn_field *f = NULL;
-@@ -2346,7 +2348,7 @@ find_method_list (struct value **argp, c
+@@ -2345,7 +2347,7 @@ find_method_list (struct value **argp, c
extension methods. */
for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
{
@@ -3553,7 +3543,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
if (BASETYPE_VIA_VIRTUAL (type, i))
{
-@@ -2389,7 +2391,7 @@ value_find_oload_method_list (struct val
+@@ -2388,7 +2390,7 @@ value_find_oload_method_list (struct val
int offset, struct fn_field **fn_list,
int *num_fns,
VEC (xmethod_worker_ptr) **xm_worker_vec,
@@ -3562,7 +3552,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
{
struct type *t;
-@@ -2500,7 +2502,7 @@ find_overload_match (struct value **args
+@@ -2499,7 +2501,7 @@ find_overload_match (struct value **args
/* Number of overloaded instances being considered. */
int num_fns = 0;
struct type *basetype = NULL;
@@ -3571,7 +3561,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
struct cleanup *all_cleanups = make_cleanup (null_cleanup, NULL);
-@@ -3315,7 +3317,7 @@ compare_parameters (struct type *t1, str
+@@ -3314,7 +3316,7 @@ compare_parameters (struct type *t1, str
the form "DOMAIN::NAME". */
static struct value *
@@ -3580,7 +3570,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
struct type *curtype, const char *name,
struct type *intype,
int want_address,
-@@ -3349,7 +3351,7 @@ value_struct_elt_for_reference (struct t
+@@ -3348,7 +3350,7 @@ value_struct_elt_for_reference (struct t
if (want_address)
return value_from_longest
(lookup_memberptr_type (TYPE_FIELD_TYPE (t, i), domain),
@@ -3589,7 +3579,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
else if (noside != EVAL_NORMAL)
return allocate_value (TYPE_FIELD_TYPE (t, i));
else
-@@ -3517,7 +3519,7 @@ value_struct_elt_for_reference (struct t
+@@ -3516,7 +3518,7 @@ value_struct_elt_for_reference (struct t
for (i = TYPE_N_BASECLASSES (t) - 1; i >= 0; i--)
{
struct value *v;
@@ -3598,7 +3588,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
if (BASETYPE_VIA_VIRTUAL (t, i))
base_offset = 0;
-@@ -3598,7 +3600,7 @@ value_maybe_namespace_elt (const struct
+@@ -3597,7 +3599,7 @@ value_maybe_namespace_elt (const struct
struct type *
value_rtti_indirect_type (struct value *v, int *full,
@@ -3607,7 +3597,7 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
{
struct value *target = NULL;
struct type *type, *real_type, *target_type;
-@@ -3666,12 +3668,12 @@ value_rtti_indirect_type (struct value *
+@@ -3665,12 +3667,12 @@ value_rtti_indirect_type (struct value *
struct value *
value_full_object (struct value *argp,
struct type *rtype,
@@ -3622,10 +3612,10 @@ Index: gdb-7.9.50.20150520/gdb/valops.c
int using_enc = 0;
struct value *new_val;
-Index: gdb-7.9.50.20150520/gdb/valprint.c
+Index: gdb-7.9.90.20150709/gdb/valprint.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/valprint.c 2015-05-31 17:08:46.865506523 +0200
-+++ gdb-7.9.50.20150520/gdb/valprint.c 2015-05-31 17:14:15.965583587 +0200
+--- gdb-7.9.90.20150709.orig/gdb/valprint.c 2015-07-09 18:24:39.020356324 +0200
++++ gdb-7.9.90.20150709/gdb/valprint.c 2015-07-09 18:24:42.260383962 +0200
@@ -298,7 +298,7 @@ val_print_scalar_type_p (struct type *ty
int
valprint_check_validity (struct ui_file *stream,
@@ -3718,10 +3708,10 @@ Index: gdb-7.9.50.20150520/gdb/valprint.c
const char *encoding, int force_ellipses,
int quote_char, int c_style_terminator,
const struct value_print_options *options)
-Index: gdb-7.9.50.20150520/gdb/valprint.h
+Index: gdb-7.9.90.20150709/gdb/valprint.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/valprint.h 2015-05-31 17:08:46.865506523 +0200
-+++ gdb-7.9.50.20150520/gdb/valprint.h 2015-05-31 17:09:21.470724928 +0200
+--- gdb-7.9.90.20150709.orig/gdb/valprint.h 2015-07-09 18:24:39.021356333 +0200
++++ gdb-7.9.90.20150709/gdb/valprint.h 2015-07-09 18:24:42.260383962 +0200
@@ -115,11 +115,11 @@ extern void maybe_print_array_index (str
struct ui_file *stream,
const struct value_print_options *);
@@ -3772,10 +3762,10 @@ Index: gdb-7.9.50.20150520/gdb/valprint.h
const char *encoding, int force_ellipses,
int quote_char, int c_style_terminator,
const struct value_print_options *options);
-Index: gdb-7.9.50.20150520/gdb/value.c
+Index: gdb-7.9.90.20150709/gdb/value.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/value.c 2015-05-31 17:08:46.868506542 +0200
-+++ gdb-7.9.50.20150520/gdb/value.c 2015-05-31 17:09:21.471724935 +0200
+--- gdb-7.9.90.20150709.orig/gdb/value.c 2015-07-09 18:24:39.026356375 +0200
++++ gdb-7.9.90.20150709/gdb/value.c 2015-07-09 18:24:42.261383970 +0200
@@ -66,10 +66,10 @@ struct internal_function
struct range
{
@@ -4106,10 +4096,10 @@ Index: gdb-7.9.50.20150520/gdb/value.c
/* Normalize BITPOS. */
addr += bitpos / 8;
-Index: gdb-7.9.50.20150520/gdb/value.h
+Index: gdb-7.9.90.20150709/gdb/value.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/value.h 2015-05-31 17:08:46.869506548 +0200
-+++ gdb-7.9.50.20150520/gdb/value.h 2015-05-31 17:09:21.472724941 +0200
+--- gdb-7.9.90.20150709.orig/gdb/value.h 2015-07-09 18:24:39.027356384 +0200
++++ gdb-7.9.90.20150709/gdb/value.h 2015-07-09 18:24:42.262383979 +0200
@@ -131,8 +131,8 @@ extern void set_value_parent (struct val
within the registers structure. Note also the member
embedded_offset below. */
@@ -4350,11 +4340,11 @@ Index: gdb-7.9.50.20150520/gdb/value.h
/* User function handler. */
-Index: gdb-7.9.50.20150520/gdb/s390-linux-nat.c
+Index: gdb-7.9.90.20150709/gdb/s390-linux-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/s390-linux-nat.c 2015-05-31 17:08:46.870506555 +0200
-+++ gdb-7.9.50.20150520/gdb/s390-linux-nat.c 2015-05-31 17:09:21.472724941 +0200
-@@ -619,7 +619,7 @@ s390_can_use_hw_breakpoint (struct targe
+--- gdb-7.9.90.20150709.orig/gdb/s390-linux-nat.c 2015-07-09 18:24:39.028356393 +0200
++++ gdb-7.9.90.20150709/gdb/s390-linux-nat.c 2015-07-09 18:24:42.262383979 +0200
+@@ -612,7 +612,7 @@ s390_can_use_hw_breakpoint (struct targe
static int
s390_region_ok_for_hw_watchpoint (struct target_ops *self,
@@ -4363,10 +4353,10 @@ Index: gdb-7.9.50.20150520/gdb/s390-linux-nat.c
{
return 1;
}
-Index: gdb-7.9.50.20150520/gdb/extension-priv.h
+Index: gdb-7.9.90.20150709/gdb/extension-priv.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/extension-priv.h 2015-05-31 17:08:46.870506555 +0200
-+++ gdb-7.9.50.20150520/gdb/extension-priv.h 2015-05-31 17:09:21.473724948 +0200
+--- gdb-7.9.90.20150709.orig/gdb/extension-priv.h 2015-07-09 18:24:39.028356393 +0200
++++ gdb-7.9.90.20150709/gdb/extension-priv.h 2015-07-09 18:24:42.262383979 +0200
@@ -180,7 +180,7 @@ struct extension_language_ops
enum ext_lang_rc (*apply_val_pretty_printer)
(const struct extension_language_defn *,
@@ -4376,11 +4366,11 @@ Index: gdb-7.9.50.20150520/gdb/extension-priv.h
struct ui_file *stream, int recurse,
const struct value *val, const struct value_print_options *options,
const struct language_defn *language);
-Index: gdb-7.9.50.20150520/gdb/python/python-internal.h
+Index: gdb-7.9.90.20150709/gdb/python/python-internal.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/python/python-internal.h 2015-05-31 17:08:46.870506555 +0200
-+++ gdb-7.9.50.20150520/gdb/python/python-internal.h 2015-05-31 17:09:21.473724948 +0200
-@@ -318,7 +318,7 @@ extern int gdbpy_auto_load_enabled (cons
+--- gdb-7.9.90.20150709.orig/gdb/python/python-internal.h 2015-07-09 18:24:39.028356393 +0200
++++ gdb-7.9.90.20150709/gdb/python/python-internal.h 2015-07-09 18:24:42.263383988 +0200
+@@ -316,7 +316,7 @@ extern int gdbpy_auto_load_enabled (cons
extern enum ext_lang_rc gdbpy_apply_val_pretty_printer
(const struct extension_language_defn *,
struct type *type, const gdb_byte *valaddr,
@@ -4389,10 +4379,10 @@ Index: gdb-7.9.50.20150520/gdb/python/python-internal.h
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options,
-Index: gdb-7.9.50.20150520/gdb/target-delegates.c
+Index: gdb-7.9.90.20150709/gdb/target-delegates.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/target-delegates.c 2015-05-31 17:08:46.871506561 +0200
-+++ gdb-7.9.50.20150520/gdb/target-delegates.c 2015-05-31 17:09:21.474724954 +0200
+--- gdb-7.9.90.20150709.orig/gdb/target-delegates.c 2015-07-09 18:24:39.029356401 +0200
++++ gdb-7.9.90.20150709/gdb/target-delegates.c 2015-07-09 18:24:42.264383996 +0200
@@ -742,14 +742,14 @@ debug_watchpoint_addr_within_range (stru
}
@@ -4419,10 +4409,10 @@ Index: gdb-7.9.50.20150520/gdb/target-delegates.c
fputs_unfiltered (") = ", gdb_stdlog);
target_debug_print_int (result);
fputs_unfiltered ("\n", gdb_stdlog);
-Index: gdb-7.9.50.20150520/gdb/aarch64-linux-nat.c
+Index: gdb-7.9.90.20150709/gdb/aarch64-linux-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/aarch64-linux-nat.c 2015-05-31 17:08:46.872506567 +0200
-+++ gdb-7.9.50.20150520/gdb/aarch64-linux-nat.c 2015-05-31 17:09:21.474724954 +0200
+--- gdb-7.9.90.20150709.orig/gdb/aarch64-linux-nat.c 2015-07-09 18:24:39.030356410 +0200
++++ gdb-7.9.90.20150709/gdb/aarch64-linux-nat.c 2015-07-09 18:24:42.264383996 +0200
@@ -1386,7 +1386,7 @@ aarch64_linux_remove_watchpoint (struct
static int
@@ -4432,10 +4422,10 @@ Index: gdb-7.9.50.20150520/gdb/aarch64-linux-nat.c
{
CORE_ADDR aligned_addr;
-Index: gdb-7.9.50.20150520/gdb/nat/x86-dregs.c
+Index: gdb-7.9.90.20150709/gdb/nat/x86-dregs.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/nat/x86-dregs.c 2015-05-31 17:08:46.872506567 +0200
-+++ gdb-7.9.50.20150520/gdb/nat/x86-dregs.c 2015-05-31 17:09:21.474724954 +0200
+--- gdb-7.9.90.20150709.orig/gdb/nat/x86-dregs.c 2015-07-09 18:24:39.030356410 +0200
++++ gdb-7.9.90.20150709/gdb/nat/x86-dregs.c 2015-07-09 18:24:42.264383996 +0200
@@ -384,7 +384,7 @@ x86_remove_aligned_watchpoint (struct x8
static int
@@ -4454,10 +4444,10 @@ Index: gdb-7.9.50.20150520/gdb/nat/x86-dregs.c
{
int nregs;
-Index: gdb-7.9.50.20150520/gdb/compile/compile-c-support.c
+Index: gdb-7.9.90.20150709/gdb/compile/compile-c-support.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/compile/compile-c-support.c 2015-05-31 17:08:46.872506567 +0200
-+++ gdb-7.9.50.20150520/gdb/compile/compile-c-support.c 2015-05-31 17:09:21.475724960 +0200
+--- gdb-7.9.90.20150709.orig/gdb/compile/compile-c-support.c 2015-07-09 18:24:39.030356410 +0200
++++ gdb-7.9.90.20150709/gdb/compile/compile-c-support.c 2015-07-09 18:24:42.265384005 +0200
@@ -299,11 +299,11 @@ generate_register_struct (struct ui_file
default:
@@ -4472,10 +4462,10 @@ Index: gdb-7.9.50.20150520/gdb/compile/compile-c-support.c
}
fputs_unfiltered (";\n", stream);
-Index: gdb-7.9.50.20150520/gdb/nat/x86-dregs.h
+Index: gdb-7.9.90.20150709/gdb/nat/x86-dregs.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/nat/x86-dregs.h 2015-05-31 17:08:46.873506573 +0200
-+++ gdb-7.9.50.20150520/gdb/nat/x86-dregs.h 2015-05-31 17:09:21.475724960 +0200
+--- gdb-7.9.90.20150709.orig/gdb/nat/x86-dregs.h 2015-07-09 18:24:39.030356410 +0200
++++ gdb-7.9.90.20150709/gdb/nat/x86-dregs.h 2015-07-09 18:24:42.265384005 +0200
@@ -116,7 +116,7 @@ extern int x86_dr_remove_watchpoint (str
/* Return non-zero if we can watch a memory region that starts at
address ADDR and whose length is LEN bytes. */
@@ -4485,10 +4475,10 @@ Index: gdb-7.9.50.20150520/gdb/nat/x86-dregs.h
/* If the inferior has some break/watchpoint that triggered, set the
address associated with that break/watchpoint and return true.
-Index: gdb-7.9.50.20150520/gdb/x86-nat.c
+Index: gdb-7.9.90.20150709/gdb/x86-nat.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/x86-nat.c 2015-05-31 17:08:46.873506573 +0200
-+++ gdb-7.9.50.20150520/gdb/x86-nat.c 2015-05-31 17:09:21.475724960 +0200
+--- gdb-7.9.90.20150709.orig/gdb/x86-nat.c 2015-07-09 18:24:39.031356418 +0200
++++ gdb-7.9.90.20150709/gdb/x86-nat.c 2015-07-09 18:24:42.265384005 +0200
@@ -178,7 +178,7 @@ x86_remove_watchpoint (struct target_ops
static int
@@ -4498,10 +4488,10 @@ Index: gdb-7.9.50.20150520/gdb/x86-nat.c
{
struct x86_debug_reg_state *state
= x86_debug_reg_state (ptid_get_pid (inferior_ptid));
-Index: gdb-7.9.50.20150520/gdb/guile/guile-internal.h
+Index: gdb-7.9.90.20150709/gdb/guile/guile-internal.h
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/guile/guile-internal.h 2015-05-31 17:08:46.873506573 +0200
-+++ gdb-7.9.50.20150520/gdb/guile/guile-internal.h 2015-05-31 17:09:21.475724960 +0200
+--- gdb-7.9.90.20150709.orig/gdb/guile/guile-internal.h 2015-07-09 18:24:39.031356418 +0200
++++ gdb-7.9.90.20150709/gdb/guile/guile-internal.h 2015-07-09 18:24:42.265384005 +0200
@@ -562,7 +562,7 @@ extern void gdbscm_preserve_values
extern enum ext_lang_rc gdbscm_apply_val_pretty_printer
(const struct extension_language_defn *,
@@ -4511,10 +4501,10 @@ Index: gdb-7.9.50.20150520/gdb/guile/guile-internal.h
struct ui_file *stream, int recurse,
const struct value *val,
const struct value_print_options *options,
-Index: gdb-7.9.50.20150520/gdb/guile/scm-pretty-print.c
+Index: gdb-7.9.90.20150709/gdb/guile/scm-pretty-print.c
===================================================================
---- gdb-7.9.50.20150520.orig/gdb/guile/scm-pretty-print.c 2015-05-31 17:08:46.873506573 +0200
-+++ gdb-7.9.50.20150520/gdb/guile/scm-pretty-print.c 2015-05-31 17:09:21.476724966 +0200
+--- gdb-7.9.90.20150709.orig/gdb/guile/scm-pretty-print.c 2015-07-09 18:24:39.031356418 +0200
++++ gdb-7.9.90.20150709/gdb/guile/scm-pretty-print.c 2015-07-09 18:24:42.266384013 +0200
@@ -958,7 +958,7 @@ ppscm_print_children (SCM printer, enum
enum ext_lang_rc
gdbscm_apply_val_pretty_printer (const struct extension_language_defn *extlang,
diff --git a/gdb-upstream.patch b/gdb-upstream.patch
deleted file mode 100644
index e1d6f53..0000000
--- a/gdb-upstream.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From decf8d9a5f91912768d52cd075b6a25617a90d1c Mon Sep 17 00:00:00 2001
-From: Jan Kratochvil <jan.kratochvil@redhat.com>
-Date: Thu, 2 Jul 2015 22:39:57 +0200
-Subject: [PATCH] Fix GCC false warning
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-At least on
- gcc-4.4.7-11.el6.i686
- ./configure --enable-64-bit-bfd --enable-targets=all
-GDB does not build due to:
- cc1: warnings being treated as errors
- s390-linux-tdep.c: In function ‘s390_handle_arg’:
- s390-linux-tdep.c:2575: error: ‘val’ may be used uninitialized in this function
-
-gdb/ChangeLog
-2015-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- Fix GCC false warning.
- * s390-linux-tdep.c (s390_handle_arg): Initialize VAL.
----
- gdb/ChangeLog | 5 +++++
- gdb/s390-linux-tdep.c | 3 ++-
- 2 files changed, 7 insertions(+), 1 deletion(-)
-
-### a/gdb/ChangeLog
-### b/gdb/ChangeLog
-## -1,3 +1,8 @@
-+2015-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
-+
-+ Fix GCC false warning.
-+ * s390-linux-tdep.c (s390_handle_arg): Initialize VAL.
-+
- 2015-07-02 Yao Qi <yao.qi@linaro.org>
-
- * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Fix
---- a/gdb/s390-linux-tdep.c
-+++ b/gdb/s390-linux-tdep.c
-@@ -2572,7 +2572,8 @@ s390_handle_arg (struct s390_arg_state *as, struct value *arg,
- }
- else if (s390_function_arg_integer (type) && length <= word_size)
- {
-- ULONGEST val;
-+ /* Initialize it just to avoid a GCC false warning. */
-+ ULONGEST val = 0;
-
- if (write_mode)
- {
---
-2.1.0
-
diff --git a/gdb.spec b/gdb.spec
index 1de42d8..20cb4cc 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -18,15 +18,15 @@ Summary: A GNU source-level debugger for C, C++, Fortran, Go and other languages
Name: %{?scl_prefix}gdb
# Freeze it when GDB gets branched
-%global snapsrc 20150531
+%global snapsrc 20150709
# See timestamp of source gnulib installed into gdb/gnulib/ .
%global snapgnulib 20121213
%global tarname gdb-%{version}
-Version: 7.9.50.%{snapsrc}
+Version: 7.9.90.%{snapsrc}
# 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.
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
Group: Development/Debuggers
@@ -216,7 +216,7 @@ Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
# Backported fixups post the source tarball.
#Xdrop: Just backports.
-Patch232: gdb-upstream.patch
+#Patch232: gdb-upstream.patch
# Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
#=fedoratest+ppc
@@ -513,9 +513,6 @@ Patch927: gdb-python-gil.patch
# Fix jit-reader.h for multi-lib.
Patch978: gdb-jit-reader-multilib.patch
-# Fix enum e e 'Attempt to use a type name as an expr.' (Keith Seitz, PR 16253).
-Patch991: gdb-cxx-enum-tag.patch
-
# Fix 'info type-printers' Python error (Clem Dickey, RH BZ 1085576).
Patch992: gdb-type-printers-error.patch
@@ -700,7 +697,7 @@ find -name "*.info*"|xargs rm -f
# Match the Fedora's version info.
%patch2 -p1
-%patch232 -p1
+#patch232 -p1
%patch349 -p1
%patch888 -p1
%patch983 -p1
@@ -804,7 +801,6 @@ find -name "*.info*"|xargs rm -f
%patch925 -p1
%patch927 -p1
%patch978 -p1
-%patch991 -p1
%patch992 -p1
%patch848 -p1
@@ -1314,6 +1310,9 @@ then
fi
%changelog
+* Fri Jul 10 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150709-6.fc23
+- Rebase to FSF GDB 7.9.90.20150709 (7.10 branch snapshot).
+
* Tue Jul 7 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.50.20150531-5.fc23
- Upgrade libstdc++-v3-python to r225521 (RH BZ 1239290).
diff --git a/sources b/sources
index 62febdd..cc19401 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
7ad32d3894aaf90d00a4343a735c3e1c gdb-libstdc++-v3-python-r225521.tar.xz
-394dfbd87607c75e5c61f3e28105be54 gdb-7.9.50.20150531.tar.xz
+da95e5ff2f5f50fb9d951c01c6f652fe gdb-7.9.90.20150709.tar.xz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-27 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:57 [rpms/gdb] gdb-17.2-rebase-f44: Rebase to FSF GDB 7.9.90.20150709 (7.10 branch snapshot) Jan Kratochvil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox