| 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 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 { | 943 { |
| 944 DICT_LINEAR_EXPANDABLE_CAPACITY (dict) *= 2; | 944 DICT_LINEAR_EXPANDABLE_CAPACITY (dict) *= 2; |
| 945 DICT_LINEAR_SYMS (dict) | 945 DICT_LINEAR_SYMS (dict) |
| 946 = xrealloc (DICT_LINEAR_SYMS (dict), | 946 = xrealloc (DICT_LINEAR_SYMS (dict), |
| 947 DICT_LINEAR_EXPANDABLE_CAPACITY (dict) | 947 DICT_LINEAR_EXPANDABLE_CAPACITY (dict) |
| 948 * sizeof (struct symbol *)); | 948 * sizeof (struct symbol *)); |
| 949 } | 949 } |
| 950 | 950 |
| 951 DICT_LINEAR_SYM (dict, nsyms - 1) = sym; | 951 DICT_LINEAR_SYM (dict, nsyms - 1) = sym; |
| 952 } | 952 } |
| OLD | NEW |