Commit | Line | Data |
---|---|---|
5edf98d7 FF |
1 | Fri Dec 6 08:30:36 1991 Fred Fish (fnf at cygnus.com) |
2 | ||
3 | * dwarfread.c (struct_type): Fixes to improve opaque struct/union | |
4 | handling. Does not solve all problems, since gdb still fails to | |
5 | find the complete definition if the file containing the complete | |
6 | definition has not yet been read in. (FIXME) | |
7 | ||
7b2a87ca JG |
8 | Thu Dec 5 21:53:21 1991 John Gilmore (gnu at cygnus.com) |
9 | ||
10 | * symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in | |
11 | mid-line, be more careful about possibly advancing to the next line. | |
12 | ||
1cca1729 MT |
13 | Thu Dec 5 18:59:51 1991 Michael Tiemann (tiemann at cygnus.com) |
14 | ||
15 | * cplus-dem.c (cplus_demangle): Call `string_need' when | |
16 | null-terminating a partially-computed string. | |
17 | ||
715cafcb FF |
18 | Thu Dec 5 18:19:43 1991 Fred Fish (fnf at cygnus.com) |
19 | ||
20 | * dwarfread.c (enum_type): Build a correct TYPE_NAME, add a | |
21 | symbol to the symbol table for each member of the enum. | |
22 | ||
23 | * dwarfread.c (struct_type): Build a correct TYPE_NAME. | |
24 | ||
25 | * dwarfread.c (add_enum_psymbol): New function to extract enum | |
26 | member names and add them to the partial symbol table while | |
27 | building partial symbol tables. | |
28 | ||
a0a6174a JG |
29 | Thu Dec 5 17:31:05 1991 John Gilmore (gnu at cygnus.com) |
30 | ||
31 | * symtab.c (check_stub_method): Must allocate two extra argument | |
32 | slots (one for `this', one for arglist terminator). | |
33 | ||
c8d9eb8e FF |
34 | Thu Dec 5 10:51:05 1991 Fred Fish (fnf at cygnus.com) |
35 | ||
817b8c46 FF |
36 | * inflow.c (child_terminal_info): Supply missing '"' character. |
37 | ||
c8d9eb8e FF |
38 | * buildsym.c (define_symbol): Supply missing parenthesis. |
39 | ||
2a5ec41d JG |
40 | Thu Dec 5 03:34:21 1991 John Gilmore (gnu at cygnus.com) |
41 | ||
299ee4e6 JG |
42 | * coredep.c (fetch_core_registers): Fencepost error. Fixed by |
43 | Jay Lepreau <lepreau@cs.utah.edu>. | |
44 | ||
2a5ec41d JG |
45 | * inflow.c: Remember whether GDB has a terminal. Avoid switching |
46 | terminals back and forth if we don't have one. | |
47 | ||
48 | * c-exp.y (parse_number): Zero is not an unsigned int constant! | |
49 | * dbxread.c (read_dbx_symtab): Enum type numbers can be in (1,2) form. | |
50 | ||
51 | Improve type parsing. | |
52 | * buildsym.c (define_symbol, read_range_type): Add | |
53 | long_kludge_name that passes the names of range types being | |
54 | defined, down to where we must choose between 'int' and 'long' | |
55 | variants. This fails on Sun C anyway since the compiler itself is | |
56 | confused between int and long. | |
57 | (read_array_type, cleanup_undefined_types): Correct the size of | |
58 | array type whose element-type size isn't immediately known. | |
59 | ||
60 | Early preparation to blow away many builtin types, building them | |
61 | on the fly as needed. Don't compare types to builtin types with | |
62 | ==; examine the relevant fields instead. | |
63 | * coffread.c (process_coff_symbol: C_ARG, C_REGPARM): Avoid ==. | |
64 | * buildsym.c (define_symbol, case 'p'): Avoid ==. | |
65 | * valops.c (value_arg_coerce): Avoid ==. Don't assume host and | |
66 | target types are the same. | |
67 | * valprint.c (val_print): I finally understand arrays, remove FIXME. | |
68 | ||
69 | * symmisc.c (printpsyms_command): Reduce redundancy, and put all | |
70 | addresses in GDB itself into parens for easy cleanup and diffing. | |
71 | ||
98618bf7 FF |
72 | Wed Dec 4 21:05:30 1991 Fred Fish (fnf at cygnus.com) |
73 | ||
74 | * dwarfread (enum_type): Arrange for the order of enumeration | |
75 | members to match the source code order; not the order in the | |
76 | Dwarf information, which is explicitly reverse order. | |
77 | ||
3c7cc3b7 JG |
78 | Wed Dec 4 18:24:39 1991 John Gilmore (gnu at cygnus.com) |
79 | ||
80 | * main.c (input_from_terminal_p): Check whether GDB has a | |
81 | terminal at all. | |
82 | (initialize_main): Revise doc for `set editing'. | |
83 | ||
84 | Wed Dec 4 15:36:39 1991 Fred Fish (fnf at cygnus.com) | |
85 | ||
86 | * dwarfread.c (struct_type): Handle structures and unions which | |
87 | contain DIE's other than just member dies. | |
88 | ||
6470e9c3 JG |
89 | Wed Dec 4 01:59:05 1991 John Gilmore (gnu at cygnus.com) |
90 | ||
91 | * symfile.c (reread_symbols): Avoid kludging mtime_set, now that | |
92 | BFD is fixed. | |
93 | ||
2e00f40a JG |
94 | Tue Dec 3 17:24:57 1991 John Gilmore (gnu at cygnus.com) |
95 | ||
4369a140 JG |
96 | * Makefile.in: VERSION 4.2.96. |
97 | ||
98 | * main.c (initialize_main): Revise command descriptions. | |
99 | * command.c (show_user): `info user' -> `show user'. | |
100 | * symtab.c (_initialize_symtab): Typo in `info types' desc. | |
101 | ||
7a6093e8 | 102 | * coffread.c (coff_symfile_read): Avoid select_source_symtab, |
4369a140 JG |
103 | since it is not needed and can cause errors when examining ".o"s. |
104 | (read_coff_symtab, decode_base_type): Use complain, not printf. | |
105 | Print symbol name, not its number. | |
106 | Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which | |
107 | someday should go in a clipper target config file. | |
7a6093e8 JG |
108 | |
109 | * symfile.c (compact_misc_function_vector): Handle empty vector. | |
4369a140 JG |
110 | (complain, clear_complaints, syms_from_objfile): Fix complaint |
111 | formatting. | |
112 | * xcoffexec.c: Change syms_from_objfile caller. | |
7a6093e8 | 113 | |
2e00f40a JG |
114 | * sparc-xdep.c: Force tm-file as tm-sparc.h, to make it compile |
115 | when configured for cross debugging. FIXME, this needs a more | |
116 | general solution. | |
117 | ||
ce623b5f PB |
118 | Mon Dec 2 11:04:05 1991 Per Bothner (bothner at cygnus.com) |
119 | ||
120 | * mips-tdep.c (init_extra_frame_info): Float register | |
121 | 'i' has gdb-internal number 'FP0+i', not '32+i'. | |
122 | * mipsread.c (new_symbol): Translate g++ special | |
123 | symbol "$t" to "this". | |
124 | ||
f5f0679a SC |
125 | Sat Nov 30 21:29:55 1991 Steve Chamberlain (sac at cygnus.com) |
126 | Changes due to include file renaming: | |
127 | ||
128 | * xcoffread.c: internalcoff.h ->coff/internal.c, | |
129 | coff-rs6000.h ->coff/rs6000.h | |
130 | * mipsread.c: coff-mips.h ->coff/mips.h | |
131 | * elfread.c: elf-common.h ->elf/common.h | |
132 | elf-external.h ->elf/external.h, | |
133 | elf-internal.h ->elf/internal.h | |
134 | * dwarfread.c dwarf.h ->elf/dwarf.h | |
135 | * dbxread.c: aout64.h ->aout/aout64.h | |
136 | stab.gnu.h ->aout/stab_gnu.h | |
137 | ||
138 | * coffread.c: internalcoff.h ->coff/internal.h | |
139 | * buildsym.c: stab.gnu.h ->aout/stab_gnu.h | |
140 | * depend Updated to take the above into account. | |
141 | ||
3053b9f2 FF |
142 | Fri Nov 29 16:59:25 1991 Fred Fish (fnf at cygnus.com) |
143 | ||
8c6e9f05 FF |
144 | * configure.in: Add SVR4 i386 configurations. |
145 | ||
146 | * config/mh-i386v4, config/mt-i386v4, tm-i386v4.h, xm-i386v4.h: | |
147 | New files for i386/SVR4. | |
148 | ||
149 | * tm-i386v.h: Allow START_INFERIOR_TRAPS_EXPECTED and | |
150 | DECR_PC_AFTER_BREAK to be predefined by files including | |
151 | tm-i386v.h. | |
152 | ||
153 | * i386-tdep.c: Add supply_gregset(), fill_gregset(), | |
154 | supply_fpregset(), and fill_fpregset() functions, which are | |
155 | target dependent support functions for the SVR4 /proc register | |
156 | interface. | |
157 | ||
158 | * dwarfread.c (enum_type, struct_type): Expand recognized | |
159 | compiler generated tags to include symbols beginning with '.' as | |
160 | well as '~'. | |
161 | ||
3053b9f2 FF |
162 | * symtab.c (sources_info): Change simple printf of error message |
163 | to call to error(). | |
164 | ||
4b195f9a RP |
165 | Fri Nov 29 16:04:21 1991 Roland H. Pesch (pesch at cygnus.com) |
166 | ||
167 | * doc/gdb.texinfo: remove leading comments that survived M4 but | |
168 | described its role in the doc; add one more font to colophon; | |
169 | strengthen disclaimer about unsupported configs. | |
170 | ||
f1d77e90 JG |
171 | Wed Nov 27 01:23:41 1991 John Gilmore (gnu at cygnus.com) |
172 | ||
173 | Fix bugs in C++ debugging. | |
174 | ||
175 | * symtab.h: target_type is not used in record types. | |
176 | Eliminate TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT. Eliminate | |
67c29f75 | 177 | lookup_method_type. Add TYPE_TYPE_SPECIFIC macro. |
f1d77e90 JG |
178 | |
179 | * symtab.c (lookup_member_type): Don't chain them up, just | |
180 | allocate one in symbol_obstack when we need one. | |
181 | (allocate_stub_method): Build stub in symbol_obstack. | |
182 | (check_stub_method): Move here from values.c. Don't deallocate | |
183 | stub; overwrite it. | |
184 | (lookup_method_type): Gone now. | |
185 | ||
186 | * buildsym.c: Handle g++ v1 stabs a little bit better. | |
187 | Change some C++ parsing error()s to complain()ts. | |
188 | * buildsym.c, findvar.c, printcmd.c, symtab.c: Make unions and | |
189 | structs have the same representation and work the same as far as | |
190 | C++ is concerned. | |
191 | * buildsym.c, symtab.c, values.c: Remove all references to | |
192 | TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT. | |
193 | ||
194 | * valops.c: Improve comments and indentation. Only call | |
195 | check_stub_method when the stub flag is on. | |
196 | * valprint.c: Fix or mark minor bugs and unportabilities. | |
197 | ||
198 | * coffread.c (anonymous unions): Allocate a cplus structure. | |
199 | ||
200 | * mipsread.c: Eliminate "template" types. Build new, real | |
201 | types whenever we need them. Allocate cplus structures as needed. | |
202 | Bulletproof the type parsing a bit more. Mark storage leaks. | |
67c29f75 JG |
203 | (parse_type): Copy TYPE_TYPE_SPECIFIC when copying a real type |
204 | on top of a partial type. | |
f1d77e90 | 205 | |
b68da3b8 JG |
206 | Fri Nov 22 16:39:57 1991 John Gilmore (gnu at cygnus.com) |
207 | ||
378d8e73 JG |
208 | * inflow.c (terminal_inferior): Check the results of ioctl's, and |
209 | print a message if any of them fail. | |
210 | (terminal_ours_1): Store result of ioctl's for debugging, but | |
211 | don't print (the terminal isn't ours...). | |
212 | ||
b68da3b8 JG |
213 | * tm-tahoe.h (FRAME_ARGS_ADDRESS): No need to offset from frame |
214 | pointer. | |
215 | ||
216 | * m2-exp.y (MAX, MIN): Rename to MAX_FUNC, MIN_FUNC to avoid | |
217 | conflicts with system header files. | |
218 | ||
8013e170 JG |
219 | Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com) |
220 | ||
2dd074f4 JG |
221 | * Roll VERSION to 4.2.95. |
222 | ||
3ae444f8 JG |
223 | * buildsym.c, coredep.c, mem-break.c, xcoffread.c: Put <stdio.h> |
224 | first, before defs.h. | |
225 | * config/mh-i386sco: Override compiler to gcc, print warning. | |
2b61280a | 226 | * configure.in: Handle i386-none-aout rather than i386-aout-none. |
3ae444f8 | 227 | * infptrace.c, language.h, utils.c: Lint. |
1a5a8f2a JG |
228 | * m2-exp.y: #undef MAX and MIN in case system includes set them. |
229 | * xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of | |
230 | {BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid | |
231 | redefinition warnings. | |
232 | * defs.h: Reorder things so that the xm-file gets first crack | |
233 | at #define's, followed by defs.h and then the tm-file. | |
234 | * Makefile.in: Remove spaces after 'ignore exit code' - flags. | |
235 | Late-model BSD 'make's don't cope with them. | |
8013e170 | 236 | |
3cb0d72d JG |
237 | Thu Nov 21 23:48:56 1991 John Gilmore (gnu at cygnus.com) |
238 | ||
239 | * Makefile.in: Roll new files into various lists. | |
240 | ||
4cfd3c49 FF |
241 | Thu Nov 21 18:26:11 1991 Fred Fish (fnf at cygnus.com) |
242 | ||
243 | * dwarfread.c (struct_type): Must initialize the c++ specific | |
244 | portion of union types as well as struct types, since gdb attempts | |
245 | to reference the c++ specific info for both types. | |
246 | ||
7d9884b9 JG |
247 | Thu Nov 21 10:23:52 1991 John Gilmore (gnu at cygnus.com) |
248 | ||
2e8521a9 JG |
249 | * Makefile.in: Roll VERSION to 4.2.90. |
250 | ||
251 | * defs.h: Incorporate param.h into defs.h. All users changed. | |
7d9884b9 JG |
252 | * param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. |
253 | * param.h, param-no-tm.h: Removed. | |
254 | * Update copyrights in all changed files. | |
255 | * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, | |
256 | solib.c, symtab.h, tm-umax.h, valprint.c: Lint. | |
257 | * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, | |
258 | xm-merlin.h: Avoid host include files in target descriptions. | |
259 | * getpagesize.h: Removed, libiberty copes now. | |
21f62bbd | 260 | * Makefile.in: Remove getpagesize.h, param.h, param-no-tm.h. |
7d9884b9 | 261 | |
3db0634c JG |
262 | * exec.c (exec_files_info): If `verbose' is set, show file offset |
263 | as well. | |
264 | ||
f7402c04 JG |
265 | * main.c: Use getcwd rather than getwd. |
266 | * standalone.c: Fake getcwd rather than getwd. | |
267 | * xm-*.h: Remove fake values of MAXPATHLEN. | |
268 | ||
76b28d05 JG |
269 | * xcoffexec.c: Add /* */ to #if 0'd thing to help ANSI. |
270 | ||
6373dbe3 JG |
271 | Wed Nov 20 18:35:56 1991 John Gilmore (gnu at cygnus.com) |
272 | ||
49faf3b6 JG |
273 | * Remove gdb/hp-include. Support for HP a.out oddities should be |
274 | in BFD, not in GDB. Move gdb/hp-include/a.out.h to include/a.out.hp.h. | |
275 | ||
44ff4c96 JG |
276 | * infptrace.c, tm-sun386.h: Cashier <a.out.gnu.h>, remove refs. |
277 | ||
f318d221 JG |
278 | * configure.in, xconfig, tconfig, Makefile.in, doc/gdbint.texinfo: |
279 | Makefile fragments for various hosts and targets now come from | |
280 | gdb/config/mh-* and gdb/config/mt-*. This is for consistency with | |
281 | other config setups. | |
3978d059 | 282 | |
6373dbe3 JG |
283 | * rs6000-pinsn.c, rs6k-opcode.h: Clean up. |
284 | * rs6k-opcode.def: Delete. | |
285 | ||
768be6e1 FF |
286 | Wed Nov 20 05:04:40 1991 Fred Fish (fnf at cygnus.com) |
287 | ||
288 | * dwarfread.c: Recognize obsolete form of AT_element_list | |
289 | attribute still used by at least one AT&T compiler, and possibly | |
290 | more. | |
291 | ||
d018c8a6 FF |
292 | Tue Nov 19 07:53:55 1991 Fred Fish (fnf at cygnus.com) |
293 | ||
0db97eed FF |
294 | * dwarfread.c (enum_type, struct_type): Ignore names invented by |
295 | helpful compilers for anonymous structs, unions, and enums. | |
296 | ||
d018c8a6 FF |
297 | * c-exp.y, m2-exp.y: Add defines for yymaxdepth, yy_yys, and |
298 | yy_yyv, so multiple parsers produced by SVR4 versions of yacc | |
299 | can coexist in the same executable without collision. | |
300 | ||
301 | * symtab.h: Add declaration for lookup_template_type() to kill | |
302 | compiler warnings about conversions from int to pointer. | |
303 | ||
b6666a5d FF |
304 | Mon Nov 18 17:45:18 1991 Fred Fish (fnf at cygnus.com) |
305 | ||
5129100c FF |
306 | * procfs.c: Move inclusion of defs.h to before param.h, as in |
307 | all the other source files that include both. This is required | |
308 | to supply some typedefs that are used in files included by param.h. | |
309 | ||
b6666a5d FF |
310 | * m68k-tdep.c (m68k_skip_prologue): Add generic m68k support for |
311 | skipping function prologues, ala the other cpu families (i386, | |
312 | mips, m88k, etc). Add the ability to skip movm and fmovm | |
313 | instructions in the prologues. Still needs support for profile | |
314 | (-p compiled) prologue sequences (FIXME). | |
315 | ||
316 | * tm-68k.h: Change SKIP_PROLOGUE macro to use the new generic | |
317 | m68k prologue skipping function by default. | |
318 | ||
319 | * tm-altos.h, tm-isi.h: Continue to use the old definition of | |
320 | SKIP_PROLOGUE. | |
321 | ||
e140f1da JG |
322 | Mon Nov 18 15:12:45 1991 John Gilmore (gnu at cygnus.com) |
323 | ||
b9fd1330 | 324 | * Makefile.in: Remove tdesc stuff, and extra blanks before colons. |
e140f1da | 325 | * blockframe.c: Remove tdesc-related code. Default |
b9fd1330 | 326 | FRAME_CHAIN_COMBINE. |
e140f1da JG |
327 | * infrun.c: Remove tdesc-related code. |
328 | * m88k-tdep.c (frame_chain_combine, init_frame_pc): Remove copies | |
329 | of defaultable things. | |
330 | * tm-m88k.h: New file, common to all Moto 88k target configs. | |
331 | Derived from tm-delta88.h. | |
332 | * tm-delta88.h: Use it. | |
333 | * xm-m88k.h: Common file for 88K hosts. Remove obsolete stuff. | |
334 | * xm-delta88.h: Use it. | |
335 | * tm-*.h: Remove FRAME_CHAIN_COMBINE macros, since all are | |
336 | default. | |
337 | * coffread.c: Remove tdesc stuff. | |
5e2569e6 JG |
338 | * tconfig/delta88, tconfig/m88k: Remove tdesc stuff. |
339 | * xconfig/m88k: Rename tm-88k.h to tm-m88k.h. | |
e140f1da JG |
340 | |
341 | Mon Nov 18 13:51:37 1991 Per Bothner (bothner at cygnus.com) | |
342 | ||
343 | * source.c (open_source_file): If openp fails, try again | |
344 | using just the base (non-directory) part of the filename. | |
345 | This solves various annoying problems, such as when the | |
346 | source was compiled with an absolute pathname - and the | |
347 | source files have moved. Or if the source was compiled | |
348 | using a relative pathname, it can be more convenient | |
349 | to just specific the source directory to the dir command. | |
350 | ||
2d6186f4 FF |
351 | Mon Nov 18 00:04:41 1991 Fred Fish (fnf at cygnus.com) |
352 | ||
1a18a185 FF |
353 | * cplus-dem.c (munge_function_name): Add missing third arg to |
354 | instance of call to do_type(). | |
355 | ||
2d6186f4 FF |
356 | * dwarfread.c: Changes to match new dwarf.h. Remove |
357 | AT_deriv_list, AT_loclist, AT_incomplete, AT_const_data, | |
358 | and AT_is_external. | |
359 | ||
572acbbe MT |
360 | Sun Nov 17 16:20:53 1991 Michael Tiemann (tiemann at rtl.cygnus.com) |
361 | ||
362 | * symtab.h (struct type): Moved C++-specific fields into new type | |
363 | `struct cplus_struct_type'. Now takes 10% less memory. Many | |
364 | macros changed. | |
365 | * symtab.c (init_type): Don't set fields belonging to | |
366 | TYPE_CPLUS_SPECIFIC unless TYPE is TYPE_CODE_STRUCT. | |
367 | * buildsym.c (read_type): Allocate TYPE_CPLUS_SPECIFIC for | |
368 | TYPE_CODE_STRUCT. | |
369 | (read_struct_type): Ditto. Also, add comments about how we can | |
370 | deduce TYPE_VPTR_FIELDNO from inheritance info and fieldname info. | |
371 | * coffread.c (decode_base_type): Allocate TYPE_CPLUS_SPECIFIC for | |
372 | TYPE_CODE_STRUCT. | |
373 | (read_struct_type): Ditto. | |
374 | * dwarfread.c (struct_type): Ditto. | |
375 | ||
376 | * symtab.c (read_range_type): Don't set TYPE_MAIN_VARIANT. | |
377 | (lookup_pointer_type): Don't use or set TYPE_MAIN_VARIANT. | |
378 | (lookup_reference_type): Ditto. | |
379 | ||
380 | * cplus-dem.c: Many changes made to handle decoding of | |
381 | ANSI-mangled names. | |
382 | * symtab.c (gdb_mangle_name): Mangle/demangle ANSI-mangled names | |
383 | as well. | |
384 | ||
cd71911e SG |
385 | Fri Nov 15 17:57:59 1991 Stu Grossman (grossman at cygnus.com) |
386 | ||
387 | * mipsread.c (parse_partial_symbols): patch to keep DEC C | |
388 | compiler from making gdb bomb out. Thanks to Ed Santiago! | |
389 | ||
a7446af6 FF |
390 | Thu Nov 14 19:27:30 1991 Fred Fish (fnf at cygnus.com) |
391 | ||
5a5a3b0f FF |
392 | * symfile.c: Add function compact_misc_function_vector() to |
393 | remove duplicate misc function vector entries. See comments | |
394 | in source for why this is necessary/desirable. | |
395 | ||
a7446af6 FF |
396 | * dwarfread.c: Add misc function type parameter to internal |
397 | record_misc_function(). Remove calls to init_misc_bunches() | |
398 | and condense_misc_bunches(), these are now done in elfread.c. | |
399 | ||
400 | * elfread.c: Add support for reading bfd canonical symbol tables | |
401 | and generating misc function vector entries for global and | |
402 | absolute symbols. Do calls to init_misc_bunches() and | |
403 | condense_misc_bunches() where they will enclose all calls to | |
404 | record_misc_function(), including those in dwarfread.c. | |
405 | ||
406 | Thu Nov 14 17:02:11 1991 Roland H. Pesch (pesch at cygnus.com) | |
407 | ||
408 | * doc/Makefile.in: new targets gdb.me, gdb.ms, gdb.mm | |
409 | (roffable documentation). | |
410 | * doc/gdb.texinfo: embedded hints (as comments) for better | |
411 | texi2roff conversion. | |
412 | ||
430923f3 JG |
413 | Thu Nov 14 13:18:25 1991 John Gilmore (gnu at cygnus.com) |
414 | ||
415 | * m88k-tdep.c (examine_prologue): Deal with OR instructions | |
416 | that shuffle parameters into other regs. | |
417 | * symtab.c (decode_line_1): Fix bug introduced in Per's change | |
418 | of Nov 12th. | |
419 | ||
a219b090 SC |
420 | Wed Nov 13 19:51:11 1991 Steve Chamberlain (sac at cygnus.com) |
421 | ||
422 | * Makefile.in, xconfig/delta88 made it install a sysV manual page; | |
423 | gdb.z into the right place. | |
424 | ||
ea3c0839 JG |
425 | Wed Nov 13 16:45:13 1991 John Gilmore (gnu at cygnus.com) |
426 | ||
427 | Motorola 88000 port without tears, I mean without tdescs. | |
428 | ||
429 | * m88k-tdep.c: Blow away all tdesc stuff. | |
430 | Provide functions for all the frame-related macros in | |
431 | tm-delta88.h. Adopt i960-style EXTRA_FRAME_INFO. | |
432 | (examine_prologue, frame_find_saved_regs, skip_prologue): borrow | |
433 | from i960-tdep.c and adapt to the function prologues on the 88k. | |
434 | (read_next_frame_reg): Borrow from mips-tdep.c. | |
435 | FIXME: frame_locals_address should go away. | |
436 | ||
437 | * tm-delta88.h: Dump all the tdesc stuff. | |
438 | Macros for all frame-related stuff call fns of same name. | |
439 | Remove duplicated definitions. FP_REGNUM becomes same as | |
440 | SP_REGNUM. | |
441 | ||
442 | * xm-88k.h: Eliminate lots of library dependencies, now handled | |
443 | in libiberty. Eliminate KDB nonsupport. | |
444 | ||
445 | * doc/gdbint.texinfo: Add rudiments on frames. FIXME, add more. | |
446 | ||
447 | ||
448 | * stack.c (frame_info): Mark frameless functions. | |
449 | Print locals address (FIXME, remove if same). | |
450 | * blockframe.c: Comment changes, FIXME after. | |
451 | * coffread.c: Even without TDESC, need to zap "@" symbols. | |
452 | Don't register for wierd format names; change the names in BFD. | |
453 | ||
454 | * alloca.c, language.c, tdesc.c: Lint. | |
455 | * tdesc.c, tdesc-lib: FIXME: remove these. | |
456 | ||
19230be6 JG |
457 | Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com) |
458 | ||
459 | * Makefile.in: Add tdesc library support. Fixups to lint, | |
460 | copying.c rules. | |
461 | ||
0e2a896c PB |
462 | Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com) |
463 | ||
464 | * symtab.c (decode_line_1): Remove spurious call to operator_chars. | |
465 | ||
466 | Allow setting breakpoints on C++ destructors. | |
467 | * valops.c (destructor_name_p): Don't check TYPE_HAS_DESTRUCTOR, | |
468 | since it lies. Rely on callers to catch missing destructors. | |
469 | * symtab.c (decode_line_1): For example (see above), here. | |
470 | * buildsym.c, symtab.h: Remove TYPE_FLAGS_HAS{CON,DE}STRUCTOR | |
471 | flags since they are no longer used. | |
472 | ||
473 | Fixes to support C++ methods with functional parameters. | |
474 | * c-exp.y (func_mod rule): Allow (and ignore) list of parameter | |
475 | types in a function type. | |
476 | * eval.c (parse_and_eval_type), value.h: New function, | |
477 | parse_and_eval_type, is based on old code from check_stub_method. | |
478 | But don't actually evaluate the cast, since that calls | |
479 | value_cast(), whcih may fail. Just extract the type | |
480 | from the parsed expression. | |
481 | * values.c (check_stub_method): While looping through the | |
482 | arguments, adjust depth *after* parameter has been handled. | |
483 | Replace call and setup of parse_and_eval with new function | |
484 | parse_and_eval_type. | |
485 | ||
58ae87f6 FF |
486 | Tue Nov 12 09:40:07 1991 Fred Fish (fnf at cygnus.com) |
487 | ||
488 | * utils.c, rem-multi.shar: Remove fixed arg count version of | |
489 | concat(). | |
490 | ||
491 | * altos-xdep.c, arm-xdep.c, coffread.c, command.c, convex-xdep.c, | |
492 | core.c, dwarfread.c, gould-xdep.c, infcmd.c, language.c, | |
493 | m88k-xdep.c, main.c, printcmd.c, pyr-xdep.c, source.c, | |
494 | sun386-xdep.c, symm-xdep.c, umax-xdep.c, values.c, xcoffread.c: | |
495 | Change all instances of use of fixed args concat() to variable | |
496 | args concat() now located in libiberty. | |
497 | ||
74f6fb08 JG |
498 | Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com) |
499 | ||
500 | * Makefile.in: Add xcoffread.c, xcoffexec.c. | |
501 | * xcoffread.c: New file for handling AIX mangled-coff files. | |
502 | * xconfig/rs6000, tconfig/rs6000: New files. | |
503 | * buildsym.c: Add hooks for xcoffread.c. | |
504 | * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h, | |
cd56d314 | 505 | xm-rs6000.h, rs6k-opcode.def, rs6k-opcode.h: New files. |
74f6fb08 JG |
506 | * xcoffexec.c: New file for handling AIX shared libraries. |
507 | ||
fb182850 FF |
508 | Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com) |
509 | ||
510 | * core.c: Minor rewording of message to user containing name of | |
511 | (and possibly arguments to) the program that generated a core | |
512 | file. | |
513 | ||
514 | * elfread.c: Remove the register_addr() stub now that it is no | |
515 | longer needed. | |
516 | ||
517 | * procfs.c: Move misplaced #endif for ATTACH_DETACH. Add new | |
518 | fetch_core_registers() function for core file support. | |
519 | ||
8aca810c FF |
520 | Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com) |
521 | ||
b662efed FF |
522 | * dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call |
523 | to do_cleanups() which resulted from a previous change. | |
524 | ||
8aca810c FF |
525 | * elfread.c: Re-enable compilation of register_addr() stub |
526 | whenever it is not supplied by coredep.c | |
527 | ||
a048c8f5 JG |
528 | Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com) |
529 | ||
530 | Add tracking of object files (that contain symbols) to gdb. | |
531 | This includes a "struct objfile" that owns symtabs and psymtabs | |
532 | that were read in from that binary file. | |
533 | ||
534 | * symfile.h: Add struct objfile. Add pointer to the objfile | |
535 | into the struct sym_fns. | |
536 | Replace global `symfile' and `symfile_mtime' with | |
537 | `symfile_objfile'. Add global object_files chain. | |
538 | ||
539 | * symfile.c: Move param.h above symtab.h. | |
540 | (sort_misc_function_vector): Add. | |
541 | (syms_from_objfile): Was syms_from_bfd. | |
542 | (symfile_open): Now returns objfile. | |
543 | (allocate_objfile): New. | |
544 | (free_objfile): New, replacing free_all_.*symtabs. | |
545 | (symfile_init): Takes objfile arg, puts it in sym_fns result. | |
546 | (reread_symbols): Searches whole chain of objfiles. | |
547 | (allocate_symtab): Takes objfile as new parameter, chains them. | |
548 | Handle INIT_EXTRA_SYMTAB_INFO. | |
549 | (free_all_psymtabs, free_all_symtabs): Move here from symmisc.c. | |
550 | ||
551 | * dbxread.c: Make more errors into complaints. | |
552 | (push_subfile, pop_subfile): Move to buildsym.c. | |
553 | (dbx_symfile_read, dbx_symfile_init, fill_symbuf, read_dbx_symtab, | |
554 | start_psymtab, psymtab_to_symtab_1, read_ofile_symtab, | |
555 | dbx_psymtab_to_symtab, ): Use bfd ops, don't use file descriptor. | |
556 | Pass objfile. Change callers. | |
557 | (fill_symbuf, SWAP_SYMBOL): Take bfd as arg. | |
558 | (read_dbx_symtab): Just wipe out new symbols, not all, on error. | |
559 | (end_psymtab): Blow away psymtab if empty. | |
560 | (process_symbol_pair): Swallow into read_ofile_symtab. | |
561 | (process_one_symbol): Use push_context and pop_context. | |
562 | (virtual_context): Delete #if 0'd obsolete stuff. | |
563 | ||
564 | * buildsym.c (end_symtab): Pass objfile. | |
565 | (dbx_lookup_type): Handle null typevector. | |
566 | (dbx_alloc_type): Check file number, not sym number, for -1. | |
567 | (find_symbol_in_list): Add for xcoffread. | |
568 | (start_symtab): Default typevector is empty. Keep reusing same | |
569 | context_stack. | |
570 | (end_symtab): Take objfile argument and pass it to | |
571 | allocate_symtab. Don't make a symtab if no blocks or symbols. | |
572 | Handle empty typevector. | |
573 | (push_context): New function for context stack nesting. | |
574 | (read_type): Mark FIXME where we need to reintroduce type smashing. | |
575 | ||
576 | * buildsym.h (pop_context): Macro, paired with push_context. | |
577 | (subfile_stack): Move here from dbxread.c. | |
578 | ||
579 | * coffread.c (end_symtab, read_coff_symtab): Take and use objfile arg. | |
580 | (read_coff_symtab): Cleanup by freeing objfile, not all symtabs. | |
581 | ||
582 | * mipsread.c (read_mips_symtab, parse_partial_symbols, parse_fdr, | |
583 | new_psymtab, new_symtab): Take and use objfile arg. | |
584 | ||
585 | * dwarfread.c (scan_compilation_units, start_psymtab, | |
586 | process_dies, end_symtab, dwarf_build_psymtabs, | |
587 | read_lexical_block_scope, read_func_scope, read_file_scope): Take | |
588 | and use objfile argument. | |
589 | (psymtab_to_symtab_1, read_ofile_symtab): Don't take or use file | |
590 | descriptor. Use BFD internal functions instead. | |
591 | (end_symtab): Call global allocate_symtab. | |
592 | ||
1d82d3dc | 593 | * elfread.c, target.c: Minor changes to accommodate objfiles. |
a048c8f5 JG |
594 | * symtab.h: partial_symbol_table has no symfile_name member now. |
595 | (fn_fieldlists voffset): avoid non-int bitfield. | |
596 | (struct symtab): Add objfile * and objfile_chain * of symtabs. | |
597 | (struct partial_symtab): Add objfile * and objfile_chain * of | |
598 | psymtabs. Remove symfile_name. | |
599 | ||
1d82d3dc JG |
600 | * symmisc.c: Lose free_all_symtabs, free_all_psymtabs. |
601 | (printsyms_command): Rename from print_symtabs. Add selective | |
602 | listing if 2nd argument given. Print objfile info. | |
603 | (printpsyms_command): Rename from print_partial_symtabs. Ditto all. | |
604 | (printobjfiles_command): New; prints objfiles lists, and checks | |
605 | for consistency of symtab, psymtab, and objfile lists. | |
606 | ||
a048c8f5 JG |
607 | * symfile.h, symfile.c, symtab.h: Lint |
608 | ||
c4668207 JG |
609 | Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com) |
610 | ||
611 | * command.c: Include param.h. | |
612 | * defs.h (warning_setup, warning): Declare. | |
613 | * expprint.c (print_subexp, UNOP_MEMVAL case): Lint. | |
614 | * inflow.c (new_tty): Use USE_O_NOCTTY #define. | |
615 | * language.c, printcmd.c (print_scalar_formatted), signame.c, | |
616 | stack.c: lint. | |
617 | ||
b92c774e SC |
618 | Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com) |
619 | ||
b715d5b4 SC |
620 | * Makefile.in: link with libiberty after libreadline, since |
621 | readline might want something in libiberty. | |
b92c774e SC |
622 | * m88k-xdep.c: Fixed the register offsets in the ptrace_user |
623 | struct for BCS 88k machines. | |
624 | * xm-m88k.h: don't define USIZE if already defined. | |
625 | * configure.in: Added delta88 target. | |
626 | ||
fbcb5095 JG |
627 | Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com) |
628 | ||
1bf068b8 JG |
629 | * am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac. |
630 | ||
fbcb5095 JG |
631 | * tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and |
632 | READ_MIPS_FORMAT, which have been unused since BFD. Still | |
633 | remaining is COFF_NO_LONG_FILE_NAMES. | |
634 | * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from | |
635 | function calling code moved to m68k-tdep.c. | |
636 | ||
e64fbb3a JG |
637 | Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com) |
638 | ||
639 | * coffread.c: Eliminate c_nsyms in favor of c_naux. | |
640 | Complain if no auxents on .bf and .ef FCN symbols, and assume | |
641 | lots of line numbers. | |
642 | (init_linenos, enter_linenos): Use a sentinel at the end of the | |
643 | read-in linenos, to make for a fast, safe loop-end test. | |
644 | ||
645 | Wed Nov 6 02:54:08 1991 Steve Chamberlain (sac at cygnus.com) | |
646 | ||
647 | * coffread.c (read_coff_symtab): coffread used to rely on the | |
648 | x_sym.x_misc.x_lnsz.x_lnno field giving the # of linnos in a | |
649 | function. Two of the formats I'm using (29k and 88k) don't seem to | |
650 | set it. Ths patch to fcn_last_line and (enter_linenos) is an | |
651 | attempt to use the actual size of the linno table in the file to set | |
652 | the number of linenos to process. | |
653 | ||
0aaa124f SC |
654 | Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com) |
655 | ||
656 | * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and | |
657 | mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files | |
658 | are created in place, so the mv fails, then the make continues. | |
659 | ||
545af6ce PB |
660 | Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com) |
661 | ||
662 | Add C++ as a separate language. | |
663 | * defs.h (enum language): Add language_cplus. | |
664 | * dwarfread.c (end_symtab): Support language_cplus. | |
665 | * c-exp.y: Add new struct language_defn cplus_language_defn. | |
666 | Don't set c to be the default language (see main.c). | |
667 | * c-exp.y (yylex): Only look for field of this if | |
668 | language is C++. (First difference from C!) | |
669 | * language.c: Add case branches for C++ (currently, all | |
670 | the same as C). Also, add c++ to "usage" note for "set lang". | |
671 | * valprint.c (typedef_print). Add case branches for C++. | |
672 | * main.c (main): New way to set initial language: Look at | |
673 | file extension of psymtab containing main(). (Same as we | |
674 | do for symtabs, but avoid loading the symtab yet.) | |
675 | * symtab.c: New routine find_main_psymtab(), used by main() | |
676 | to set initial language. | |
677 | * symfile.c (allocate_symtab): Move code for mapping file | |
678 | extensions-> languages to new deduce_language_from_filename(). | |
679 | ||
680 | Fix a C++ problem when looking for methods in super-classes. | |
681 | There was confusion between base and derived types. | |
682 | * valops.c (value_fn_field): Change function interface. | |
683 | * values.c: Use new value_fn_field interface. | |
684 | ||
abefb1f1 PB |
685 | Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com) |
686 | ||
687 | * infrun.c: Fixed typo in comment. | |
688 | * utils.c: All the v*fprintf emulation is now in libiberty, | |
689 | so we can get rid of some junk. | |
690 | * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, | |
691 | xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. | |
692 | * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL | |
693 | type operands, as used by branch instructions. | |
694 | * gmalloc.c: Fix prototype of memcpy. | |
695 | * elfread.c: Comment out register_addr, since it conflicts | |
696 | with the one in coredep.c. | |
697 | * buildsym.h: Remove extern declarations of two functions | |
698 | that are really static in buildsym.c. | |
699 | * tm-mips.h: Add symbolic names for more registers. | |
700 | * mips-xdep.c (store_inferior_registers): Use new register names. | |
701 | * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now | |
702 | only used for core files, not ptrace. Therefore, | |
703 | the KERNEL_U_ADDR hack is no longer needed. | |
704 | The mapping to ptrace number is now in in mips-xdep.c. | |
705 | * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the | |
706 | mapping from the old REGISTER_U_ADDR), and use it | |
707 | in {fetch,store}_inferior_registers. | |
708 | * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. | |
709 | * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): | |
710 | Save/restore FP regs correctly (?). | |
711 | * dbxread.c: Remove duplicate define_symbol and type_synonym_name | |
712 | (these had been previously moved to buildsym.c). | |
713 | Hence, define_symbol becomes extern instead of static. | |
714 | * buildsym.c (read_struct_type): Comment out bogus handling | |
715 | of C++ operator methods. Minor hacking of reading of class | |
716 | contexts. Make define_symbol non-static, so dbxread.c can call it. | |
717 | ||
c9bd6710 JG |
718 | Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com) |
719 | ||
720 | * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real | |
721 | filename with error messages. | |
722 | * stack.c (frame_select_command): Rename to select_frame_command | |
723 | to avoid "fr" and "fra" having nonunique completions. | |
724 | * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *. | |
725 | (symfile_init): Print file format name when unable to handle it. | |
726 | (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST. | |
727 | * symmisc.c (free_symtab): Only free linetable if nonzero. | |
728 | * symtab.h: Remove obsolete BLOCKLIST macros. | |
729 | ||
d7d1098d SG |
730 | Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com) |
731 | ||
732 | * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure | |
733 | that stop_step is 1 at bottom of main loop. I don't know why this | |
734 | needs to be done, but it helps me sleep better at night. | |
735 | ||
8b3c897a SG |
736 | Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com) |
737 | ||
738 | * main.c (initialize_history): Read history after reading all | |
739 | init files. | |
740 | ||
4137c5fc JG |
741 | Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com) |
742 | ||
743 | * buildsym.c: Break out initial malloc sizes. | |
744 | (record_line): Record directly in a subfile. Alloc on demand. | |
745 | (compare_line_numbers): Add from xcoffread.c. | |
746 | (end_symtab): New params say whether to sort pendings and | |
747 | linetable. Patch block stabs if defined. Shrink linetable before | |
748 | allocating the symtab. | |
749 | * buildsym.h: Delete line_vector* and prev_line_number. Add | |
750 | global_stabs and file_stabs for xcoffread. | |
751 | * dbxread.c (start_subfile): Move to buildsym. Change above calls. | |
752 | * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. | |
753 | * symmisc.c, symtab.c: Cope with null LINETABLEs. | |
754 | ||
755 | * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO. | |
756 | * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, | |
757 | tm-sparc.h: Accept fromleaf parameter. | |
758 | * c-exp.y (yyerror): Pass error message if given. | |
759 | * configure.in: Add rs6000 host and target. | |
760 | * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. | |
761 | * symfile.h (entry_point): Add. | |
762 | ||
c0302457 JG |
763 | Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com) |
764 | ||
765 | * buildsym.c: New file. Breaks out symbol-table-building routines | |
766 | from dbxread.c, so they can be shared with xcoffread.c. | |
767 | * buildsym.h: New file. Declarations for buildsym.c users. | |
768 | * dbxread.c: Remove large chunks into buildsym.c. | |
d47d5315 JG |
769 | * Makefile.in: Add buildsym.c and buildsym.h. |
770 | ||
771 | * symfile.c (syms_from_bfd): New routine. | |
772 | (add_symbol_file): Call it to do the real work. | |
773 | (syms_from_bfd): Initialize entry_point before calling symfile_init. | |
774 | * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: | |
775 | Avoid declaring or setting entry_point (symfile.h & symfile.c cope). | |
c0302457 | 776 | |
4c53d9ca DHW |
777 | Fri Oct 25 10:58:16 1991 Mark Eichin (eichin at cygnus.com) |
778 | ||
779 | * cplus-dem.c (cplus-demangle): added support for templates, static | |
780 | data, and the new (correct) mangling for destructors. | |
781 | ||
782 | * dwarfread.c: (dwarfwarn): created a varargs version of | |
783 | dwarfwarn, for non __STDC__ compilers. | |
784 | ||
785 | * c-exp.y: (yylex): added match for "template" token. | |
786 | (typebase): added TEMPLATE name '<' type '>' clause, for explicit | |
787 | specification of template types. | |
788 | ||
789 | * symtab.c: (lookup_template_type): new function for finding | |
790 | templates in symbol table. | |
791 | (type_name_no_tag): changed to explicitly check for s/u/e at the | |
792 | beginning of the symbol - if it is a template, none of these will | |
793 | be there (but the name will still contain spaces.) | |
794 | ||
bcccec8c PB |
795 | Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com) |
796 | ||
797 | Various fixes to improve g++ debugging. | |
798 | * symtab.h: Add is_const and is_volatile flags for each method. | |
799 | These are bit fields - take their space from voffset, | |
800 | which shrinks to 30 bits. Since voffset is now a bitfield, | |
801 | make it unsigned for portability. This changes its interpretation | |
802 | slightly: Static methods now have voffset 1 instead of -1, | |
803 | and virtual offsets start at 2, not 1. | |
804 | * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name, | |
805 | since it now returns an entire magled method name, not just | |
806 | the type part. This avoids some duplication. | |
807 | It also allows us to correctly mangle const and volatile | |
808 | methods (using the new is_const and is_volatile bit fields | |
809 | mentioned above). | |
810 | * valprint.c (type_print_base), values.c (check_stub_method): | |
811 | Simplify by using new gdb_mangle_name. | |
812 | * values.c (value_headof): Fix to correctly handle single | |
813 | inheritance (actually two fixes, either of which suffices). | |
814 | * dbxread.c (read_struct_type): Handle const and volatile | |
815 | method specifiers. | |
816 | * dbxread.c (read_struct_type): Yet one more place where | |
817 | we must handle '\\' continuations. | |
818 | * valprint.c (vtbl_ptr_name): Add final '\0'. | |
819 | ||
eb3f3e5c SG |
820 | Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com) |
821 | ||
5ab580cc SG |
822 | * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of |
823 | short return values for sparc and 68k. Patch from Paul Eggert. | |
824 | ||
eb3f3e5c SG |
825 | * coffread.c, coredep.c, i386-xdep.c: install patches for |
826 | SysV/386 3.2 from Mauro DePalma. | |
827 | ||
9cb602e1 JG |
828 | Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com) |
829 | ||
c58215f2 JG |
830 | * core.c (core_file_info), exec.c (exec_file_info): Print file |
831 | type. Use printf_filtered. | |
832 | ||
9cb602e1 JG |
833 | * valops.c (value_fetch_lazy): Avoid 0-length fetches. |
834 | ||
b662acae FF |
835 | Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com) |
836 | ||
c8c0a2bd FF |
837 | * dwarfread.c: Add casts to remove compiler warnings. |
838 | ||
84d82b1c FF |
839 | * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h, |
840 | tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h, | |
841 | tm-sun3.h: Remove locally duplicated code for calling functions | |
842 | in the inferior. The only differences were in the specific trap | |
843 | vectors used and whether or not an fpu was present. These are | |
844 | now handled by appropriate definitions of BPT_VECTOR and | |
845 | HAVE_68881 respectively. Other minor obvious cleanups. | |
846 | ||
847 | * valops.c: Correct a minor misspelling. | |
848 | ||
ed317bb3 FF |
849 | * utils.c: Remove local BSD/USG hacks that are now in libiberty. |
850 | ||
b662acae FF |
851 | * dwarfread.c: Remove prototype for dwarfwarn. Does not work |
852 | with <varargs.h>. | |
853 | ||
313fdead JG |
854 | Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) |
855 | ||
b0077123 JG |
856 | * stack.c (frame_command): Always print. Use new |
857 | frame_select_command to select a frame without printing. | |
858 | ||
313fdead JG |
859 | * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable. |
860 | ||
4a35d6e9 FF |
861 | Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) |
862 | ||
35f5886e FF |
863 | * dwarfread.c: New file for DWARF debugging format support. |
864 | ||
865 | * elfread.c: New file for ELF object file format support. | |
866 | ||
867 | * procfs.c: New file for SVR4 /proc (process file system) support. | |
868 | ||
869 | * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for | |
870 | Amiga UNIX support. | |
871 | ||
872 | * xm-svr4.h, tm-svr4.h: New files for SVR4 support. | |
873 | ||
874 | * xm-m68k.h: New file for host machines with m68k cpu. | |
875 | ||
bb4ff694 FF |
876 | * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR. |
877 | Add elfread.o and dwarfread.o to OBS. | |
878 | ||
879 | * symfile.h: Add "elf" to list of supported formats in comment. | |
880 | ||
e2aab031 FF |
881 | * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin |
882 | types to gdb, builtin_type_long_double, builtin_type_complex, and | |
883 | builtin_type_double_complex. Add and use new TARGET_SHORT_BIT, | |
884 | TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT, | |
885 | TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and | |
886 | TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated | |
887 | types on the target machine (ala the existing TARGET_LONG_LONG_BIT). | |
888 | ||
02070680 FF |
889 | * infrun.c: When using SVR4 /proc interface instead of ptrace(), |
890 | call proc_set_exec_trap() to setup child to stop at first instruction. | |
891 | ||
892 | * inftarg.c: When using SVR4 /proc interface, call proc_wait() | |
893 | rather than wait(). | |
894 | ||
895 | * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(), | |
896 | supply_fpregset(), and fill_fpregset(), which are machine | |
897 | dependent support routines for SVR4 /proc interface. | |
898 | ||
2bc2e684 FF |
899 | * utils.c: Add warning_setup() and warning(). Warning() behaves |
900 | the same as error() except that it returns normally rather than | |
901 | jumping back to command level. Modules that don't want to call | |
902 | warning() for some reason, but want to produce their own warnings, | |
903 | can call warning_setup() to ensure compatibility with the way | |
904 | warning() and error() deal with the terminal. | |
905 | ||
eaa1ef1d FF |
906 | * symtab.c: Make internal errors produce more useful messages. |
907 | ||
dcd15e5e FF |
908 | * tm-68k.h: Move code that is duplicated in almost every single |
909 | m68k based machine's configuration files to this common file. | |
910 | Duplications in the configuration files still need to be removed | |
911 | (FIXME). | |
912 | ||
150f5436 FF |
913 | * infrun.c (child_create_inferior): System V versions must call |
914 | setpgrp() with no arguments, to comply with prototyping typically | |
915 | in <unistd.h>. | |
916 | ||
cb17dfb1 FF |
917 | * munch: Add support for SVR4 style nm output. |
918 | ||
4a35d6e9 FF |
919 | * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object |
920 | file specific fields from the partial symbol table structure and | |
921 | replace them with a pointer to private data for each different | |
922 | flavor of object file reader to initialize appropriately. | |
923 | ||
b0077123 JG |
924 | Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com) |
925 | ||
926 | * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c | |
927 | and previous. | |
928 | ||
929 | * mipsread.c (fixup_undef_type): New function. If a struct / | |
930 | union / enum is defined in a header file but nowhere else used, | |
931 | (by typedefing, pointer referencing or declaration) the mipsread code | |
932 | builds the complete tree for the structure but leaves its code as | |
933 | TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is. | |
934 | Guess its type based on the details of the members. | |
935 | ||
0d3e7f60 SG |
936 | Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com) |
937 | ||
938 | * infrun.c (wait_for_inferior): Check return value from | |
939 | find_pc_line. | |
940 | ||
bc6c937d SG |
941 | Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com) |
942 | ||
943 | * infrun.c (wait_for_inferior): fix stepi/nexti that was broken | |
944 | by my last edit to this routine. | |
945 | ||
b0077123 JG |
946 | Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com) |
947 | ||
948 | * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging. | |
949 | FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap | |
950 | the values before putting them into the dummy code. (From Peter | |
951 | Schauer) | |
952 | ||
44e4e473 SC |
953 | Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com) |
954 | ||
955 | * configure.in: added ebmon target. | |
956 | ||
785ce19c | 957 | Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com) |
a1b8c5d6 JG |
958 | |
959 | GDB-4.2 release! | |
960 | ||
961 | * Makefile.in: Roll VERSION to 4.2. | |
44e4e473 | 962 | * README, TODO, WHATS.NEW: Update. |
a1b8c5d6 JG |
963 | |
964 | * core.c (core_open): Improve error message for bad file. | |
965 | Pass .reg virtual memory address to fetch_core_registers to help | |
966 | it find the registers in the core-file header. | |
967 | * coredep.c (fetch_core_registers): Take new argument, use it, | |
968 | and pass it to register_addr to locate the block of registers. | |
785ce19c | 969 | * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit. |
a1b8c5d6 JG |
970 | |
971 | * dbxread.c (read_dbx_symtab, process_one_symbol): Handle | |
972 | Sequent N_FN_SEQ like everybody else's N_FN. | |
973 | ||
974 | * main.c: Circumvent SCO cc bug with #if !!defined(USG). | |
975 | * tm-i386v.h: #endif guck. | |
976 | * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge. | |
785ce19c JG |
977 | * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath. |
978 | * xconfig/tahoe: Add REGEX, which seems to be missing. | |
979 | ||
980 | * coredep.c: Add <sys/types.h> for SCOnix. | |
981 | * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file. | |
982 | * printcmd.c (print_formatted): Flush output before disassembly. | |
a1b8c5d6 | 983 | |
93ae2e88 RP |
984 | Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) |
985 | ||
9e0906a6 RP |
986 | * doc/refcard.tex (sec "Working Files"): consistent metavars and |