Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/src/linux-cfs-bw ⇒ ~/vm/gdb-7.3.1/gdb/gdb vmlinux
- GNU gdb (GDB) 7.3.1
- Copyright (C) 2011 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 "x86_64-unknown-linux-gnu".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- Reading symbols from /usr/src/linux-cfs-bw/vmlinux...done.
- (gdb) python execfile("script.py")
- The target architecture is assumed to be i386:x86-64:intel
- native_safe_halt () at /usr/src/linux-cfs-bw/arch/x86/include/asm/irqflags.h:50
- 50 }
- (gdb) c
- Continuing.
- ^C
- Program received signal SIGINT, Interrupt.
- native_safe_halt () at /usr/src/linux-cfs-bw/arch/x86/include/asm/irqflags.h:50
- 50 }
- (gdb) add-symbol-file /openvswitch_mod.ko 0xffffffffa00d7000 \
- -s .bss 0xffffffffa00f2760 \
- -s .data 0xffffffffa00f15a0 \
- -s .data..read_mostly 0xffffffffa00f24c8 \
- -s .gnu.linkonce.this_module 0xffffffffa00f2500 \
- -s .init.text 0xffffffffa0058000 \
- -s .note.gnu.build-id 0xffffffffa00ee518 \
- -s .parainstructions 0xffffffffa00f1578 \
- -s .rodata 0xffffffffa00ee580 \
- -s .smp_locks 0xffffffffa00efa68 \
- -s .strtab 0xffffffffa005f638 \
- -s .symtab 0xffffffffa00580a8
- add symbol table from file "/openvswitch_mod.ko" at
- .text_addr = 0xffffffffa00d7000
- .bss_addr = 0xffffffffa00f2760
- .data_addr = 0xffffffffa00f15a0
- .data..read_mostly_addr = 0xffffffffa00f24c8
- .gnu.linkonce.this_module_addr = 0xffffffffa00f2500
- .init.text_addr = 0xffffffffa0058000
- .note.gnu.build-id_addr = 0xffffffffa00ee518
- .parainstructions_addr = 0xffffffffa00f1578
- .rodata_addr = 0xffffffffa00ee580
- .smp_locks_addr = 0xffffffffa00efa68
- .strtab_addr = 0xffffffffa005f638
- .symtab_addr = 0xffffffffa00580a8
- (y or n) y
- Reading symbols from /openvswitch_mod.ko...warning: section .strtab not found in /openvswitch_mod.ko
- warning: section .symtab not found in /openvswitch_mod.ko
- done.
- (gdb) info line dp_process_received_packet
- Line 262 of "datapath.c" starts at address 0xffffffffa00da3c8 <dp_process_received_packet> and ends at 0xffffffffa00da3e7 <dp_process_received_packet+31>.
- (gdb) break dp_process_received_packet
- Breakpoint 1 at 0xffffffffa00da3cc (2 locations)
- ^^^^^^^^^^^
- (gdb) info line dp_process_received_packet
- No line number information available for address 0xffffffffa00da3c8 <dp_process_received_packet>
- ^^^^^^^^^^^^^^ :(
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement