[PATCH] gdb: testsuite: fix ksh shebang to use sh

Mark Kettenis mark.kettenis@xs4all.nl
Thu Dec 5 19:48:00 GMT 2013


> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 05 Dec 2013 12:04:33 -0700
> 
> >>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> 
> Pedro> A lot of this gdb.hp/ stuff is probably all rotten beyond
> Pedro> salvation, but that's another story.
> 
> Yeah, it's never run by any regular developers since all the .exp files
> start:
> 
> if { ![istarget "hppa*-*-hpux*"] } {
>     verbose "HPUX test ignored for non-hppa targets."
>     return 0
> }

And /bin/sh on HP-UX is pretty crappy.  If you want anything
resembling a POSIX shell /bin/ksh was a much better choice.

I'd suggest to leave these test alone or remove them altogether.



More information about the Gdb-patches mailing list