diff options
author | Tom Tromey <tromey@redhat.com> | 2014-05-14 13:42:57 -0600 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-12-12 22:23:53 +0100 |
commit | a92a2e3435f9f579365424fb95d5e07cbd4c4ffd (patch) | |
tree | 8f7edb36bd6340819d67f80b61cb887c34dffaba /include/ChangeLog | |
parent | de571fc5fbd89d21436119ca2cd9dce1375bdcb3 (diff) | |
download | fsf-binutils-gdb-a92a2e3435f9f579365424fb95d5e07cbd4c4ffd.zip fsf-binutils-gdb-a92a2e3435f9f579365424fb95d5e07cbd4c4ffd.tar.gz fsf-binutils-gdb-a92a2e3435f9f579365424fb95d5e07cbd4c4ffd.tar.bz2 |
add gcc/gdb interface files
The gcc plugin is split into two parts. One part is an ordinary gcc
plugin. The other part is a shared library that is loaded by gdb.
This patch adds some files that define the interface exported by this
shared library to gdb. These files also define the internal API by
which the gdb- and gcc-sides communicate.
These files will be kept in sync between gcc and gdb like much of
include/.
The exported API has been intentionally kept very simple. In
particular only a single function is exported from the gdb-side
library; symbol visibility is used to hide everything else. This
exported symbol is a function which is called to return a structure
holding function pointers that gdb then uses. This structure is
versioned so that changes can be made without necessarily requiring a
simultaneous gdb upgrade.
Note that the C compiler API is broken out separately. This lets us
extend it to other GCC front ends as desired. We plan to investigate
C++ in the future.
include/ChangeLog
2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey <tromey@redhat.com>
* gcc-c-fe.def: New file.
* gcc-c-interface.h: New file.
* gcc-interface.h: New file.
Diffstat (limited to 'include/ChangeLog')
-rw-r--r-- | include/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e80d2ec..1114a63 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,11 @@ +2014-12-12 Phil Muldoon <pmuldoon@redhat.com> + Jan Kratochvil <jan.kratochvil@redhat.com> + Tom Tromey <tromey@redhat.com> + + * gcc-c-fe.def: New file. + * gcc-c-interface.h: New file. + * gcc-interface.h: New file. + 2014-12-06 Eric Botcazou <ebotcazou@adacore.com> * dis-asm.h (print_insn_visium): Declare. |