diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2021-05-08 18:11:12 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-04-29 14:55:08 +0200 |
commit | bdeccf733122b02319516e72dd225c916a216d2c (patch) | |
tree | bfa6891dac65050b4ecb628469ad2f29fb16ad29 /libiberty/aclocal.m4 | |
parent | 2b8c7766ea357ff9b22531d6fdf0c3bd69cc044f (diff) | |
download | gdb-bdeccf733122b02319516e72dd225c916a216d2c.zip gdb-bdeccf733122b02319516e72dd225c916a216d2c.tar.gz gdb-bdeccf733122b02319516e72dd225c916a216d2c.tar.bz2 |
Integrate GNU poke in GDBusers/jemarch/poke-gdb
This patch integrates GNU poke (http://jemarch.net/poke) in GDB by
mean of libpoke. It allows the GDB user to execute Poke code from
within the debugger with access to the target memory, types and
values.
How this stuff works:
- GDB links with libpoke.so and uses the interface in libpoke.h.
This is also how the GNU poke application (the command-line
editor) is implemented.
- There are three commands:
poke STR
poke-add-type EXPR
poke-add-types REGEXP
poke-dump-types
All three commands make sure to start the poke incremental
compiler if it isn't running already.
- Access to the target's memory is provided by GDB by installing
a Foreign IO device in the incremental compiler. This is
`iod_if' in poke.c.
- Access to the terminal is provided by GDB by providing a
pk_term_if implementation to the incremental compiler. This is
`poke_term_if' in poke.c.
- Access to GDB values is provided by GDB by installing an alien
token handler in the incremental compiler. This is
`poke_alien_token_handler' in poke.c.
gdb/ChangeLog:
2021-05-10 Jose E. Marchesi <jose.marchesi@oracle.com>
* configure.ac: Support --enable-poke.
* configure: Regenerate.
* Makefile.in (POKE_OBS): Define based on @POKE_OBS@.
(DEPFILES): Add POKE_OBS.
* poke.c: New file.
gdb/doc/ChangeLog:
2021-05-10 Jose E. Marchesi <jose.marchesi@oracle.com>
* Makefile.in (GDB_DOC_FILES): Add poke.texi.
* poke.texi: New file.
* gdb.texinfo (Data): Add meny entry for Poke and @include poke.texi.
Diffstat (limited to 'libiberty/aclocal.m4')
-rw-r--r-- | libiberty/aclocal.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/aclocal.m4 b/libiberty/aclocal.m4 index 0757688..2ded717 100644 --- a/libiberty/aclocal.m4 +++ b/libiberty/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.3 -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, |