1.1 --- a/config/debug/gdb.in.cross Tue May 31 16:27:39 2011 +0200
1.2 +++ b/config/debug/gdb.in.cross Mon Jun 13 22:54:29 2011 +0400
1.3 @@ -3,10 +3,18 @@
1.4 config STATIC_TOOLCHAIN
1.5 select GDB_CROSS_STATIC if GDB_CROSS
1.6
1.7 +comment "Cross-gdb - disabled (requires expat; re-run ./configure to enable)"
1.8 + depends on !CONFIGURE_has_expat
1.9 +
1.10 +comment "Static cross-gdb - disabled (requires static expat; re-run ./configure to enable)"
1.11 + depends on STATIC_TOOLCHAIN && !CONFIGURE_has_static_expat
1.12 +
1.13 config GDB_CROSS
1.14 bool
1.15 prompt "Cross-gdb"
1.16 default y
1.17 + depends on CONFIGURE_has_expat
1.18 + depends on !STATIC_TOOLCHAIN || CONFIGURE_has_static_expat
1.19 select GDB_GDBSERVER if ! BARE_METAL
1.20 help
1.21 Build and install a cross-gdb for the target, to run on host.
1.22 @@ -16,6 +24,7 @@
1.23 config GDB_CROSS_STATIC
1.24 bool
1.25 prompt "Build a static cross gdb"
1.26 + depends on CONFIGURE_has_static_expat
1.27 help
1.28 A static cross gdb can be usefull if you debug on a machine that is
1.29 not the one that is used to compile the toolchain.