At 2:58 PM -0700 5/19/02, Steve Kargl wrote:
>Finally, since you're quick with the wit, can you tell me
>how to debug the following problem when I can't compile
>the debugger.
>kargl[223] cat a.c
>#include <stdlib.h>
>int main(void) {
>    /* This isn't the problem.  The problem is with gdb. */
>    abort();
>kargl[224] !gcc
>gcc -g a.c
>kargl[225] gdb a.out
>GNU gdb 4.18
>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-unknown-freebsd"...
>Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.

This appears to be due to the switch to gcc-3.1. A bug has been filed 
in gnats on this problem (bin/38236: gdb do not work with gcc-3.1).

For now, the workaround is to use the devel/gdb52 port.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to