https://bugzilla.redhat.com/show_bug.cgi?id=1184257
Jan Kratochvil <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jan.kratochvil@re | |dhat.com) | --- Comment #10 from Jan Kratochvil <[email protected]> --- It works for me with: rpm-4.12.0.1-9.fc22.x86_64 golang-1.4.2-2.fc22.x86_64 $ gdb etcd GNU gdb (GDB) Fedora 7.9-10.fc22 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from etcd...Reading symbols from /usr/lib/debug/usr/bin/etcd.debug...done. done. (gdb) l 14 15 // Package main is a simple wrapper of the real etcd entrypoint package 16 // (located at github.com/coreos/etcd/etcdmain) to ensure that etcd is still 17 // "go getable"; e.g. `go get github.com/coreos/etcd` works as expected and 18 // builds a binary in $GOBIN/etcd 19 // 20 // This package should NOT be extended or modified in any way; to modify the 21 // etcd binary, work in the `github.com/coreos/etcd/etcdmain` package. 22 // 23 (gdb) start Temporary breakpoint 1 at 0x415d66: file /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go, line 28. Starting program: /usr/bin/etcd Missing separate debuginfos, use: debuginfo-install glibc-2.21-5.fc22.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff458e700 (LWP 31725)] Temporary breakpoint 1, main.main () at /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go:28 28 func main() { Missing separate debuginfos, use: debuginfo-install libgcc-5.1.1-1.fc22.x86_64 (gdb) l 23 24 package main 25 26 import "github.com/coreos/etcd/etcdmain" 27 28 func main() { 29 etcdmain.Main() 30 } (gdb) info source Current source file is /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go Located in /usr/src/debug/etcd-2.0.9/src/github.com/coreos/etcd/main.go Contains 30 lines. Source language is go. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ golang mailing list [email protected] https://lists.fedoraproject.org/mailman/listinfo/golang
