[ob] Fix arm-elf build
Daniel Jacobowitz
drow@false.org
Mon Mar 28 19:53:00 GMT 2005
Paul pointed out that I broke the arm-elf build by not updating
remote-rdi.c. I missed that arm_pc_is_thumb_dummy was global.
Committed as obvious.
--
Daniel Jacobowitz
CodeSourcery, LLC
2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
* remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
arm_pc_is_thumb_dummy.
Index: gdb/remote-rdi.c
===================================================================
RCS file: /big/fsf/rsync/src-cvs/src/gdb/remote-rdi.c,v
retrieving revision 1.41
diff -u -p -r1.41 remote-rdi.c
--- gdb/remote-rdi.c 17 Feb 2005 13:49:55 -0000 1.41
+++ gdb/remote-rdi.c 28 Mar 2005 19:26:26 -0000
@@ -675,7 +675,7 @@ arm_rdi_insert_breakpoint (CORE_ADDR add
struct local_bp_list_entry *entry;
int type = RDIPoint_EQ;
- if (arm_pc_is_thumb (addr) || arm_pc_is_thumb_dummy (addr))
+ if (arm_pc_is_thumb (addr))
type |= RDIPoint_16Bit;
rslt = angel_RDI_setbreak (addr, type, 0, &point);
if (rslt != RDIError_NoError)
More information about the Gdb-patches
mailing list