You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.gdbinit 930B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. set language rust
  2. source ~/.gdbinit
  3. break rust_panic
  4. break core::option::expect_failed::h4927e1fef06c4878
  5. break core::panicking::panic
  6. break libcore/panicking.rs:58
  7. break libcore/result.rs:945
  8. set auto-load python-scripts
  9. break melib/src/mailbox/thread.rs:1010
  10. set print thread-events off
  11. #python
  12. #import os
  13. #import sys
  14. #
  15. #sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/')
  16. #import gdb
  17. #import gdb_meli
  18. #
  19. #print(gdb_meli.__file__)
  20. #
  21. #help(gdb_meli)
  22. ##from gdb_meli import build_pretty_printer
  23. ##print(gdb.objfiles()[0].filename)
  24. ##gdb_meli.register_pretty_printer(gdb)
  25. ##gdb.printing.register_pretty_printer(
  26. ## gdb.current_objfile(),
  27. ## gdb_meli.build_pretty_printer())
  28. #end
  29. python
  30. import sys, os
  31. sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/')
  32. import gdb_meli, gdb
  33. #gdb_meli.register_meli_printers(gdb)
  34. #gdb.printing.register_pretty_printer(
  35. # gdb.current_objfile(),
  36. # gdb_meli.build_meli_printer())
  37. end