Re: [RFC] display function param and local value for backtrace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hello Lei,
> 
> 
> And it appears that target_read_stack() can be modified in the same way
> that target_read_memory() has been, since they are essentially the same:
> 
>   int
>   target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
>   {
>   }
> 
> So just try cut-and-pasting the same #ifdef CRASH_MERGE section into
> target_read_stack().

Yep, it did solve my issue, now the backtrace would unwind happily to the next frame.

While I am trying to apply the similar logic to another thread instead of current panic one, I find the gdb would directly complain for "<segmentation violation in gdb> ". Haven't figure out what happened there...

> 
> Dave

Thanks,
Lei

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux