| OLD | NEW |
| 1 /* Support routines for building symbol tables in GDB's internal format. | 1 /* Support routines for building symbol tables in GDB's internal format. |
| 2 Copyright (C) 1986-2004, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1986-2004, 2007-2012 Free Software Foundation, Inc. |
| 3 | 3 |
| 4 This file is part of GDB. | 4 This file is part of GDB. |
| 5 | 5 |
| 6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
| 7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
| 8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
| 9 (at your option) any later version. | 9 (at your option) any later version. |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "cp-support.h" | 42 #include "cp-support.h" |
| 43 #include "dictionary.h" | 43 #include "dictionary.h" |
| 44 #include "addrmap.h" | 44 #include "addrmap.h" |
| 45 | 45 |
| 46 /* Ask buildsym.h to define the vars it normally declares `extern'. */ | 46 /* Ask buildsym.h to define the vars it normally declares `extern'. */ |
| 47 #define EXTERN | 47 #define EXTERN |
| 48 /**/ | 48 /**/ |
| 49 #include "buildsym.h" /* Our own declarations. */ | 49 #include "buildsym.h" /* Our own declarations. */ |
| 50 #undef EXTERN | 50 #undef EXTERN |
| 51 | 51 |
| 52 /* For cleanup_undefined_types and finish_global_stabs (somewhat | 52 /* For cleanup_undefined_stabs_types and finish_global_stabs (somewhat |
| 53 questionable--see comment where we call them). */ | 53 questionable--see comment where we call them). */ |
| 54 | 54 |
| 55 #include "stabsread.h" | 55 #include "stabsread.h" |
| 56 | 56 |
| 57 /* List of subfiles. */ | 57 /* List of subfiles. */ |
| 58 | 58 |
| 59 static struct subfile *subfiles; | 59 static struct subfile *subfiles; |
| 60 | 60 |
| 61 /* List of free `struct pending' structures for reuse. */ | 61 /* List of free `struct pending' structures for reuse. */ |
| 62 | 62 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 75 /* The obstack on which we allocate pending_addrmap. | 75 /* The obstack on which we allocate pending_addrmap. |
| 76 If pending_addrmap is NULL, this is uninitialized; otherwise, it is | 76 If pending_addrmap is NULL, this is uninitialized; otherwise, it is |
| 77 initialized (and holds pending_addrmap). */ | 77 initialized (and holds pending_addrmap). */ |
| 78 static struct obstack pending_addrmap_obstack; | 78 static struct obstack pending_addrmap_obstack; |
| 79 | 79 |
| 80 /* Non-zero if we recorded any ranges in the addrmap that are | 80 /* Non-zero if we recorded any ranges in the addrmap that are |
| 81 different from those in the blockvector already. We set this to | 81 different from those in the blockvector already. We set this to |
| 82 zero when we start processing a symfile, and if it's still zero at | 82 zero when we start processing a symfile, and if it's still zero at |
| 83 the end, then we just toss the addrmap. */ | 83 the end, then we just toss the addrmap. */ |
| 84 static int pending_addrmap_interesting; | 84 static int pending_addrmap_interesting; |
error: old chunk mismatch |
None
| OLD | NEW |