Hi, A colleague at work noticed that gdb7.0 didn't support Thumb2 debugging and it appears as though the Thumb2 debugging fixes were committed after the 7.0 release branch was created. The current state of the art with Thumb2 debugging in the 7.0 release branch is that basic debug like single step doesn't work. By doesn't work I mean that I get an error such as the following on single stepping in a simple hello world program because next_pc doesn't know how to disassemble Thumb2 instructions. Could not insert single-step breakpoint at 0x249ca2 I've backported the patches here to the 7.0 release branch http://sourceware.org/ml/gdb-patches/2009-07/msg00683.html http://sourceware.org/ml/gdb-patches/2009-10/msg00679.html and tested this by building a native arm-linux-gnueabi gdb and testing specifically by running the testsuite for Thumb2 debug using a native gcc 4.4 compiler on my babbage board. The test results look very similar to the results on trunk as of yesterday. A full testsuite run is on for ARM state as well to see nothing is broken by this patch. Ok to backport ? cheers Ramana 2009-11-13 Ramana Radhakrishnan Backport from mainline. 2009-07-28 Daniel Jacobowitz * arm-tdep.c (arm_push_dummy_call): Set the low bit of LR for a Thumb entry point. (thumb_get_next_pc): Handle Thumb-2 and ARM v6 instructions. Refuse to single step into IT blocks. 2009-10-28 Daniel Jacobowitz Reported by Antti Hatala . * arm-tdep.c (thumb_get_next_pc): Limit check to IT instructions correctly. -- Ramana Radhakrishnan GNU Tools ARM Ltd.