OLD | NEW |
1 /* Routines for name->symbol lookups in GDB. | 1 /* Routines for name->symbol lookups in GDB. |
2 | 2 |
3 Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2003-2013 Free Software Foundation, Inc. |
4 | 4 |
5 Contributed by David Carlton <carlton@bactrian.org> and by Kealia, | 5 Contributed by David Carlton <carlton@bactrian.org> and by Kealia, |
6 Inc. | 6 Inc. |
7 | 7 |
8 This file is part of GDB. | 8 This file is part of GDB. |
9 | 9 |
10 This program is free software; you can redistribute it and/or modify | 10 This program is free software; you can redistribute it and/or modify |
11 it under the terms of the GNU General Public License as published by | 11 it under the terms of the GNU General Public License as published by |
12 the Free Software Foundation; either version 3 of the License, or | 12 the Free Software Foundation; either version 3 of the License, or |
13 (at your option) any later version. | 13 (at your option) any later version. |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 It's implemented as a single loop, so you can terminate the loop | 176 It's implemented as a single loop, so you can terminate the loop |
177 early by a break if you desire. */ | 177 early by a break if you desire. */ |
178 | 178 |
179 #define ALL_DICT_SYMBOLS(dict, iter, sym) \ | 179 #define ALL_DICT_SYMBOLS(dict, iter, sym) \ |
180 for ((sym) = dict_iterator_first ((dict), &(iter)); \ | 180 for ((sym) = dict_iterator_first ((dict), &(iter)); \ |
181 (sym); \ | 181 (sym); \ |
182 (sym) = dict_iterator_next (&(iter))) | 182 (sym) = dict_iterator_next (&(iter))) |
183 | 183 |
184 #endif /* DICTIONARY_H */ | 184 #endif /* DICTIONARY_H */ |
OLD | NEW |