Bug 1429598 - warning: Invalid entry in .debug_gdb_scripts section
Summary: warning: Invalid entry in .debug_gdb_scripts section
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kratochvil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-06 16:35 UTC by Igor Gnatenko
Modified: 2017-03-29 20:03 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-03-29 20:03:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2017-03-06 16:35:32 UTC
[brain@ignatenko-w541 ripgrep]$ rust-gdb rg
GNU gdb (GDB) Fedora 7.12.50.20170226-4.fc27
Copyright (C) 2017 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 rg...Reading symbols from /usr/lib/debug/usr/bin/rg.debug...done.
done.
warning: Invalid entry in .debug_gdb_scripts section

Comment 1 Josh Stone 2017-03-15 22:28:38 UTC
As far as I can tell, the script is still loaded fine.

(gdb) info auto-load python-scripts
Loaded  Script
Yes     gdb_load_rust_pretty_printers.py
        full name: /usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py


Jan Kratochvil told me that GDB is complaining because that section is marked NOBITS, which he thought was a bug in GDB.

Comment 2 Jan Kratochvil 2017-03-16 16:39:37 UTC
https://sourceware.org/ml/gdb-patches/2017-03/msg00263.html
[patch] Fix warning: Invalid entry in .debug_gdb_scripts section

Comment 3 Jan Kratochvil 2017-03-29 20:03:10 UTC
It is now checked in upstream.  It will get to F-26 after the next rebase.
https://sourceware.org/ml/gdb-patches/2017-03/msg00512.html


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