Bug 8227

Summary: Compiling debug target with gcc -g3 crashes debugger
Product: gdb Reporter: david.hichens
Component: c++Assignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: gdb-prs, tromey
Priority: P3    
Version: 5.3   
Target Milestone: 7.0   
Host: Target:
Build: Last reconfirmed:

Description david.hichens 2003-03-06 03:08:00 UTC
[Converted from Gnats 1122]

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,

Release:
5.3

Environment:
IRIX64 version 6.5 in SGI Fuel workstation (mips-sgi-irix6.5)

How-To-Repeat:
Build debug target with gcc -g3
Open with GDB debugger 5.3
Issue command 'info line main'
Comment 1 david.hichens 2003-03-06 03:08:00 UTC
Fix:
Use GDB version 5.2.1. Problem doesn't exist with this version
Comment 2 Tom Tromey 2010-01-20 21:09:30 UTC
I am pretty sure that this bug has since been fixed.
If you can reproduce it with a newer gdb, please reopen this bug.