This patch needs to be applied to any gdb newer then Sep 17, 2007 before using it for Maemo. (cherry picked from commit 465aa55c)