diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-15 20:42:55 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-15 20:42:55 (GMT) |
commit | e20859d74cff676bc679667554dffc209dc367ca (patch) | |
tree | d5de1e4715f469241ebd985e2a8dc66288bbb8a0 /config/debug/gdb.in.native | |
parent | 8e47201cf2c9c6a47385e2b7e65aed6715044cb4 (diff) |
debug/gdb: split menuconfig for easier maintenance
Diffstat (limited to 'config/debug/gdb.in.native')
-rw-r--r-- | config/debug/gdb.in.native | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native new file mode 100644 index 0000000..be00606 --- /dev/null +++ b/config/debug/gdb.in.native @@ -0,0 +1,38 @@ +# Menu for the native GDB + +config GDB_NATIVE + bool + prompt "Native gdb" + default n + depends on ! BARE_METAL + depends on ! BACKEND + help + Build and install a native gdb for the target, to run on the target. + +if GDB_NATIVE + +config GDB_NATIVE_STATIC + bool + prompt "Build a static native gdb" + default n + help + In case you have trouble with dynamic loading of shared libraries, + you will find that a static gdb comes in handy. + +config GDB_NATIVE_USE_GMP_MPFR + bool + prompt "Use GMP and MPFR" + default n + select GMP_TARGET + select MPFR_TARGET + help + gdb can make use of the GMP and MPFR libraries. + + While the cross-gdb (above) can use the libraries compiled for the + host, the native gdb needs the libraries for the target (where it will + eventually run). + + Setting this option will force building the GMP and MPFR libraries for + the target, and configure the native gdb to use them. + +endif # GDB_NATIVE |