From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Earnshaw To: Ben Harris Cc: gdb-patches@sourceware.cygnus.com, Richard.Earnshaw@arm.com Subject: Re: Fix arm_addr_bits_remove: 26-bit Thumb doesn't exist Date: Sat, 20 Oct 2001 10:46:00 -0000 Message-id: <200110201746.SAA12334@cam-mail2.cambridge.arm.com> References: X-SW-Source: 2001-10/msg00272.html > I haven't actually encountered this bug in reality yet, but it looks to me > as if arm_addr_bits_remove() is bogus. Specifically, it has a case for > Thumb state in a 26-bit mode. According to the ARM ARM (2nd Edition, > section A8.1), no processor will support both 26-bit mode and thumb state > at all, let alone at the same time. I suspect this might be a noticable > problem when debugging SVC mode code, since then R15 will have its bottom > bit set, which arm_pc_is_thumb() is likely to interpret as meaning the CPU > is in Thumb state. Yep, I agree. And also for your earlier patch. R.