- Upgrade to GDB 6.7. Drop redundant patches, forward-port remaining ones.
- Fix rereading of the main executable on its change.
This commit is contained in:
parent
cc171577b7
commit
eb9d945afa
55 changed files with 1702 additions and 7915 deletions
|
|
@ -9,10 +9,14 @@
|
|||
|
||||
* gdb.base/follow-child.exp, gdb.base/follow-child.c: New files.
|
||||
|
||||
Index: gdb-6.6/gdb/doc/observer.texi
|
||||
2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Port to GDB-6.7.
|
||||
|
||||
Index: gdb-6.7/gdb/doc/observer.texi
|
||||
===================================================================
|
||||
--- gdb-6.6.orig/gdb/doc/observer.texi
|
||||
+++ gdb-6.6/gdb/doc/observer.texi
|
||||
--- gdb-6.7.orig/gdb/doc/observer.texi 2007-10-13 05:09:50.000000000 +0200
|
||||
+++ gdb-6.7/gdb/doc/observer.texi 2007-10-14 23:24:52.000000000 +0200
|
||||
@@ -119,6 +119,10 @@ when @value{GDBN} calls this observer, t
|
||||
haven't been loaded yet.
|
||||
@end deftypefun
|
||||
|
|
@ -24,11 +28,11 @@ Index: gdb-6.6/gdb/doc/observer.texi
|
|||
@deftypefun void solib_unloaded (struct so_list *@var{solib})
|
||||
The shared library specified by @var{solib} has been unloaded.
|
||||
@end deftypefun
|
||||
Index: gdb-6.6/gdb/linux-nat.c
|
||||
Index: gdb-6.7/gdb/linux-nat.c
|
||||
===================================================================
|
||||
--- gdb-6.6.orig/gdb/linux-nat.c
|
||||
+++ gdb-6.6/gdb/linux-nat.c
|
||||
@@ -803,11 +803,26 @@ iterate_over_lwps (int (*callback) (stru
|
||||
--- gdb-6.7.orig/gdb/linux-nat.c 2007-10-13 05:09:50.000000000 +0200
|
||||
+++ gdb-6.7/gdb/linux-nat.c 2007-10-14 23:24:52.000000000 +0200
|
||||
@@ -742,11 +742,26 @@ iterate_over_lwps (int (*callback) (stru
|
||||
{
|
||||
struct lwp_info *lp, *lpnext;
|
||||
|
||||
|
|
@ -58,7 +62,7 @@ Index: gdb-6.6/gdb/linux-nat.c
|
|||
}
|
||||
|
||||
return NULL;
|
||||
@@ -3262,6 +3274,18 @@ linux_nat_add_target (struct target_ops
|
||||
@@ -3272,6 +3284,18 @@ linux_nat_add_target (struct target_ops
|
||||
thread_db_init (t);
|
||||
}
|
||||
|
||||
|
|
@ -77,7 +81,7 @@ Index: gdb-6.6/gdb/linux-nat.c
|
|||
void
|
||||
_initialize_linux_nat (void)
|
||||
{
|
||||
@@ -3276,6 +3300,8 @@ Specify any of the following keywords fo
|
||||
@@ -3286,6 +3310,8 @@ Specify any of the following keywords fo
|
||||
status -- list a different bunch of random process info.\n\
|
||||
all -- list all available /proc info."));
|
||||
|
||||
|
|
@ -86,19 +90,19 @@ Index: gdb-6.6/gdb/linux-nat.c
|
|||
/* Save the original signal mask. */
|
||||
sigprocmask (SIG_SETMASK, NULL, &normal_mask);
|
||||
|
||||
Index: gdb-6.6/gdb/target.c
|
||||
Index: gdb-6.7/gdb/target.c
|
||||
===================================================================
|
||||
--- gdb-6.6.orig/gdb/target.c
|
||||
+++ gdb-6.6/gdb/target.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "gdb_assert.h"
|
||||
--- gdb-6.7.orig/gdb/target.c 2007-08-23 20:08:45.000000000 +0200
|
||||
+++ gdb-6.7/gdb/target.c 2007-10-14 23:25:13.000000000 +0200
|
||||
@@ -39,6 +39,7 @@
|
||||
#include "gdbcore.h"
|
||||
#include "exceptions.h"
|
||||
#include "target-descriptions.h"
|
||||
+#include "observer.h"
|
||||
|
||||
static void target_info (char *, int);
|
||||
|
||||
@@ -276,6 +277,13 @@ target_load (char *arg, int from_tty)
|
||||
@@ -275,6 +276,13 @@ target_load (char *arg, int from_tty)
|
||||
(*current_target.to_load) (arg, from_tty);
|
||||
}
|
||||
|
||||
|
|
@ -112,11 +116,11 @@ Index: gdb-6.6/gdb/target.c
|
|||
static int
|
||||
nomemory (CORE_ADDR memaddr, char *myaddr, int len, int write,
|
||||
struct target_ops *t)
|
||||
Index: gdb-6.6/gdb/target.h
|
||||
Index: gdb-6.7/gdb/target.h
|
||||
===================================================================
|
||||
--- gdb-6.6.orig/gdb/target.h
|
||||
+++ gdb-6.6/gdb/target.h
|
||||
@@ -891,8 +891,7 @@ int target_follow_fork (int follow_child
|
||||
--- gdb-6.7.orig/gdb/target.h 2007-08-23 20:08:46.000000000 +0200
|
||||
+++ gdb-6.7/gdb/target.h 2007-10-14 23:24:52.000000000 +0200
|
||||
@@ -864,8 +864,7 @@ int target_follow_fork (int follow_child
|
||||
|
||||
/* The inferior process has died. Do what is right. */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue