Rebase to FSF GDB 7.10.50.20151027 (trunk snapshot).
This commit is contained in:
parent
ebe9b7c7c7
commit
23f398e61a
25 changed files with 1793 additions and 3678 deletions
|
|
@ -3,10 +3,10 @@
|
|||
Port to GDB-6.8pre.
|
||||
Remove the `[' character from the GDB-6.8 default message.
|
||||
|
||||
Index: gdb-7.9.50.20150531/gdb/testsuite/gdb.base/fork-detach.c
|
||||
Index: gdb-7.10.50.20151027/gdb/testsuite/gdb.base/fork-detach.c
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ gdb-7.9.50.20150531/gdb/testsuite/gdb.base/fork-detach.c 2015-05-31 18:23:49.008450716 +0200
|
||||
+++ gdb-7.10.50.20151027/gdb/testsuite/gdb.base/fork-detach.c 2015-10-27 22:38:46.693459569 +0100
|
||||
@@ -0,0 +1,57 @@
|
||||
+/* This testcase is part of GDB, the GNU debugger.
|
||||
+
|
||||
|
|
@ -65,10 +65,10 @@ Index: gdb-7.9.50.20150531/gdb/testsuite/gdb.base/fork-detach.c
|
|||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
Index: gdb-7.9.50.20150531/gdb/testsuite/gdb.base/fork-detach.exp
|
||||
Index: gdb-7.10.50.20151027/gdb/testsuite/gdb.base/fork-detach.exp
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ gdb-7.9.50.20150531/gdb/testsuite/gdb.base/fork-detach.exp 2015-05-31 18:23:49.008450716 +0200
|
||||
+++ gdb-7.10.50.20151027/gdb/testsuite/gdb.base/fork-detach.exp 2015-10-27 22:38:46.693459569 +0100
|
||||
@@ -0,0 +1,36 @@
|
||||
+# Copyright 2007 Free Software Foundation, Inc.
|
||||
+
|
||||
|
|
@ -106,11 +106,11 @@ Index: gdb-7.9.50.20150531/gdb/testsuite/gdb.base/fork-detach.exp
|
|||
+gdb_test "" \
|
||||
+ "Detaching after fork from child process.*\\\[Inferior .* exited normally\\\]" \
|
||||
+ "Info message caught"
|
||||
Index: gdb-7.9.50.20150531/gdb/infrun.c
|
||||
Index: gdb-7.10.50.20151027/gdb/infrun.c
|
||||
===================================================================
|
||||
--- gdb-7.9.50.20150531.orig/gdb/infrun.c 2015-05-31 18:23:41.703405617 +0200
|
||||
+++ gdb-7.9.50.20150531/gdb/infrun.c 2015-05-31 18:23:49.011450735 +0200
|
||||
@@ -443,7 +443,7 @@ holding the child stopped. Try \"set de
|
||||
--- gdb-7.10.50.20151027.orig/gdb/infrun.c 2015-10-27 22:38:34.333386939 +0100
|
||||
+++ gdb-7.10.50.20151027/gdb/infrun.c 2015-10-27 22:38:46.695459581 +0100
|
||||
@@ -477,7 +477,7 @@ holding the child stopped. Try \"set de
|
||||
remove_breakpoints_pid (ptid_get_pid (inferior_ptid));
|
||||
}
|
||||
|
||||
|
|
@ -119,3 +119,25 @@ Index: gdb-7.9.50.20150531/gdb/infrun.c
|
|||
{
|
||||
/* Ensure that we have a process ptid. */
|
||||
ptid_t process_ptid = pid_to_ptid (ptid_get_pid (child_ptid));
|
||||
Index: gdb-7.10.50.20151027/gdb/testsuite/gdb.base/catch-syscall.exp
|
||||
===================================================================
|
||||
--- gdb-7.10.50.20151027.orig/gdb/testsuite/gdb.base/catch-syscall.exp 2015-10-27 22:43:47.015224320 +0100
|
||||
+++ gdb-7.10.50.20151027/gdb/testsuite/gdb.base/catch-syscall.exp 2015-10-27 22:44:29.327472955 +0100
|
||||
@@ -165,7 +165,7 @@ proc check_for_program_end {} {
|
||||
# Deleting the catchpoints
|
||||
delete_breakpoints
|
||||
|
||||
- gdb_continue_to_end
|
||||
+ gdb_continue_to_end "" continue 1
|
||||
}
|
||||
|
||||
proc test_catch_syscall_without_args {} {
|
||||
@@ -236,7 +236,7 @@ proc test_catch_syscall_with_wrong_args
|
||||
# If it doesn't, everything is right (since we don't have
|
||||
# a syscall named "mlock" in it). Otherwise, this is a failure.
|
||||
set thistest "catch syscall with unused syscall ($syscall_name)"
|
||||
- gdb_continue_to_end $thistest
|
||||
+ gdb_continue_to_end $thistest continue 1
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue