From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: GDB Subject: How to configure a cross gdb to debug natively Date: Fri, 13 Jul 2001 13:23:00 -0000 Message-id: <20010713132346.A28020@lucon.org> X-SW-Source: 2001-07/msg00141.html I'd like to configure gdb inside a tree with binutils, gcc and gdb on Linux/i686 with # ../configure --target=i386-linux .... I do that on purpose so that gcc and binutils won't use any files on the host machine. But gdb refuses to debug natively on Linux/i686 since it is configured as a cross gdb, However, Linux/i686 is compatible with i386-linux, how can I convince gdb to debug natively? Thanks. H.J.