OLD | NEW |
1 /* Shared library support for RS/6000 (xcoff) object files, for GDB. | 1 /* Shared library support for RS/6000 (xcoff) object files, for GDB. |
2 Copyright (C) 1991-1992, 1995-1996, 1999-2001, 2007-2012 Free | 2 Copyright (C) 1991-1992, 1995-1996, 1999-2001, 2007-2012 Free |
3 Software Foundation, Inc. | 3 Software Foundation, Inc. |
4 Contributed by IBM Corporation. | 4 Contributed by IBM Corporation. |
5 | 5 |
6 This file is part of GDB. | 6 This file is part of GDB. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 if (loaded_any_symbols) | 152 if (loaded_any_symbols) |
153 { | 153 { |
154 /* Getting new symbols may change our opinion about what is | 154 /* Getting new symbols may change our opinion about what is |
155 frameless. */ | 155 frameless. */ |
156 reinit_frame_cache (); | 156 reinit_frame_cache (); |
157 } | 157 } |
158 } | 158 } |
159 } | 159 } |
160 | 160 |
| 161 void _initialize_xcoffsolib (void); |
| 162 |
161 void | 163 void |
162 _initialize_xcoffsolib (void) | 164 _initialize_xcoffsolib (void) |
163 { | 165 { |
164 add_com ("sharedlibrary", class_files, sharedlibrary_command, | 166 add_com ("sharedlibrary", class_files, sharedlibrary_command, |
165 _("Load shared object library symbols for files matching REGEXP.")); | 167 _("Load shared object library symbols for files matching REGEXP.")); |
166 add_info ("sharedlibrary", solib_info, | 168 add_info ("sharedlibrary", solib_info, |
167 _("Status of loaded shared object libraries")); | 169 _("Status of loaded shared object libraries")); |
168 | 170 |
169 add_setshow_boolean_cmd ("auto-solib-add", class_support, | 171 add_setshow_boolean_cmd ("auto-solib-add", class_support, |
170 &auto_solib_add, _("\ | 172 &auto_solib_add, _("\ |
171 Set autoloading of shared library symbols."), _("\ | 173 Set autoloading of shared library symbols."), _("\ |
172 Show autoloading of shared library symbols."), _("\ | 174 Show autoloading of shared library symbols."), _("\ |
173 If \"on\", symbols from all shared object libraries will be loaded\n\ | 175 If \"on\", symbols from all shared object libraries will be loaded\n\ |
174 automatically when the inferior begins execution, when the dynamic linker\n\ | 176 automatically when the inferior begins execution, when the dynamic linker\n\ |
175 informs gdb that a new library has been loaded, or when attaching to the\n\ | 177 informs gdb that a new library has been loaded, or when attaching to the\n\ |
176 inferior. Otherwise, symbols must be loaded manually, using \ | 178 inferior. Otherwise, symbols must be loaded manually, using \ |
177 `sharedlibrary'."), | 179 `sharedlibrary'."), |
178 NULL, | 180 NULL, |
179 NULL, /* FIXME: i18n: */ | 181 NULL, /* FIXME: i18n: */ |
180 &setlist, &showlist); | 182 &setlist, &showlist); |
181 } | 183 } |
OLD | NEW |