Closed teawater closed 11 years ago
Aug 13 07:27:05 ubuntu kernel: [ 272.684901] ------------[ cut here ]------------
Aug 13 07:27:05 ubuntu kernel: [ 272.684906] kernel BUG at /build/buildd/linux-lts-quantal-3.5.0/mm/highmem.c:268!
Aug 13 07:27:05 ubuntu kernel: [ 272.684908] invalid opcode: 0000 [#1] SMP
Aug 13 07:27:05 ubuntu kernel: [ 272.684911] Modules linked in: gtp(O) acpiphp pcnet32 snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi coretemp snd_seq_midi_event kvm_intel snd_seq snd_timer kvm snd_seq_device aesni_intel rfcomm bnep cryptd aes_i586 snd soundcore snd_page_alloc microcode psmouse vmw_balloon vmwgfx ttm drm bluetooth shpchp ppdev i2c_piix4 joydev serio_raw parport_pc mac_hid lp parport hid_generic usbhid hid floppy mptspi mptscsih mptbase vmw_pvscsi vmxnet3 [last unloaded: pcnet32]
Aug 13 07:27:05 ubuntu kernel: [ 272.684935]
Aug 13 07:27:05 ubuntu kernel: [ 272.684939] Pid: 2743, comm: gdb Tainted: G O 3.5.0-37-generic #58~precise1-Ubuntu VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
Aug 13 07:27:05 ubuntu kernel: [ 272.684943] EIP: 0060:[
githubissue2
This fix resolves the problem I was experiencing when attempting to attach to a userspace process.
24b95ef05c2e81216f5103005d6a40fb32fe690d
(gdb) target extended-remote /sys/kernel/debug/gtp Remote debugging using /sys/kernel/debug/gtp 0x00000000 in ?? () (gdb) add-inferior Added inferior 2 (gdb) inferior 2 Switching to inferior 2 [Thread 0](noexec) file ~/tmp/a.out "/home/teawater/tmp/a.out": not in executable format: File truncated (gdb) file ~/tmp/a.out Reading symbols from /home/teawater/tmp/a.out...done. (gdb) attach 2904 Attached to Remote target