- Upgrade to the upstream gdb-6.8 prerelease.

- Cleanup the leftover `.orig' files during %prep.
- Add expat-devel check by the configure script (for the other-arch
    builds).
- `--with testsuite' now also BuildRequires: fpc
- Backport fix of a segfault + PIE regression since 6.7.1 on PIE
    executables.
- Update the printed GDB version string to be Fedora specific.
This commit is contained in:
Jan Kratochvil 2008-03-03 16:13:47 +00:00
commit 25ff8a1663
34 changed files with 4017 additions and 11545 deletions

View file

@ -6,9 +6,15 @@
(linux_xfer_partial_lwp): ... here.
(linux_xfer_partial): New function wrapping LINUX_XFER_PARTIAL_LWP.
--- ./gdb/linux-nat.c 3 Jul 2007 17:01:55 -0000 1.65
+++ ./gdb/linux-nat.c 7 Jul 2007 15:21:57 -0000
@@ -1343,6 +1343,31 @@ linux_handle_extended_wait (struct lwp_i
2008-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Port to GDB-6.8pre.
Index: gdb-6.8cvs20080219/gdb/linux-nat.c
===================================================================
--- gdb-6.8cvs20080219.orig/gdb/linux-nat.c 2008-02-21 12:03:38.000000000 +0100
+++ gdb-6.8cvs20080219/gdb/linux-nat.c 2008-02-21 12:05:01.000000000 +0100
@@ -1570,6 +1570,31 @@ linux_handle_extended_wait (struct lwp_i
_("unknown ptrace event %d"), event);
}
@ -40,7 +46,7 @@
/* Wait for LP to stop. Returns the wait status, or 0 if the LWP has
exited. */
@@ -1350,16 +1375,31 @@ static int
@@ -1577,16 +1602,31 @@ static int
wait_lwp (struct lwp_info *lp)
{
pid_t pid;
@ -76,7 +82,7 @@
if (pid == -1 && errno == ECHILD)
{
/* The thread has previously exited. We need to delete it
@@ -3144,10 +3159,12 @@ linux_proc_pending_signals (int pid, sig
@@ -3451,10 +3491,12 @@ linux_proc_pending_signals (int pid, sig
fclose (procfile);
}
@ -92,7 +98,7 @@
{
LONGEST xfer;
@@ -3164,6 +3181,45 @@ linux_xfer_partial (struct target_ops *o
@@ -3495,6 +3537,45 @@ linux_xfer_partial (struct target_ops *o
offset, len);
}
@ -135,6 +141,6 @@
+ return xfer;
+}
+
/* Create a prototype generic Linux target. The client can override
/* Create a prototype generic GNU/Linux target. The client can override
it with local methods. */