aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_regex.h
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-12-27 23:36:30 +0900
committerStafford Horne <shorne@gmail.com>2017-12-27 23:36:30 +0900
commitc1166ca9f3543b28e8b0057ecaf2cd3251cd51c5 (patch)
tree4ed6dd6aefe88c058eb57ad3d006b649a747b1e1 /gdb/gdb_regex.h
parentb67d92b06e6155a392a0c2d413f87d050880dbf4 (diff)
downloadbinutils-c1166ca9f3543b28e8b0057ecaf2cd3251cd51c5.zip
binutils-c1166ca9f3543b28e8b0057ecaf2cd3251cd51c5.tar.gz
binutils-c1166ca9f3543b28e8b0057ecaf2cd3251cd51c5.tar.bz2
reggroups: Convert reggroups from post_init to pre_init
Currently the reggroups gdbarch_data cannot be manipulated until after the gdbarch is completely initialized. This is usually done when the object init depends on architecture specific fields. In the case of reggroups it only depends on the obstack being available. Coverting this to pre_init allows using reggroups during gdbarch initialization. This is needed to allow registering arbitrary reggroups during gdbarch initializations. gdb/ChangeLog: yyyy-mm-dd Stafford Horne <shorne@gmail.com> * reggroups.c (reggroups_init): Change to depend only on obstack rather than gdbarch. (reggroup_add): Remove logic for forcing premature init. (_initialize_reggroup): Set `reggroups_data` with gdbarch_data_register_pre_init() rather than gdbarch_data_register_post_init().
Diffstat (limited to 'gdb/gdb_regex.h')
0 files changed, 0 insertions, 0 deletions