c++/1122: Compiling debug target with gcc -g3 crashes debugger

david.hichens@baesystems.com david.hichens@baesystems.com
Thu Mar 6 22:19:00 GMT 2003


>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:



More information about the Gdb-prs mailing list