Bug 8227 - Compiling debug target with gcc -g3 crashes debugger
Summary: Compiling debug target with gcc -g3 crashes debugger
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: c++ (show other bugs)
Version: 5.3
: P3 normal
Target Milestone: 7.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-06 03:08 UTC by david.hichens
Modified: 2010-01-20 21:09 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.