small fixes

jmap
Manos Pitsidianakis 2019-11-21 15:44:18 +02:00
parent 022e1f437d
commit 05d9ca6e0d
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
2 changed files with 0 additions and 38 deletions

View File

@ -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

View File

@ -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)