From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Earnshaw To: Andrew Cagney , gdb-patches@sourceware.cygnus.com Cc: Ben Harris , Trevor Woolven , Jim blandy , Todd Vierling , Richard.Earnshaw@arm.com Subject: [patch]: Software single-stepping on ARMs Date: Mon, 22 Oct 2001 04:18:00 -0000 Message-id: <200110221117.MAA07835@cam-mail2.cambridge.arm.com> References: <200110221104.MAA06894@cam-mail2.cambridge.arm.com> X-SW-Source: 2001-10/msg00298.html This patch enables support for software single-stepping on ARM processors. This is required for NetBSD, and a good idea on some older linux kernels, where single-stepping tended to work erratically. Richard Earnshaw * arm-tdep.c (arm_software_single_step): New function. (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only needed for software single-stepping.