[bug-notifications] [gdb 0004967]: Can't use gdb to list out source code from gccgo compiled binary with -g option

Mantis Bug Tracker noreply at opencsw.org
Wed Jul 25 09:01:19 CEST 2012


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4967 
====================================================================== 
Reported By:                tjyang
Assigned To:                pfelecan
====================================================================== 
Project:                    gdb
Issue ID:                   4967
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-06-26 16:23 CEST
Last Modified:              2012-07-25 09:01 CEST
====================================================================== 
Summary:                    Can't use gdb to list out source code from gccgo
compiled binary with -g option
Description: 
The test helloworld.go was compiled and ran ok  by gccgo 4.7.1as shown
below. 
But when doing a debugging session to list out source code, it failed.

$ cat helloworld.go
package main

import "fmt"

func main() {
        fmt.Println("Hello, World")
}
$ ./hellow
Hello, World
$


====================================================================== 

---------------------------------------------------------------------- 
 (0010055) pfelecan (manager) - 2012-07-25 09:01
 https://www.opencsw.org/mantis/view.php?id=4967#c10055 
---------------------------------------------------------------------- 
The freshly released package of gdb 7.41 should solve this issue.



More information about the bug-notifications mailing list