[Crosstoolchain-logs] [SCM] GNU GDB Debian packaging repository branch, master, updated. debian/7.6-3-11-gb6e9567
Samuel Bronson
naesten at gmail.com
Sat Jun 8 22:45:13 UTC 2013
The following commit has been merged in the master branch:
commit e9c67a607a13e9c1d8e4239d8b5a42ebfc7bdbb7
Author: Samuel Bronson <naesten at gmail.com>
Date: Sat Jun 8 16:27:58 2013 -0400
Remove a couple more stale, unwanted patches.
diff --git a/debian/patches/gdbinit-ownership.patch b/debian/patches/gdbinit-ownership.patch
deleted file mode 100644
index 287f2f9..0000000
--- a/debian/patches/gdbinit-ownership.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-This patch was not popular upstream; there was no fundamental objection, but
-several problems with the implementation. It needs to be revisited.
-
----
- gdb/cli/cli-cmds.c | 42 +++++++++++++++++++++++++++++++++++++++++-
- gdb/main.c | 4 ++--
- 2 files changed, 43 insertions(+), 3 deletions(-)
-
-Index: gdb/gdb/cli/cli-cmds.c
-===================================================================
---- gdb.orig/gdb/cli/cli-cmds.c 2013-01-27 16:12:09.000000000 -0500
-+++ gdb/gdb/cli/cli-cmds.c 2013-01-27 16:14:59.000000000 -0500
-@@ -54,6 +54,8 @@
- #include "tui/tui.h" /* For tui_active et.al. */
- #endif
-
-+#include "gdb_stat.h"
-+
- #include <fcntl.h>
-
- /* Prototypes for local command functions */
-@@ -580,7 +582,9 @@
- If the source command was invoked interactively, throw an
- error. Otherwise (e.g. if it was invoked by a script),
- silently ignore the error. */
-- if (from_tty)
-+ /* Or, if this was an automatic load during startup, ignore the
-+ error. */
-+ if (from_tty > 0)
- perror_with_name (file);
- else
- return;
-@@ -588,6 +592,38 @@
-
- old_cleanups = make_cleanup (xfree, full_path);
- make_cleanup_fclose (stream);
-+
-+ if (stream == NULL)
-+ {
-+ if (from_tty)
-+ perror_with_name (file);
-+ else
-+ {
-+ do_cleanups (old_cleanups);
-+ return;
-+ }
-+ }
-+
-+#ifdef HAVE_GETUID
-+ if (from_tty == -1)
-+ {
-+ struct stat statbuf;
-+ int fd = fileno (stream);
-+ if (fstat (fd, &statbuf) < 0)
-+ {
-+ make_cleanup_fclose (stream);
-+ perror_with_name (file);
-+ }
-+ if (statbuf.st_uid != getuid () || (statbuf.st_mode & S_IWOTH))
-+ {
-+ warning ("not using untrusted file \"%s\"", file);
-+ fclose (stream);
-+ do_cleanups (old_cleanups);
-+ return;
-+ }
-+ }
-+#endif
-+
- /* The python support reopens the file, so we need to pass full_path here
- in case the file was found on the search path. It's useful to do this
- anyway so that error messages show the actual file used. But only do
diff --git a/debian/patches/member-field-symtab.patch b/debian/patches/member-field-symtab.patch
deleted file mode 100644
index 6649046..0000000
--- a/debian/patches/member-field-symtab.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Status: unsubmitted
-
-This patch was for Debian bug #239535. It needs to be tested, and
-submitted. It has shrunk since the first version, and may no
-longer be necessary.
-
----
- gdb/valops.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-Index: gdb-7.4/gdb/valops.c
-===================================================================
---- gdb-7.4.orig/gdb/valops.c 2011-11-17 15:58:35.000000000 +0000
-+++ gdb-7.4/gdb/valops.c 2011-11-17 17:00:55.453359139 +0000
-@@ -3171,8 +3171,10 @@
- return 1;
- }
-
-+ /* Check each baseclass. Call check_typedef, which will follow typedefs
-+ and do opaque/stub type resolution. */
- for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
-- if (check_field (TYPE_BASECLASS (type, i), name))
-+ if (check_field (check_typedef (TYPE_BASECLASS (type, i)), name))
- return 1;
-
- return 0;
--
GNU GDB Debian packaging repository
More information about the Crosstoolchain-logs
mailing list