Bug 1002415 - /etc/gdbinit.d/golang fix
Summary: /etc/gdbinit.d/golang fix
Keywords:
Status: CLOSED DUPLICATE of bug 981356
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: 19
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Goode
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-29 07:23 UTC by Jan Kratochvil
Modified: 2014-07-08 15:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-08 15:36:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2013-08-29 07:23:19 UTC
Description of problem:
/etc/gdbinit.d/golang currently is not loaded (GDB Bug 981520).
But it should be implemented differently anyway.

Version-Release number of selected component (if applicable):
golang-1.1.1-5.fc19.x86_64

Additional info:
I do not see how /usr/lib64/golang/src/pkg/runtime/runtime-gdb.py can get executed because /usr/lib64/golang/src/pkg/runtime/runtime does not exist.
But if /usr/lib64/golang/src/pkg/runtime/runtime really exists then there should be file:
/usr/share/gdb/auto-load/usr/lib64/golang/src/pkg/runtime/runtime-gdb.py

Such file does not need any extra add-auto-load-safe-path.

Some packages use just a stub there to load the script from different location, for example:
/usr/share/gdb/auto-load/usr/lib64/libglib-2.0.so.0.3600.3-gdb.py

Comment 1 Vincent Batts 2014-07-08 15:36:15 UTC

*** This bug has been marked as a duplicate of bug 981356 ***


Note You need to log in before you can comment on or make changes to this bug.