[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:12 UTC 2013
The following commit has been merged in the master branch:
commit f6ee6955980f73b79fee0e79ff4085cf0758b508
Author: Samuel Bronson <naesten at gmail.com>
Date: Sat Jun 8 16:15:12 2013 -0400
Delete old, disused patches that were taken from or merged upstream.
diff --git a/debian/patches/0000-tui-skip-registers-pr-tui-13073.patch b/debian/patches/0000-tui-skip-registers-pr-tui-13073.patch
deleted file mode 100644
index 6a1c8b8..0000000
--- a/debian/patches/0000-tui-skip-registers-pr-tui-13073.patch
+++ /dev/null
@@ -1,148 +0,0 @@
-From: Pedro Alves <pedro at codesourcery.com>
-Date: Fri, 12 Aug 2011 17:06:25 +0000 (+0000)
-Subject: 2011-08-12 Pedro Alves <pedro at codesourcery.com>
-X-Git-Url: http://sourceware.org/git/?p=gdb.git;a=commitdiff_plain;h=60be8ffad1e2ee2398780025e5fc165ff1974dc4
-
-2011-08-12 Pedro Alves <pedro at codesourcery.com>
-
- PR tui/13073
-
- * tui/tui-regs.c (tui_show_register_group): Skip registers with an
- empty name.
- (tui_show_register_group): Don't store a byte buffer in the data
- element's value.
- (tui_register_format): Skip registers with an empty name.
- (tui_get_register): Store a struct value in the data element's
- value field instead of a byte buffer holding the raw register
- contents. Account for optimized-out and unavailable registers
- when comparing register contents.
----
-
-Index: gdb-7.3/gdb/ChangeLog
-===================================================================
---- gdb-7.3.orig/gdb/ChangeLog 2011-08-23 21:40:16.443403574 +0100
-+++ gdb-7.3/gdb/ChangeLog 2011-08-23 21:40:55.647403545 +0100
-@@ -1,3 +1,17 @@
-+2011-08-12 Pedro Alves <pedro at codesourcery.com>
-+
-+ PR tui/13073
-+
-+ * tui/tui-regs.c (tui_show_register_group): Skip registers with an
-+ empty name.
-+ (tui_show_register_group): Don't store a byte buffer in the data
-+ element's value.
-+ (tui_register_format): Skip registers with an empty name.
-+ (tui_get_register): Store a struct value in the data element's
-+ value field instead of a byte buffer holding the raw register
-+ contents. Account for optimized-out and unavailable registers
-+ when comparing register contents.
-+
- 2011-07-26 Joel Brobecker <brobecker at adacore.com>
-
- * NEWS: Change `since GDB 7.2' into `in GDB 7.3'.
-Index: gdb-7.3/gdb/tui/tui-regs.c
-===================================================================
---- gdb-7.3.orig/gdb/tui/tui-regs.c 2011-08-23 21:40:16.451403574 +0100
-+++ gdb-7.3/gdb/tui/tui-regs.c 2011-08-23 21:40:55.647403545 +0100
-@@ -230,10 +230,19 @@
- + gdbarch_num_pseudo_regs (gdbarch);
- regnum++)
- {
-- /* Must be in the group and have a name. */
-- if (gdbarch_register_reggroup_p (gdbarch, regnum, group)
-- && gdbarch_register_name (gdbarch, regnum) != 0)
-- nr_regs++;
-+ const char *name;
-+
-+ /* Must be in the group. */
-+ if (!gdbarch_register_reggroup_p (gdbarch, regnum, group))
-+ continue;
-+
-+ /* If the register name is empty, it is undefined for this
-+ processor, so don't display anything. */
-+ name = gdbarch_register_name (gdbarch, regnum);
-+ if (name == 0 || *name == '\0')
-+ continue;
-+
-+ nr_regs++;
- }
-
- if (display_info->regs_content_count > 0 && !refresh_values_only)
-@@ -273,12 +282,15 @@
- struct tui_data_element *data;
- const char *name;
-
-+ /* Must be in the group. */
- if (!gdbarch_register_reggroup_p (gdbarch, regnum, group))
- continue;
-
-- name = gdbarch_register_name (gdbarch, regnum);
-- if (name == 0)
-- continue;
-+ /* If the register name is empty, it is undefined for this
-+ processor, so don't display anything. */
-+ name = gdbarch_register_name (gdbarch, regnum);
-+ if (name == 0 || *name == '\0')
-+ continue;
-
- data_item_win =
- &display_info->regs_content[pos]->which_element.data_window;
-@@ -292,9 +304,6 @@
- data->name = name;
- data->highlight = FALSE;
- }
-- if (data->value == (void*) NULL)
-- data->value = (void*) xmalloc (MAX_REGISTER_SIZE);
--
- tui_get_register (frame, data, regnum, 0);
- }
- pos++;
-@@ -691,11 +700,9 @@
- char *p, *s;
-
- name = gdbarch_register_name (gdbarch, regnum);
-- if (name == 0)
-- {
-- return;
-- }
--
-+ if (name == 0 || *name == '\0')
-+ return;
-+
- pagination_enabled = 0;
- old_stdout = gdb_stdout;
- stream = tui_sfileopen (256);
-@@ -730,24 +737,23 @@
- *changedp = FALSE;
- if (target_has_registers)
- {
-- gdb_byte buf[MAX_REGISTER_SIZE];
-+ struct value *old_val = data->value;
-
-- get_frame_register (frame, regnum, buf);
-+ data->value = get_frame_register_value (frame, regnum);
-+ release_value (data->value);
- if (changedp)
- {
- struct gdbarch *gdbarch = get_frame_arch (frame);
- int size = register_size (gdbarch, regnum);
-- char *old = (char*) data->value;
-- int i;
-
-- for (i = 0; i < size; i++)
-- if (buf[i] != old[i])
-- {
-- *changedp = TRUE;
-- old[i] = buf[i];
-- }
-+ if (value_optimized_out (data->value) != value_optimized_out (old_val)
-+ || !value_available_contents_eq (data->value, 0,
-+ old_val, 0, size))
-+ *changedp = TRUE;
- }
-
-+ value_free (old_val);
-+
- /* Reformat the data content if the value changed. */
- if (changedp == 0 || *changedp == TRUE)
- tui_register_format (frame, data, regnum);
diff --git a/debian/patches/0001-netbsd-init-match-property-field.patch b/debian/patches/0001-netbsd-init-match-property-field.patch
deleted file mode 100644
index 6d1a8bd..0000000
--- a/debian/patches/0001-netbsd-init-match-property-field.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Mark Kettenis <kettenis at gnu.org>
-Date: Thu, 18 Aug 2011 20:39:20 +0000 (+0000)
-Subject: * netbsd-core.c (netbsd_core_vec): Init match_priority field.
-X-Git-Url: http://sourceware.org/git/?p=gdb.git;a=commitdiff_plain;h=5a1ca34d84a694e462e747a4c0173ed31c48fb95
-
- * netbsd-core.c (netbsd_core_vec): Init match_priority field.
----
-
-Index: gdb-7.3/bfd/ChangeLog
-===================================================================
---- gdb-7.3.orig/bfd/ChangeLog 2011-08-23 21:40:16.407403574 +0100
-+++ gdb-7.3/bfd/ChangeLog 2011-08-23 21:40:59.087403553 +0100
-@@ -1,3 +1,7 @@
-+2011-08-05 Mark Kettenis <kettenis at gnu.org>
-+
-+ * netbsd-core.c (netbsd_core_vec): Init match_priority field.
-+
- 2011-05-17 Tristan Gingold <gingold at adacore.com>
-
- * elfxx-ia64.c: include bfd_stdint.h
-Index: gdb-7.3/bfd/netbsd-core.c
-===================================================================
---- gdb-7.3.orig/bfd/netbsd-core.c 2011-08-23 21:40:16.419403574 +0100
-+++ gdb-7.3/bfd/netbsd-core.c 2011-08-23 21:40:59.087403553 +0100
-@@ -281,6 +281,7 @@
- 0, /* Symbol prefix. */
- ' ', /* ar_pad_char. */
- 16, /* ar_max_namelen. */
-+ 0, /* Match priority. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data. */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data. */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data. */
diff --git a/debian/patches/0002-add-cpu-to-source-release.patch b/debian/patches/0002-add-cpu-to-source-release.patch
deleted file mode 100644
index 5454561..0000000
--- a/debian/patches/0002-add-cpu-to-source-release.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: Joel Brobecker <brobecker at gnat.com>
-Date: Fri, 19 Aug 2011 15:51:10 +0000 (+0000)
-Subject: Include the <root>/cpu/ dir in GDB releases
-X-Git-Url: http://sourceware.org/git/?p=gdb.git;a=commitdiff_plain;h=5970c60a5c4b9440686f9c60cda5268b6e80a910
-
-Include the <root>/cpu/ dir in GDB releases
-
-This directory contains some files that are used to generate some
-of the files included in the GDB release, and thus must be part of
-the GDB release also.
-
-ChangeLog:
-
- * src-release (GDB_SUPPORT_DIRS): Add 'cpu'.
----
-
-Index: gdb-7.3/ChangeLog
-===================================================================
---- gdb-7.3.orig/ChangeLog 2011-08-23 21:40:16.383403574 +0100
-+++ gdb-7.3/ChangeLog 2011-08-23 21:41:01.771403554 +0100
-@@ -1,3 +1,7 @@
-+2011-08-19 Joel Brobecker <brobecker at adacore.com>
-+
-+ * src-release (GDB_SUPPORT_DIRS): Add 'cpu'.
-+
- 2011-05-17 Joseph Myers <joseph at codesourcery.com>
-
- * configure.ac (avr-*-*): Add comment about why libssp is disabled.
-Index: gdb-7.3/src-release
-===================================================================
---- gdb-7.3.orig/src-release 2011-08-23 21:40:16.375403574 +0100
-+++ gdb-7.3/src-release 2011-08-23 21:41:01.771403554 +0100
-@@ -269,7 +269,7 @@
- SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
-
- .PHONY: gdb.tar.bz2
--GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim intl libdecnumber
-+GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim intl libdecnumber cpu
- gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
- $(MAKE) -f $(SELF) gdb-taz TOOL=gdb \
- MD5PROG="$(MD5PROG)" \
diff --git a/debian/patches/m68k-thread-debugging.patch b/debian/patches/m68k-thread-debugging.patch
deleted file mode 100644
index 989a712..0000000
--- a/debian/patches/m68k-thread-debugging.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-2012-03-08 Andreas Schwab <schwab at linux-m68k.org>
-
- * m68klinux-nat.c: Include "gdb_proc_service.h".
- (PTRACE_GET_THREAD_AREA): Define.
- (ps_get_thread_area): New function.
-
-Index: gdb-7.4.1/gdb/m68klinux-nat.c
-===================================================================
---- gdb-7.4.1.orig/gdb/m68klinux-nat.c 2012-01-06 04:43:19.000000000 +0000
-+++ gdb-7.4.1/gdb/m68klinux-nat.c 2012-09-19 22:19:06.000000000 +0000
-@@ -51,7 +51,14 @@
-
- /* Prototypes for supply_gregset etc. */
- #include "gregset.h"
--
-+
-+/* Defines ps_err_e, struct ps_prochandle. */
-+#include "gdb_proc_service.h"
-+
-+#ifndef PTRACE_GET_THREAD_AREA
-+#define PTRACE_GET_THREAD_AREA 25
-+#endif
-+
- /* This table must line up with gdbarch_register_name in "m68k-tdep.c". */
- static const int regmap[] =
- {
-@@ -556,6 +563,24 @@
- }
-
-
-+/* Fetch the thread-local storage pointer for libthread_db. */
-+
-+ps_err_e
-+ps_get_thread_area (const struct ps_prochandle *ph,
-+ lwpid_t lwpid, int idx, void **base)
-+{
-+ if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) < 0)
-+ return PS_ERR;
-+
-+ /* IDX is the bias from the thread pointer to the beginning of the
-+ thread descriptor. It has to be subtracted due to implementation
-+ quirks in libthread_db. */
-+ *base = (char *) *base - idx;
-+
-+ return PS_OK;
-+}
-+
-+
- /* Register that we are able to handle GNU/Linux ELF core file
- formats. */
-
--
GNU GDB Debian packaging repository
More information about the Crosstoolchain-logs
mailing list