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] Fix calling gcore when gdb is not in $PATH.


On Fri, 11 Oct 2013 20:22:05 +0200, Luis Machado wrote:
> Hmmm... unless there is some discrepancy between shell interpreters,
> mine (bash) does the following:

OK, true, it works thanks to the 'which' command there.

But then why you have there the conditional
	if test "x$binary_path" = x. ; then
?
You can run the 'which' block every time and it will work.


Jan


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