This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Add frame-read-register
- From: Doug Evans <xdje42 at gmail dot com>
- To: Andy Wingo <wingo at igalia dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 17 Mar 2015 09:46:05 -0700
- Subject: Re: Add frame-read-register
- Authentication-results: sourceware.org; auth=none
- References: <87r3tl0y0w dot fsf at igalia dot com>
Andy Wingo <wingo@igalia.com> writes:
> Hi,
>
> The attached patch adds frame-read-register to the Guile interface, like
> Frame.read_register() for python.
>
> Andy
>
>
> From cb83778843bbdf4f32c990ca0fc3d16841456d66 Mon Sep 17 00:00:00 2001
> From: Andy Wingo <wingo@igalia.com>
> Date: Fri, 20 Feb 2015 09:33:59 +0100
> Subject: [PATCH] Add Guile frame-read-register command
>
> gdb/ChangeLog:
> 2015-02-20 Andy Wingo <wingo@igalia.com>
>
> * guile/scm-frame.c (gdbscm_frame_read_register): New function.
> (frame_functions): Bind gdbscm_frame_read_register to
> frame-read-register.
> * guile/lib/gdb.scm (frame-read-register): Export.
>
> gdb/doc/ChangeLog:
> 2015-02-20 Andy Wingo <wingo@igalia.com>
>
> * guile.texi (Frames In Guile): Describe frame-read-register.
>
> gdb/testsuite/ChangeLog:
> 2015-02-20 Andy Wingo <wingo@igalia.com>
>
> * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
> after the Python tests.
LGTM