diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-12-15 13:17:44 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-12-17 15:07:09 -0700 |
commit | 7c8bb2ed1c220e0a8d7ae8dbb514e484c0573acb (patch) | |
tree | 5cf5cda9624f74a4eef85ac87e4b891bb7933dec /bfd/coff-arm.c | |
parent | 65b1aa7501ace4c58fb5062479c710d0bdff6f34 (diff) | |
download | gdb-7c8bb2ed1c220e0a8d7ae8dbb514e484c0573acb.zip gdb-7c8bb2ed1c220e0a8d7ae8dbb514e484c0573acb.tar.gz gdb-7c8bb2ed1c220e0a8d7ae8dbb514e484c0573acb.tar.bz2 |
Add new gdbarch generator
The new gdbarch generator is a Python program. It reads the
"components.py" that was created in the previous patch, and generates
gdbarch.c and gdbarch-gen.h.
This is a relatively straightforward translation of the existing .sh
code. It doesn't try very hard to be idiomatic Python or to be
especially smart.
It is, however, incredibly faster:
$ time ./gdbarch.sh
real 0m8.197s
user 0m5.779s
sys 0m3.384s
$ time ./gdbarch.py
real 0m0.065s
user 0m0.053s
sys 0m0.011s
Co-Authored-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'bfd/coff-arm.c')
0 files changed, 0 insertions, 0 deletions