This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1122: Compiling debug target with gcc -g3 crashes debugger
- From: david dot hichens at baesystems dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 6 Mar 2003 03:07:14 -0000
- Subject: c++/1122: Compiling debug target with gcc -g3 crashes debugger
- Reply-to: david dot hichens at baesystems dot com
>Number: 1122
>Category: c++
>Synopsis: Compiling debug target with gcc -g3 crashes debugger
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 06 03:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: David Hichens
>Release: 5.3
>Organization:
>Environment:
IRIX64 version 6.5 in SGI Fuel workstation (mips-sgi-irix6.5)
>Description:
Compiling a debug target using GCC version 3.2.2 with '-g3' compiler option causes the debugger to crash with 'gdb-internal-error: macro_bcache_free: Assertion '! t->bcache' failed.' after issueing the command 'info line main'. The debug target code is just a simple C 'Hello world!' program,
>How-To-Repeat:
Build debug target with gcc -g3
Open with GDB debugger 5.3
Issue command 'info line main'
>Fix:
Use GDB version 5.2.1. Problem doesn't exist with this version
>Release-Note:
>Audit-Trail:
>Unformatted: