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


--- 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
+FAIL: gdb.base/gcore.exp: save a corefile
+PASS: gdb.base/gcore.exp: re-load generated corefile
+PASS: gdb.base/gcore.exp: where in corefile, pattern 1
+PASS: gdb.base/gcore.exp: where in corefile, pattern 2
+PASS: gdb.base/gcore.exp: where in corefile, pattern 3
+PASS: gdb.base/gcore.exp: where in corefile, pattern 4
+PASS: gdb.base/gcore.exp: where in corefile, pattern 5
+PASS: gdb.base/gcore.exp: where in corefile, pattern 6
+PASS: gdb.base/gcore.exp: where in corefile, pattern 7
+PASS: gdb.base/gcore.exp: where in corefile, pattern 8
+PASS: gdb.base/gcore.exp: where in corefile, pattern 9 + sentinel
+PASS: gdb.base/gcore.exp: corefile restored general registers
+PASS: gdb.base/gcore.exp: corefile restored all registers
+PASS: gdb.base/gcore.exp: extern_array = {1, 2, 3, 4}
+PASS: gdb.base/gcore.exp: corefile restored extern array
+PASS: gdb.base/gcore.exp: static_array = {5, 6, 7, 8}
+PASS: gdb.base/gcore.exp: corefile restored static array
+PASS: gdb.base/gcore.exp: uninit_array = {9, 10, 11, 12}
+PASS: gdb.base/gcore.exp: corefile restored un-initialized array
+PASS: gdb.base/gcore.exp: heap_string = 0x8049850 "I'm a little teapot, short and stout..."
+PASS: gdb.base/gcore.exp: corefile restored heap array
+PASS: gdb.base/gcore.exp: local_array = {13, 14, 15, 16}
+PASS: gdb.base/gcore.exp: corefile restored stack array
+PASS: gdb.base/gcore.exp: corefile restored backtrace
 Running ../../../gdb+dejagnu-20020211/gdb/testsuite/gdb.base/gdbvars.exp ...
 PASS: gdb.base/gdbvars.exp: Set value-history[1] using $1
 PASS: gdb.base/gdbvars.exp: Set value-history[2] using $2
@@ -7972,12 +7998,12 @@

            === gdb Summary ===

-# of expected passes         6992
-# of unexpected failures     341
+# of expected passes         7017
+# of unexpected failures     343
 # of unexpected successes    3
 # of expected failures       268
 # of unresolved testcases    101
 # of untested testcases            1
-# of unsupported tests       3
+# of unsupported tests       2
 /var/src/gdb+dejagnu-20020211.obj/gdb/testsuite/../../gdb/gdb version  20020211 -nx

--- gdb.sum Wed Feb 13 15:48:25 2002
+++ ../gdb.sum    Thu Feb 14 15:23:41 2002
@@ -1,4 +1,4 @@
-Test Run By rdb on Wed Feb 13 15:27:18 2002
+Test Run By rdb on Thu Feb 14 15:02:29 2002
 Native configuration is i686-unknown-sysv5UnixWare7.1.0

            === gdb tests ===
@@ -2099,7 +2099,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
+FAIL: gdb.base/gcore.exp: save a corefile
+PASS: gdb.base/gcore.exp: re-load generated corefile
+PASS: gdb.base/gcore.exp: where in corefile, pattern 1
+PASS: gdb.base/gcore.exp: where in corefile, pattern 2
+PASS: gdb.base/gcore.exp: where in corefile, pattern 3
+PASS: gdb.base/gcore.exp: where in corefile, pattern 4
+PASS: gdb.base/gcore.exp: where in corefile, pattern 5
+PASS: gdb.base/gcore.exp: where in corefile, pattern 6
+PASS: gdb.base/gcore.exp: where in corefile, pattern 7
+PASS: gdb.base/gcore.exp: where in corefile, pattern 8
+PASS: gdb.base/gcore.exp: where in corefile, pattern 9 + sentinel
+PASS: gdb.base/gcore.exp: corefile restored general registers
+PASS: gdb.base/gcore.exp: corefile restored all registers
+PASS: gdb.base/gcore.exp: extern_array = {1, 2, 3, 4}
+PASS: gdb.base/gcore.exp: corefile restored extern array
+PASS: gdb.base/gcore.exp: static_array = {5, 6, 7, 8}
+PASS: gdb.base/gcore.exp: corefile restored static array
+PASS: gdb.base/gcore.exp: uninit_array = {9, 10, 11, 12}
+PASS: gdb.base/gcore.exp: corefile restored un-initialized array
+PASS: gdb.base/gcore.exp: heap_string = 0x8049a70 "I'm a little teapot, short and stout..."
+PASS: gdb.base/gcore.exp: corefile restored heap array
+PASS: gdb.base/gcore.exp: local_array = {13, 14, 15, 16}
+PASS: gdb.base/gcore.exp: corefile restored stack array
+PASS: gdb.base/gcore.exp: corefile restored backtrace
 Running ../../../gdb+dejagnu-20020211/gdb/testsuite/gdb.base/gdbvars.exp ...
 PASS: gdb.base/gdbvars.exp: Set value-history[1] using $1
 PASS: gdb.base/gdbvars.exp: Set value-history[2] using $2
