Update gdb from trunk patch
Update ncurses from trunk patch