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]

Re: RFC: implement DW_OP_GNU_implicit_pointer


> 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?


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