This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Enable gcore command for UnixWare - testresults
- From: Michael Snyder <msnyder at redhat dot com>
- To: rbrown64 at csc dot com dot au
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 14 Feb 2002 11:38:38 -0800
- Subject: Re: [RFA] Enable gcore command for UnixWare - testresults
- Organization: Red Hat, Inc.
- References: <OFA5064B84.CF71B223-ONCA256B60.0019F29C@int.csc.com.au>
rbrown64@csc.com.au wrote:
>
> --- gdb.sum Wed Feb 13 15:40:00 2002
> +++ ../gdb.sum Thu Feb 14 15:14:04 2002
> @@ -1,4 +1,4 @@
> -Test Run By rdb on Wed Feb 13 15:19:14 2002
> +Test Run By rdb on Thu Feb 14 14:53:12 2002
> Native configuration is i386-pc-sysv4.2uw2.1.3
>
> === gdb tests ===
> @@ -2112,7 +2112,33 @@
> PASS: gdb.base/funcargs.exp: backtrace through call with trampolines
> PASS: gdb.base/funcargs.exp: stepping back to main from function called with trampolines
> Running ../../../gdb+dejagnu-20020211/gdb/testsuite/gdb.base/gcore.exp ...
> -UNSUPPORTED: gdb.base/gcore.exp: gdb does not support gcore on this target
> +PASS: gdb.base/gcore.exp: help gcore
> +PASS: gdb.base/gcore.exp: set breakpoint at terminal_func
> +FAIL: gdb.base/gcore.exp: continue to terminal_func
Oh yeah -- that's because the breakpoint in terminal_func stops
at the curly-brace line, instead of at the "return" line.
No idea why, but this isn't critical to the test, so here's
a change that will allow either line to pass.
2002-02-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Relax recognition of function breakpoint.
Index: gcore.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/gcore.exp,v
retrieving revision 1.2
diff -p -r1.2 gcore.exp
*** gcore.exp 2002/02/05 01:15:51 1.2
--- gcore.exp 2002/02/14 19:42:02
*************** proc capture_command_output { command pr
*** 85,91 ****
gdb_test "break terminal_func" "Breakpoint .* at .*${srcfile}, line .*" \
"set breakpoint at terminal_func"
! gdb_test "continue" "Breakpoint .*, terminal_func.*" \
"continue to terminal_func"
set print_prefix ".\[0123456789\]* = "
--- 85,91 ----
gdb_test "break terminal_func" "Breakpoint .* at .*${srcfile}, line .*" \
"set breakpoint at terminal_func"
! gdb_test "continue" "Breakpoint .* terminal_func.*" \
"continue to terminal_func"
set print_prefix ".\[0123456789\]* = "