aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-12-15 13:17:44 -0700
committerTom Tromey <tom@tromey.com>2021-12-17 15:07:09 -0700
commit7c8bb2ed1c220e0a8d7ae8dbb514e484c0573acb (patch)
tree5cf5cda9624f74a4eef85ac87e4b891bb7933dec /gdb/gdbarch.c
parent65b1aa7501ace4c58fb5062479c710d0bdff6f34 (diff)
downloadgdb-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 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions