This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How to configure a cross gdb to debug natively
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: How to configure a cross gdb to debug natively
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 13 Jul 2001 18:06:16 -0300
- Cc: GDB <gdb at sourceware dot cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
- Organization: GCC Team, Red Hat
- References: <20010713132346.A28020@lucon.org><20010713134806.A28554@lucon.org>
On Jul 13, 2001, "H . J . Lu" <hjl@lucon.org> wrote:
> -if test "${target}" = "${host}"; then
> +if test "${target_os}" = "${host_os}" -a "${gdb_target_cpu}" = "${gdb_host_cpu}"; then
Please use `test ... && test ...' instead of `test ... -a ...'. The
latter is not as portable.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me