OpenCloudOS-Kernel/arch/arc/kernel
Vineet Gupta 367f3fcd92 ARC: Fix the typo in event identifier flags used by ptrace
orig_r8_IS_EXCPN and orig_r8_IS_BRKPT were same values due to a
copy/paste error. Although it looks bad and is wrong, it really doesn't
affect gdb working.

orig_r8_IS_BRKPT is the one relevant to debugging (breakpoints), since
it is used to provide EFA vs. ERET to a ptrace "stop_pc" request.

So when gdb has inserted a breakpoint, orig_r8_IS_BRKPT is already set,
and anything else (i.e. orig_r8_IS_EXCPN) becoming same as it, really
doesn't hurt gdb. The corollary case, could be nasty but nobody uses the
ptrace "stop_pc" request in that case

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2013-03-20 18:45:45 +05:30
..
Makefile ARC: Hostlink Pseudo-Driver for Metaware Debugger 2013-02-15 23:16:10 +05:30
arc_hostlink.c ARC: Hostlink Pseudo-Driver for Metaware Debugger 2013-02-15 23:16:10 +05:30
arcksyms.c ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
asm-offsets.c ARC: [optim] Cache "current" in Register r25 2013-02-15 23:15:58 +05:30
clk.c ARC: [DeviceTree] Convert some Kconfig items to runtime values 2013-02-15 23:15:56 +05:30
ctx_sw.c ARC: SMP support 2013-02-15 23:16:02 +05:30
ctx_sw_asm.S ARC: Process-creation/scheduling/idle-loop 2013-02-11 20:00:38 +05:30
devtree.c ARC: make a copy of flat DT 2013-02-26 14:25:18 +05:30
disasm.c ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
entry.S ARC: Fix the typo in event identifier flags used by ptrace 2013-03-20 18:45:45 +05:30
fpu.c ARC: Process-creation/scheduling/idle-loop 2013-02-11 20:00:38 +05:30
head.S ARC: SMP support 2013-02-15 23:16:02 +05:30
irq.c ARC: [Review] Multi-platform image #3: switch to board callback 2013-02-15 23:16:14 +05:30
kgdb.c ARC: make allyesconfig build breakages 2013-03-11 19:01:09 +05:30
kprobes.c ARC: [3.9] Fallout of hlist iterator update 2013-02-15 23:16:20 +05:30
module.c ARC: DWARF2 .debug_frame based stack unwinder 2013-02-15 23:16:03 +05:30
process.c ARC: Fixup the current ABI version 2013-02-27 20:00:25 +05:30
ptrace.c ARC: ptrace support 2013-02-15 23:15:59 +05:30
reset.c ARC: Boot #1: low-level, setup_arch(), /proc/cpuinfo, mem init 2013-02-15 23:15:54 +05:30
setup.c ARC: ABIv3: Print the correct ABI ver 2013-03-11 19:01:09 +05:30
signal.c ARC: [Review] Prevent incorrect syscall restarts 2013-02-15 23:15:50 +05:30
smp.c ARC: [Review] Multi-platform image #7: SMP common code to use callbacks 2013-02-15 23:16:16 +05:30
stacktrace.c ARC: stacktracing APIs based on dw2 unwinder 2013-02-15 23:16:04 +05:30
sys.c ARC: ABIv3: fork/vfork wrappers not needed in "no-legacy-syscall" ABI 2013-03-11 19:01:10 +05:30
time.c ARC: 64bit RTSC timestamp hardware issue 2013-02-15 23:16:20 +05:30
traps.c ARC: kgdb support 2013-02-15 23:16:07 +05:30
troubleshoot.c ARC: Diagnostics: show_regs() etc 2013-02-15 23:16:02 +05:30
unaligned.c ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
unwind.c ARC: DWARF2 .debug_frame based stack unwinder 2013-02-15 23:16:03 +05:30
vmlinux.lds.S ARC: [Review] Multi-platform image #4: Isolate platform headers 2013-02-15 23:16:14 +05:30