public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 336050181da000ffff40ae88c4592c3ca3054818
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2010-11-18T16:24:15+01:00
Stats  : +4/-20 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/336050181da000ffff40ae88c4592c3ca3054818?branch=gdb-17.2-rebase-f44

Log:
- Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).

---
diff --git a/gdb-6.8-glibc-headers-compat.patch b/gdb-6.8-glibc-headers-compat.patch
deleted file mode 100644
index 39b3b31..0000000
--- a/gdb-6.8-glibc-headers-compat.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-../../libiberty/strsignal.c:552: error: conflicting types for 'psignal'
-/usr/include/signal.h:141: error: previous declaration of 'psignal' was here
-
---- gdb-6.8/libiberty/strsignal.c-orig	2007-01-31 00:13:04.000000000 +0100
-+++ gdb-6.8/libiberty/strsignal.c	2008-06-17 16:30:13.000000000 +0200
-@@ -549,7 +549,7 @@ followed by a newline.
- #ifndef HAVE_PSIGNAL
- 
- void
--psignal (int signo, char *message)
-+psignal (int signo, const char *message)
- {
-   if (signal_names == NULL)
-     {

diff --git a/gdb.spec b/gdb.spec
index cf7131e..c52bca1 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -27,7 +27,7 @@ Version: 7.2.50.20101117
 
 # 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: 1%{?_with_upstream:.upstream}%{dist}
+Release: 2%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
 Group: Development/Debuggers
@@ -398,10 +398,6 @@ Patch318: gdb-6.8-gcc35998-ada-memory-trash.patch
 #=fedoratest
 Patch320: gdb-6.5-section-num-fixup-test.patch
 
-# Fix compatibility with recent glibc headers.
-#=push
-Patch324: gdb-6.8-glibc-headers-compat.patch
-
 # Create a single binary `gdb' autodetecting --tui by its argv[0].
 #=push+work: IIRC Tom told argv[0] should not be used by GNU programs, also drop libgdb.a.
 Patch326: gdb-6.8-tui-singlebinary.patch
@@ -769,7 +765,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch317 -p1
 %patch318 -p1
 %patch320 -p1
-%patch324 -p1
 %patch326 -p1
 %patch329 -p1
 %patch330 -p1
@@ -1180,6 +1175,9 @@ fi
 %endif
 
 %changelog
+* Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-2.fc15
+- Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
+
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).
 

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : ef59bb9bcc960b5dd81bf03f4981e3a224143801
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-19T23:08:56+01:00
            Stats  : +1/-309 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/ef59bb9bcc960b5dd81bf03f4981e3a224143801?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
- Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
- New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
  gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
- Drop gdb-6.8-gcc35998-ada-memory-trash.patch as a different fix is upstream.
- Drop gdb-6.3-inheritance-20050324.patch: the call is redundent (Tom Tromey).
- Drop gdb-6.3-large-core-20051206.patch: obsoleted by MAX_COPY_BYTES.

---
diff --git a/gdb-6.3-large-core-20051206.patch b/gdb-6.3-large-core-20051206.patch
deleted file mode 100644
index 3be746a..0000000
--- a/gdb-6.3-large-core-20051206.patch
+++ /dev/null
@@ -1,304 +0,0 @@
-2005-12-14  Jeff Johnston  <jjohnstn@redhat.com>
-
-	* symfile-mem.c (read_memory): New static read callback function.
-	(symfile_add_from_memory): Pass read_memory to bfd instead of
-	target_read_memory.
-	* target.c (target_xfer_memory): Add support for LONGEST len and
-	change all callers.
-	(deprecated_debug_xfer_memory, target_read_memory): Ditto.
-	(target_write_memory, do_xfer_memory): Ditto.
-	(target_xfer_memory_partial, target_read_memory_partial): Ditto.
-	(target_write_memory_partial): Ditto.
-	* infptrace.c (child_xfer_memory): Ditto.
-	* linux-nat.c (linux_nat_xfer_memory): Ditto.
-	(linux_nat_proc_xfer_memory): Ditto.
-	* dcache.c (dcache_xfer_memory): Ditto.
-	* exec.c (xfer_memory): Ditto.
-	* remote.c (remote_xfer_memory): Ditto.
-	* remote-sim.c (gdbsim_xfer_interior_memory): Ditto.
-	* target.h: Change prototypes for functions changed above.
-	* linux-nat.h: Ditto.
-	* remote.h: Ditto.
-	* dcache.h: Ditto.
-
-2007-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-	Port to GDB-6.7.
-
-Index: gdb-7.2.50.20101116/gdb/symfile-mem.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/symfile-mem.c	2010-01-01 08:31:42.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/symfile-mem.c	2010-11-16 08:00:37.000000000 +0100
-@@ -57,6 +57,14 @@
- #include "elf/common.h"
- 
- 
-+/* Local callback routine to pass to bfd to read from target memory,
-+   using a len constrained to INT_MAX.  */
-+static int
-+read_target_memory (bfd_vma addr, bfd_byte *buf, int len)
-+{
-+  return target_read_memory (addr, buf, (LONGEST)len);
-+}
-+
- /* Read inferior memory at ADDR to find the header of a loaded object file
-    and read its in-core symbols out of inferior memory.  TEMPL is a bfd
-    representing the target's format.  NAME is the name to use for this
-@@ -77,7 +85,7 @@ symbol_file_add_from_memory (struct bfd 
-     error (_("add-symbol-file-from-memory not supported for this target"));
- 
-   nbfd = bfd_elf_bfd_from_remote_memory (templ, addr, &loadbase,
--					 target_read_memory);
-+					 read_target_memory);
-   if (nbfd == NULL)
-     error (_("Failed to read a valid object file image from memory."));
- 
-Index: gdb-7.2.50.20101116/gdb/target.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/target.c	2010-11-16 07:53:59.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/target.c	2010-11-16 08:00:37.000000000 +0100
-@@ -58,7 +58,7 @@ static int nosymbol (char *, CORE_ADDR *
- 
- static void tcomplain (void) ATTRIBUTE_NORETURN;
- 
--static int nomemory (CORE_ADDR, char *, int, int, struct target_ops *);
-+static LONGEST nomemory (CORE_ADDR, char *, int, int, struct target_ops *);
- 
- static int return_zero (void);
- 
-@@ -513,7 +513,7 @@ target_terminal_inferior (void)
-   (*current_target.to_terminal_inferior) ();
- }
- 
--static int
-+static LONGEST
- nomemory (CORE_ADDR memaddr, char *myaddr, int len, int write,
- 	  struct target_ops *t)
- {
-@@ -718,7 +718,7 @@ update_current_target (void)
- 	    (void (*) (struct regcache *))
- 	    noprocess);
-   de_fault (deprecated_xfer_memory,
--	    (int (*) (CORE_ADDR, gdb_byte *, int, int, struct mem_attrib *, struct target_ops *))
-+	    (LONGEST (*) (CORE_ADDR, gdb_byte *, LONGEST, int, struct mem_attrib *, struct target_ops *))
- 	    nomemory);
-   de_fault (to_files_info,
- 	    (void (*) (struct target_ops *))
-@@ -1550,7 +1550,7 @@ target_xfer_partial (struct target_ops *
-    it makes no progress, and then return how much was transferred). */
- 
- int
--target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
-+target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len)
- {
-   /* Dispatch to the topmost target, not the flattened current_target.
-      Memory accesses check target->to_has_(all_)memory, and the
-@@ -1566,7 +1566,7 @@ target_read_memory (CORE_ADDR memaddr, g
-    the target's stack.  This may trigger different cache behavior.  */
- 
- int
--target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
-+target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len)
- {
-   /* Dispatch to the topmost target, not the flattened current_target.
-      Memory accesses check target->to_has_(all_)memory, and the
-@@ -1585,7 +1585,7 @@ target_read_stack (CORE_ADDR memaddr, gd
-    Callers that can deal with partial writes should call target_write.  */
- 
- int
--target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, int len)
-+target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, LONGEST len)
- {
-   /* Dispatch to the topmost target, not the flattened current_target.
-      Memory accesses check target->to_has_(all_)memory, and the
-@@ -3348,8 +3348,8 @@ debug_to_prepare_to_store (struct regcac
-   fprintf_unfiltered (gdb_stdlog, "target_prepare_to_store ()\n");
- }
- 
--static int
--deprecated_debug_xfer_memory (CORE_ADDR memaddr, bfd_byte *myaddr, int len,
-+static LONGEST
-+deprecated_debug_xfer_memory (CORE_ADDR memaddr, bfd_byte *myaddr, LONGEST len,
- 			      int write, struct mem_attrib *attrib,
- 			      struct target_ops *target)
- {
-@@ -3359,8 +3359,8 @@ deprecated_debug_xfer_memory (CORE_ADDR 
- 						attrib, target);
- 
-   fprintf_unfiltered (gdb_stdlog,
--		      "target_xfer_memory (%s, xxx, %d, %s, xxx) = %d",
--		      paddress (target_gdbarch, memaddr), len,
-+		      "target_xfer_memory (%s, xxx, %ld, %s, xxx) = %d",
-+		      paddress (target_gdbarch, memaddr), (long) len,
- 		      write ? "write" : "read", retval);
- 
-   if (retval > 0)
-Index: gdb-7.2.50.20101116/gdb/target.h
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/target.h	2010-11-16 07:53:59.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/target.h	2010-11-16 08:00:37.000000000 +0100
-@@ -429,10 +429,10 @@ struct target_ops
-        NOTE: cagney/2004-10-01: This has been entirely superseeded by
-        to_xfer_partial and inferior inheritance.  */
- 
--    int (*deprecated_xfer_memory) (CORE_ADDR memaddr, gdb_byte *myaddr,
--				   int len, int write,
--				   struct mem_attrib *attrib,
--				   struct target_ops *target);
-+    LONGEST (*deprecated_xfer_memory) (CORE_ADDR memaddr, gdb_byte *myaddr,
-+				       LONGEST len, int write,
-+				       struct mem_attrib *attrib,
-+				       struct target_ops *target);
- 
-     void (*to_files_info) (struct target_ops *);
-     int (*to_insert_breakpoint) (struct gdbarch *, struct bp_target_info *);
-@@ -846,12 +846,12 @@ extern void target_dcache_invalidate (vo
- 
- extern int target_read_string (CORE_ADDR, char **, int, int *);
- 
--extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len);
-+extern int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len);
- 
--extern int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, int len);
-+extern int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len);
- 
- extern int target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr,
--				int len);
-+				LONGEST len);
- 
- /* Fetches the target's memory map.  If one is found it is sorted
-    and returned, after some consistency checking.  Otherwise, NULL
-Index: gdb-7.2.50.20101116/gdb/dcache.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/dcache.c	2010-05-14 19:53:15.000000000 +0200
-+++ gdb-7.2.50.20101116/gdb/dcache.c	2010-11-16 08:00:37.000000000 +0100
-@@ -465,10 +465,10 @@ dcache_free (DCACHE *dcache)
-    NOTE: This is different than the to_xfer_partial interface, in which
-    positive values less than LEN mean further transfers may be possible.  */
- 
--int
-+LONGEST
- dcache_xfer_memory (struct target_ops *ops, DCACHE *dcache,
- 		    CORE_ADDR memaddr, gdb_byte *myaddr,
--		    int len, int should_write)
-+		    LONGEST len, int should_write)
- {
-   int i;
-   int res;
-Index: gdb-7.2.50.20101116/gdb/dcache.h
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/dcache.h	2010-01-01 08:31:30.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/dcache.h	2010-11-16 08:00:37.000000000 +0100
-@@ -35,8 +35,8 @@ void dcache_free (DCACHE *);
- 
- /* Simple to call from <remote>_xfer_memory */
- 
--int dcache_xfer_memory (struct target_ops *ops, DCACHE *cache, CORE_ADDR mem,
--			gdb_byte *my, int len, int should_write);
-+LONGEST dcache_xfer_memory (struct target_ops *ops, DCACHE *cache, CORE_ADDR mem,
-+			gdb_byte *my, LONGEST len, int should_write);
- 
- void dcache_update (DCACHE *dcache, CORE_ADDR memaddr, gdb_byte *myaddr,
- 		    int len);
-Index: gdb-7.2.50.20101116/gdb/exec.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/exec.c	2010-08-31 20:08:43.000000000 +0200
-+++ gdb-7.2.50.20101116/gdb/exec.c	2010-11-16 08:00:37.000000000 +0100
-@@ -571,7 +571,7 @@ map_vmap (bfd *abfd, bfd *arch)
- }
- \f
- 
--int
-+LONGEST
- section_table_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf,
- 				   ULONGEST offset, LONGEST len,
- 				   struct target_section *sections,
-Index: gdb-7.2.50.20101116/gdb/linux-nat.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/linux-nat.c	2010-11-16 08:00:26.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/linux-nat.c	2010-11-16 08:00:37.000000000 +0100
-@@ -5251,7 +5251,7 @@ linux_xfer_partial (struct target_ops *o
- #endif
-       if (iterate_over_lwps (ia64_linux_check_stack_region, &range) != NULL)
- 	{ /* This region contains ia64 rse registers, we have to re-read.  */
--	  int xxfer;
-+	  LONGEST xxfer;
- 
- 	  /* Re-read register stack area.  */
- 	  xxfer = super_xfer_partial (ops, object, annex,
-Index: gdb-7.2.50.20101116/gdb/remote.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/remote.c	2010-11-04 05:48:21.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/remote.c	2010-11-16 08:00:37.000000000 +0100
-@@ -25,6 +25,7 @@
- #include "gdb_string.h"
- #include <ctype.h>
- #include <fcntl.h>
-+#include <limits.h>
- #include "inferior.h"
- #include "bfd.h"
- #include "symfile.h"
-@@ -6515,12 +6516,19 @@ handle_notification (char *buf, size_t l
-    if SHOULD_WRITE is nonzero.  Returns length of data written or
-    read; 0 for error.  TARGET is unused.  */
- 
--static int
--remote_xfer_memory (CORE_ADDR mem_addr, gdb_byte *buffer, int mem_len,
-+static LONGEST
-+remote_xfer_memory (CORE_ADDR mem_addr, gdb_byte *buffer, LONGEST mem_len,
- 		    int should_write, struct mem_attrib *attrib,
- 		    struct target_ops *target)
- {
-   int res;
-+  int len;
-+
-+  /* This routine is not set up to handle > INT_MAX bytes.  */
-+  if (mem_len >= (LONGEST)INT_MAX)
-+    return 0;
-+
-+  len = (int)mem_len;
- 
-   set_general_thread (inferior_ptid);
- 
-@@ -6529,7 +6537,7 @@ remote_xfer_memory (CORE_ADDR mem_addr, 
-   else
-     res = remote_read_bytes (mem_addr, buffer, mem_len);
- 
--  return res;
-+  return (LONGEST)res;
- }
- 
- /* Sends a packet with content determined by the printf format string
-Index: gdb-7.2.50.20101116/gdb/remote-sim.c
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/remote-sim.c	2010-08-10 06:39:26.000000000 +0200
-+++ gdb-7.2.50.20101116/gdb/remote-sim.c	2010-11-16 08:01:16.000000000 +0100
-@@ -1055,11 +1055,13 @@ gdbsim_prepare_to_store (struct regcache
- 
-    Returns the number of bytes transferred. */
- 
--static int
--gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
-+static LONGEST
-+gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, gdb_byte *myaddr, LONGEST len,
- 			     int write, struct mem_attrib *attrib,
- 			     struct target_ops *target)
- {
-+  /* Convert to len type that sim_read and sim_write can handle.  */
-+  int xfer_len = (int)len;
-   struct sim_inferior_data *sim_data
-     = get_sim_inferior_data (current_inferior (), SIM_INSTANCE_NOT_NEEDED);
- 
-Index: gdb-7.2.50.20101116/gdb/exec.h
-===================================================================
---- gdb-7.2.50.20101116.orig/gdb/exec.h	2010-01-01 08:31:31.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/exec.h	2010-11-16 08:00:37.000000000 +0100
-@@ -60,7 +60,7 @@ extern int resize_section_table (struct 
- 
-    One, and only one, of readbuf or writebuf must be non-NULL.  */
- 
--extern int section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
-+extern LONGEST section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
- 					      ULONGEST, LONGEST,
- 					      struct target_section *,
- 					      struct target_section *,

diff --git a/gdb.spec b/gdb.spec
index 959ee6a..64e2490 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -195,10 +195,6 @@ Patch164: gdb-6.3-readnever-20050907.patch
 #=ia64
 Patch169: gdb-6.3-ia64-sigill-20051115.patch
 
-# Use bigger numbers than int.
-#=push
-Patch176: gdb-6.3-large-core-20051206.patch
-
 # Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661).
 #=push+work: There was some mail thread about it, this patch may be a hack.
 Patch188: gdb-6.5-bz203661-emit-relocs.patch
@@ -688,7 +684,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch163 -p1
 %patch164 -p1
 %patch169 -p1
-%patch176 -p1
 %patch188 -p1
 %patch190 -p1
 %patch194 -p1
@@ -1151,6 +1146,7 @@ fi
   gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
 - Drop gdb-6.8-gcc35998-ada-memory-trash.patch as a different fix is upstream.
 - Drop gdb-6.3-inheritance-20050324.patch: the call is redundent (Tom Tromey).
+- Drop gdb-6.3-large-core-20051206.patch: obsoleted by MAX_COPY_BYTES.
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : ac0fd384555f371dfa0e69ca75596e0617866d17
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-19T21:53:28+01:00
            Stats  : +1/-31 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/ac0fd384555f371dfa0e69ca75596e0617866d17?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
- Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
- New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
  gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
- Drop gdb-6.8-gcc35998-ada-memory-trash.patch as a different fix is upstream.
- Drop gdb-6.3-inheritance-20050324.patch: the call is redundent (Tom Tromey).

---
diff --git a/gdb-6.3-inheritance-20050324.patch b/gdb-6.3-inheritance-20050324.patch
deleted file mode 100644
index 433b6f7..0000000
--- a/gdb-6.3-inheritance-20050324.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-2005-03-24  Jeff Johnston  <jjohnstn@redhat.com>
-
-	* valops.c (check_field_in): Use check_typedef for base classes
-	to avoid problems with opaque type references.
-
-Index: gdb-6.8.50.20081128/gdb/valops.c
-===================================================================
---- gdb-6.8.50.20081128.orig/gdb/valops.c	2008-12-08 10:56:11.000000000 +0100
-+++ gdb-6.8.50.20081128/gdb/valops.c	2008-12-08 10:59:14.000000000 +0100
-@@ -2484,8 +2484,14 @@ check_field (struct type *type, const ch
-     }
- 
-   for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
--    if (check_field (TYPE_BASECLASS (type, i), name))
--      return 1;
-+    {
-+      /* Check the base classes.  Make sure we have the real type for
-+         each base class as opposed to an opaque declaration.  */
-+      struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i));
-+
-+      if (check_field (baseclass, name))
-+	return 1;
-+    }
- 
-   return 0;
- }

diff --git a/gdb.spec b/gdb.spec
index 87a7f73..959ee6a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -159,10 +159,6 @@ Patch259: gdb-6.3-step-thread-exit-20050211-test.patch
 #=fedoratest
 Patch145: gdb-6.3-threaded-watchpoints2-20050225.patch
 
-# Fix printing of inherited members
-#=maybepush
-Patch148: gdb-6.3-inheritance-20050324.patch
-
 # Do not issue warning message about first page of storage for ia64 gcore
 #=ia64
 Patch153: gdb-6.3-ia64-gcore-page0-20050421.patch
@@ -683,7 +679,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch141 -p1
 %patch259 -p1
 %patch145 -p1
-%patch148 -p1
 %patch153 -p1
 %patch157 -p1
 %patch158 -p1
@@ -1155,6 +1150,7 @@ fi
 - New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
   gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
 - Drop gdb-6.8-gcc35998-ada-memory-trash.patch as a different fix is upstream.
+- Drop gdb-6.3-inheritance-20050324.patch: the call is redundent (Tom Tromey).
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 41aeaf682d5a03bb0f269064c9053983e436296d
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-19T06:27:53+01:00
            Stats  : +1/-26 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/41aeaf682d5a03bb0f269064c9053983e436296d?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
- Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
- New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
  gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
- Drop gdb-6.8-gcc35998-ada-memory-trash.patch as a different fix is upstream.

---
diff --git a/gdb-6.8-gcc35998-ada-memory-trash.patch b/gdb-6.8-gcc35998-ada-memory-trash.patch
deleted file mode 100644
index 685e900..0000000
--- a/gdb-6.8-gcc35998-ada-memory-trash.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-[patch] Workaround ada (gnat-4.3.0) on x86_64
-http://sourceware.org/ml/gdb-patches/2008-04/msg00427.html
-
---- ./gdb/dwarf2read.c	4 May 2008 17:27:01 -0000	1.260
-+++ ./gdb/dwarf2read.c	4 May 2008 18:26:20 -0000
-@@ -6754,7 +6754,14 @@ dwarf2_attr (struct die_info *die, unsig
-   for (i = 0; i < die->num_attrs; ++i)
-     {
-       if (die->attrs[i].name == name)
--	return &die->attrs[i];
-+        {
-+	  /* GCC PR ada/35998 workaround.  */
-+	  if (name == DW_AT_byte_size
-+	      && DW_UNSND (&die->attrs[i]) == 0xffffffff)
-+	    return NULL;
-+
-+	  return &die->attrs[i];
-+	}
-       if (die->attrs[i].name == DW_AT_specification
- 	  || die->attrs[i].name == DW_AT_abstract_origin)
- 	spec = &die->attrs[i];

diff --git a/gdb.spec b/gdb.spec
index f180997..87a7f73 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -374,10 +374,6 @@ Patch315: gdb-6.8-bz442765-threaded-exec-test.patch
 #=push: But it is just a GCC workaround, look up the existing GCC PR for it.
 Patch317: gdb-6.8-sparc64-silence-memcpy-check.patch
 
-# Fix memory trashing on binaries from GCC Ada (workaround GCC PR 35998).
-#=push
-Patch318: gdb-6.8-gcc35998-ada-memory-trash.patch
-
 # Test a crash on libraries missing the .text section.
 #=fedoratest
 Patch320: gdb-6.5-section-num-fixup-test.patch
@@ -740,7 +736,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch311 -p1
 %patch315 -p1
 %patch317 -p1
-%patch318 -p1
 %patch320 -p1
 %patch326 -p1
 %patch329 -p1
@@ -1159,6 +1154,7 @@ fi
 - Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
 - New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
   gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
+- Drop gdb-6.8-gcc35998-ada-memory-trash.patch as a different fix is upstream.
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 4546826203274c19aa3ad32842d4fedd7dbdff15
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-19T00:32:47+01:00
            Stats  : +5/-10 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/4546826203274c19aa3ad32842d4fedd7dbdff15?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
- Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
- New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
  gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.

---
diff --git a/gdb-6.8-gcc35998-ada-memory-trash.patch b/gdb-6.8-gcc35998-ada-memory-trash.patch
index 1142cc9..685e900 100644
--- a/gdb-6.8-gcc35998-ada-memory-trash.patch
+++ b/gdb-6.8-gcc35998-ada-memory-trash.patch
@@ -1,3 +1,6 @@
+[patch] Workaround ada (gnat-4.3.0) on x86_64
+http://sourceware.org/ml/gdb-patches/2008-04/msg00427.html
+
 --- ./gdb/dwarf2read.c	4 May 2008 17:27:01 -0000	1.260
 +++ ./gdb/dwarf2read.c	4 May 2008 18:26:20 -0000
 @@ -6754,7 +6754,14 @@ dwarf2_attr (struct die_info *die, unsig

diff --git a/gdb.spec b/gdb.spec
index 8359fae..f180997 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -108,10 +108,6 @@ Patch104: gdb-6.3-ppcdotsolib-20041022.patch
 #=maybepush+ppc: Write new testcase.
 Patch105: gdb-6.3-ppc64syscall-20040622.patch
 
-# Stop a backtrace when a zero PC is encountered.
-#=maybepush: Write new testcase.
-Patch106: gdb-6.3-framepczero-20040927.patch
-
 # Include the pc's section when doing a symbol lookup so that the
 # correct symbol is found.
 #=maybepush: Write new testcase.
@@ -203,10 +199,6 @@ Patch164: gdb-6.3-readnever-20050907.patch
 #=ia64
 Patch169: gdb-6.3-ia64-sigill-20051115.patch
 
-# Allow option to continue backtracing past a zero pc value
-#=maybepush
-Patch170: gdb-6.3-bt-past-zero-20051201.patch
-
 # Use bigger numbers than int.
 #=push
 Patch176: gdb-6.3-large-core-20051206.patch
@@ -684,7 +676,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 
 %patch104 -p1
 %patch105 -p1
-%patch106 -p1
 %patch111 -p1
 %patch112 -p1
 %patch118 -p1
@@ -706,7 +697,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch163 -p1
 %patch164 -p1
 %patch169 -p1
-%patch170 -p1
 %patch176 -p1
 %patch188 -p1
 %patch190 -p1
@@ -1167,6 +1157,8 @@ fi
 - Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
 - Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
 - Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
+- New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch
+  gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 1d7d503e7ea2c9c68b4f8c74b57bd49c5f647860
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-18T21:26:21+01:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/1d7d503e7ea2c9c68b4f8c74b57bd49c5f647860?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
- Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).

---
diff --git a/gdb.spec b/gdb.spec
index 8e6d93a..8359fae 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -427,8 +427,6 @@ Patch348: gdb-6.8-bz466901-backtrace-full-prelinked.patch
 #=push
 #archer-jankratochvil-ifunc
 Patch349: gdb-archer.patch
-#=maybepush
-Patch420: gdb-archer-ada.patch
 
 # Fix parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187).
 # - Turn on 64-bit BFD support, globally enable AC_SYS_LARGEFILE.
@@ -681,7 +679,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 
 #patch232 -p1
 %patch349 -p1
-%patch420 -p1
 %patch1 -p1
 %patch3 -p1
 
@@ -1169,6 +1166,7 @@ fi
 - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
 - Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
 - Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
+- Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz).
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 1d459d38863e6ef9c4ae77834a8f1193f4699b65
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-18T21:11:57+01:00
            Stats  : +1/-29 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/1d459d38863e6ef9c4ae77834a8f1193f4699b65?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.

---
diff --git a/gdb-6.7-kernel-headers-compat.patch b/gdb-6.7-kernel-headers-compat.patch
deleted file mode 100644
index f169b78..0000000
--- a/gdb-6.7-kernel-headers-compat.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64
-
-In file included from /usr/include/asm/ptrace.h:4,
-                 from ../../gdb/amd64-linux-nat.c:44:
-/usr/include/asm/ptrace-abi.h:92: error: expected specifier-qualifier-list before ‘u32’
-
---- gdb-6.7.1-13.fc9.x86_64/gdb/amd64-linux-nat.c-orig	2008-02-15 15:37:28.000000000 -0500
-+++ gdb-6.7.1-13.fc9.x86_64/gdb/amd64-linux-nat.c	2008-02-15 15:40:13.000000000 -0500
-@@ -35,13 +35,13 @@
- #include <sys/procfs.h>
- #include <asm/prctl.h>
- /* FIXME ezannoni-2003-07-09: we need <sys/reg.h> to be included after
--   <asm/ptrace.h> because the latter redefines FS and GS for no apparent
-+   <sys/ptrace.h> because the latter redefines FS and GS for no apparent
-    reason, and those definitions don't match the ones that libpthread_db
-    uses, which come from <sys/reg.h>.  */
- /* ezannoni-2003-07-09: I think this is fixed. The extraneous defs have
-    been removed from ptrace.h in the kernel.  However, better safe than
-    sorry.  */
--#include <asm/ptrace.h>
-+#include <sys/ptrace.h>
- #include <sys/reg.h>
- #include "gdb_proc_service.h"
- 

diff --git a/gdb.spec b/gdb.spec
index dcf15ee..8e6d93a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -366,10 +366,6 @@ Patch296: gdb-6.5-gcore-buffer-limit-test.patch
 #=fedoratest
 Patch298: gdb-6.6-threads-static-test.patch
 
-# Fix #include <asm/ptrace.h> on kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64.
-#=push
-Patch304: gdb-6.7-kernel-headers-compat.patch
-
 # Test GCORE for shmid 0 shared memory mappings.
 #=fedoratest: But it is broken anyway, sometimes the case being tested is not reproducible.
 Patch309: gdb-6.3-mapping-zero-inode-test.patch
@@ -753,7 +749,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch294 -p1
 %patch296 -p1
 %patch298 -p1
-%patch304 -p1
 %patch309 -p1
 %patch311 -p1
 %patch315 -p1
@@ -1173,6 +1168,7 @@ fi
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-2.fc15
 - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
 - Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
+- Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed.
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 458c182c8561655dac3d5fd01bf0ce44e6d9e2bb
            Author : Jan Kratochvil <jan.kratochvil@redhat.com>
            Date   : 2010-11-18T20:42:17+01:00
            Stats  : +1/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/458c182c8561655dac3d5fd01bf0ce44e6d9e2bb?branch=gdb-17.2-rebase-f44

            Log:
            - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.

---
diff --git a/gdb.spec b/gdb.spec
index 443056e..dcf15ee 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -1172,6 +1172,7 @@ fi
 %changelog
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-2.fc15
 - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
+- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible.
 
 * Thu Nov 18 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20101117-1.fc15
 - Rebase to FSF GDB 7.2.50.20101117 (which is a 7.3 pre-release).

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 8b8af9446201d06f96d451bc031d0ba59ca4224f
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2010-11-18T20:33:51+01:00
Stats  : +0/-33 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/8b8af9446201d06f96d451bc031d0ba59ca4224f?branch=gdb-17.2-rebase-f44

Log:
- Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey).

---
diff --git a/gdb-6.3-terminal-fix-20050214.patch b/gdb-6.3-terminal-fix-20050214.patch
deleted file mode 100644
index d97d6a2..0000000
--- a/gdb-6.3-terminal-fix-20050214.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-2005-02-14  Jeff Johnston <jjohnstn@redhat.com>
-
-	* top.c (gdb_readline_wrapper): Ensure terminal is gdb's before calling
-	readline.
-
-2007-10-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-	Port to GDB-6.7.
-
-Index: gdb-6.7/gdb/top.c
-===================================================================
---- gdb-6.7.orig/gdb/top.c	2007-09-02 23:13:56.000000000 +0200
-+++ gdb-6.7/gdb/top.c	2007-10-14 23:38:27.000000000 +0200
-@@ -795,6 +795,14 @@ gdb_readline_wrapper (char *prompt)
- 
-   back_to = make_cleanup (gdb_readline_wrapper_cleanup, cleanup);
- 
-+  /* Before calling readline, ensure we have the terminal.  If we don't
-+     have the terminal and call readline, we risk the possibility of
-+     gdb being thrown into the background.  This problem occurs when
-+     we attach to a background process on the same terminal the background
-+     process was started from and then perform some action which requires
-+     a page break prompt.  */
-+  terminal_ours ();
-+
-   /* Display our prompt and prevent double prompt display.  */
-   display_gdb_prompt (prompt);
-   rl_already_prompted = 1;

diff --git a/gdb.spec b/gdb.spec
index c52bca1..443056e 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -159,10 +159,6 @@ Patch141: gdb-6.6-step-thread-exit.patch
 #=push
 Patch259: gdb-6.3-step-thread-exit-20050211-test.patch
 
-# Prevent gdb from being pushed into background
-#=maybepush
-Patch142: gdb-6.3-terminal-fix-20050214.patch
-
 # Test sibling threads to set threaded watchpoints for x86 and x86-64
 #=fedoratest
 Patch145: gdb-6.3-threaded-watchpoints2-20050225.patch
@@ -706,7 +702,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch140 -p1
 %patch141 -p1
 %patch259 -p1
-%patch142 -p1
 %patch145 -p1
 %patch148 -p1
 %patch153 -p1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-27 23:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:54 [rpms/gdb] gdb-17.2-rebase-f44: - Drop gdb-6.8-glibc-headers-compat.patch: GNU/Linux irrelevant (Tom Tromey) Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil
2026-06-27 23:54 Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox