Debug! undef instr

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
kgdb,arm: remove unused GDB_BREAKINST definition

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: trivial@kernel.org
kgdb,arm: use macro in arch_kgdb_breakpoint

Replace hardcoded hexadecimal breakpoint value in arch_kgdb_breakpoint() by the
KGDB_COMPILED_BREAK macro, stringified.

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: kgdb-bugreport@lists.sourceforge.net
kgdb,arm: use macro for pc increment

Advance pc of BREAK_INSTR_SIZE in case of compiled breakpoint instead of
hardcoded 4 bytes value.

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: kgdb-bugreport@lists.sourceforge.net
kgdb,arm: use macro in arch_kgdb_ops

Use byteorder macros to deal with endianness while declaring breakpoint
instruction in arch_kgdb_ops. Use the KGDB_BREAKINST macro instead of
hardcoding the breakpoint instruction in hexadecimal.

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: kgdb-bugreport@lists.sourceforge.net
Config: ARM kernel, not thumb2

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>