diff options
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 2bd957f..95e9044 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -387,6 +387,15 @@ struct gdbarch startup_gdbarch = struct gdbarch *current_gdbarch = &startup_gdbarch; +/* Do any initialization needed for a non-multiarch configuration + after the _initialize_MODULE functions have been run. */ +void +initialize_non_multiarch () +{ + alloc_gdbarch_data (&startup_gdbarch); + init_gdbarch_data (&startup_gdbarch); +} + /* Create a new ``struct gdbarch'' based on information provided by ``struct gdbarch_info''. */ |