| OLD | NEW |
| 1 /* Read dbx symbol tables and convert to internal format, for GDB. | 1 /* Read dbx symbol tables and convert to internal format, for GDB. |
| 2 Copyright (C) 1986-2004, 2008-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1986-2013 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 |
| 11 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
| 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 11 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 dbx_symfile_read only does the minimum work necessary for letting the | 25 dbx_symfile_read only does the minimum work necessary for letting the |
| 26 user "name" things symbolically; it does not read the entire symtab. | 26 user "name" things symbolically; it does not read the entire symtab. |
| 27 Instead, it reads the external and static symbols and puts them in partial | 27 Instead, it reads the external and static symbols and puts them in partial |
| 28 symbol tables. When more extensive information is requested of a | 28 symbol tables. When more extensive information is requested of a |
| 29 file, the corresponding partial symbol table is mutated into a full | 29 file, the corresponding partial symbol table is mutated into a full |
| 30 fledged symbol table by going back and reading the symbols | 30 fledged symbol table by going back and reading the symbols |
| 31 for real. dbx_psymtab_to_symtab() is the function that does this */ | 31 for real. dbx_psymtab_to_symtab() is the function that does this */ |
| 32 | 32 |
| 33 #include "defs.h" | 33 #include "defs.h" |
| 34 #include "gdb_string.h" | 34 #include <string.h> |
| 35 | 35 |
| 36 #if defined(__CYGNUSCLIB__) | 36 #if defined(__CYGNUSCLIB__) |
| 37 #include <sys/types.h> | 37 #include <sys/types.h> |
| 38 #include <fcntl.h> | 38 #include <fcntl.h> |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #include "gdb_obstack.h" | 41 #include "gdb_obstack.h" |
| 42 #include "gdb_stat.h" | 42 #include <sys/stat.h> |
| 43 #include "symtab.h" | 43 #include "symtab.h" |
| 44 #include "breakpoint.h" | 44 #include "breakpoint.h" |
| 45 #include "target.h" | 45 #include "target.h" |
| 46 #include "gdbcore.h" /* for bfd stuff */ | 46 #include "gdbcore.h" /* for bfd stuff */ |
| 47 #include "libaout.h" /* FIXME Secret internal BFD stuff for a.out */ | 47 #include "libaout.h" /* FIXME Secret internal BFD stuff for a.out */ |
| 48 #include "filenames.h" | 48 #include "filenames.h" |
| 49 #include "objfiles.h" | 49 #include "objfiles.h" |
| 50 #include "buildsym.h" | 50 #include "buildsym.h" |
| 51 #include "stabsread.h" | 51 #include "stabsread.h" |
| 52 #include "gdb-stabs.h" | 52 #include "gdb-stabs.h" |
| 53 #include "demangle.h" | 53 #include "demangle.h" |
| 54 #include "complaints.h" | 54 #include "complaints.h" |
error: old chunk mismatch |
None
| OLD | NEW |