* Re: [Fwd: Fix arm_addr_bits_remove: 26-bit Thumb doesn't exist] [not found] <3BD301F6.D679AB69@redhat.com> @ 2001-10-22 3:00 ` Nick Clifton 2001-10-22 6:18 ` Fernando Nasser 0 siblings, 1 reply; 2+ messages in thread From: Nick Clifton @ 2001-10-22 3:00 UTC (permalink / raw) To: Ben Harris, Fernando Nasser; +Cc: gdb-patches Hi Fernando, Hi Ben, > From: Ben Harris <bjh21@netbsd.org> > > 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 noticeable 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. > > ChangeLog entry: > > 2001-10-20 Ben Harris <bjh21@netbsd.org> > > * arm-tdep.c (arm_addr_bits_remove): Don't believe in 26-bit > Thumb. This looks like a reasonable patch to me. I do not have the authority to approve it, but I would certainly recommend it to the GDB maintainers. Cheers Nick ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Fwd: Fix arm_addr_bits_remove: 26-bit Thumb doesn't exist] 2001-10-22 3:00 ` [Fwd: Fix arm_addr_bits_remove: 26-bit Thumb doesn't exist] Nick Clifton @ 2001-10-22 6:18 ` Fernando Nasser 0 siblings, 0 replies; 2+ messages in thread From: Fernando Nasser @ 2001-10-22 6:18 UTC (permalink / raw) To: Nick Clifton; +Cc: Ben Harris, gdb-patches, Richard.Earnshaw Thank you Nick and Richard. I haven't heard anything on the contrary from Scott (native ARM) so I will check this in later today or tomorrow. Thanks for the patch Ben. Regards to all, Fernando Nick Clifton wrote: > > Hi Fernando, Hi Ben, > > > From: Ben Harris <bjh21@netbsd.org> > > > > 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 noticeable 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. > > > > ChangeLog entry: > > > > 2001-10-20 Ben Harris <bjh21@netbsd.org> > > > > * arm-tdep.c (arm_addr_bits_remove): Don't believe in 26-bit > > Thumb. > > This looks like a reasonable patch to me. I do not have the authority > to approve it, but I would certainly recommend it to the GDB > maintainers. > > Cheers > Nick -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-22 6:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <3BD301F6.D679AB69@redhat.com>
2001-10-22 3:00 ` [Fwd: Fix arm_addr_bits_remove: 26-bit Thumb doesn't exist] Nick Clifton
2001-10-22 6:18 ` Fernando Nasser
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox