diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-01-21 18:30:07 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-01-21 18:30:25 -0500 |
commit | a12378729f404ef0b6e9a4e8378dfd747dd5beb6 (patch) | |
tree | a9caeaae7823d87b56f674d7bcaf350c68a7a591 /gdb | |
parent | b3ee6dd9f205f1d4ff208dbc9575528dc6e1bce7 (diff) | |
download | gdb-a12378729f404ef0b6e9a4e8378dfd747dd5beb6.zip gdb-a12378729f404ef0b6e9a4e8378dfd747dd5beb6.tar.gz gdb-a12378729f404ef0b6e9a4e8378dfd747dd5beb6.tar.bz2 |
gdb: add declaration for _initialize_gdbarch in gdbarch.sh
In commit
gdb: add back declarations for _initialize functions
6c2659886f7018fcca26ee0fc813bc9748fb8513
I wrongfully edited gdbarch.c, instead of editing gdbarch.sh and
re-generating gdbarch.c. This patch fixes gdbarch.sh to add a
declaration for _initialize_gdbarch. gdbarch.c is not changed, as the
output of gdbarch.sh now matches the current state of gdbarch.c.
gdb/ChangeLog:
* gdbarch.sh: Add declaration for _initialize_gdbarch.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ed9150..a407c04 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2020-01-21 Simon Marchi <simon.marchi@efficios.com> + * gdbarch.sh: Add declaration for _initialize_gdbarch. + +2020-01-21 Simon Marchi <simon.marchi@efficios.com> + * remote-sim.c (check_for_duplicate_sim_descriptor): Remove. (get_sim_inferior_data): Remove use of iterate_over_inferiors, replace with range-based for. diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 0be3e88..58f6e1e 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -2600,8 +2600,9 @@ target_gdbarch (void) return current_inferior ()->gdbarch; } +void _initialize_gdbarch (); void -_initialize_gdbarch (void) +_initialize_gdbarch () { add_setshow_zuinteger_cmd ("arch", class_maintenance, &gdbarch_debug, _("\\ Set architecture debugging."), _("\\ |