This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
After editting gdb/config.h to add the following defines gdb-19990121 #define HAVE_PSTATUS_T 1 #define HAVE_NO_PRRUN_T 1 #define UNIXWARE 1 #define PROCFS_USE_READ_WRITE 1 linked on UnixWare 2.1.1 - my previous link failure was a furphy from UnixWare process limits. From a quick look I think that minor modifications to gdb/procfs.c can allow autoconf to drive this - HAVE_PSTATUS_T is set in bfd and I think a HAVE_PRRUN_T may control the rest. $ ulimit -a # Link worked time(seconds) unlimited file(blocks) 2097152 data(kbytes) 32768 stack(kbytes) 16384 coredump(blocks) 32768 nofiles(descriptors) 64 vmemory(kbytes) unlimited The build doesn't work as a debugger - but still passes ~2000 tests. $ gdb/gdb gdb/gdb GNU gdb 19990121 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-sysv4.2uw2.1.1"... (gdb) b main Breakpoint 1 at 0x80c3c44: file /net/reckless/devel/tmp/gdb-19990121/gdb/main.c, line 89. (gdb) r Starting program: /var/src/gdb-19990121.obj/gdb/gdb /proc/02088: Is a directory. can't open process file (gdb) $ $ Native configuration is i386-pc-sysv4.2uw2.1.1 === gdb tests === Running target unix FAIL: gdb.base/a1-selftest.exp: run until breakpoint at main FAIL: gdb.base/a2-run.exp: (timeout) run "run" with arg FAIL: gdb.base/a2-run.exp: (timeout) run "run" again with same args FAIL: gdb.base/a2-run.exp: (timeout) run after setting args to nil ... FAIL: gdb.trace/tfind.exp: running to main in runto FAIL: gdb.trace/while-dyn.exp: running to main in runto === gdb Summary === # of expected passes 2098 # of unexpected failures 1259 # of unexpected successes 4 # of expected failures 23 # of unresolved testcases 2288 /var/src/gdb-19990121.obj/gdb/testsuite/../../gdb/gdb version 19990121 -nx Compiler version: 19990121 -nx gdb Platform: i386-pc-sysv4.2uw2.1.1 configure flags: --host=i386-pc-sysv4.2uw2.1.1 --norecursion Counting all warnings, there are 11 warnings in stage0 of this bootstrap. Number of warnings per file: 10 /net/reckless/devel/tmp/gdb-19990121/gdb/procfs.c 1 /net/reckless/devel/tmp/gdb-19990121/gdb/testsuite/gdb.c++/templates.cc Number of warning types: 5 passing arg ??? of \`???' from incompatible pointer type 2 data definition has no type or storage class 2 assignment from incompatible pointer type 1 no semicolon at end of struct or union 1 ANSI C++ forbids declaration \`???' with no type