This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 2/3] stack: check frame_unwind_caller_id
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 11 Feb 2016 16:21:27 +0000
- Subject: Re: [PATCH v3 2/3] stack: check frame_unwind_caller_id
- Authentication-results: sourceware.org; auth=none
- References: <1455207283-12660-1-git-send-email-markus dot t dot metzger at intel dot com> <1455207283-12660-2-git-send-email-markus dot t dot metzger at intel dot com>
On 02/11/2016 04:14 PM, Markus Metzger wrote:
> Callers of frame_unwind_caller_* functions are supposed to check
> frame_unwind_caller_id.
>
> Add such a check to frame_info and treat an invalid caller ID as if the caller
> PC were not available.
>
> 2016-02-11 Markus Metzger <markus.t.metzger@intel.com>
>
> gdb/
> * stack.c (frame_info): Check frame_unwind_caller_id.
OK.
Thanks,
Pedro Alves