Advertisement
Guest User

Untitled

a guest
Oct 24th, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. /usr/src/linux-cfs-bw ⇒ ~/vm/gdb-7.3.1/gdb/gdb vmlinux
  2. GNU gdb (GDB) 7.3.1
  3. Copyright (C) 2011 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-unknown-linux-gnu".
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>...
  11. Reading symbols from /usr/src/linux-cfs-bw/vmlinux...done.
  12. (gdb) python execfile("script.py")
  13. The target architecture is assumed to be i386:x86-64:intel
  14. native_safe_halt () at /usr/src/linux-cfs-bw/arch/x86/include/asm/irqflags.h:50
  15. 50 }
  16. (gdb) c
  17. Continuing.
  18. ^C
  19. Program received signal SIGINT, Interrupt.
  20. native_safe_halt () at /usr/src/linux-cfs-bw/arch/x86/include/asm/irqflags.h:50
  21. 50 }
  22. (gdb) add-symbol-file /openvswitch_mod.ko 0xffffffffa00d7000 \
  23. -s .bss 0xffffffffa00f2760 \
  24. -s .data 0xffffffffa00f15a0 \
  25. -s .data..read_mostly 0xffffffffa00f24c8 \
  26. -s .gnu.linkonce.this_module 0xffffffffa00f2500 \
  27. -s .init.text 0xffffffffa0058000 \
  28. -s .note.gnu.build-id 0xffffffffa00ee518 \
  29. -s .parainstructions 0xffffffffa00f1578 \
  30. -s .rodata 0xffffffffa00ee580 \
  31. -s .smp_locks 0xffffffffa00efa68 \
  32. -s .strtab 0xffffffffa005f638 \
  33. -s .symtab 0xffffffffa00580a8
  34. add symbol table from file "/openvswitch_mod.ko" at
  35. .text_addr = 0xffffffffa00d7000
  36. .bss_addr = 0xffffffffa00f2760
  37. .data_addr = 0xffffffffa00f15a0
  38. .data..read_mostly_addr = 0xffffffffa00f24c8
  39. .gnu.linkonce.this_module_addr = 0xffffffffa00f2500
  40. .init.text_addr = 0xffffffffa0058000
  41. .note.gnu.build-id_addr = 0xffffffffa00ee518
  42. .parainstructions_addr = 0xffffffffa00f1578
  43. .rodata_addr = 0xffffffffa00ee580
  44. .smp_locks_addr = 0xffffffffa00efa68
  45. .strtab_addr = 0xffffffffa005f638
  46. .symtab_addr = 0xffffffffa00580a8
  47. (y or n) y
  48. Reading symbols from /openvswitch_mod.ko...warning: section .strtab not found in /openvswitch_mod.ko
  49. warning: section .symtab not found in /openvswitch_mod.ko
  50. done.
  51.  
  52.  
  53. (gdb) info line dp_process_received_packet
  54. Line 262 of "datapath.c" starts at address 0xffffffffa00da3c8 <dp_process_received_packet> and ends at 0xffffffffa00da3e7 <dp_process_received_packet+31>.
  55. (gdb) break dp_process_received_packet
  56. Breakpoint 1 at 0xffffffffa00da3cc (2 locations)
  57. ^^^^^^^^^^^
  58.  
  59. (gdb) info line dp_process_received_packet
  60. No line number information available for address 0xffffffffa00da3c8 <dp_process_received_packet>
  61. ^^^^^^^^^^^^^^ :(
  62.  
  63. (gdb)
  64.  
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement