diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-17 16:22:51 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-17 16:22:51 +0000 |
commit | 8d3f0a8781cc25e75db3db4a9195816e7d3da902 (patch) | |
tree | 12a82d97590ca0d646ab8df9ddcadc74f547defd /patches/gdb/6.3/770-debian_vfork-done-spelling.patch | |
parent | 721da92158c37cd044ccccd3b37d1e8d0c183f39 (diff) | |
download | crosstool-ng-8d3f0a8781cc25e75db3db4a9195816e7d3da902.tar.gz crosstool-ng-8d3f0a8781cc25e75db3db4a9195816e7d3da902.tar.bz2 crosstool-ng-8d3f0a8781cc25e75db3db4a9195816e7d3da902.zip |
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 'patches/gdb/6.3/770-debian_vfork-done-spelling.patch')
-rw-r--r-- | patches/gdb/6.3/770-debian_vfork-done-spelling.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/gdb/6.3/770-debian_vfork-done-spelling.patch b/patches/gdb/6.3/770-debian_vfork-done-spelling.patch new file mode 100644 index 00000000..f65db8d0 --- /dev/null +++ b/patches/gdb/6.3/770-debian_vfork-done-spelling.patch @@ -0,0 +1,31 @@ +Index: gdb-6.3/gdb/linux-nat.c +=================================================================== +--- gdb-6.3.orig/gdb/linux-nat.c 2004-11-14 00:36:41.000000000 -0500 ++++ gdb-6.3/gdb/linux-nat.c 2004-11-15 11:51:43.954161476 -0500 +@@ -69,7 +69,7 @@ + #define PTRACE_EVENT_VFORK 2 + #define PTRACE_EVENT_CLONE 3 + #define PTRACE_EVENT_EXEC 4 +-#define PTRACE_EVENT_VFORKDONE 5 ++#define PTRACE_EVENT_VFORK_DONE 5 + #define PTRACE_EVENT_EXIT 6 + + #endif /* PTRACE_EVENT_FORK */ +@@ -362,7 +362,7 @@ child_follow_fork (int follow_child) + + ptrace (PTRACE_CONT, parent_pid, 0, 0); + waitpid (parent_pid, &status, __WALL); +- if ((status >> 16) != PTRACE_EVENT_VFORKDONE) ++ if ((status >> 16) != PTRACE_EVENT_VFORK_DONE) + warning ("Unexpected waitpid result %06x when waiting for " + "vfork-done", status); + } +@@ -434,7 +434,7 @@ child_follow_fork (int follow_child) + generally not encounter vfork (vfork is defined to fork + in libpthread.so). + +- The holding part is very easy if we have VFORKDONE events; ++ The holding part is very easy if we have VFORK_DONE events; + but keeping track of both processes is beyond GDB at the + moment. So we don't expose the parent to the rest of GDB. + Instead we quietly hold onto it until such time as we can |