diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-09-20 11:23:27 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-09-20 11:23:27 +0200 |
commit | 4206c05ea1542c413a4a361c29cbbd206861946c (patch) | |
tree | 17ea384e07a0be13abd196afb3127f8b78b7517b /binutils | |
parent | 3d282ac37064ec0105d3aa3f379f7fb8af98759c (diff) | |
download | gdb-4206c05ea1542c413a4a361c29cbbd206861946c.zip gdb-4206c05ea1542c413a4a361c29cbbd206861946c.tar.gz gdb-4206c05ea1542c413a4a361c29cbbd206861946c.tar.bz2 |
Provide pid_to_exec_file on Solaris (PR tdep/17903)
While looking through gdb.log, I found that two tests FAIL like this:
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0x00400dc4 in ?? ()
(gdb) FAIL: gdb.base/attach.exp: attach2, with no file
The other is gdb.base/quit-live.exp. I've implemented the following
patch that fixes both failures, only then detecting that I'd previously
reported the issue as PR tdep/17903.
Tested on amd64-pc-solaris2.10 and amd64-pc-solaris2.11.
PR tdep/17903
* procfs.c (procfs_target): Declare pid_to_exec_file.
(procfs_target::pid_to_exec_file): New.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions