diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-17 16:22:51 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-17 16:22:51 (GMT) |
commit | 8d3f0a8781cc25e75db3db4a9195816e7d3da902 (patch) | |
tree | 12a82d97590ca0d646ab8df9ddcadc74f547defd /config/debug/gdb.in | |
parent | 721da92158c37cd044ccccd3b37d1e8d0c183f39 (diff) |
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
Diffstat (limited to 'config/debug/gdb.in')
-rw-r--r-- | config/debug/gdb.in | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in new file mode 100644 index 0000000..2fd499d --- /dev/null +++ b/config/debug/gdb.in @@ -0,0 +1,75 @@ +# GDB menu + +menuconfig GDB + bool + prompt "gdb" + default n + depends on EXPERIMENTAL + help + Enable gdb for the target + +if GDB + +config GDB_CROSS + bool + prompt "Cross-gdb" + default y + help + Build and install a cross-gdb for the target, and to run on host. + +config GDB_NATIVE + bool + prompt "Native gdb" + default n + help + Build and install a native gdb for the target, to run on the target. + +choice + bool + prompt "gdb version" + +config GDB_V_snapshot + bool + prompt "snapshot" + depends on EXPERIMENTAL + +config GDB_V_6_2_1 + bool + prompt "6.2.1" + depends on OBSOLETE + +config GDB_V_6_3 + bool + prompt "6.3" + depends on OBSOLETE + +config GDB_V_6_4 + bool + prompt "6.4" + depends on OBSOLETE + +config GDB_V_6_5 + bool + prompt "6.5" + +config GDB_V_6_6 + bool + prompt "6.6" + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config GDB_VERSION + string + default "snapshot" if GDB_V_snapshot + default "6.2.1" if GDB_V_6_2_1 + default "6.3" if GDB_V_6_3 + default "6.4" if GDB_V_6_4 + default "6.5" if GDB_V_6_5 + default "6.6" if GDB_V_6_6 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +endif + |