public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix warning: Invalid entry in .debug_gdb_scripts section
@ 2017-03-29 20:26 sergiodj+buildbot
  2017-03-29 20:26 ` Failures on Fedora-s390x-m64, branch master sergiodj+buildbot
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2017-03-29 20:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec13808ef07550f8a5f87fad1945739da1f10c81 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: ec13808ef07550f8a5f87fad1945739da1f10c81

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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-04 14:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 20:26 [binutils-gdb] Fix warning: Invalid entry in .debug_gdb_scripts section sergiodj+buildbot
2017-03-29 20:26 ` Failures on Fedora-s390x-m64, branch master sergiodj+buildbot
2017-03-29 20:59 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " sergiodj+buildbot
2017-03-29 21:21 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
2017-03-29 21:23 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-03-29 21:47 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot
2017-07-07  4:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2017-07-07 15:05 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2017-08-03 19:55 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2017-08-04 14:10 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).