I have gdb 7.11
and rust-gdb
command seems to give more rust relevant information compared to the gdb native.
E.g. rust-gdb
shows rust objects properly with full names, and gdb simply do not show them.
In the following example gdb would now show at all the bold parts.
$1 = Args = {
inner = **ArgsOs** = {
inner = **Args** = {
iter = **IntoIter<std::ffi::os_str::OsString>** = {
buf = **NonNull<std::ffi::os_str::OsString>** = {
pointer = **NonZero<*const std::ffi::os_str::OsString>** = {
0x7ffff6c20060
}
},
phantom = **PhantomData<std::ffi::os_str::OsString>**,
cap = 1,
ptr = 0x7ffff6c20060, end = 0x7ffff6c20078},
_dont_send_or_sync_me = **PhantomData<*mut ()>**
}
}
}