diff --git a/.gdbinit b/.gdbinit index c649c3790..c4689704e 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,42 +1,5 @@ set language rust source ~/.gdbinit break rust_panic -break core::option::expect_failed::h4927e1fef06c4878 -break core::panicking::panic -break libcore/panicking.rs:58 -break libcore/result.rs:945 set auto-load python-scripts -break melib/src/mailbox/thread.rs:1010 set print thread-events off - -#python -#import os -#import sys -# -#sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/') -#import gdb -#import gdb_meli -# -#print(gdb_meli.__file__) -# -#help(gdb_meli) -##from gdb_meli import build_pretty_printer -##print(gdb.objfiles()[0].filename) -##gdb_meli.register_pretty_printer(gdb) -##gdb.printing.register_pretty_printer( -## gdb.current_objfile(), -## gdb_meli.build_pretty_printer()) -#end -python - -import sys, os - -sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/') - - -import gdb_meli, gdb -#gdb_meli.register_meli_printers(gdb) -#gdb.printing.register_pretty_printer( -# gdb.current_objfile(), -# gdb_meli.build_meli_printer()) -end diff --git a/melib/src/backends/imap/protocol_parser.rs b/melib/src/backends/imap/protocol_parser.rs index ca286acd9..6bfd7263a 100644 --- a/melib/src/backends/imap/protocol_parser.rs +++ b/melib/src/backends/imap/protocol_parser.rs @@ -603,7 +603,6 @@ named!( >> tag!(")\r\n") >> ({ let mut env = env; - debug!(unsafe { std::str::from_utf8_unchecked(bodystructure) }); let has_attachments = bodystructure_has_attachments(bodystructure); env.set_has_attachments(has_attachments); (uid_flags.0, uid_flags.1, env)