This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/19676] gdb fails with assert error if /proc is not mounted


https://sourceware.org/bugzilla/show_bug.cgi?id=19676

--- Comment #2 from Len Sorensen <lsorense at csclub dot uwaterloo.ca> ---
I grabbed master from Friday and built it and ran it.  It doesn't work either
when /proc isn't mounted, but the error is different:

root@rceng07:~# gdb /bin/ls
GNU gdb (Debian 7.11.50.20160219-0.1) 7.11.50.20160219-git
Copyright (C) 2016 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 "arm-linux-gnueabihf".
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 /bin/ls...(no debugging symbols found)...done.
(gdb) run
Starting program: /bin/ls 
__GI__dl_debug_state () at dl-debug.c:74
74      dl-debug.c: No such file or directory.
Cannot find AT_ENTRY auxiliary vector entry.
(gdb) quit
A debugging session is active.

        Inferior 1 [process 23004] will be killed.

Quit anyway? (y or n) y
root@rceng07:~# mount -t proc /proc /proc
root@rceng07:~# gdb /bin/ls
GNU gdb (Debian 7.11.50.20160219-0.1) 7.11.50.20160219-git
Copyright (C) 2016 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 "arm-linux-gnueabihf".
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 /bin/ls...(no debugging symbols found)...done.
(gdb) run
Starting program: /bin/ls 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[Inferior 1 (process 23012) exited normally]
(gdb) quit
root@rceng07:~# ls

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]