]>
Commit | Line | Data |
---|---|---|
19230be6 JG |
1 | Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com) |
2 | ||
3 | * Makefile.in: Add tdesc library support. Fixups to lint, | |
4 | copying.c rules. | |
5 | ||
0e2a896c PB |
6 | Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com) |
7 | ||
8 | * symtab.c (decode_line_1): Remove spurious call to operator_chars. | |
9 | ||
10 | Allow setting breakpoints on C++ destructors. | |
11 | * valops.c (destructor_name_p): Don't check TYPE_HAS_DESTRUCTOR, | |
12 | since it lies. Rely on callers to catch missing destructors. | |
13 | * symtab.c (decode_line_1): For example (see above), here. | |
14 | * buildsym.c, symtab.h: Remove TYPE_FLAGS_HAS{CON,DE}STRUCTOR | |
15 | flags since they are no longer used. | |
16 | ||
17 | Fixes to support C++ methods with functional parameters. | |
18 | * c-exp.y (func_mod rule): Allow (and ignore) list of parameter | |
19 | types in a function type. | |
20 | * eval.c (parse_and_eval_type), value.h: New function, | |
21 | parse_and_eval_type, is based on old code from check_stub_method. | |
22 | But don't actually evaluate the cast, since that calls | |
23 | value_cast(), whcih may fail. Just extract the type | |
24 | from the parsed expression. | |
25 | * values.c (check_stub_method): While looping through the | |
26 | arguments, adjust depth *after* parameter has been handled. | |
27 | Replace call and setup of parse_and_eval with new function | |
28 | parse_and_eval_type. | |
29 | ||
58ae87f6 FF |
30 | Tue Nov 12 09:40:07 1991 Fred Fish (fnf at cygnus.com) |
31 | ||
32 | * utils.c, rem-multi.shar: Remove fixed arg count version of | |
33 | concat(). | |
34 | ||
35 | * altos-xdep.c, arm-xdep.c, coffread.c, command.c, convex-xdep.c, | |
36 | core.c, dwarfread.c, gould-xdep.c, infcmd.c, language.c, | |
37 | m88k-xdep.c, main.c, printcmd.c, pyr-xdep.c, source.c, | |
38 | sun386-xdep.c, symm-xdep.c, umax-xdep.c, values.c, xcoffread.c: | |
39 | Change all instances of use of fixed args concat() to variable | |
40 | args concat() now located in libiberty. | |
41 | ||
74f6fb08 JG |
42 | Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com) |
43 | ||
44 | * Makefile.in: Add xcoffread.c, xcoffexec.c. | |
45 | * xcoffread.c: New file for handling AIX mangled-coff files. | |
46 | * xconfig/rs6000, tconfig/rs6000: New files. | |
47 | * buildsym.c: Add hooks for xcoffread.c. | |
48 | * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h, | |
cd56d314 | 49 | xm-rs6000.h, rs6k-opcode.def, rs6k-opcode.h: New files. |
74f6fb08 JG |
50 | * xcoffexec.c: New file for handling AIX shared libraries. |
51 | ||
fb182850 FF |
52 | Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com) |
53 | ||
54 | * core.c: Minor rewording of message to user containing name of | |
55 | (and possibly arguments to) the program that generated a core | |
56 | file. | |
57 | ||
58 | * elfread.c: Remove the register_addr() stub now that it is no | |
59 | longer needed. | |
60 | ||
61 | * procfs.c: Move misplaced #endif for ATTACH_DETACH. Add new | |
62 | fetch_core_registers() function for core file support. | |
63 | ||
8aca810c FF |
64 | Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com) |
65 | ||
b662efed FF |
66 | * dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call |
67 | to do_cleanups() which resulted from a previous change. | |
68 | ||
8aca810c FF |
69 | * elfread.c: Re-enable compilation of register_addr() stub |
70 | whenever it is not supplied by coredep.c | |
71 | ||
a048c8f5 JG |
72 | Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com) |
73 | ||
74 | Add tracking of object files (that contain symbols) to gdb. | |
75 | This includes a "struct objfile" that owns symtabs and psymtabs | |
76 | that were read in from that binary file. | |
77 | ||
78 | * symfile.h: Add struct objfile. Add pointer to the objfile | |
79 | into the struct sym_fns. | |
80 | Replace global `symfile' and `symfile_mtime' with | |
81 | `symfile_objfile'. Add global object_files chain. | |
82 | ||
83 | * symfile.c: Move param.h above symtab.h. | |
84 | (sort_misc_function_vector): Add. | |
85 | (syms_from_objfile): Was syms_from_bfd. | |
86 | (symfile_open): Now returns objfile. | |
87 | (allocate_objfile): New. | |
88 | (free_objfile): New, replacing free_all_.*symtabs. | |
89 | (symfile_init): Takes objfile arg, puts it in sym_fns result. | |
90 | (reread_symbols): Searches whole chain of objfiles. | |
91 | (allocate_symtab): Takes objfile as new parameter, chains them. | |
92 | Handle INIT_EXTRA_SYMTAB_INFO. | |
93 | (free_all_psymtabs, free_all_symtabs): Move here from symmisc.c. | |
94 | ||
95 | * dbxread.c: Make more errors into complaints. | |
96 | (push_subfile, pop_subfile): Move to buildsym.c. | |
97 | (dbx_symfile_read, dbx_symfile_init, fill_symbuf, read_dbx_symtab, | |
98 | start_psymtab, psymtab_to_symtab_1, read_ofile_symtab, | |
99 | dbx_psymtab_to_symtab, ): Use bfd ops, don't use file descriptor. | |
100 | Pass objfile. Change callers. | |
101 | (fill_symbuf, SWAP_SYMBOL): Take bfd as arg. | |
102 | (read_dbx_symtab): Just wipe out new symbols, not all, on error. | |
103 | (end_psymtab): Blow away psymtab if empty. | |
104 | (process_symbol_pair): Swallow into read_ofile_symtab. | |
105 | (process_one_symbol): Use push_context and pop_context. | |
106 | (virtual_context): Delete #if 0'd obsolete stuff. | |
107 | ||
108 | * buildsym.c (end_symtab): Pass objfile. | |
109 | (dbx_lookup_type): Handle null typevector. | |
110 | (dbx_alloc_type): Check file number, not sym number, for -1. | |
111 | (find_symbol_in_list): Add for xcoffread. | |
112 | (start_symtab): Default typevector is empty. Keep reusing same | |
113 | context_stack. | |
114 | (end_symtab): Take objfile argument and pass it to | |
115 | allocate_symtab. Don't make a symtab if no blocks or symbols. | |
116 | Handle empty typevector. | |
117 | (push_context): New function for context stack nesting. | |
118 | (read_type): Mark FIXME where we need to reintroduce type smashing. | |
119 | ||
120 | * buildsym.h (pop_context): Macro, paired with push_context. | |
121 | (subfile_stack): Move here from dbxread.c. | |
122 | ||
123 | * coffread.c (end_symtab, read_coff_symtab): Take and use objfile arg. | |
124 | (read_coff_symtab): Cleanup by freeing objfile, not all symtabs. | |
125 | ||
126 | * mipsread.c (read_mips_symtab, parse_partial_symbols, parse_fdr, | |
127 | new_psymtab, new_symtab): Take and use objfile arg. | |
128 | ||
129 | * dwarfread.c (scan_compilation_units, start_psymtab, | |
130 | process_dies, end_symtab, dwarf_build_psymtabs, | |
131 | read_lexical_block_scope, read_func_scope, read_file_scope): Take | |
132 | and use objfile argument. | |
133 | (psymtab_to_symtab_1, read_ofile_symtab): Don't take or use file | |
134 | descriptor. Use BFD internal functions instead. | |
135 | (end_symtab): Call global allocate_symtab. | |
136 | ||
1d82d3dc | 137 | * elfread.c, target.c: Minor changes to accommodate objfiles. |
a048c8f5 JG |
138 | * symtab.h: partial_symbol_table has no symfile_name member now. |
139 | (fn_fieldlists voffset): avoid non-int bitfield. | |
140 | (struct symtab): Add objfile * and objfile_chain * of symtabs. | |
141 | (struct partial_symtab): Add objfile * and objfile_chain * of | |
142 | psymtabs. Remove symfile_name. | |
143 | ||
1d82d3dc JG |
144 | * symmisc.c: Lose free_all_symtabs, free_all_psymtabs. |
145 | (printsyms_command): Rename from print_symtabs. Add selective | |
146 | listing if 2nd argument given. Print objfile info. | |
147 | (printpsyms_command): Rename from print_partial_symtabs. Ditto all. | |
148 | (printobjfiles_command): New; prints objfiles lists, and checks | |
149 | for consistency of symtab, psymtab, and objfile lists. | |
150 | ||
a048c8f5 JG |
151 | * symfile.h, symfile.c, symtab.h: Lint |
152 | ||
c4668207 JG |
153 | Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com) |
154 | ||
155 | * command.c: Include param.h. | |
156 | * defs.h (warning_setup, warning): Declare. | |
157 | * expprint.c (print_subexp, UNOP_MEMVAL case): Lint. | |
158 | * inflow.c (new_tty): Use USE_O_NOCTTY #define. | |
159 | * language.c, printcmd.c (print_scalar_formatted), signame.c, | |
160 | stack.c: lint. | |
161 | ||
b92c774e SC |
162 | Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com) |
163 | ||
b715d5b4 SC |
164 | * Makefile.in: link with libiberty after libreadline, since |
165 | readline might want something in libiberty. | |
b92c774e SC |
166 | * m88k-xdep.c: Fixed the register offsets in the ptrace_user |
167 | struct for BCS 88k machines. | |
168 | * xm-m88k.h: don't define USIZE if already defined. | |
169 | * configure.in: Added delta88 target. | |
170 | ||
fbcb5095 JG |
171 | Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com) |
172 | ||
1bf068b8 JG |
173 | * am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac. |
174 | ||
fbcb5095 JG |
175 | * tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and |
176 | READ_MIPS_FORMAT, which have been unused since BFD. Still | |
177 | remaining is COFF_NO_LONG_FILE_NAMES. | |
178 | * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from | |
179 | function calling code moved to m68k-tdep.c. | |
180 | ||
e64fbb3a JG |
181 | Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com) |
182 | ||
183 | * coffread.c: Eliminate c_nsyms in favor of c_naux. | |
184 | Complain if no auxents on .bf and .ef FCN symbols, and assume | |
185 | lots of line numbers. | |
186 | (init_linenos, enter_linenos): Use a sentinel at the end of the | |
187 | read-in linenos, to make for a fast, safe loop-end test. | |
188 | ||
189 | Wed Nov 6 02:54:08 1991 Steve Chamberlain (sac at cygnus.com) | |
190 | ||
191 | * coffread.c (read_coff_symtab): coffread used to rely on the | |
192 | x_sym.x_misc.x_lnsz.x_lnno field giving the # of linnos in a | |
193 | function. Two of the formats I'm using (29k and 88k) don't seem to | |
194 | set it. Ths patch to fcn_last_line and (enter_linenos) is an | |
195 | attempt to use the actual size of the linno table in the file to set | |
196 | the number of linenos to process. | |
197 | ||
0aaa124f SC |
198 | Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com) |
199 | ||
200 | * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and | |
201 | mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files | |
202 | are created in place, so the mv fails, then the make continues. | |
203 | ||
545af6ce PB |
204 | Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com) |
205 | ||
206 | Add C++ as a separate language. | |
207 | * defs.h (enum language): Add language_cplus. | |
208 | * dwarfread.c (end_symtab): Support language_cplus. | |
209 | * c-exp.y: Add new struct language_defn cplus_language_defn. | |
210 | Don't set c to be the default language (see main.c). | |
211 | * c-exp.y (yylex): Only look for field of this if | |
212 | language is C++. (First difference from C!) | |
213 | * language.c: Add case branches for C++ (currently, all | |
214 | the same as C). Also, add c++ to "usage" note for "set lang". | |
215 | * valprint.c (typedef_print). Add case branches for C++. | |
216 | * main.c (main): New way to set initial language: Look at | |
217 | file extension of psymtab containing main(). (Same as we | |
218 | do for symtabs, but avoid loading the symtab yet.) | |
219 | * symtab.c: New routine find_main_psymtab(), used by main() | |
220 | to set initial language. | |
221 | * symfile.c (allocate_symtab): Move code for mapping file | |
222 | extensions-> languages to new deduce_language_from_filename(). | |
223 | ||
224 | Fix a C++ problem when looking for methods in super-classes. | |
225 | There was confusion between base and derived types. | |
226 | * valops.c (value_fn_field): Change function interface. | |
227 | * values.c: Use new value_fn_field interface. | |
228 | ||
abefb1f1 PB |
229 | Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com) |
230 | ||
231 | * infrun.c: Fixed typo in comment. | |
232 | * utils.c: All the v*fprintf emulation is now in libiberty, | |
233 | so we can get rid of some junk. | |
234 | * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, | |
235 | xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. | |
236 | * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL | |
237 | type operands, as used by branch instructions. | |
238 | * gmalloc.c: Fix prototype of memcpy. | |
239 | * elfread.c: Comment out register_addr, since it conflicts | |
240 | with the one in coredep.c. | |
241 | * buildsym.h: Remove extern declarations of two functions | |
242 | that are really static in buildsym.c. | |
243 | * tm-mips.h: Add symbolic names for more registers. | |
244 | * mips-xdep.c (store_inferior_registers): Use new register names. | |
245 | * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now | |
246 | only used for core files, not ptrace. Therefore, | |
247 | the KERNEL_U_ADDR hack is no longer needed. | |
248 | The mapping to ptrace number is now in in mips-xdep.c. | |
249 | * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the | |
250 | mapping from the old REGISTER_U_ADDR), and use it | |
251 | in {fetch,store}_inferior_registers. | |
252 | * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. | |
253 | * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): | |
254 | Save/restore FP regs correctly (?). | |
255 | * dbxread.c: Remove duplicate define_symbol and type_synonym_name | |
256 | (these had been previously moved to buildsym.c). | |
257 | Hence, define_symbol becomes extern instead of static. | |
258 | * buildsym.c (read_struct_type): Comment out bogus handling | |
259 | of C++ operator methods. Minor hacking of reading of class | |
260 | contexts. Make define_symbol non-static, so dbxread.c can call it. | |
261 | ||
c9bd6710 JG |
262 | Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com) |
263 | ||
264 | * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real | |
265 | filename with error messages. | |
266 | * stack.c (frame_select_command): Rename to select_frame_command | |
267 | to avoid "fr" and "fra" having nonunique completions. | |
268 | * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *. | |
269 | (symfile_init): Print file format name when unable to handle it. | |
270 | (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST. | |
271 | * symmisc.c (free_symtab): Only free linetable if nonzero. | |
272 | * symtab.h: Remove obsolete BLOCKLIST macros. | |
273 | ||
d7d1098d SG |
274 | Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com) |
275 | ||
276 | * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure | |
277 | that stop_step is 1 at bottom of main loop. I don't know why this | |
278 | needs to be done, but it helps me sleep better at night. | |
279 | ||
8b3c897a SG |
280 | Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com) |
281 | ||
282 | * main.c (initialize_history): Read history after reading all | |
283 | init files. | |
284 | ||
4137c5fc JG |
285 | Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com) |
286 | ||
287 | * buildsym.c: Break out initial malloc sizes. | |
288 | (record_line): Record directly in a subfile. Alloc on demand. | |
289 | (compare_line_numbers): Add from xcoffread.c. | |
290 | (end_symtab): New params say whether to sort pendings and | |
291 | linetable. Patch block stabs if defined. Shrink linetable before | |
292 | allocating the symtab. | |
293 | * buildsym.h: Delete line_vector* and prev_line_number. Add | |
294 | global_stabs and file_stabs for xcoffread. | |
295 | * dbxread.c (start_subfile): Move to buildsym. Change above calls. | |
296 | * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. | |
297 | * symmisc.c, symtab.c: Cope with null LINETABLEs. | |
298 | ||
299 | * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO. | |
300 | * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, | |
301 | tm-sparc.h: Accept fromleaf parameter. | |
302 | * c-exp.y (yyerror): Pass error message if given. | |
303 | * configure.in: Add rs6000 host and target. | |
304 | * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. | |
305 | * symfile.h (entry_point): Add. | |
306 | ||
c0302457 JG |
307 | Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com) |
308 | ||
309 | * buildsym.c: New file. Breaks out symbol-table-building routines | |
310 | from dbxread.c, so they can be shared with xcoffread.c. | |
311 | * buildsym.h: New file. Declarations for buildsym.c users. | |
312 | * dbxread.c: Remove large chunks into buildsym.c. | |
d47d5315 JG |
313 | * Makefile.in: Add buildsym.c and buildsym.h. |
314 | ||
315 | * symfile.c (syms_from_bfd): New routine. | |
316 | (add_symbol_file): Call it to do the real work. | |
317 | (syms_from_bfd): Initialize entry_point before calling symfile_init. | |
318 | * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: | |
319 | Avoid declaring or setting entry_point (symfile.h & symfile.c cope). | |
c0302457 | 320 | |
bcccec8c PB |
321 | Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com) |
322 | ||
323 | Various fixes to improve g++ debugging. | |
324 | * symtab.h: Add is_const and is_volatile flags for each method. | |
325 | These are bit fields - take their space from voffset, | |
326 | which shrinks to 30 bits. Since voffset is now a bitfield, | |
327 | make it unsigned for portability. This changes its interpretation | |
328 | slightly: Static methods now have voffset 1 instead of -1, | |
329 | and virtual offsets start at 2, not 1. | |
330 | * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name, | |
331 | since it now returns an entire magled method name, not just | |
332 | the type part. This avoids some duplication. | |
333 | It also allows us to correctly mangle const and volatile | |
334 | methods (using the new is_const and is_volatile bit fields | |
335 | mentioned above). | |
336 | * valprint.c (type_print_base), values.c (check_stub_method): | |
337 | Simplify by using new gdb_mangle_name. | |
338 | * values.c (value_headof): Fix to correctly handle single | |
339 | inheritance (actually two fixes, either of which suffices). | |
340 | * dbxread.c (read_struct_type): Handle const and volatile | |
341 | method specifiers. | |
342 | * dbxread.c (read_struct_type): Yet one more place where | |
343 | we must handle '\\' continuations. | |
344 | * valprint.c (vtbl_ptr_name): Add final '\0'. | |
345 | ||
eb3f3e5c SG |
346 | Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com) |
347 | ||
5ab580cc SG |
348 | * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of |
349 | short return values for sparc and 68k. Patch from Paul Eggert. | |
350 | ||
eb3f3e5c SG |
351 | * coffread.c, coredep.c, i386-xdep.c: install patches for |
352 | SysV/386 3.2 from Mauro DePalma. | |
353 | ||
9cb602e1 JG |
354 | Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com) |
355 | ||
c58215f2 JG |
356 | * core.c (core_file_info), exec.c (exec_file_info): Print file |
357 | type. Use printf_filtered. | |
358 | ||
9cb602e1 JG |
359 | * valops.c (value_fetch_lazy): Avoid 0-length fetches. |
360 | ||
b662acae FF |
361 | Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com) |
362 | ||
c8c0a2bd FF |
363 | * dwarfread.c: Add casts to remove compiler warnings. |
364 | ||
84d82b1c FF |
365 | * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h, |
366 | tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h, | |
367 | tm-sun3.h: Remove locally duplicated code for calling functions | |
368 | in the inferior. The only differences were in the specific trap | |
369 | vectors used and whether or not an fpu was present. These are | |
370 | now handled by appropriate definitions of BPT_VECTOR and | |
371 | HAVE_68881 respectively. Other minor obvious cleanups. | |
372 | ||
373 | * valops.c: Correct a minor misspelling. | |
374 | ||
ed317bb3 FF |
375 | * utils.c: Remove local BSD/USG hacks that are now in libiberty. |
376 | ||
b662acae FF |
377 | * dwarfread.c: Remove prototype for dwarfwarn. Does not work |
378 | with <varargs.h>. | |
379 | ||
313fdead JG |
380 | Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) |
381 | ||
b0077123 JG |
382 | * stack.c (frame_command): Always print. Use new |
383 | frame_select_command to select a frame without printing. | |
384 | ||
313fdead JG |
385 | * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable. |
386 | ||
4a35d6e9 FF |
387 | Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) |
388 | ||
35f5886e FF |
389 | * dwarfread.c: New file for DWARF debugging format support. |
390 | ||
391 | * elfread.c: New file for ELF object file format support. | |
392 | ||
393 | * procfs.c: New file for SVR4 /proc (process file system) support. | |
394 | ||
395 | * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for | |
396 | Amiga UNIX support. | |
397 | ||
398 | * xm-svr4.h, tm-svr4.h: New files for SVR4 support. | |
399 | ||
400 | * xm-m68k.h: New file for host machines with m68k cpu. | |
401 | ||
bb4ff694 FF |
402 | * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR. |
403 | Add elfread.o and dwarfread.o to OBS. | |
404 | ||
405 | * symfile.h: Add "elf" to list of supported formats in comment. | |
406 | ||
e2aab031 FF |
407 | * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin |
408 | types to gdb, builtin_type_long_double, builtin_type_complex, and | |
409 | builtin_type_double_complex. Add and use new TARGET_SHORT_BIT, | |
410 | TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT, | |
411 | TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and | |
412 | TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated | |
413 | types on the target machine (ala the existing TARGET_LONG_LONG_BIT). | |
414 | ||
02070680 FF |
415 | * infrun.c: When using SVR4 /proc interface instead of ptrace(), |
416 | call proc_set_exec_trap() to setup child to stop at first instruction. | |
417 | ||
418 | * inftarg.c: When using SVR4 /proc interface, call proc_wait() | |
419 | rather than wait(). | |
420 | ||
421 | * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(), | |
422 | supply_fpregset(), and fill_fpregset(), which are machine | |
423 | dependent support routines for SVR4 /proc interface. | |
424 | ||
2bc2e684 FF |
425 | * utils.c: Add warning_setup() and warning(). Warning() behaves |
426 | the same as error() except that it returns normally rather than | |
427 | jumping back to command level. Modules that don't want to call | |
428 | warning() for some reason, but want to produce their own warnings, | |
429 | can call warning_setup() to ensure compatibility with the way | |
430 | warning() and error() deal with the terminal. | |
431 | ||
eaa1ef1d FF |
432 | * symtab.c: Make internal errors produce more useful messages. |
433 | ||
dcd15e5e FF |
434 | * tm-68k.h: Move code that is duplicated in almost every single |
435 | m68k based machine's configuration files to this common file. | |
436 | Duplications in the configuration files still need to be removed | |
437 | (FIXME). | |
438 | ||
150f5436 FF |
439 | * infrun.c (child_create_inferior): System V versions must call |
440 | setpgrp() with no arguments, to comply with prototyping typically | |
441 | in <unistd.h>. | |
442 | ||
cb17dfb1 FF |
443 | * munch: Add support for SVR4 style nm output. |
444 | ||
4a35d6e9 FF |
445 | * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object |
446 | file specific fields from the partial symbol table structure and | |
447 | replace them with a pointer to private data for each different | |
448 | flavor of object file reader to initialize appropriately. | |
449 | ||
b0077123 JG |
450 | Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com) |
451 | ||
452 | * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c | |
453 | and previous. | |
454 | ||
455 | * mipsread.c (fixup_undef_type): New function. If a struct / | |
456 | union / enum is defined in a header file but nowhere else used, | |
457 | (by typedefing, pointer referencing or declaration) the mipsread code | |
458 | builds the complete tree for the structure but leaves its code as | |
459 | TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is. | |
460 | Guess its type based on the details of the members. | |
461 | ||
0d3e7f60 SG |
462 | Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com) |
463 | ||
464 | * infrun.c (wait_for_inferior): Check return value from | |
465 | find_pc_line. | |
466 | ||
bc6c937d SG |
467 | Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com) |
468 | ||
469 | * infrun.c (wait_for_inferior): fix stepi/nexti that was broken | |
470 | by my last edit to this routine. | |
471 | ||
b0077123 JG |
472 | Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com) |
473 | ||
474 | * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging. | |
475 | FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap | |
476 | the values before putting them into the dummy code. (From Peter | |
477 | Schauer) | |
478 | ||
44e4e473 SC |
479 | Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com) |
480 | ||
481 | * configure.in: added ebmon target. | |
482 | ||
785ce19c | 483 | Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com) |
a1b8c5d6 JG |
484 | |
485 | GDB-4.2 release! | |
486 | ||
487 | * Makefile.in: Roll VERSION to 4.2. | |
44e4e473 | 488 | * README, TODO, WHATS.NEW: Update. |
a1b8c5d6 JG |
489 | |
490 | * core.c (core_open): Improve error message for bad file. | |
491 | Pass .reg virtual memory address to fetch_core_registers to help | |
492 | it find the registers in the core-file header. | |
493 | * coredep.c (fetch_core_registers): Take new argument, use it, | |
494 | and pass it to register_addr to locate the block of registers. | |
785ce19c | 495 | * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit. |
a1b8c5d6 JG |
496 | |
497 | * dbxread.c (read_dbx_symtab, process_one_symbol): Handle | |
498 | Sequent N_FN_SEQ like everybody else's N_FN. | |
499 | ||
500 | * main.c: Circumvent SCO cc bug with #if !!defined(USG). | |
501 | * tm-i386v.h: #endif guck. | |
502 | * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge. | |
785ce19c JG |
503 | * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath. |
504 | * xconfig/tahoe: Add REGEX, which seems to be missing. | |
505 | ||
506 | * coredep.c: Add <sys/types.h> for SCOnix. | |
507 | * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file. | |
508 | * printcmd.c (print_formatted): Flush output before disassembly. | |
a1b8c5d6 | 509 | |
93ae2e88 RP |
510 | Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) |
511 | ||
9e0906a6 RP |
512 | * doc/refcard.tex (sec "Working Files"): consistent metavars and |
513 |