This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add CTF support to GDB [2/4] Fix a bug of function dwarf_expr_frame_base


After I add prev patch to GDB, the GDB got crash when a trace frame didn't include all the variables that it should include.
I think this issue should be handle because the trace frame didn't include all the variables will be always happen (What I use is GDB and gdbserver).
So I post this patch to handle it.

Thanks,
Hui

2012-11-20 Hui Zhu <hui_zhu@mentor.com>

	* dwarf2loc.c (dwarf_expr_frame_base): Add check for the return
	value of get_frame_block.

Attachment: check-get_frame_block-return.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]