aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2017-03-29 21:53:43 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2017-03-29 21:53:43 +0200
commitec13808ef07550f8a5f87fad1945739da1f10c81 (patch)
treeae55aaab910cbb0840f470d2f0dd44c2609a6fe4 /bfd
parentf7c514a3784384215692c43d66f013d7640db277 (diff)
downloadbinutils-ec13808ef07550f8a5f87fad1945739da1f10c81.zip
binutils-ec13808ef07550f8a5f87fad1945739da1f10c81.tar.gz
binutils-ec13808ef07550f8a5f87fad1945739da1f10c81.tar.bz2
Fix warning: Invalid entry in .debug_gdb_scripts section
$ gdb rustc Reading symbols from rustc...Reading symbols from /usr/lib/debug/usr/bin/rustc.debug...done. done. warning: Invalid entry in .debug_gdb_scripts section /usr/bin/rustc Section Headers: [Nr] Name Type Address Off Size ES Flg Lk Inf Al [15] .debug_gdb_scripts PROGBITS 00000000000008ed 0008ed 000022 00 AMS 0 0 1 /usr/lib/debug/usr/bin/rustc.debug Section Headers: [Nr] Name Type Address Off Size ES Flg Lk Inf Al [15] .debug_gdb_scripts NOBITS 00000000000008ed 000280 000022 00 AMS 0 0 1 There remains questionable whether bfd_get_section_by_name() should not return an error for !SEC_LOAD but I haven't investigated that. gdb/ChangeLog 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com> * auto-load.c (auto_load_section_scripts): Check SEC_HAS_CONTENTS. gdb/testsuite/ChangeLog 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.python/py-section-script.exp (sepdebug): New testcases.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions