Advertisement
Guest User

Untitled

a guest
Sep 28th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. $ gdb python
  2. GNU gdb (GDB) 7.6 (Debian 7.6-5)
  3. Copyright (C) 2013 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-linux-gnu".
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>...
  11. Reading symbols from /usr/bin/python2.7...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.
  12. done.
  13. (gdb) break setup_struct::~setup_struct
  14. Function "setup_struct::~setup_struct" not defined.
  15. Make breakpoint pending on future shared library load? (y or [n]) y
  16.  
  17. Breakpoint 1 (setup_struct::~setup_struct) pending.
  18. (gdb) b Py_Finalize
  19. Breakpoint 2 at 0x421226: file ../Python/pythonrun.c, line 405.
  20. (gdb) r -c 'import gcode; gcode.parse("", "")'
  21. Starting program: /usr/bin/python2.7 -c 'import gcode; gcode.parse("", "")'
  22. warning: Could not load shared library symbols for linux-vdso.so.1.
  23. Do you need "set solib-search-path" or "set sysroot"?
  24. [Thread debugging using libthread_db enabled]
  25. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  26. Traceback (most recent call last):
  27. File "<string>", line 1, in <module>
  28. AttributeError: 'str' object has no attribute 'parameter_file'
  29.  
  30. Breakpoint 2, Py_Finalize () at ../Python/pythonrun.c:405
  31. 405 ../Python/pythonrun.c: No such file or directory.
  32. (gdb) where
  33. #0 Py_Finalize () at ../Python/pythonrun.c:405
  34. #1 0x0000000000435472 in Py_Main (argc=<optimized out>, argv=0x7fffffffe178)
  35. at ../Modules/main.c:665
  36. #2 0x00007ffff6f17995 in __libc_start_main (main=0x4354a1 <main>, argc=3,
  37. ubp_av=0x7fffffffe178, init=<optimized out>, fini=<optimized out>,
  38. rtld_fini=<optimized out>, stack_end=0x7fffffffe168) at libc-start.c:260
  39. #3 0x0000000000574a0e in _start ()
  40. (gdb) c
  41. Continuing.
  42.  
  43. Breakpoint 1, setup_struct::~setup_struct (
  44. this=0x7ffff6b4bd10 <Interp::_setup>, __in_chrg=<optimized out>)
  45. at emc/rs274ngc/interp_internal.hh:572
  46. warning: Source file is more recent than executable.
  47. 572 ~setup_struct() {
  48. (gdb) where
  49. #0 setup_struct::~setup_struct (this=0x7ffff6b4bd10 <Interp::_setup>,
  50. __in_chrg=<optimized out>) at emc/rs274ngc/interp_internal.hh:572
  51. #1 0x00007ffff6f2faa1 in __run_exit_handlers (status=1,
  52. listp=0x7ffff729c5c8 <__exit_funcs>,
  53. run_list_atexit=run_list_atexit@entry=true) at exit.c:77
  54. #2 0x00007ffff6f2fb25 in __GI_exit (status=<optimized out>) at exit.c:99
  55. #3 0x00007ffff6f1799c in __libc_start_main (main=0x4354a1 <main>, argc=3,
  56. ubp_av=0x7fffffffe178, init=<optimized out>, fini=<optimized out>,
  57. rtld_fini=<optimized out>, stack_end=0x7fffffffe168) at libc-start.c:294
  58. #4 0x0000000000574a0e in _start ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement