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

Mantis Bug Tracker noreply at opencsw.org
Tue Jun 26 16:33:29 CEST 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4967 
====================================================================== 
Reported By:                tjyang
Assigned To:                
====================================================================== 
Project:                    gcc4core
Issue ID:                   4967
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-06-26 16:23 CEST
Last Modified:              2012-06-26 16:33 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
$


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

---------------------------------------------------------------------- 
 (0009983) maciej (manager) - 2012-06-26 16:33
 https://www.opencsw.org/mantis/view.php?id=4967#c9983 
---------------------------------------------------------------------- 
Is this Solaris specific? For instance, does it work on other platforms?



More information about the bug-notifications mailing list