aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-19 09:38:11 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:24 -0700
commit1101cb7b3b05d857c8bccc848bc5664155c82730 (patch)
treef54054788d6d3a1b0faf099ea9c109feb775e9e7 /gdb/common
parent8b06beed0f0eb221067a1013add2efd159a36ade (diff)
downloadgdb-1101cb7b3b05d857c8bccc848bc5664155c82730.zip
gdb-1101cb7b3b05d857c8bccc848bc5664155c82730.tar.gz
gdb-1101cb7b3b05d857c8bccc848bc5664155c82730.tar.bz2
add make-target-delegates
This patch adds a new script, call make-target-delegates, which auto-generates some target delegation code based on annotations in target.h. This adds the new delegation macros, the new generated file, and adds the necessary calls to the new generated functions to target.c. It doesn't, however, add any actual annotations to the target methods, leaving these for separate patches. 2014-02-19 Tom Tromey <tromey@redhat.com> PR build/7701: * target-delegates.c: New file. * target.c: Include target-delegates.c. (init_dummy_target): Call install_dummy_methods. (complete_target_initialization): Call install_delegators. * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. * make-target-delegates: New file.
Diffstat (limited to 'gdb/common')
0 files changed, 0 insertions, 0 deletions