This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Enable gcore command for UnixWare - testresults


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\]* = "

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]