gdb/testsuite/
* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call): Force $srcfile file. * gdb.base/foll-fork.c (callee): Comment out the printf call.
This commit is contained in:
parent
bc7c46946a
commit
d7167b4c6a
@ -1,3 +1,9 @@
|
||||
2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
|
||||
Force $srcfile file.
|
||||
* gdb.base/foll-fork.c (callee): Comment out the printf call.
|
||||
|
||||
2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* gdb.base/hbreak.exp: Disable for s390*-*-* targets.
|
||||
|
@ -9,7 +9,8 @@ void callee (i)
|
||||
int i;
|
||||
#endif
|
||||
{
|
||||
printf("callee: %d\n", i);
|
||||
/* Any output corrupts GDB CLI expect strings.
|
||||
printf("callee: %d\n", i); */
|
||||
}
|
||||
|
||||
#ifdef PROTOTYPES
|
||||
|
@ -240,7 +240,8 @@ proc catch_fork_unpatch_child {} {
|
||||
# Delete all breakpoints and catchpoints.
|
||||
delete_breakpoints
|
||||
|
||||
gdb_test "break $bp_exit" \
|
||||
# Force $srcfile as the current GDB source can be in glibc sourcetree.
|
||||
gdb_test "break $srcfile:$bp_exit" \
|
||||
"Breakpoint .*file .*$srcfile, line .*" \
|
||||
"unpatch child, breakpoint at exit call"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user