This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / KNOWNBUGS
index 6c65458..59c46c9 100644 (file)
--- a/KNOWNBUGS
+++ b/KNOWNBUGS
@@ -19,7 +19,30 @@ keyboard problems.
        The gdb in the release will not work on shared objects nor will it
        work with C++ executables.  Please use the gdb in the ports area for
        debugging shared and/or C++ code.  This is just a work-around until
        The gdb in the release will not work on shared objects nor will it
        work with C++ executables.  Please use the gdb in the ports area for
        debugging shared and/or C++ code.  This is just a work-around until
-       we can transition to the new version of gdb completely.
+       we can transition to the new version of gdb completely.  See below.
+
+/usr/gnu/bin/gdb:
+       This is the gdb from the ports area (if installed), also known as
+       gdb-4.11.  There is a problem using gdb-4.11 to debug a core-file
+       generated by a binary which uses shared libraries. The problem is
+       basically due to the fact that the shared libraries are mmap'ed at
+       addresses in the memory space of the binary which are not accessible
+       to gdb-4.11 at the time that it tries to examine the core-file. This
+       usually manifests itself in "Cannot access memory at address <foo>"
+       messages at startup and "#0  <bar> in end ()" when you try to do
+       a backtrace ("bt").
+
+       Workaround: start gdb-4.11 without reference to the core-file,
+       e.g. "gdb fubar". Set a breakpoint in main and run the inferior
+       so that gdb-4.11 can resolve references to the shared libraries.
+       After this, use the "core-file" command to force gdb-4.11 to
+       load the core-file, e.g. "core-file fubar.core". Since all
+       shared library references were previously resolved gdb-4.11 can
+       now access the shared libraries and things like "bt" now work.
+       You will also be able to reference items previously on the stack
+       (from the core file), but all globals will show up as zero'd.
+       All these problems may be avoided if you compile the application
+       with -static.
 
 /sys/i386/isa/if_ep.c
        The 3c509 driver will hang under heavy network loads and take your
 
 /sys/i386/isa/if_ep.c
        The 3c509 driver will hang under heavy network loads and take your
@@ -29,18 +52,6 @@ keyboard problems.
        Workaround: Try a "ifconfig ep0 down" and a "ifconfig ep0 up"
        to get it running again.
 
        Workaround: Try a "ifconfig ep0 down" and a "ifconfig ep0 up"
        to get it running again.
 
-
-/sys/i386/boot
-       DO NOT ATTEMPT TO REBUILD THE BOOT BLOCKS.  There is currently
-       a problem in that the boot block code has grown and if you build
-       it with the new version of as and install them you will NOT BE
-       ABLE TO BOOT YOUR SYSTEM.  This problem will be fixed before
-       the 1.1 release is ship, and should only exist with the 1.1 BETA
-       release.
-
-       The boot block binaries shipped with the 1.1 BETA release were
-       built using an older version of as and can be installed safely.
-
 /sys/i386/isa/bt742a.c
        The Bt445S and Bt747 controllers can cause problems when ISA DMA
        is selected as an option.  With the EISA controller the remedy is
 /sys/i386/isa/bt742a.c
        The Bt445S and Bt747 controllers can cause problems when ISA DMA
        is selected as an option.  With the EISA controller the remedy is
@@ -62,4 +73,4 @@ keyboard problems.
        Problem is already known by the gawk maintainers and will be fixed
        in the next release of gawk.
 
        Problem is already known by the gawk maintainers and will be fixed
        in the next release of gawk.
 
-$Id: KNOWNBUGS,v 1.10 1994/03/21 15:13:20 ache Exp $
+$Id: KNOWNBUGS,v 1.12 1994/03/29 08:52:55 jkh Exp $