With recent glibc, every time gdb starts a program, the following is printed: warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? A patch for gdb is available here: http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html I have tested this with gdb-7.4.1 on amd64, with a native amd64 program, with glibc-2.15-r2 Note that this won't be fixed in glibc: http://sourceware.org/bugzilla/show_bug.cgi?id=13097 Reproducible: Always Steps to Reproduce: gdb -ex run true
gdb-7.5 will be out shortly, and this isn't really a regression, so i'm inclined to just wait for that
*** Bug 431400 has been marked as a duplicate of this bug. ***
*** Bug 431678 has been marked as a duplicate of this bug. ***
gdb-7.5 is in the tree now, so this should be sorted
Nope, still broken. I just merged 7.5, and it's showing the same error with linux-gate.so.1 as before. Should I open a new bug or should this one be remarked as in progress?
Reopening for consideration
Hhm, still a problem here : $ gdb -ex run true GNU gdb (Gentoo 7.6.2 p1) 7.6.2 Copyright (C) 2013 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 "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /bin/true...(no debugging symbols found)...done. Starting program: /bin/true warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Inferior 1 (process 13674) exited normally] (gdb) quit