Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * The messsages that look like
- "nextpc of 0x152a2e is 0x152a31"
- "simon: ptrace write 2 bytes at b6f669e0: 01 de"
- are printfs added by myself.
- * You can find where I did "next" by searching for the "(top-gdb)"s.
- * Here is the objdump -d -S of the surroundings of the fault:
- 00152a10 <dis_asm_read_memory>:
- /* Like target_read_memory, but slightly different parameters. */
- static int
- dis_asm_read_memory (bfd_vma memaddr, gdb_byte *myaddr, unsigned int len,
- struct disassemble_info *info)
- {
- 152a10: b580 push {r7, lr}
- 152a12: b084 sub sp, #16
- 152a14: af00 add r7, sp, #0
- 152a16: 60f8 str r0, [r7, #12]
- 152a18: 60b9 str r1, [r7, #8]
- 152a1a: 607a str r2, [r7, #4]
- 152a1c: 603b str r3, [r7, #0]
- return target_read_code (memaddr, myaddr, len);
- 152a1e: 687b ldr r3, [r7, #4]
- 152a20: 68f8 ldr r0, [r7, #12]
- 152a22: 68b9 ldr r1, [r7, #8]
- 152a24: 461a mov r2, r3
- 152a26: f093 fdfd bl 1e6624 <target_read_code>
- 152a2a: 4603 mov r3, r0
- }
- 152a2c: 4618 mov r0, r3
- 152a2e: 3710 adds r7, #16
- 152a30: 46bd mov sp, r7
- 152a32: bd80 pop {r7, pc}
- 00152a34 <dis_asm_memory_error>:
- /* Like memory_error with slightly different parameters. */
- static void
- dis_asm_memory_error (int err, bfd_vma memaddr,
- struct disassemble_info *info)
- {
- 152a34: b580 push {r7, lr}
- 152a36: b084 sub sp, #16
- 152a38: af00 add r7, sp, #0
- 152a3a: 60f8 str r0, [r7, #12]
- simark@odroid:~/build/binutils-gdb/gdb$ ./gdb --data-directory=data-directory -p $(pidof gdb) -ex "set pagination off" -ex "set stack-cache off" -ex "set code-cache off" -ex "set debug infrun 1" -ex "set debug lin-lwp 1" -ex "b target_read_code"
- GNU gdb (GDB) 7.10.50.20151102-cvs
- Copyright (C) 2015 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "armv7l-unknown-linux-gnueabihf".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word".
- Attaching to process 8381
- Reading symbols from /home/simark/build/binutils-gdb/gdb/gdb...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libdl.so.2...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libncurses.so.5...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libtinfo.so.5...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libm.so.6...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libpthread.so.0...(no debugging symbols found)...done.
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
- Reading symbols from /usr/lib/arm-linux-gnueabihf/libpython3.4m.so.1.0...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libexpat.so.1...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/liblzma.so.5...(no debugging symbols found)...done.
- Reading symbols from /usr/lib/arm-linux-gnueabihf/libbabeltrace.so.1...(no debugging symbols found)...done.
- Reading symbols from /usr/lib/arm-linux-gnueabihf/libbabeltrace-ctf.so.1...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...(no debugging symbols found)...done.
- Reading symbols from /lib/ld-linux-armhf.so.3...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libz.so.1...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libutil.so.1...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libgcc_s.so.1...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libglib-2.0.so.0...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libuuid.so.1...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libpcre.so.3...(no debugging symbols found)...done.
- Reading symbols from /lib/arm-linux-gnueabihf/libnss_files.so.2...(no debugging symbols found)...done.
- 0xb6a5b4c4 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
- Setting up the environment for debugging gdb.
- During symbol reading, debug info gives command-line macro definition with non-zero line 19: _STDC_PREDEF_H 1.
- Breakpoint 1 at 0x2bf7dc: file /home/simark/src/binutils-gdb/gdb/common/errors.c, line 54.
- cBreakpoint 2 at 0xcb282: file /home/simark/src/binutils-gdb/gdb/cli/cli-cmds.c, line 218.
- Breakpoint 3 at 0x1e6630: file /home/simark/src/binutils-gdb/gdb/target.c, line 1460.
- (top-gdb) c
- Continuing.
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0xb6a5b4c4
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: exit (ignore)
- infrun: target_wait (-1.0.0, status) =
- infrun: -1.0.0 [process -1],
- infrun: status->kind = ignore
- infrun: TARGET_WAITKIND_IGNORE
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6630
- During symbol reading, incomplete CFI data; unspecified registers (e.g., r0) at 0x1e667a.
- infrun: BPSTAT_WHAT_STOP_NOISY
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- Breakpoint 3, target_read_code (memaddr=66552, myaddr=0xbe8aff38 "@\377\212\276", len=4) at /home/simark/src/binutils-gdb/gdb/target.c:1460
- 1460 if (target_read (current_target.beneath, TARGET_OBJECT_CODE_MEMORY, NULL,
- infrun: infrun_async(0)
- (top-gdb) n
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: step-over queue now empty
- infrun: resuming [Thread 0xb6f83220 (LWP 8381)] for step-over
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=1, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6630
- simon: ptrace write 2 bytes at 5f1d0: 4a f2
- simon: ptrace write 2 bytes at 5f1d2: f4 53
- simon: ptrace write 2 bytes at 5f1d4: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- sigchld
- infrun: prepare_to_wait
- infrun: proceed: [Thread 0xb6f83220 (LWP 8381)] resumed
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- simon: ptrace write 32 bytes at 5f1d0: 02 bc 6a 46 04 b4 01 b4 df f8 10 c0 4d f8 04 cd 03 48 04 4b fe f7 32 ee fe f7 ca ed 4d e2 37 00
- simon: ptrace write 28 bytes at 5f1d4: 04 b4 01 b4 df f8 10 c0 4d f8 04 cd 03 48 04 4b fe f7 32 ee fe f7 ca ed 4d e2 37 00
- simon: ptrace write 24 bytes at 5f1d8: df f8 10 c0 4d f8 04 cd 03 48 04 4b fe f7 32 ee fe f7 ca ed 4d e2 37 00
- simon: ptrace write 20 bytes at 5f1dc: 4d f8 04 cd 03 48 04 4b fe f7 32 ee fe f7 ca ed 4d e2 37 00
- simon: ptrace write 16 bytes at 5f1e0: 03 48 04 4b fe f7 32 ee fe f7 ca ed 4d e2 37 00
- simon: ptrace write 12 bytes at 5f1e4: fe f7 32 ee fe f7 ca ed 4d e2 37 00
- simon: ptrace write 8 bytes at 5f1e8: fe f7 ca ed 4d e2 37 00
- simon: ptrace write 4 bytes at 5f1ec: 4d e2 37 00
- infrun: stop_pc = 0x1e6634
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6634
- nextpc of 0x1e6634 is 0x1e6639
- simon: ptrace write 2 bytes at 1e6638: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6638
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6638: 1c 68
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6638
- nextpc of 0x1e6638 is 0x1e663b
- simon: ptrace write 2 bytes at 1e663a: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e663a
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e663a: fb 68
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e663a
- nextpc of 0x1e663a is 0x1e663d
- simon: ptrace write 2 bytes at 1e663c: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e663c
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e663c: 18 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e663c
- nextpc of 0x1e663c is 0x1e663f
- simon: ptrace write 4 bytes at 1e663e: f0 f7 00 a0
- simon: ptrace write 2 bytes at 1e6640: 00 a0
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e663e
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 4 bytes at 1e663e: 4f f0 00 01
- simon: ptrace write 2 bytes at 1e6640: 00 01
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e663e
- nextpc of 0x1e663e is 0x1e6643
- simon: ptrace write 2 bytes at 1e6642: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6642
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6642: 7b 68
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6642
- nextpc of 0x1e6642 is 0x1e6645
- simon: ptrace write 2 bytes at 1e6644: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6644
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6644: 1a 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6644
- nextpc of 0x1e6644 is 0x1e6647
- simon: ptrace write 4 bytes at 1e6646: f0 f7 00 a0
- simon: ptrace write 2 bytes at 1e6648: 00 a0
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6646
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 4 bytes at 1e6646: 4f ea e2 73
- simon: ptrace write 2 bytes at 1e6648: e2 73
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6646
- nextpc of 0x1e6646 is 0x1e664b
- simon: ptrace write 4 bytes at 1e664a: f0 f7 00 a0
- simon: ptrace write 2 bytes at 1e664c: 00 a0
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e664a
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 4 bytes at 1e664a: cd e9 00 01
- simon: ptrace write 2 bytes at 1e664c: 00 01
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e664a
- nextpc of 0x1e664a is 0x1e664f
- simon: ptrace write 4 bytes at 1e664e: f0 f7 00 a0
- simon: ptrace write 2 bytes at 1e6650: 00 a0
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e664e
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 4 bytes at 1e664e: cd e9 02 23
- simon: ptrace write 2 bytes at 1e6650: 02 23
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e664e
- nextpc of 0x1e664e is 0x1e6653
- simon: ptrace write 2 bytes at 1e6652: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6652
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6652: 20 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6652
- nextpc of 0x1e6652 is 0x1e6655
- simon: ptrace write 2 bytes at 1e6654: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6654
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6654: 05 21
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6654
- nextpc of 0x1e6654 is 0x1e6657
- simon: ptrace write 2 bytes at 1e6656: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6656
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6656: 00 22
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6656
- nextpc of 0x1e6656 is 0x1e6659
- simon: ptrace write 2 bytes at 1e6658: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6658
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6658: bb 68
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6658
- nextpc of 0x1e6658 is 0x1e665b
- simon: ptrace write 4 bytes at 1e665a: f0 f7 00 a0
- simon: ptrace write 2 bytes at 1e665c: 00 a0
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e665a
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 4 bytes at 1e665a: 00 f0 47 f9
- simon: ptrace write 2 bytes at 1e665c: 47 f9
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6630-0x1e665e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e665a
- nextpc of 0x1e665a is 0x1e68ed
- simon: ptrace write 2 bytes at 1e68ec: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e68ec
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e68ec: f0 b5
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepped into subroutine
- infrun: inserting step-resume breakpoint at 0x1e665e
- simon: ptrace write 2 bytes at 1e665e: 01 de
- infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e68ec
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: exit (ignore)
- sigchld
- infrun: target_wait (-1.0.0, status) =
- infrun: -1.0.0 [process -1],
- infrun: status->kind = ignore
- infrun: TARGET_WAITKIND_IGNORE
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e665e
- infrun: BPSTAT_WHAT_STEP_RESUME
- simon: ptrace write 2 bytes at 1e665e: 7b 68
- infrun: stepped to a different line
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 2 bytes at b6e68784: 08 b5
- simon: ptrace write 2 bytes at b6a6d31c: 00 bf
- simon: ptrace write 2 bytes at b69f24ec: 00 bf
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- 1461 myaddr, memaddr, len) == len)
- infrun: infrun_async(0)
- (top-gdb)
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e665e
- nextpc of 0x1e665e is 0x1e6661
- simon: ptrace write 2 bytes at 1e6660: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- sigchld
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6660
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6660: 1a 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e665e-0x1e6666]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6660
- nextpc of 0x1e6660 is 0x1e6663
- simon: ptrace write 4 bytes at 1e6662: f0 f7 00 a0
- simon: ptrace write 2 bytes at 1e6664: 00 a0
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6662
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 4 bytes at 1e6662: 4f ea e2 73
- simon: ptrace write 2 bytes at 1e6664: e2 73
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e665e-0x1e6666]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6662
- nextpc of 0x1e6662 is 0x1e6667
- simon: ptrace write 2 bytes at 1e6666: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6666
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6666: 99 42
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepped to a different line
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 2 bytes at b6e68784: 08 b5
- simon: ptrace write 2 bytes at b6a6d31c: 00 bf
- simon: ptrace write 2 bytes at b69f24ec: 00 bf
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- 1460 if (target_read (current_target.beneath, TARGET_OBJECT_CODE_MEMORY, NULL,
- infrun: infrun_async(0)
- (top-gdb)
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6666
- nextpc of 0x1e6666 is 0x1e6669
- simon: ptrace write 2 bytes at 1e6668: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- sigchld
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6668
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6668: 08 bf
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6666-0x1e666e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6668
- nextpc of 0x1e6668 is 0x1e666b
- simon: ptrace write 2 bytes at 1e666a: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e666a
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e666a: 90 42
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6666-0x1e666e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e666a
- nextpc of 0x1e666a is 0x1e666d
- simon: ptrace write 2 bytes at 1e666c: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e666c
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e666c: 01 d1
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6666-0x1e666e]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e666c
- nextpc of 0x1e666c is 0x1e666f
- simon: ptrace write 2 bytes at 1e666e: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e666e
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e666e: 00 23
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepped to a different line
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 2 bytes at b6e68784: 08 b5
- simon: ptrace write 2 bytes at b6a6d31c: 00 bf
- simon: ptrace write 2 bytes at b69f24ec: 00 bf
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- 1462 return 0;
- infrun: infrun_async(0)
- (top-gdb)
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e666e
- nextpc of 0x1e666e is 0x1e6671
- simon: ptrace write 2 bytes at 1e6670: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- sigchld
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6670
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6670: 01 e0
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e666e-0x1e6672]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6670
- nextpc of 0x1e6670 is 0x1e6677
- simon: ptrace write 2 bytes at 1e6676: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6676
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6676: 18 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepped to a different line
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 2 bytes at b6e68784: 08 b5
- simon: ptrace write 2 bytes at b6a6d31c: 00 bf
- simon: ptrace write 2 bytes at b69f24ec: 00 bf
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- 1465 }
- infrun: infrun_async(0)
- (top-gdb)
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6676
- nextpc of 0x1e6676 is 0x1e6679
- simon: ptrace write 2 bytes at 1e6678: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- sigchld
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e6678
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e6678: 14 37
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6676-0x1e6680]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e6678
- nextpc of 0x1e6678 is 0x1e667b
- simon: ptrace write 2 bytes at 1e667a: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e667a
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e667a: bd 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6676-0x1e6680]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e667a
- nextpc of 0x1e667a is 0x1e667d
- simon: ptrace write 2 bytes at 1e667c: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x1e667c
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 1e667c: 90 bd
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepping inside range [0x1e6676-0x1e6680]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x1e667c
- nextpc of 0x1e667c is 0x152a2b
- simon: ptrace write 2 bytes at 152a2a: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x152a2a
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 152a2a: 03 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: keep going
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x152a2a
- nextpc of 0x152a2a is 0x152a2d
- simon: ptrace write 2 bytes at 152a2c: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- infrun: stop_pc = 0x152a2c
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- simon: ptrace write 2 bytes at 152a2c: 18 46
- infrun: delayed software breakpoint trap, ignoring
- infrun: stepped to a different line
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 2 bytes at b6e68784: 08 b5
- simon: ptrace write 2 bytes at b6a6d31c: 00 bf
- simon: ptrace write 2 bytes at b69f24ec: 00 bf
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- dis_asm_read_memory (memaddr=66552, myaddr=0xbe8aff38 "", len=4, info=0xbe8b0078) at /home/simark/src/binutils-gdb/gdb/disasm.c:128
- 128 }
- infrun: infrun_async(0)
- (top-gdb) # This one will fail.
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x152a2c
- nextpc of 0x152a2c is 0x152a2f
- simon: ptrace write 2 bytes at 152a2e: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: infrun_async(1)
- sigchld
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Trace/breakpoint trap (stopped)
- CSBB: Thread 0xb6f83220 (LWP 8381) stopped by software breakpoint
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: trap ptid is Thread 0xb6f83220 (LWP 8381).
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_TRAP
- infrun: TARGET_WAITKIND_STOPPED
- # We are stopped at 0x152a2e:
- infrun: stop_pc = 0x152a2e
- infrun: [Thread 0xb6f83220 (LWP 8381)] hit its single-step breakpoint
- # We restore the original bytes at 0x152a2e:
- simon: ptrace write 2 bytes at 152a2e: 10 37
- infrun: delayed software breakpoint trap, ignoring
- # We are still in the stepping range:
- infrun: stepping inside range [0x152a2c-0x152a34]
- infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x152a2e
- # We compute the next pc (with the Thumb bit encoded):
- nextpc of 0x152a2e is 0x152a31
- # We write the breakpoint at the next instruction:
- simon: ptrace write 2 bytes at 152a30: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), 0, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), 0 (resume event thread)
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Illegal instruction (stopped)
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = stopped, signal = GDB_SIGNAL_ILL
- infrun: TARGET_WAITKIND_STOPPED
- # We are still stopped at 0x152a2e, the location where we supposedly restore the bytes:
- infrun: stop_pc = 0x152a2e
- simon: ptrace write 2 bytes at 152a30: bd 46
- infrun: random signal (GDB_SIGNAL_ILL)
- infrun: stop_waiting
- infrun: clear_step_over_info
- infrun: stop_all_threads
- infrun: stop_all_threads, pass=0, iterations=0
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads, pass=1, iterations=1
- infrun: Thread 0xb6f83220 (LWP 8381) not executing
- infrun: stop_all_threads done
- simon: ptrace write 2 bytes at b6e68784: 08 b5
- simon: ptrace write 2 bytes at b6a6d31c: 00 bf
- simon: ptrace write 2 bytes at b69f24ec: 00 bf
- Program received signal SIGILL, Illegal instruction.
- simon: ptrace write 4 bytes at cb282: 46 f6 dc 00
- simon: ptrace write 2 bytes at cb284: dc 00
- simon: ptrace write 4 bytes at 1e6630: 4a f2 f4 53
- simon: ptrace write 4 bytes at 2bf7dc: 07 f1 1c 03
- simon: ptrace write 2 bytes at b6f669e0: 00 bf
- simon: ptrace write 2 bytes at b6f7292e: 00 bf
- simon: ptrace write 2 bytes at b6f7366c: 00 bf
- 0x00152a2e in dis_asm_read_memory (memaddr=66552, myaddr=0xbe8aff38 "", len=4, info=0xbe8b0078) at /home/simark/src/binutils-gdb/gdb/disasm.c:128
- 128 }
- infrun: infrun_async(0)
- (top-gdb)
- infrun: clear_proceed_status_thread (Thread 0xb6f83220 (LWP 8381))
- infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
- infrun: proceed: resuming Thread 0xb6f83220 (LWP 8381)
- simon: ptrace write 4 bytes at cb282: f0 f7 00 a0
- simon: ptrace write 2 bytes at cb284: 00 a0
- simon: ptrace write 4 bytes at 1e6630: f0 f7 00 a0
- simon: ptrace write 4 bytes at 2bf7dc: f0 f7 00 a0
- simon: ptrace write 2 bytes at b69f24ec: 01 de
- simon: ptrace write 2 bytes at b6a6d31c: 01 de
- simon: ptrace write 2 bytes at b6e68784: 01 de
- simon: ptrace write 2 bytes at b6f669e0: 01 de
- simon: ptrace write 2 bytes at b6f7292e: 01 de
- simon: ptrace write 2 bytes at b6f7366c: 01 de
- infrun: resume (step=1, signal=GDB_SIGNAL_ILL), trap_expected=0, current thread [Thread 0xb6f83220 (LWP 8381)] at 0x152a2e
- nextpc of 0x152a2e is 0x152a31
- simon: ptrace write 2 bytes at 152a30: 01 de
- LLR: Preparing to resume Thread 0xb6f83220 (LWP 8381), Illegal instruction, inferior_ptid Thread 0xb6f83220 (LWP 8381)
- LLR: PTRACE_CONT Thread 0xb6f83220 (LWP 8381), Illegal instruction (resume event thread)
- infrun: infrun_async(1)
- infrun: prepare_to_wait
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 0, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: exit (ignore)
- infrun: target_wait (-1.0.0, status) =
- infrun: -1.0.0 [process -1],
- infrun: status->kind = ignore
- infrun: TARGET_WAITKIND_IGNORE
- infrun: prepare_to_wait
- sigchld
- linux_nat_wait: [process -1], [TARGET_WNOHANG]
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), not stopped
- LLW: enter
- LNW: waitpid(-1, ...) returned 8381, No child processes
- LLW: waitpid 8381 received Illegal instruction (terminated)
- Process 8381 exited (resumed=1)
- LNW: waitpid(-1, ...) returned -1, No child processes
- RSRL: NOT resuming LWP Thread 0xb6f83220 (LWP 8381), has pending status
- LLW: exit
- infrun: target_wait (-1.0.0, status) =
- infrun: 8381.8381.0 [Thread 0xb6f83220 (LWP 8381)],
- infrun: status->kind = signalled, signal = GDB_SIGNAL_ILL
- infrun: TARGET_WAITKIND_SIGNALLED
- Program terminated with signal SIGILL, Illegal instruction.
- The program no longer exists.
- infrun: stop_waiting
- infrun: clear_step_over_info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement