This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Provide get_shell declaration in procfs.c
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 29 Oct 2018 06:11:00 -0400
- Subject: [binutils-gdb] Provide get_shell declaration in procfs.c
*** TEST RESULTS FOR COMMIT 30a7953dbfe3659c7bdc5b9b4c96f46903cb0254 ***
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Branch: master
Commit: 30a7953dbfe3659c7bdc5b9b4c96f46903cb0254
Provide get_shell declaration in procfs.c
The Solaris build is currently broken:
/vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c: In member function virtual void procfs_target::create_inferior(const char*, const string&, char**, int):
/vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c:3038:28: error: get_shell was not declared in this scope
const char *shell_file = get_shell ();
^~~~~~~~~
/vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c:3038:28: note: suggested alternative: getusershell
const char *shell_file = get_shell ();
^~~~~~~~~
getusershell
The following patch fixes this. Tested on amd64-pc-solaris2.11.
2018-10-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* procfs.c: Include common/pathstuff.h.