OLD | NEW |
1 /* Target-dependent code for Xilinx MicroBlaze. | 1 /* Target-dependent code for Xilinx MicroBlaze. |
2 | 2 |
3 Copyright 2009-2012 Free Software Foundation, Inc. | 3 Copyright 2009-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 /* Shared library handling. */ | 131 /* Shared library handling. */ |
132 set_solib_svr4_fetch_link_map_offsets (gdbarch, | 132 set_solib_svr4_fetch_link_map_offsets (gdbarch, |
133 svr4_ilp32_fetch_link_map_offsets); | 133 svr4_ilp32_fetch_link_map_offsets); |
134 | 134 |
135 /* Trampolines. */ | 135 /* Trampolines. */ |
136 tramp_frame_prepend_unwinder (gdbarch, | 136 tramp_frame_prepend_unwinder (gdbarch, |
137 µblaze_linux_sighandler_tramp_frame); | 137 µblaze_linux_sighandler_tramp_frame); |
138 } | 138 } |
139 | 139 |
| 140 /* -Wmissing-prototypes */ |
| 141 extern initialize_file_ftype _initialize_microblaze_linux_tdep; |
| 142 |
140 void | 143 void |
141 _initialize_microblaze_linux_tdep (void) | 144 _initialize_microblaze_linux_tdep (void) |
142 { | 145 { |
143 gdbarch_register_osabi (bfd_arch_microblaze, 0, GDB_OSABI_LINUX, | 146 gdbarch_register_osabi (bfd_arch_microblaze, 0, GDB_OSABI_LINUX, |
144 microblaze_linux_init_abi); | 147 microblaze_linux_init_abi); |
145 } | 148 } |
OLD | NEW |