diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-07 11:57:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-07 11:57:20 +0000 |
commit | d58a09110ccfa95f06c983fe796806f2e035c9d2 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/toolchain/gdb/patches/750-debian_sparc-singlestep.patch | |
parent | af034797eeb62b62ac05442d5a688b28ccd0f16b (diff) | |
download | mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.zip mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.gz mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.bz2 |
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
SVN-Revision: 4944
Diffstat (limited to 'openwrt/toolchain/gdb/patches/750-debian_sparc-singlestep.patch')
-rw-r--r-- | openwrt/toolchain/gdb/patches/750-debian_sparc-singlestep.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/openwrt/toolchain/gdb/patches/750-debian_sparc-singlestep.patch b/openwrt/toolchain/gdb/patches/750-debian_sparc-singlestep.patch deleted file mode 100644 index 904883c..0000000 --- a/openwrt/toolchain/gdb/patches/750-debian_sparc-singlestep.patch +++ /dev/null @@ -1,37 +0,0 @@ -Status: submitted for comments - -2004-11-13 Daniel Jacobowitz <dan@debian.org> - - * sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL. - -Index: gdb-6.3/gdb/sparc-tdep.c -=================================================================== ---- gdb-6.3.orig/gdb/sparc-tdep.c 2004-06-06 22:02:55.000000000 -0400 -+++ gdb-6.3/gdb/sparc-tdep.c 2004-11-13 17:06:05.000000000 -0500 -@@ -1026,10 +1026,10 @@ - - if (insert_breakpoints_p) - { -- CORE_ADDR pc; -+ CORE_ADDR pc, orig_npc; - - pc = sparc_address_from_register (tdep->pc_regnum); -- npc = sparc_address_from_register (tdep->npc_regnum); -+ orig_npc = npc = sparc_address_from_register (tdep->npc_regnum); - - /* Analyze the instruction at PC. */ - nnpc = sparc_analyze_control_transfer (pc, &npc); -@@ -1039,9 +1039,10 @@ - target_insert_breakpoint (nnpc, nnpc_save); - - /* Assert that we have set at least one breakpoint, and that -- they're not set at the same spot. */ -- gdb_assert (npc != 0 || nnpc != 0); -- gdb_assert (nnpc != npc); -+ they're not set at the same spot - unless we're going -+ from here straight to NULL, i.e. a call or jump to 0. */ -+ gdb_assert (npc != 0 || nnpc != 0 || orig_npc == 0); -+ gdb_assert (nnpc != npc || orig_npc == 0); - } - else - { |