[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] for mig check in GDB's configure
From: |
Pedro Alves |
Subject: |
Re: [patch] for mig check in GDB's configure |
Date: |
Fri, 03 May 2013 15:51:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
On 05/03/2013 09:28 AM, Thomas Schwinge wrote:
> Hmm, I think that instead of only examining the host system, $host, this
> also needs to examine the target system, $target. (Please tell if the
> difference between build, host, and target system is not clear to you.)
> The MIG tool is used to generate files (from RPC definition files) that
> are used by the native GDB port for GNU Hurd (which, of couse, is the
> only GNU Hurd port that currently exists.) But if someone, for example,
> builds GDB targeting mips-linux-gnu on a GNU Hurd system, they would not
> need the MIG tool.
>
> GDB folks, would it make sense to use something like:
>
> case $gdb_native:$host in
> [...]
> yes:i[[3456]]86-*-gnu*)
> [error if MIG not found]
>
> ..., to check that both host and target are GNU Hurd?
Sure. Looking at config/i386/i386gnu.mh, NAT_GENERATED_FILES
in particular, I think gdb will want to run mig even on
cross gdbs hosted on GNU Hurd, though...
--
Pedro Alves
- Re: [patch] for mig check in GDB's configure, (continued)
- Re: [patch] for mig check in GDB's configure, Thomas Schwinge, 2013/05/16
- Re: [patch] for mig check in GDB's configure, Joel Brobecker, 2013/05/17
- Re: [patch] for mig check in GDB's configure, Yue Lu, 2013/05/17
- Re: [patch] for mig check in GDB's configure, Thomas Schwinge, 2013/05/17
- Re: [patch] for mig check in GDB's configure, Joel Brobecker, 2013/05/17
- Re: [patch] for mig check in GDB's configure, Yue Lu, 2013/05/17
- Re: [patch] for mig check in GDB's configure, Doug Evans, 2013/05/05
- Re: [patch] for mig check in GDB's configure, Yue Lu, 2013/05/05
- Re: [patch] for mig check in GDB's configure, Doug Evans, 2013/05/05
- Re: [patch] for mig check in GDB's configure, Thomas Schwinge, 2013/05/16
Re: [patch] for mig check in GDB's configure,
Pedro Alves <=
Re: [patch] for mig check in GDB's configure, Pino Toscano, 2013/05/03