Commit | Line | Data |
---|---|---|
768be6e1 FF |
1 | Wed Nov 20 05:04:40 1991 Fred Fish (fnf at cygnus.com) |
2 | ||
3 | * dwarfread.c: Recognize obsolete form of AT_element_list | |
4 | attribute still used by at least one AT&T compiler, and possibly | |
5 | more. | |
6 | ||
d018c8a6 FF |
7 | Tue Nov 19 07:53:55 1991 Fred Fish (fnf at cygnus.com) |
8 | ||
0db97eed FF |
9 | * dwarfread.c (enum_type, struct_type): Ignore names invented by |
10 | helpful compilers for anonymous structs, unions, and enums. | |
11 | ||
d018c8a6 FF |
12 | * c-exp.y, m2-exp.y: Add defines for yymaxdepth, yy_yys, and |
13 | yy_yyv, so multiple parsers produced by SVR4 versions of yacc | |
14 | can coexist in the same executable without collision. | |
15 | ||
16 | * symtab.h: Add declaration for lookup_template_type() to kill | |
17 | compiler warnings about conversions from int to pointer. | |
18 | ||
b6666a5d FF |
19 | Mon Nov 18 17:45:18 1991 Fred Fish (fnf at cygnus.com) |
20 | ||
5129100c FF |
21 | * procfs.c: Move inclusion of defs.h to before param.h, as in |
22 | all the other source files that include both. This is required | |
23 | to supply some typedefs that are used in files included by param.h. | |
24 | ||
b6666a5d FF |
25 | * m68k-tdep.c (m68k_skip_prologue): Add generic m68k support for |
26 | skipping function prologues, ala the other cpu families (i386, | |
27 | mips, m88k, etc). Add the ability to skip movm and fmovm | |
28 | instructions in the prologues. Still needs support for profile | |
29 | (-p compiled) prologue sequences (FIXME). | |
30 | ||
31 | * tm-68k.h: Change SKIP_PROLOGUE macro to use the new generic | |
32 | m68k prologue skipping function by default. | |
33 | ||
34 | * tm-altos.h, tm-isi.h: Continue to use the old definition of | |
35 | SKIP_PROLOGUE. | |
36 | ||
e140f1da JG |
37 | Mon Nov 18 15:12:45 1991 John Gilmore (gnu at cygnus.com) |
38 | ||
b9fd1330 | 39 | * Makefile.in: Remove tdesc stuff, and extra blanks before colons. |
e140f1da | 40 | * blockframe.c: Remove tdesc-related code. Default |
b9fd1330 | 41 | FRAME_CHAIN_COMBINE. |
e140f1da JG |
42 | * infrun.c: Remove tdesc-related code. |
43 | * m88k-tdep.c (frame_chain_combine, init_frame_pc): Remove copies | |
44 | of defaultable things. | |
45 | * tm-m88k.h: New file, common to all Moto 88k target configs. | |
46 | Derived from tm-delta88.h. | |
47 | * tm-delta88.h: Use it. | |
48 | * xm-m88k.h: Common file for 88K hosts. Remove obsolete stuff. | |
49 | * xm-delta88.h: Use it. | |
50 | * tm-*.h: Remove FRAME_CHAIN_COMBINE macros, since all are | |
51 | default. | |
52 | * coffread.c: Remove tdesc stuff. | |
5e2569e6 JG |
53 | * tconfig/delta88, tconfig/m88k: Remove tdesc stuff. |
54 | * xconfig/m88k: Rename tm-88k.h to tm-m88k.h. | |
e140f1da JG |
55 | |
56 | Mon Nov 18 13:51:37 1991 Per Bothner (bothner at cygnus.com) | |
57 | ||
58 | * source.c (open_source_file): If openp fails, try again | |
59 | using just the base (non-directory) part of the filename. | |
60 | This solves various annoying problems, such as when the | |
61 | source was compiled with an absolute pathname - and the | |
62 | source files have moved. Or if the source was compiled | |
63 | using a relative pathname, it can be more convenient | |
64 | to just specific the source directory to the dir command. | |
65 | ||
2d6186f4 FF |
66 | Mon Nov 18 00:04:41 1991 Fred Fish (fnf at cygnus.com) |
67 | ||
1a18a185 FF |
68 | * cplus-dem.c (munge_function_name): Add missing third arg to |
69 | instance of call to do_type(). | |
70 | ||
2d6186f4 FF |
71 | * dwarfread.c: Changes to match new dwarf.h. Remove |
72 | AT_deriv_list, AT_loclist, AT_incomplete, AT_const_data, | |
73 | and AT_is_external. | |
74 | ||
572acbbe MT |
75 | Sun Nov 17 16:20:53 1991 Michael Tiemann (tiemann at rtl.cygnus.com) |
76 | ||
77 | * symtab.h (struct type): Moved C++-specific fields into new type | |
78 | `struct cplus_struct_type'. Now takes 10% less memory. Many | |
79 | macros changed. | |
80 | * symtab.c (init_type): Don't set fields belonging to | |
81 | TYPE_CPLUS_SPECIFIC unless TYPE is TYPE_CODE_STRUCT. | |
82 | * buildsym.c (read_type): Allocate TYPE_CPLUS_SPECIFIC for | |
83 | TYPE_CODE_STRUCT. | |
84 | (read_struct_type): Ditto. Also, add comments about how we can | |
85 | deduce TYPE_VPTR_FIELDNO from inheritance info and fieldname info. | |
86 | * coffread.c (decode_base_type): Allocate TYPE_CPLUS_SPECIFIC for | |
87 | TYPE_CODE_STRUCT. | |
88 | (read_struct_type): Ditto. | |
89 | * dwarfread.c (struct_type): Ditto. | |
90 | ||
91 | * symtab.c (read_range_type): Don't set TYPE_MAIN_VARIANT. | |
92 | (lookup_pointer_type): Don't use or set TYPE_MAIN_VARIANT. | |
93 | (lookup_reference_type): Ditto. | |
94 | ||
95 | * cplus-dem.c: Many changes made to handle decoding of | |
96 | ANSI-mangled names. | |
97 | * symtab.c (gdb_mangle_name): Mangle/demangle ANSI-mangled names | |
98 | as well. | |
99 | ||
cd71911e SG |
100 | Fri Nov 15 17:57:59 1991 Stu Grossman (grossman at cygnus.com) |
101 | ||
102 | * mipsread.c (parse_partial_symbols): patch to keep DEC C | |
103 | compiler from making gdb bomb out. Thanks to Ed Santiago! | |
104 | ||
a7446af6 FF |
105 | Thu Nov 14 19:27:30 1991 Fred Fish (fnf at cygnus.com) |
106 | ||
5a5a3b0f FF |
107 | * symfile.c: Add function compact_misc_function_vector() to |
108 | remove duplicate misc function vector entries. See comments | |
109 | in source for why this is necessary/desirable. | |
110 | ||
a7446af6 FF |
111 | * dwarfread.c: Add misc function type parameter to internal |
112 | record_misc_function(). Remove calls to init_misc_bunches() | |
113 | and condense_misc_bunches(), these are now done in elfread.c. | |
114 | ||
115 | * elfread.c: Add support for reading bfd canonical symbol tables | |
116 | and generating misc function vector entries for global and | |
117 | absolute symbols. Do calls to init_misc_bunches() and | |
118 | condense_misc_bunches() where they will enclose all calls to | |
119 | record_misc_function(), including those in dwarfread.c. | |
120 | ||
121 | Thu Nov 14 17:02:11 1991 Roland H. Pesch (pesch at cygnus.com) | |
122 | ||
123 | * doc/Makefile.in: new targets gdb.me, gdb.ms, gdb.mm | |
124 | (roffable documentation). | |
125 | * doc/gdb.texinfo: embedded hints (as comments) for better | |
126 | texi2roff conversion. | |
127 | ||
430923f3 JG |
128 | Thu Nov 14 13:18:25 1991 John Gilmore (gnu at cygnus.com) |
129 | ||
130 | * m88k-tdep.c (examine_prologue): Deal with OR instructions | |
131 | that shuffle parameters into other regs. | |
132 | * symtab.c (decode_line_1): Fix bug introduced in Per's change | |
133 | of Nov 12th. | |
134 | ||
a219b090 SC |
135 | Wed Nov 13 19:51:11 1991 Steve Chamberlain (sac at cygnus.com) |
136 | ||
137 | * Makefile.in, xconfig/delta88 made it install a sysV manual page; | |
138 | gdb.z into the right place. | |
139 | ||
ea3c0839 JG |
140 | Wed Nov 13 16:45:13 1991 John Gilmore (gnu at cygnus.com) |
141 | ||
142 | Motorola 88000 port without tears, I mean without tdescs. | |
143 | ||
144 | * m88k-tdep.c: Blow away all tdesc stuff. | |
145 | Provide functions for all the frame-related macros in | |
146 | tm-delta88.h. Adopt i960-style EXTRA_FRAME_INFO. | |
147 | (examine_prologue, frame_find_saved_regs, skip_prologue): borrow | |
148 | from i960-tdep.c and adapt to the function prologues on the 88k. | |
149 | (read_next_frame_reg): Borrow from mips-tdep.c. | |
150 | FIXME: frame_locals_address should go away. | |
151 | ||
152 | * tm-delta88.h: Dump all the tdesc stuff. | |
153 | Macros for all frame-related stuff call fns of same name. | |
154 | Remove duplicated definitions. FP_REGNUM becomes same as | |
155 | SP_REGNUM. | |
156 | ||
157 | * xm-88k.h: Eliminate lots of library dependencies, now handled | |
158 | in libiberty. Eliminate KDB nonsupport. | |
159 | ||
160 | * doc/gdbint.texinfo: Add rudiments on frames. FIXME, add more. | |
161 | ||
162 | ||
163 | * stack.c (frame_info): Mark frameless functions. | |
164 | Print locals address (FIXME, remove if same). | |
165 | * blockframe.c: Comment changes, FIXME after. | |
166 | * coffread.c: Even without TDESC, need to zap "@" symbols. | |
167 | Don't register for wierd format names; change the names in BFD. | |
168 | ||
169 | * alloca.c, language.c, tdesc.c: Lint. | |
170 | * tdesc.c, tdesc-lib: FIXME: remove these. | |
171 | ||
19230be6 JG |
172 | Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com) |
173 | ||
174 | * Makefile.in: Add tdesc library support. Fixups to lint, | |
175 | copying.c rules. | |
176 | ||
0e2a896c PB |
177 | Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com) |
178 | ||
179 | * symtab.c (decode_line_1): Remove spurious call to operator_chars. | |
180 | ||
181 | Allow setting breakpoints on C++ destructors. | |
182 | * valops.c (destructor_name_p): Don't check TYPE_HAS_DESTRUCTOR, | |
183 | since it lies. Rely on callers to catch missing destructors. | |
184 | * symtab.c (decode_line_1): For example (see above), here. | |
185 | * buildsym.c, symtab.h: Remove TYPE_FLAGS_HAS{CON,DE}STRUCTOR | |
186 | flags since they are no longer used. | |
187 | ||
188 | Fixes to support C++ methods with functional parameters. | |
189 | * c-exp.y (func_mod rule): Allow (and ignore) list of parameter | |
190 | types in a function type. | |
191 | * eval.c (parse_and_eval_type), value.h: New function, | |
192 | parse_and_eval_type, is based on old code from check_stub_method. | |
193 | But don't actually evaluate the cast, since that calls | |
194 | value_cast(), whcih may fail. Just extract the type | |
195 | from the parsed expression. | |
196 | * values.c (check_stub_method): While looping through the | |
197 | arguments, adjust depth *after* parameter has been handled. | |
198 | Replace call and setup of parse_and_eval with new function | |
199 | parse_and_eval_type. | |
200 | ||
58ae87f6 FF |
201 | Tue Nov 12 09:40:07 1991 Fred Fish (fnf at cygnus.com) |
202 | ||
203 | * utils.c, rem-multi.shar: Remove fixed arg count version of | |
204 | concat(). | |
205 | ||
206 | * altos-xdep.c, arm-xdep.c, coffread.c, command.c, convex-xdep.c, | |
207 | core.c, dwarfread.c, gould-xdep.c, infcmd.c, language.c, | |
208 | m88k-xdep.c, main.c, printcmd.c, pyr-xdep.c, source.c, | |
209 | sun386-xdep.c, symm-xdep.c, umax-xdep.c, values.c, xcoffread.c: | |
210 | Change all instances of use of fixed args concat() to variable | |
211 | args concat() now located in libiberty. | |
212 | ||
74f6fb08 JG |
213 | Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com) |
214 | ||
215 | * Makefile.in: Add xcoffread.c, xcoffexec.c. | |
216 | * xcoffread.c: New file for handling AIX mangled-coff files. | |
217 | * xconfig/rs6000, tconfig/rs6000: New files. | |
218 | * buildsym.c: Add hooks for xcoffread.c. | |
219 | * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h, | |
cd56d314 | 220 | xm-rs6000.h, rs6k-opcode.def, rs6k-opcode.h: New files. |
74f6fb08 JG |
221 | * xcoffexec.c: New file for handling AIX shared libraries. |
222 | ||
fb182850 FF |
223 | Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com) |
224 | ||
225 | * core.c: Minor rewording of message to user containing name of | |
226 | (and possibly arguments to) the program that generated a core | |
227 | file. | |
228 | ||
229 | * elfread.c: Remove the register_addr() stub now that it is no | |
230 | longer needed. | |
231 | ||
232 | * procfs.c: Move misplaced #endif for ATTACH_DETACH. Add new | |
233 | fetch_core_registers() function for core file support. | |
234 | ||
8aca810c FF |
235 | Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com) |
236 | ||
b662efed FF |
237 | * dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call |
238 | to do_cleanups() which resulted from a previous change. | |
239 | ||
8aca810c FF |
240 | * elfread.c: Re-enable compilation of register_addr() stub |
241 | whenever it is not supplied by coredep.c | |
242 | ||
a048c8f5 JG |
243 | Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com) |
244 | ||
245 | Add tracking of object files (that contain symbols) to gdb. | |
246 | This includes a "struct objfile" that owns symtabs and psymtabs | |
247 | that were read in from that binary file. | |
248 | ||
249 | * symfile.h: Add struct objfile. Add pointer to the objfile | |
250 | into the struct sym_fns. | |
251 | Replace global `symfile' and `symfile_mtime' with | |
252 | `symfile_objfile'. Add global object_files chain. | |
253 | ||
254 | * symfile.c: Move param.h above symtab.h. | |
255 | (sort_misc_function_vector): Add. | |
256 | (syms_from_objfile): Was syms_from_bfd. | |
257 | (symfile_open): Now returns objfile. | |
258 | (allocate_objfile): New. | |
259 | (free_objfile): New, replacing free_all_.*symtabs. | |
260 | (symfile_init): Takes objfile arg, puts it in sym_fns result. | |
261 | (reread_symbols): Searches whole chain of objfiles. | |
262 | (allocate_symtab): Takes objfile as new parameter, chains them. | |
263 | Handle INIT_EXTRA_SYMTAB_INFO. | |
264 | (free_all_psymtabs, free_all_symtabs): Move here from symmisc.c. | |
265 | ||
266 | * dbxread.c: Make more errors into complaints. | |
267 | (push_subfile, pop_subfile): Move to buildsym.c. | |
268 | (dbx_symfile_read, dbx_symfile_init, fill_symbuf, read_dbx_symtab, | |
269 | start_psymtab, psymtab_to_symtab_1, read_ofile_symtab, | |
270 | dbx_psymtab_to_symtab, ): Use bfd ops, don't use file descriptor. | |
271 | Pass objfile. Change callers. | |
272 | (fill_symbuf, SWAP_SYMBOL): Take bfd as arg. | |
273 | (read_dbx_symtab): Just wipe out new symbols, not all, on error. | |
274 | (end_psymtab): Blow away psymtab if empty. | |
275 | (process_symbol_pair): Swallow into read_ofile_symtab. | |
276 | (process_one_symbol): Use push_context and pop_context. | |
277 | (virtual_context): Delete #if 0'd obsolete stuff. | |
278 | ||
279 | * buildsym.c (end_symtab): Pass objfile. | |
280 | (dbx_lookup_type): Handle null typevector. | |
281 | (dbx_alloc_type): Check file number, not sym number, for -1. | |
282 | (find_symbol_in_list): Add for xcoffread. | |
283 | (start_symtab): Default typevector is empty. Keep reusing same | |
284 | context_stack. | |
285 | (end_symtab): Take objfile argument and pass it to | |
286 | allocate_symtab. Don't make a symtab if no blocks or symbols. | |
287 | Handle empty typevector. | |
288 | (push_context): New function for context stack nesting. | |
289 | (read_type): Mark FIXME where we need to reintroduce type smashing. | |
290 | ||
291 | * buildsym.h (pop_context): Macro, paired with push_context. | |
292 | (subfile_stack): Move here from dbxread.c. | |
293 | ||
294 | * coffread.c (end_symtab, read_coff_symtab): Take and use objfile arg. | |
295 | (read_coff_symtab): Cleanup by freeing objfile, not all symtabs. | |
296 | ||
297 | * mipsread.c (read_mips_symtab, parse_partial_symbols, parse_fdr, | |
298 | new_psymtab, new_symtab): Take and use objfile arg. | |
299 | ||
300 | * dwarfread.c (scan_compilation_units, start_psymtab, | |
301 | process_dies, end_symtab, dwarf_build_psymtabs, | |
302 | read_lexical_block_scope, read_func_scope, read_file_scope): Take | |
303 | and use objfile argument. | |
304 | (psymtab_to_symtab_1, read_ofile_symtab): Don't take or use file | |
305 | descriptor. Use BFD internal functions instead. | |
306 | (end_symtab): Call global allocate_symtab. | |
307 | ||
1d82d3dc | 308 | * elfread.c, target.c: Minor changes to accommodate objfiles. |
a048c8f5 JG |
309 | * symtab.h: partial_symbol_table has no symfile_name member now. |
310 | (fn_fieldlists voffset): avoid non-int bitfield. | |
311 | (struct symtab): Add objfile * and objfile_chain * of symtabs. | |
312 | (struct partial_symtab): Add objfile * and objfile_chain * of | |
313 | psymtabs. Remove symfile_name. | |
314 | ||
1d82d3dc JG |
315 | * symmisc.c: Lose free_all_symtabs, free_all_psymtabs. |
316 | (printsyms_command): Rename from print_symtabs. Add selective | |
317 | listing if 2nd argument given. Print objfile info. | |
318 | (printpsyms_command): Rename from print_partial_symtabs. Ditto all. | |
319 | (printobjfiles_command): New; prints objfiles lists, and checks | |
320 | for consistency of symtab, psymtab, and objfile lists. | |
321 | ||
a048c8f5 JG |
322 | * symfile.h, symfile.c, symtab.h: Lint |
323 | ||
c4668207 JG |
324 | Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com) |
325 | ||
326 | * command.c: Include param.h. | |
327 | * defs.h (warning_setup, warning): Declare. | |
328 | * expprint.c (print_subexp, UNOP_MEMVAL case): Lint. | |
329 | * inflow.c (new_tty): Use USE_O_NOCTTY #define. | |
330 | * language.c, printcmd.c (print_scalar_formatted), signame.c, | |
331 | stack.c: lint. | |
332 | ||
b92c774e SC |
333 | Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com) |
334 | ||
b715d5b4 SC |
335 | * Makefile.in: link with libiberty after libreadline, since |
336 | readline might want something in libiberty. | |
b92c774e SC |
337 | * m88k-xdep.c: Fixed the register offsets in the ptrace_user |
338 | struct for BCS 88k machines. | |
339 | * xm-m88k.h: don't define USIZE if already defined. | |
340 | * configure.in: Added delta88 target. | |
341 | ||
fbcb5095 JG |
342 | Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com) |
343 | ||
1bf068b8 JG |
344 | * am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac. |
345 | ||
fbcb5095 JG |
346 | * tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and |
347 | READ_MIPS_FORMAT, which have been unused since BFD. Still | |
348 | remaining is COFF_NO_LONG_FILE_NAMES. | |
349 | * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from | |
350 | function calling code moved to m68k-tdep.c. | |
351 | ||
e64fbb3a JG |
352 | Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com) |
353 | ||
354 | * coffread.c: Eliminate c_nsyms in favor of c_naux. | |
355 | Complain if no auxents on .bf and .ef FCN symbols, and assume | |
356 | lots of line numbers. | |
357 | (init_linenos, enter_linenos): Use a sentinel at the end of the | |
358 | read-in linenos, to make for a fast, safe loop-end test. | |
359 | ||
360 | Wed Nov 6 02:54:08 1991 Steve Chamberlain (sac at cygnus.com) | |
361 | ||
362 | * coffread.c (read_coff_symtab): coffread used to rely on the | |
363 | x_sym.x_misc.x_lnsz.x_lnno field giving the # of linnos in a | |
364 | function. Two of the formats I'm using (29k and 88k) don't seem to | |
365 | set it. Ths patch to fcn_last_line and (enter_linenos) is an | |
366 | attempt to use the actual size of the linno table in the file to set | |
367 | the number of linenos to process. | |
368 | ||
0aaa124f SC |
369 | Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com) |
370 | ||
371 | * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and | |
372 | mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files | |
373 | are created in place, so the mv fails, then the make continues. | |
374 | ||
545af6ce PB |
375 | Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com) |
376 | ||
377 | Add C++ as a separate language. | |
378 | * defs.h (enum language): Add language_cplus. | |
379 | * dwarfread.c (end_symtab): Support language_cplus. | |
380 | * c-exp.y: Add new struct language_defn cplus_language_defn. | |
381 | Don't set c to be the default language (see main.c). | |
382 | * c-exp.y (yylex): Only look for field of this if | |
383 | language is C++. (First difference from C!) | |
384 | * language.c: Add case branches for C++ (currently, all | |
385 | the same as C). Also, add c++ to "usage" note for "set lang". | |
386 | * valprint.c (typedef_print). Add case branches for C++. | |
387 | * main.c (main): New way to set initial language: Look at | |
388 | file extension of psymtab containing main(). (Same as we | |
389 | do for symtabs, but avoid loading the symtab yet.) | |
390 | * symtab.c: New routine find_main_psymtab(), used by main() | |
391 | to set initial language. | |
392 | * symfile.c (allocate_symtab): Move code for mapping file | |
393 | extensions-> languages to new deduce_language_from_filename(). | |
394 | ||
395 | Fix a C++ problem when looking for methods in super-classes. | |
396 | There was confusion between base and derived types. | |
397 | * valops.c (value_fn_field): Change function interface. | |
398 | * values.c: Use new value_fn_field interface. | |
399 | ||
abefb1f1 PB |
400 | Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com) |
401 | ||
402 | * infrun.c: Fixed typo in comment. | |
403 | * utils.c: All the v*fprintf emulation is now in libiberty, | |
404 | so we can get rid of some junk. | |
405 | * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, | |
406 | xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. | |
407 | * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL | |
408 | type operands, as used by branch instructions. | |
409 | * gmalloc.c: Fix prototype of memcpy. | |
410 | * elfread.c: Comment out register_addr, since it conflicts | |
411 | with the one in coredep.c. | |
412 | * buildsym.h: Remove extern declarations of two functions | |
413 | that are really static in buildsym.c. | |
414 | * tm-mips.h: Add symbolic names for more registers. | |
415 | * mips-xdep.c (store_inferior_registers): Use new register names. | |
416 | * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now | |
417 | only used for core files, not ptrace. Therefore, | |
418 | the KERNEL_U_ADDR hack is no longer needed. | |
419 | The mapping to ptrace number is now in in mips-xdep.c. | |
420 | * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the | |
421 | mapping from the old REGISTER_U_ADDR), and use it | |
422 | in {fetch,store}_inferior_registers. | |
423 | * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. | |
424 | * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): | |
425 | Save/restore FP regs correctly (?). | |
426 | * dbxread.c: Remove duplicate define_symbol and type_synonym_name | |
427 | (these had been previously moved to buildsym.c). | |
428 | Hence, define_symbol becomes extern instead of static. | |
429 | * buildsym.c (read_struct_type): Comment out bogus handling | |
430 | of C++ operator methods. Minor hacking of reading of class | |
431 | contexts. Make define_symbol non-static, so dbxread.c can call it. | |
432 | ||
c9bd6710 JG |
433 | Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com) |
434 | ||
435 | * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real | |
436 | filename with error messages. | |
437 | * stack.c (frame_select_command): Rename to select_frame_command | |
438 | to avoid "fr" and "fra" having nonunique completions. | |
439 | * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *. | |
440 | (symfile_init): Print file format name when unable to handle it. | |
441 | (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST. | |
442 | * symmisc.c (free_symtab): Only free linetable if nonzero. | |
443 | * symtab.h: Remove obsolete BLOCKLIST macros. | |
444 | ||
d7d1098d SG |
445 | Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com) |
446 | ||
447 | * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure | |
448 | that stop_step is 1 at bottom of main loop. I don't know why this | |
449 | needs to be done, but it helps me sleep better at night. | |
450 | ||
8b3c897a SG |
451 | Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com) |
452 | ||
453 | * main.c (initialize_history): Read history after reading all | |
454 | init files. | |
455 | ||
4137c5fc JG |
456 | Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com) |
457 | ||
458 | * buildsym.c: Break out initial malloc sizes. | |
459 | (record_line): Record directly in a subfile. Alloc on demand. | |
460 | (compare_line_numbers): Add from xcoffread.c. | |
461 | (end_symtab): New params say whether to sort pendings and | |
462 | linetable. Patch block stabs if defined. Shrink linetable before | |
463 | allocating the symtab. | |
464 | * buildsym.h: Delete line_vector* and prev_line_number. Add | |
465 | global_stabs and file_stabs for xcoffread. | |
466 | * dbxread.c (start_subfile): Move to buildsym. Change above calls. | |
467 | * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. | |
468 | * symmisc.c, symtab.c: Cope with null LINETABLEs. | |
469 | ||
470 | * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO. | |
471 | * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, | |
472 | tm-sparc.h: Accept fromleaf parameter. | |
473 | * c-exp.y (yyerror): Pass error message if given. | |
474 | * configure.in: Add rs6000 host and target. | |
475 | * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. | |
476 | * symfile.h (entry_point): Add. | |
477 | ||
c0302457 JG |
478 | Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com) |
479 | ||
480 | * buildsym.c: New file. Breaks out symbol-table-building routines | |
481 | from dbxread.c, so they can be shared with xcoffread.c. | |
482 | * buildsym.h: New file. Declarations for buildsym.c users. | |
483 | * dbxread.c: Remove large chunks into buildsym.c. | |
d47d5315 JG |
484 | * Makefile.in: Add buildsym.c and buildsym.h. |
485 | ||
486 | * symfile.c (syms_from_bfd): New routine. | |
487 | (add_symbol_file): Call it to do the real work. | |
488 | (syms_from_bfd): Initialize entry_point before calling symfile_init. | |
489 | * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: | |
490 | Avoid declaring or setting entry_point (symfile.h & symfile.c cope). | |
c0302457 | 491 | |
4c53d9ca DHW |
492 | Fri Oct 25 10:58:16 1991 Mark Eichin (eichin at cygnus.com) |
493 | ||
494 | * cplus-dem.c (cplus-demangle): added support for templates, static | |
495 | data, and the new (correct) mangling for destructors. | |
496 | ||
497 | * dwarfread.c: (dwarfwarn): created a varargs version of | |
498 | dwarfwarn, for non __STDC__ compilers. | |
499 | ||
500 | * c-exp.y: (yylex): added match for "template" token. | |
501 | (typebase): added TEMPLATE name '<' type '>' clause, for explicit | |
502 | specification of template types. | |
503 | ||
504 | * symtab.c: (lookup_template_type): new function for finding | |
505 | templates in symbol table. | |
506 | (type_name_no_tag): changed to explicitly check for s/u/e at the | |
507 | beginning of the symbol - if it is a template, none of these will | |
508 | be there (but the name will still contain spaces.) | |
509 | ||
bcccec8c PB |
510 | Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com) |
511 | ||
512 | Various fixes to improve g++ debugging. | |
513 | * symtab.h: Add is_const and is_volatile flags for each method. | |
514 | These are bit fields - take their space from voffset, | |
515 | which shrinks to 30 bits. Since voffset is now a bitfield, | |
516 | make it unsigned for portability. This changes its interpretation | |
517 | slightly: Static methods now have voffset 1 instead of -1, | |
518 | and virtual offsets start at 2, not 1. | |
519 | * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name, | |
520 | since it now returns an entire magled method name, not just | |
521 | the type part. This avoids some duplication. | |
522 | It also allows us to correctly mangle const and volatile | |
523 | methods (using the new is_const and is_volatile bit fields | |
524 | mentioned above). | |
525 | * valprint.c (type_print_base), values.c (check_stub_method): | |
526 | Simplify by using new gdb_mangle_name. | |
527 | * values.c (value_headof): Fix to correctly handle single | |
528 | inheritance (actually two fixes, either of which suffices). | |
529 | * dbxread.c (read_struct_type): Handle const and volatile | |
530 | method specifiers. | |
531 | * dbxread.c (read_struct_type): Yet one more place where | |
532 | we must handle '\\' continuations. | |
533 | * valprint.c (vtbl_ptr_name): Add final '\0'. | |
534 | ||
eb3f3e5c SG |
535 | Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com) |
536 | ||
5ab580cc SG |
537 | * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of |
538 | short return values for sparc and 68k. Patch from Paul Eggert. | |
539 | ||
eb3f3e5c SG |
540 | * coffread.c, coredep.c, i386-xdep.c: install patches for |
541 | SysV/386 3.2 from Mauro DePalma. | |
542 | ||
9cb602e1 JG |
543 | Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com) |
544 | ||
c58215f2 JG |
545 | * core.c (core_file_info), exec.c (exec_file_info): Print file |
546 | type. Use printf_filtered. | |
547 | ||
9cb602e1 JG |
548 | * valops.c (value_fetch_lazy): Avoid 0-length fetches. |
549 | ||
b662acae FF |
550 | Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com) |
551 | ||
c8c0a2bd FF |
552 | * dwarfread.c: Add casts to remove compiler warnings. |
553 | ||
84d82b1c FF |
554 | * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h, |
555 | tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h, | |
556 | tm-sun3.h: Remove locally duplicated code for calling functions | |
557 | in the inferior. The only differences were in the specific trap | |
558 | vectors used and whether or not an fpu was present. These are | |
559 | now handled by appropriate definitions of BPT_VECTOR and | |
560 | HAVE_68881 respectively. Other minor obvious cleanups. | |
561 | ||
562 | * valops.c: Correct a minor misspelling. | |
563 | ||
ed317bb3 FF |
564 | * utils.c: Remove local BSD/USG hacks that are now in libiberty. |
565 | ||
b662acae FF |
566 | * dwarfread.c: Remove prototype for dwarfwarn. Does not work |
567 | with <varargs.h>. | |
568 | ||
313fdead JG |
569 | Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) |
570 | ||
b0077123 JG |
571 | * stack.c (frame_command): Always print. Use new |
572 | frame_select_command to select a frame without printing. | |
573 | ||
313fdead JG |
574 | * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable. |
575 | ||
4a35d6e9 FF |
576 | Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) |
577 | ||
35f5886e FF |
578 | * dwarfread.c: New file for DWARF debugging format support. |
579 | ||
580 | * elfread.c: New file for ELF object file format support. | |
581 | ||
582 | * procfs.c: New file for SVR4 /proc (process file system) support. | |
583 | ||
584 | * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for | |
585 | Amiga UNIX support. | |
586 | ||
587 | * xm-svr4.h, tm-svr4.h: New files for SVR4 support. | |
588 | ||
589 | * xm-m68k.h: New file for host machines with m68k cpu. | |
590 | ||
bb4ff694 FF |
591 | * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR. |
592 | Add elfread.o and dwarfread.o to OBS. | |
593 | ||
594 | * symfile.h: Add "elf" to list of supported formats in comment. | |
595 | ||
e2aab031 FF |
596 | * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin |
597 | types to gdb, builtin_type_long_double, builtin_type_complex, and | |
598 | builtin_type_double_complex. Add and use new TARGET_SHORT_BIT, | |
599 | TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT, | |
600 | TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and | |
601 | TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated | |
602 | types on the target machine (ala the existing TARGET_LONG_LONG_BIT). | |
603 | ||
02070680 FF |
604 | * infrun.c: When using SVR4 /proc interface instead of ptrace(), |
605 | call proc_set_exec_trap() to setup child to stop at first instruction. | |
606 | ||
607 | * inftarg.c: When using SVR4 /proc interface, call proc_wait() | |
608 | rather than wait(). | |
609 | ||
610 | * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(), | |
611 | supply_fpregset(), and fill_fpregset(), which are machine | |
612 | dependent support routines for SVR4 /proc interface. | |
613 | ||
2bc2e684 FF |
614 | * utils.c: Add warning_setup() and warning(). Warning() behaves |
615 | the same as error() except that it returns normally rather than | |
616 | jumping back to command level. Modules that don't want to call | |
617 | warning() for some reason, but want to produce their own warnings, | |
618 | can call warning_setup() to ensure compatibility with the way | |
619 | warning() and error() deal with the terminal. | |
620 | ||
eaa1ef1d FF |
621 | * symtab.c: Make internal errors produce more useful messages. |
622 | ||
dcd15e5e FF |
623 | * tm-68k.h: Move code that is duplicated in almost every single |
624 | m68k based machine's configuration files to this common file. | |
625 | Duplications in the configuration files still need to be removed | |
626 | (FIXME). | |
627 | ||
150f5436 FF |
628 | * infrun.c (child_create_inferior): System V versions must call |
629 | setpgrp() with no arguments, to comply with prototyping typically | |
630 | in <unistd.h>. | |
631 | ||
cb17dfb1 FF |
632 | * munch: Add support for SVR4 style nm output. |
633 | ||
4a35d6e9 FF |
634 | * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object |
635 | file specific fields from the partial symbol table structure and | |
636 | replace them with a pointer to private data for each different | |
637 | flavor of object file reader to initialize appropriately. | |
638 | ||
b0077123 JG |
639 | Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com) |
640 | ||
641 | * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c | |
642 | and previous. | |
643 | ||
644 | * mipsread.c (fixup_undef_type): New function. If a struct / | |
645 | union / enum is defined in a header file but nowhere else used, | |
646 | (by typedefing, pointer referencing or declaration) the mipsread code | |
647 | builds the complete tree for the structure but leaves its code as | |
648 | TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is. | |
649 | Guess its type based on the details of the members. | |
650 | ||
0d3e7f60 SG |
651 | Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com) |
652 | ||
653 | * infrun.c (wait_for_inferior): Check return value from | |
654 | find_pc_line. | |
655 | ||
bc6c937d SG |
656 | Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com) |
657 | ||
658 | * infrun.c (wait_for_inferior): fix stepi/nexti that was broken | |
659 | by my last edit to this routine. | |
660 | ||
b0077123 JG |
661 | Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com) |
662 | ||
663 | * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging. | |
664 | FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap | |
665 | the values before putting them into the dummy code. (From Peter | |
666 | Schauer) | |
667 | ||
44e4e473 SC |
668 | Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com) |
669 | ||
670 | * configure.in: added ebmon target. | |
671 | ||
785ce19c | 672 | Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com) |
a1b8c5d6 JG |
673 | |
674 | GDB-4.2 release! | |
675 | ||
676 | * Makefile.in: Roll VERSION to 4.2. | |
44e4e473 | 677 | * README, TODO, WHATS.NEW: Update. |
a1b8c5d6 JG |
678 | |
679 | * core.c (core_open): Improve error message for bad file. | |
680 | Pass .reg virtual memory address to fetch_core_registers to help | |
681 | it find the registers in the core-file header. | |
682 | * coredep.c (fetch_core_registers): Take new argument, use it, | |
683 | and pass it to register_addr to locate the block of registers. | |
785ce19c | 684 | * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit. |
a1b8c5d6 JG |
685 | |
686 | * dbxread.c (read_dbx_symtab, process_one_symbol): Handle | |
687 | Sequent N_FN_SEQ like everybody else's N_FN. | |
688 | ||
689 | * main.c: Circumvent SCO cc bug with #if !!defined(USG). | |
690 | * tm-i386v.h: #endif guck. | |
691 | * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge. | |
785ce19c JG |
692 | * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath. |
693 | * xconfig/tahoe: Add REGEX, which seems to be missing. | |
694 | ||
695 | * coredep.c: Add <sys/types.h> for SCOnix. | |
696 | * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file. | |
697 | * printcmd.c (print_formatted): Flush output before disassembly. | |
a1b8c5d6 | 698 | |
93ae2e88 RP |
699 | Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) |
700 | ||
9e0906a6 RP |
701 | * doc/refcard.tex (sec "Working Files"): consistent metavars and |