@@ -8007,7 +8033,14 @@
 gdb compile failed, /usr/local/lib/gcc-lib/i686-UnixWare7.1.0-sysv5/2.95.2/ld: cannot find -lpthread
 collect2: ld returned 1 exit status
 PASS: gdb.threads/gcore-thread.exp: successfully compiled posix threads test case
-UNSUPPORTED: gdb.threads/gcore-thread.exp: gdb does not support gcore on this target
+PASS: gdb.threads/gcore-thread.exp: help gcore
+PASS: gdb.threads/gcore-thread.exp: thread 1 is running
+PASS: gdb.threads/gcore-thread.exp: thread 2 is running
+FAIL: gdb.threads/gcore-thread.exp: save a corefile
+PASS: gdb.threads/gcore-thread.exp: re-load generated corefile
+PASS: gdb.threads/gcore-thread.exp: corefile contains at least two threads
+PASS: gdb.threads/gcore-thread.exp: a corefile thread is executing thread2
+PASS: gdb.threads/gcore-thread.exp: thread2 is current thread in corefile
 Running ../../../gdb+dejagnu-20020211/gdb/testsuite/gdb.threads/linux-dp.exp ...
 Running ../../../gdb+dejagnu-20020211/gdb/testsuite/gdb.threads/pthreads.exp ...
 gdb compile failed, /usr/local/lib/gcc-lib/i686-UnixWare7.1.0-sysv5/2.95.2/ld: cannot find -lpthreads
@@ -8195,11 +8228,10 @@

            === gdb Summary ===

-# of expected passes         7747
-# of unexpected failures     83
+# of expected passes         7779
+# of unexpected failures     86
 # of unexpected successes    10
 # of expected failures       95
 # of untested testcases            1
-# of unsupported tests       2
 /devel/src/gdb+dejagnu-20020211.obj/gdb/testsuite/../../gdb/gdb version  20020211 -nx

gdb/testsuite/gdb.log excerpts - is the long file path confusing expect?

(gdb) PASS: gdb.base/gcore.exp: set breakpoint at terminal_func
continue
Continuing.

Breakpoint 2, 0x0804865c in terminal_func () at ../../../gdb+dejagnu-20020211/gdb/testsuite/gdb.base/gcore.c:16
16      }
(gdb) FAIL: gdb.base/gcore.exp: continue to terminal_func
backtrace

(gdb) print extern_array
$5 = {1, 2, 3, 4}
(gdb) gcore /devel/src/gdb+dejagnu-20020211.obj/gdb/testsuite/gdb.base/gcore.te ^Mst
Saved corefile /devel/src/gdb+dejagnu-20020211.obj/gdb/testsuite/gdb.base/gcore.test
(gdb) FAIL: gdb.base/gcore.exp: save a corefile

(gdb) PASS: gdb.threads/gcore-thread.exp: thread 2 is running
gcore /devel/src/gdb+dejagnu-20020211.obj/gdb/testsuite/gdb.threads/gcore ^M.test
Saved corefile /devel/src/gdb+dejagnu-20020211.obj/gdb/testsuite/gdb.threads/gcore.test
(gdb) FAIL: gdb.threads/gcore-thread.exp: save a corefile




Rodney,

Here's the last change required to enable the gcore command for unixware.

Michael

2002-02-13  Michael Snyder  <msnyder@redhat.com>

 * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.


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