This is the mail archive of the gdb-patches@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]

Re: [patch] [7.6.1] Fix argv[0] symlink regression (PR 15415)


On Wed, 04 Sep 2013 18:46:07 +0200, Yufeng Zhang wrote:
> On 08/26/13 19:21, Jan Kratochvil wrote:
> >gdb/testsuite/
> >2013-08-26  Jan Kratochvil<jan.kratochvil@redhat.com>
> >
> >         PR gdb/15415
> >         * gdb.base/argv0-symlink.c: New file.
> >         * gdb.base/argv0-symlink.exp: New file.
> 
> I wonder if the tests shall be skipped in the remote environment
> where gdb has no control over argv[0].

The testcase runs gdbserver (even in gdbserver mode) so it has control over
argv[0].  The testcase PASSes for me both with gdbserver and with gdbserver in
extended mode running on localhost (Fedora Rawhide x86_64).

If one runs gdbserver on remote host with different filesystem I believe the
testcase still should work as I test there only the latest filename component
(and latest directory component).

Could you post your FAIL gdb.log or do you have just theoretical objectives?


Thanks,
Jan


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