This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: implement DW_OP_GNU_implicit_pointer
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: tromey at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 25 Nov 2010 00:10:41 +0100 (CET)
- Subject: Re: RFC: implement DW_OP_GNU_implicit_pointer
- References: <m3hbf96ou6.fsf@fleche.redhat.com>
> From: Tom Tromey <tromey@redhat.com>
> Date: Mon, 22 Nov 2010 14:16:49 -0700
> diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
> index d7d8b97..fd841c4 100644
> --- a/gdb/dwarf2-frame.c
> +++ b/gdb/dwarf2-frame.c
> @@ -322,7 +322,7 @@ static CORE_ADDR
> no_get_frame_cfa (void *baton)
> {
> internal_error (__FILE__, __LINE__,
> - _("Support for DW_OP_call_frame_cfa is unimplemented"));
> + _("Support for frame info is unimplemented"));
> }
With that change, the error message becomes rather unhelpful.
Perhaps create a seperate no_get_frame_pc() that prints an appropriate message?