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