Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Apr 14 22:33:55 1992 Fred Fish (fnf@cygnus.com)
2
3 * gdbtypes.h (FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL): Add defines.
4 * gdbtypes.h (TYPE_FLAG_FUND_TYPE): Add define for bit in a
5 type's flag word that marks it as a fundamental type.
6 * c-exp.y (_initialize_c_exp): Add TYPE_FLAG_FUND_TYPE bit to
7 flags argument for all calls to init_type().
8 * m2-exp.y (_initialize_m2_exp): Add TYPE_FLAG_FUND_TYPE bit to
9 flags argument for all calls to init_type(). Also remove
10 dependency on host sizes for ints, floats, etc.
11 * mipsread.c (_initialize_mipsread): Add TYPE_FLAG_FUND_TYPE bit to
12 flags argument for all calls to init_type(). Also remove
13 dependency on host sizes for ints, floats, etc.
14 * gdbtypes.c (lookup_fundamental_type): Add TYPE_FLAG_FUND_TYPE
15 bit to flags argument for all calls to init_type(). Add types
16 FT_FIXED_DECIMAL and FT_FLOAT_DECIMAL.
17 * valprint.c (unsigned_type_table, signed_type_table,
18 float_type_table): Remove.
19 * valprint.c (type_print_base): Test new TYPE_FLAG_FUND_TYPE
20 bit when printing fundamental types, and print the actual name
21 for such types, rather than inventing one. Remove code that
22 invented fundamental type names.
23 * valprint.c (_initialize_valprint): Remove initializations
24 for now removed unsigned_type_table, signed_type_table, and
25 float_type_table.
26
27 Mon Apr 13 20:59:21 1992 Fred Fish (fnf@cygnus.com)
28
29 * dwarfread.c (target_to_host): New function similar to previous
30 swapin function.
31 * dwarfread.c (SWAPIN, swapin): Remove macro and support function.
32 Extensive changes to convert all previous usages to use new
33 target_to_host() function.
34 * dwarfread.c (struct dieinfo): Change types of most integral
35 members to be unsigned.
36
37 Mon Apr 13 15:59:10 1992 John Gilmore (gnu at cygnus.com)
38
39 * WHATS.NEW: Revise -mapped doc.
40
41 Sat Apr 11 23:14:36 1992 John Gilmore (gnu at cygnus.com)
42
43 * mipsread.c (parse_partial_symbols): Complain when sh->index is
44 too high or when skipping `forwards' moves us backwards.
45 (parse_type): Print mis-guessed tag name in complaint.
46 (parse_external): Eliminate cur_stab and obscure top_stack clobbers.
47 (parse_procedure): Do not attempt to create symbols; just fill in
48 the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one.
49 (psymtab_to_symtab_1): Split up `stabs' from `native ecoff' code
50 for clarity. Set top_stack before calling parse_external. In
51 stabs, sort symbols before calling parse_procedure.
52 * mipsread.c: Lint.
53 * symmisc.c (std_in, std_out, std_err): Add vars to access std
54 FILE *'s when debugging GDB (e.g. as args to dump_symtab).
55 * Makefile.in: Remove stage* targets. Avoid echo on recursive
56 makes. Eliminate doc/Makefile from tar.Z file if doc/Makefile.in
57 exists.
58
59 Fri Apr 10 23:47:37 1992 John Gilmore (gnu at cygnus.com)
60
61 * Makefile.in (VERSION): Set to 4.5.1.
62 * xcoffread.c (NO_TYPEDEFS): Fix typo in commented-out #define.
63 * sparc-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
64 fill_gregset): New functions for SVR4 /proc support.
65 * mipsread.c: Cleanup. Add more complaints for unhandled cases.
66 Remove new symbol types and such to ../include/coff/symconst.h.
67 (parse_symbol): Simplify code for parsing struct/enum/unions.
68 (parse_type): Handle `long long' types.
69 (upgrade_type): Handle `const' qualifier.
70 (parse_partial_symbols): fix indentation, clean a bit.
71
72 Fri Apr 10 22:41:03 1992 Fred Fish (fnf@cygnus.com)
73
74 * dwarfread.c (SWAPIN,swapin): New macro and function to call to
75 copy in data from raw read buffers, calling bfd byteswapping
76 routines as appropriate. Use to replace most existing memcpy
77 calls.
78 * dwarfread.c (basicdieinfo, completedieinfo): Add objfile arg.
79 * configure.in: Recognize new ncr3000 config.
80 * config/ncr3000.mh: New config file.
81
82 Fri Apr 10 08:30:58 1992 Stu Grossman (grossman at cygnus.com)
83
84 GDB-4.5 release!
85
86 * README: Update for release.
87 * Makefile.in: Update version to 4.5.
88 * WHATS.NEW: The obvious.
89
90 * depend: Generate new depend file for this release.
91
92 * Makefile.in (depend): Fix dependancy generation so that it does
93 not include gcc 'fixincluded' files, which are usually in a system
94 specific location.
95
96 Thu Apr 9 13:35:00 1992 Per Bothner (bothner@rtl.cygnus.com)
97
98 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).
99 * buildsym.c (#ifdef RS6000_TARGET): Don't create unnecessary
100 symbols for nameless types. And, handle `R' (register parameter
101 type) for AIX. (an extension to existing stabstring grammar).
102 * rs6000-xdep.c: Fix typo (= should have been ==).
103
104 Thu Apr 9 12:10:06 1992 Stu Grossman (grossman at cygnus.com)
105
106 * Makefile.in: version=4.4.88, add xm-vax.h to HFILES.
107
108 Thu Apr 9 02:29:03 1992 John Gilmore (gnu at cygnus.com)
109
110 * xm-sun4os5.h (DO_DEFERRED_STORES, CLEAR_DEFERRED_STORES): Zap.
111 * signame.c (SIGWAITING, SIGLWP): Add.
112
113 Tue Apr 7 16:34:07 1992 Per Bothner (bothner@cygnus.com)
114
115 * xm-i386mach.h: add decls for errno and strdup().
116
117 * breakpoint.c (breakpoint_1): Add (int) casts for enums
118 used in array index context (otherwise, some compilers barf).
119
120 Tue Apr 7 08:45:46 1992 Stu Grossman (grossman at cygnus.com)
121
122 * m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
123 Change def of SAVED_PC_AFTER_CALL to call routine to see if we are
124 in a system call, and provide better backtrace if so.
125
126 * Makefile.in (HFILES): Add xcoffsolib.h.
127 * rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
128 * rs6000-pinsn.c: #include "opcode/rs6k.h"
129
130 * mipsread.c (read_mips_symtab, read_the_mips_symtab,
131 mipscoff_symfile_read): Convert to BFD to do file I/O.
132
133 * symfile.c: #include <ctype.h> to get proper def if isspace().
134
135 * i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET.
136
137 Mon Apr 6 17:25:45 1992 Per Bothner (bothner@cygnus.com)
138
139 * mipsread.c: Create a .gdbinfo pseudo-symbol for each
140 function also when parsing embedded stabs.
141
142 Mon Apr 6 15:25:03 1992 Stu Grossman (grossman at cygnus.com)
143
144 * mipsread.c: Fix more declarations.
145
146 * mipsread.c: Fix many invocations of complain. Use enum
147 type_code where appropriate.
148
149 * xm-vaxult.h: Add decl for strdup().
150
151 * Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
152 for xm-vax.h.
153
154 Fri Apr 3 17:41:29 1992 Stu Grossman (grossman at cygnus.com)
155
156 * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
157 process_one_symbol.
158
159 Fri Apr 3 12:17:14 1992 Per Bothner (bothner@cygnus.com)
160
161 * munch: Must pre-pend "_" to "initialize" for SYSV style nm.
162 * tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
163 Merge in more patches for rs6000 from Metin Ozisik.
164 * utils.c: Fix typo in comment.
165
166 Fri Apr 3 11:23:03 1992 Fred Fish (fnf@cygnus.com)
167
168 * procfs.c (procinfo struct): Add nopass_next_sigstop member.
169 * procfs.c (attach): Set nopass_next_sigstop if attached
170 process is forcibly stopped.
171 * procfs.c (child_resume): Use nopass_next_sigstop to suppress
172 resending SIGSTOP to attached process on first resume.
173
174 Fri Apr 3 01:37:26 1992 Stu Grossman (grossman at cygnus.com)
175
176 * Makefile.in (SFILES_MAINDIR): add mipsread.c
177
178 Thu Apr 2 20:20:54 1992 John Gilmore (gnu at cygnus.com)
179
180 * Makefile.in (OBS): Compile mipsread.c for all targets now.
181 (VERSION): Bump to 4.4.85.
182 * mipsread.c: Update for new include files. Lint.
183 * tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab.
184 * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
185 Don't need to bring in mipsread.o specially any more.
186
187 Thu Apr 2 19:38:31 1992 Stu Grossman (grossman at cygnus.com)
188
189 * mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
190 routine (for Irix-4.x). Make many funcs static and void.
191 * mips-tdep.c (mips-frame-chain): Clean up, simplify.
192 * (init_extra_frame_info): Don't trash cached value of frame
193 pointer register. This fixes backtracing through routines that use
194 alloca(). Generally clean up declarations of functions, and use
195 typedefs and macros to reference data structures as appropriate.
196 * tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for
197 proc_desc element.
198
199 Thu Apr 2 09:47:11 1992 Fred Fish (fnf@cygnus.com)
200
201 * values.c (unpack_long): Fix unpacking error for signed chars
202 on hosts where the default character type is unsigned.
203 * procfs.c (pr_flag_table, pr_why_table): Add some entries
204 for newer SVR4 variants.
205 * procfs.c (proc_set_exec_trap): Reorder tests for ioctl's that
206 turn off trace inherit-on-fork flag to favor latest SVR4 method.
207 * procfs.c (mappingflags): Add support for MA_PHYS
208
209 Thu Apr 2 00:55:56 1992 John Gilmore (gnu at cygnus.com)
210
211 * buildsym.c (read_struct_type): Avoid coredump when C++
212 abbreviated type name is messed up. Reported by Joe Buck.
213 FIXME, we need to determine whether GDB or GCC needs to be
214 smarter to correctly locate this type name.
215
216 * c-exp.y, coffread.c, command.c, command.h, copying.awk,
217 dbxread.c, gdbtypes.c, infcmd.c, inferior.h, infrun.c,
218 m2-exp.y, printcmd.c, remote.c, solib.c, source.c, stack.c,
219 symtab.c, tm-sun4os4.h, tm-sun4os5.h, values.c: Lint.
220 * symfile.c (add_symbol_file_command): Initialize mapped/readnow.
221
222 Wed Apr 1 11:39:52 1992 Fred Fish (fnf@cygnus.com)
223
224 * breakpoint.h (bpdisp, bptype): Remove trailing comma.
225 * symtab.h (current_source_symtab): Make extern
226 * symtab.h (current_source_line): Make extern
227 * inferior.h: Move all procfs.c prototypes to one place, add
228 prototype for proc_signal_handling_change. Add prototypes for
229 signal_stop_state, signal_print_state, and signal_pass_state.
230 * inferior.h (stop_soon_quietly): Make extern
231 * inferior.h (attach_flag): Make extern
232 * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): Default is null.
233 * infrun.c (signal_stop_state, signal_print_state,
234 signal_pass_state): New functions to query specific signal
235 handling flags.
236 * infrun.c (handle_command): Minor error message change, add
237 NOTICE_SIGNAL_HANDLING_CHANGE.
238 * procfs.c (open_proc_file): Remove iris specific reset of
239 inherit-on-fork flag, moved to proc_set_exec_trap().
240 * procfs.c (proc_set_exec_trap): Add SVR4 and iris code
241 to reset inherit-on-fork flag, bash comment to GNU form.
242 * procfs.c (proc_base_address, set_proc_siginfo,
243 fetch_core_registers): Conform to code style.
244 * procfs.c (signame.h): Include.
245 * procfs.c (MAX_SYSCALLS, syscall_table[], init_syscalltable(),
246 syscallname(), info_proc_syscalls()): New macros, tables, and
247 functions to organize and report system call information.
248 * procfs.c (saved_fltset, saved_trace, saved_sighold,
249 saved_exitset, saved_entryset): Add to procinfo struct.
250 * procfs.c (struct trans): Add.
251 * procfs.c (pr_flag_table, pr_why_table, faults_table,
252 siginfo_table, errno_table): Tables to translate numeric values
253 to symbolic names and short descriptions.
254 * procfs.c (signalname, info_proc_signals): Add function and
255 prototype.
256 * procfs.c (proc_info): Now info_proc.
257 * procfs.c (proc_info_address_map): Now info_proc_mappings.
258 * procfs.c (info_proc_flags, info_proc_stop, info_proc_siginfo,
259 info_proc_faults, lookupname, lookupdesc, sigcodename,
260 sigcodedesc): New functions.
261 * procfs.c (proc_signal_handling_change): New function to set
262 the trace flags based on the state of gdb's signal handling flags.
263 * procfs.c (inferior_proc_init): Call proc_signal_handling_change
264 and remove code to do PIOCSTRACE ioctl.
265 * procfs.c (attach, detach): Preserve and restore process flags
266 using saved_* fields in procinfo struct.
267 * procfs.c (attach): Call proc_signal_handling_change.
268 * procfs.c (info_proc): Major rework to expand "info proc" cmd.
269 * procfs.c (proc_desc): Update for latest changes.
270 * xm-irix4.h (CREATE_INFERIOR_HOOK): Protect by USE_PROC_FS.
271 * xm-irix4.h (NOTICE_SIGNAL_HANDLING_CHANGE): Add definition.
272 * xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): Add definition.
273
274 Tue Mar 31 18:38:28 1992 Fred Fish (fnf@cygnus.com)
275
276 * procfs.c (set_proc_siginfo): Add prototype and new function.
277 * procfs.c (detach, child_resume): Call set_proc_siginfo to set
278 up inferior siginfo struct.
279 * elfread.c (elf_symfile_read): Compute the relocation amount
280 by subtracting off the address of the ".text" section.
281 * solib.c: Add pointer to ".text" section to so_list struct.
282 * solib.c (solib_map_sections): Initialize pointer to ".text"
283 section in so_list struct.
284 * solib.c (symbol_add_stub): Pass base address of ".text"
285 section to symbol_file_add, rather than the load address of
286 the shared library. On SunOS they are the same. On SVR4 they
287 are not.
288
289 Tue Mar 31 17:48:15 1992 Stu Grossman (grossman at cygnus.com)
290
291 * mipsread.c (parse_procedure): PDR.isym should get pointer to
292 function name, not .gdbinfo. symbol.
293
294 Tue Mar 31 17:05:04 1992 John Gilmore (gnu at cygnus.com)
295
296 * breakpoint.c (breakpoint_1): Fix prototype, this time for sure!
297
298 Tue Mar 31 11:01:06 1992 Stu Grossman (grossman at cygnus.com)
299
300 * Makefile.in (VERSION): 4.4.8
301
302 * procfs.c (open_proc_file): Disable inherit-on-fork flag so that
303 commands in .cshrc/.profile won't get traced.
304
305 Tue Mar 31 08:11:58 1992 John Gilmore (gnu at cygnus.com)
306
307 * elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
308 * exec.c (build_section_table): Don't abort if no sections.
309 * sparc-tdep.c (single_step): Lint.
310 * utils.c (mrealloc): Handle realloc (0, size) case here.
311
312 Mon Mar 30 16:50:43 1992 Stu Grossman (grossman at cygnus.com)
313
314 * Makefile.in (alldeps.mak): Config files are now *.m[ht] as
315 opposed to m[ht]-*!
316
317 * config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
318
319 * mipsread.c (parse_symbol, parse_procedure): Re-do the way that
320 .gdbinfo. symbols are created. Move creation from parse_procedure
321 to parse_symbol, where it is fairly easy to grow the symtab. This
322 also fixes a symtab trashing bug on all mips-based systems.
323 * (got_numargs, lookup_numargs, free_numargs): Delete. Not
324 needed anymore.
325 * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct
326 mips_extra_func_info, and all the PROC_xxx macros that look at it.
327
328 Mon Mar 30 14:17:53 1992 Per Bothner (bothner@cygnus.com)
329
330 * c-exp.y: Add missing return type to yyparse() prototype.
331
332 Sat Mar 28 22:22:06 1992 John Gilmore (gnu at cygnus.com)
333
334 Create and use macros for iterating on symtabs, psymtabs, msymbols.
335
336 * minsyms.c (iterate_over_msymbols): Remove; clunky and slow.
337 * symfile.h, symtab.h (iterate_over_msymbols): Remove prototype
338 * coffread.c (coff_symfile_read): iterate_over_symtabs => ALL_SYMTABS.
339 (patch_opaque_types): Avoid dummy args and result.
340 * objfiles.c (have_partial_symbols, have_full_symbols,
341 have_minimal_symbols): explicit iteration => ALL_OBJFILES; simplify.
342 (iterate_over_objfiles, iterate_over_symtabs,
343 iterate_over_psymtabs): Remove, clunky and slow.
344 * objfiles.h: Replace iterate_over_* prototypes with ALL_SYMTABS,
345 ALL_PSYMTABS, and ALL_MSYMBOLS macros.
346 * symmisc.c (dump_symtab, dump_psymtab, dump_msymbols,
347 dump_objfile): Remove dummy args and results. Move filename
348 comparisons to callers.
349 (printsyms_command, printpsyms_command, printmsyms_command,
350 printobjfiles_command): iterate_over_* => ALL_*. Compare filenames.
351 * symtab.c (lookup_symtab_1, lookup_symtab, lookup_partial_symtab,
352 lookup_symbol, find_main_psymtab, find_pc_symtab, sources_info,
353 list_symbols, make_symbol_completion_list): Replace explicit
354 iteration with ALL_SYMTABS, ALL_PSYMTABS, or ALL_MSYMBOLS.
355 Eliminate Dijkstra flag crap, break out of loops with gotos.
356 (lookup_symtab_1): Protect '/' tests from short filenames.
357 (cplus_mangled_symbol): Move inline into lookup_symbol.
358 * xcoffexec.c (relocate_objfile_msymbols): Remove poor hack.
359 (relocate_minimal_symbol): Move inline to vmap_symtab.
360 (vmap_symtab): Replace iteration with ALL_OBJFILES,
361 iterate_over_msymbols with ALL_MSYMBOLS.
362
363 Misc cleanup prior to release.
364
365 * Makefile.in (VERSION): Roll to 4.4.7.
366 (HFILES): Add call-cmds.h.
367 * call-cmds.h: New header for command fns called by other files.
368 * breakpoint.c (watchpoints_info): Remove, same as breakpoints_info.
369 (breakpoint_1): Remove unused type arg. Change callers.
370
371 * dwarfread.c (dwarf_build_psymtabs): Remove mainline test.
372 * mipsread.c (compare_symtabs, compare_psymtabs): Remove, unused.
373 * mipsread.c: Add prototypes for all static functions.
374
375 * symmisc.c (dump_symtab_lines, dump_symtabs, dump_last_symtab,
376 dump_blockvector, dump_block, dump_addrchass, dump_namespace,
377 dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove, unused.
378 * xcoffread.c (dump_symtab_lines, dump_symtabs, dump_last_symtab,
379 dump_blockvector, dump_block, dump_addrchass, dump_namespace,
380 dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove 2nd
381 unused copy!
382
383 * buildsym.c (define_symbol): Handle global register variables
384 (from Pierre Willard). Complain if register numbers are too large.
385 * target.c (nomemory): Now that higher levels examine errno, give EIO.
386 * tm-sparc.h: Don't #include <sun4/reg.h>.
387 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc): Remove
388 dependency on <sun4/reg.h>. Start to handle cross-byte-order.
389
390 * language.h: Avoid forward enum declaration.
391 * configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh,
392 config/sun4os5.mt: New host and target.
393 * defs.h (errno): #include <errno.h> rather than assuming int.
394 From Pierre Willard.
395
396 * breakpoint.c, breakpoint.h, buildsym.c, coffread.c, cplus-dem.c,
397 dbxread.c, dwarfread.c, elfread.c, infcmd.c, infrun.c, inftarg.c,
398 language.c, main.c, mem-break.c, mips-tdep.c, mipsread.c,
399 partial-stab.h, remote.c, saber.suppress, symfile.c, symtab.c,
400 valops.c, valprint.c, xcoffread.c, c-exp.y, m2-exp.y, blockframe.c,
401 command.c, core.c, exec.c, gdbtypes.h, parse.c, printcmd.c, solib.c,
402 sparc-xdep.c, utils.c, value.h, values.c: Lint.
403
404 Sat Mar 28 02:43:26 1992 John Gilmore (gnu at cygnus.com)
405
406 * buildsym.c (read_range_type): Avoid int overflow by using unsigned.
407 * dbxread.c (dbx_symfile_init): Remove bogus `lvalue cast'.
408 * language.h (enum exp_opcode): Avoid forward enum def.
409 * main.c (define_command, user_defined_command): Lint.
410 * mem-break.c, xcoffread.c: Lint.
411 * solib.c: Only #include <a.out.h> on SunOS, not SVR4.
412
413 Sun Mar 29 14:16:22 1992 Per Bothner (bothner@cygnus.com)
414
415 * Merged in latest RS6000 diffs from Metin G. Ozisik.
416 * xcoffsolib.c, xcoffsolib.h: New files, from Metin.
417 * Various files: Changed #ifdef IBM6000 to IBM6000_HOST
418 or IBM6000_TARGET as (approximately) appropriate.
419
420 Sat Mar 28 13:00:10 1992 Fred Fish (fnf@cygnus.com)
421
422 * objfiles.h (OBJF_SYMS): Define flag bit for objfile flags.
423 * symfile.c (symbol_file_add): Use OBJF_SYMS to decide whether
424 or not to try reading symbols from a mapped objfile. Plugs memory
425 leak due to shared libraries generating no psymtabs or symtabs.
426
427 Fri Mar 27 15:44:55 1992 John Gilmore (gnu at cygnus.com)
428
429 * buildsym.c (MAX_OF_C_TYPE, MIN_OF_C_TYPE): Unused, remove.
430 * copying.awk: Lint. Make stronger warning at top of copying.c.
431 * elfread.c (elf_symtab_read): Eliminate check of mainline.
432 * gdbtypes.c (smash_to_*): Remove FIXME comments.
433 (lookup_pointer_type): Add FIXME comment.
434 * main.c (set_history_size_command): Disallow negative size.
435 * partial-stab.h: Update copyright.
436 * rs6000-tdep.c (skip_trampoline_code): Better comments.
437
438 Wed Mar 25 10:45:38 1992 John Gilmore (gnu at cygnus.com)
439
440 * main.c (set_history_size_command): Negative size is error.
441 (Reported by Peggy Fieland.)
442
443 Thu Mar 26 17:01:18 1992 Fred Fish (fnf@cygnus.com)
444
445 * coffread.c (coff_symfile_init): Update comment.
446 * dbxread.c (DBX_SYMFILE_INFO, DBX_TEXT_SECT, DBX_SYMCOUNT,
447 DBX_STRINGTAB, DBX_STRINGTAB_SIZE, DBX_SYMTAB_OFFSET): Define
448 macros to access the dbx specific objfile information.
449 * dbxread.c (symfile_string_table, symfile_string_table_size):
450 Remove these local variables.
451 * dbxread.c (read_ofile_symtab, psymtab_to_symtab_1,
452 read_dbx_symtab): Remove the stringtab and stringtab_size params
453 from the function prototypes, the function definition, and the
454 function calls. These are now available via DBX_STRINGTAB and
455 DBX_STRINGTAB_SIZE using the objfile pointer.
456 * dbxread.c (dbx_symfile_read): Relocate addr before using as
457 an arg to read_dbx_symtab.
458 * dbxread.c (dbx_symfile_read): Remove code that free'd the
459 stringtab and the dbx specific per-objfile private info.
460 * dbxread.c (init_psymbol_list): Remove symbol count from passed
461 args in prototype, function definition, and function calls. It is
462 now available via the DBX_SYMCOUNT macro using the objfile
463 pointer.
464 * dbxread.c (dbx_symfile_read, dbx_symfile_init): Remove the
465 local instance of struct dbx_symfile_info and replace with DBX_*
466 macros.
467 * dbxread.c (dbx_symfile_read): Remove init's of now deleted
468 symfile_string_table and symfile_string_table_size.
469 * dbxread.c (dbx_symfile_finish): Remove now obsolete free of
470 symfile_string_table.
471 * dbxread.c (init_psymbol_list): Use DBX_SYMCOUNT.
472 * dbxread.c (dbx_psymtab_to_symtab): Remove local stringtab and
473 stringtab size variables. Remove all code that used to reread
474 the stringtab.
475 * objfiles.c (allocate_objfile): Move calls to init_malloc()
476 to prior to any calls to mmalloc for the objfile specific heap.
477 * utils.c (init_malloc): Document the requirement that for each
478 heap for which corruption checking is desired, that init_mmalloc
479 must be called prior to any mmalloc calls on the heap.
480
481 Thu Mar 26 13:20:06 1992 Per Bothner (bothner@cygnus.com)
482
483 * rs6000-pinsn.c: Make dis-assembly output more like
484 other targets: Don't print instruction in hex before
485 the assembly; use print_address to print out jump
486 destinations.
487
488 Wed Mar 25 16:52:35 1992 Per Bothner (bothner@cygnus.com)
489
490 * c-exp.y, gdbtypes.h: Add builtin_type_signed_char.
491 * cplus-dem.c: Support "Sc" meaning "signed char".
492
493 Wed Mar 25 15:21:44 1992 Stu Grossman (grossman at cygnus.com)
494
495 * configure.in: fix iris/iris3.
496
497 Wed Mar 25 14:55:48 1992 Per Bothner (bothner@cygnus.com)
498
499 * command.c, main.c (various places): Use ctype.h macros
500 (such as isupper(x)), instead of hard-wiring in ASCII-isms
501 (such as (x >= 'A' && x <= 'Z')).
502 (There are still more of these in other files.)
503 * main.c (defined_command): Lower-case the user's
504 new command before entering it. Needed because
505 command lookup is case-insensitive (and also lower-cases).
506 (Based on Metin's earlier patch.)
507
508 Tue Mar 24 23:27:01 1992 K. Richard Pixley (rich@cygnus.com)
509
510 * config/irix4.mh: new file.
511
512 Tue Mar 24 14:17:48 1992 Stu Grossman (grossman@cygnus.com)
513
514 * infcmd.c (step_1): Call disable_longjmp_breakpoint at the right
515 time.
516
517 * xm-mips.h: Declare strdup for ultrix.
518
519 * mipsread.c (fixup_sigtramp): Make sure that current_objfile is setup
520 when calling new_symbol.
521 * mips-tdep.c (mips_frame_chain): Use symfile_objfile instead of
522 current_objfile.
523
524 Tue Mar 24 13:26:25 1992 Per Bothner (bothner@rtl.cygnus.com)
525
526 * config/rs6000.mh: Update (for Fred's new mmalloc)
527 flags to disable use of GNU malloc/mmalloc.
528 * munch: Change SYSV rule to allow .text before the label,
529 as well as after, to work for AIX.
530 * gdbtypes.h: Minor clarifiction.
531
532 Tue Mar 24 07:26:19 1992 Michael Tiemann (tiemann@cygnus.com)
533
534 * buildsym.c (read_struct_type): Handle cretinous dbx symbol name
535 continuation in yet another place (between method declarations).
536
537 Mon Mar 23 23:01:41 1992 Stu Grossman (grossman at cygnus.com)
538
539 * mips-tdep.c: include symfile.h and objfiles.h to fix
540 compilation errors.
541
542 Mon Mar 23 15:49:14 1992 Per Bothner (bothner@cygnus.com)
543
544 * valops.c (value_struct_elt_for_reference): Added 'offset'
545 parameter to handle multiple inheritance.
546 * eval.c, value.h: Update accordingly.
547
548 Fri Mar 20 17:43:27 1992 Fred Fish (fnf@cygnus.com)
549
550 * objfiles.h: New file
551 * Makefile.in (HFILES): Add objfiles.h
552 * blockframe.c: Remove entry_scope_lowpc, entry_scope_highpc,
553 main_scope_lowpc, main_scope_highpc.
554 * blockframe.c, buildsym.c, coffread.c, dbxread.c, dwarfread.c,
555 elfread.c, gdbtypes.h, minsyms.c, mipsread.c, objfiles.c, solib.c,
556 source.c, symfile.c, symmisc.c, symtab.c, target.c, xcoffexec.c,
557 xcoffread.c, : Include objfiles.h.
558 * tm-29k.h, tm-i386v.h, tm-merlin.h, tm-rs6000.h, tm-sun386.h,
559 tm-symmetry.h, tm-tahoe.h, tm-umax.h, tm-vax.h, m88k-tdep.c,
560 mips-tdep.c (FRAME_CHAIN): Renamed outside_startup_file to
561 inside_entry_file() and logic changed appropriately.
562 * blockframe.c (outside_startup_file): Renamed to
563 inside_entry_file() and logic changed appropriately.
564 * blockframe.c (inside_main_scope): Renamed to inside_main_func()
565 and logic changed to use per-objfile specific fields.
566 * blockframe.c (inside_entry_scope): Renamed to
567 inside_entry_func() and logic changed to use per-objfile specific
568 fields.
569 * blockframe.c, buildsym.h, coffread.c, dwarfread.c, mipsread.c,
570 symfile.c, mips-tdep.c (startup_file_start, startup_file_end):
571 Remove extern decls.
572 * symfile.c, symfile.h (entry_point): Remove extern decl.
573 * coffread.c (coff_symfile_init): Common entry point init code
574 moved to symfiles.c, call init_entry_point_info().
575 * coffread.c (complete_symtab): Use new per-objfile entry info.
576 * mip-tdep.c (mips_frame_chain): Use new per-objfile entry info.
577 * mipsread.c (parse_partial_symbols): Use new per-objfile entry
578 info.
579 * dbxread.c (read_dbx_symtab): Use new per-objfile entry info.
580 * defs.h (inside_entry_scope, outside_startup_file,
581 inside_main_scope): Prototypes changed for renames to
582 inside_entry_func, inside_entry_file, inside_main_func,
583 respectively.
584 * symfile.c (syms_from_objfile): Common entry point init code
585 moved to init_entry_point_info() and call init_entry_point_info().
586 * symfile.h (init_entry_point_info): Include prototype.
587 * xcoffread.c (aixcoff_symfile_init): Common entry point init code
588 moved to symfiles.c and call init_entry_point_info().
589 * dwarfread.c (entry_scope_lowpc, entry_scope_highpc,
590 main_scope_lowpc, main_scope_highpc): Remove extern decls.
591 * dwarfread.c (read_func_scope, read_file_scope): Use new per-
592 objfile entry info.
593 * frame.h (FRAME_CHAIN_VALID): Provide default definition that
594 works for the majority of targets.
595 * tm-68k.h, tm-convex.h, tm-h8300.h, tm-i386v.h, tm-irix3.h,
596 tm-merlin.h, tm-mips.h, tm-pyr.h, tm-rs6000.h, tm-sparc.h,
597 tm-sun386.h, tm-tahoe.h, tm-umax.h, tm-vax.h (FRAME_CHAIN_VALID):
598 Use default definition in frame.h.
599 * frame.h (selected_frame_level): Make decl extern.
600 * objfiles.c, symfile.c (current_objfile): Moved to objfiles.c
601 * objfiles.c, symfile.c (symfile_objfile): Moved to objfiles.c
602 * partial-stab.h: Use new per-objfile entry info.
603 * symfile.h (struct objfile): Removed, moved to objfiles.h.
604 * symfile.h, objfiles.h (allocate_objfile, free_objfile,
605 free_all_objfiles, iterate_over_objfiles, iterate_over_symtabs,
606 iterate_over_psymtabs, have_partial_symbols, have_full_symbols,
607 have_minimal_symbols): Prototypes moved to objfiles.h.
608 * symfile.h, objfiles.h (ALL_OBJFILES, ALL_OBJFILES_SAFE):
609 Macros moved to objfiles.h.
610 * tm-h8300.h, tm-i386v4.h (FRAME_CHAIN_VALID_ALTERNATE): Define.
611
612 Thu Mar 19 18:49:45 1992 Per Bothner (bothner@cygnus.com)
613
614 More C++ improvements (pointers to members, qualified names).
615 * c-exp.y: Support exp.type::name and exp->type::name
616 syntaxes. (Unfortunately, doesn't work for static members.)
617 * c-exp.y, eval.c: Make type::~type work better.
618 * eval.c (evaluate_subexp: OP_SCOPE): Replace use of
619 value_static_field by value_struct_elt_for_reference.
620 * eval.c (evaluate_subexp): Merge code for STRUCTOP_MEMBER
621 and STRUCTOP_MPTR; cast arg1 to domain-type of arg2.
622 * eval.c (evaluate_subexp): Remove special case for UNOP_ADDR
623 for OP_SCOPE operand; no point in it now that we use lazy
624 reading of values, and use "reference to member" objects.
625 * gdbtypes.h: Clarify comment.
626 * valops.c: Change value_struct_elt_for_address to return
627 a reference (or variable), rather than a pointer. Change
628 the name to value_struct_elt_for_reference to reflect this.
629 Returning a reference instead of a address provides a
630 generalization, since we can use the routine for both
631 class::name as well as &class::name.
632 Also, recurse to handle multiple inheritance properly.
633 * valprint.c: Moved code to print pointer-to-members
634 to new function point_class_member. This allows a
635 "reference-to-member" to be printed using the same code.
636 * valprint.c (type_print_varspec_prefix): Avoid printing
637 "struct " for domains of class-member types.
638 * valops.c (search_struct_field): Inline code for simplified
639 version of value_static_field (which can then be deleted).
640 * value.h: Rename value_struct_elt_for_address to
641 value_struct_elt_for_reference. Delete value_static_field.
642 * values.c: Remove no longer used function value_static_field.
643
644 Thu Mar 19 13:54:11 1992 Fred Fish (fnf@cygnus.com)
645
646 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
647 elfread.c (coff_symfile_finish): Add function, prototype, and
648 add to the xxxx_sym_fns struct for each file type. Also reformat
649 the xxxx_sym_fns vector to a standard format and add comments.
650 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
651 elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read):
652 Pass pointer to struct objfile rather than pointer to sym_fns.
653 Change references inside each function accordingly. Allocate any
654 symbol file specific info in the per-objfile memory region.
655 * dbxread.c (free_and_init_header_files): Break function into
656 free_header_files(), called from dbx_symfile_finish(), and
657 init_header_files(), called from dbx_new_init().
658 * dbxread.c (dbx_new_init): Move deallocation things to new
659 dbx_symfile_finish function.
660 * elfread.c (elf_new_init): Call buildsym_new_init().
661 * objfiles.c (free_objfile): Call the appropriate symfile_finish()
662 routine for the objfile before deallocating other stuff.
663 * sparc-tdep.c (get_longjmp_target): Cast target_read_memory arg.
664 * symfile.h: Move struct sym_fns to before struct objfile def.
665 Add sym_finish function pointer and change prototypes of other
666 function pointers to reflect passing struct objfile pointer rather
667 than struct sym_fns pointer.
668 * symfile.c: Remove now obsolete symtab_fns pointer.
669 * symfile.c (symfile_init): Renamed to find_sym_fns, and now only
670 locates the correct sym_fns struct for the given objfile.
671 * symfile.c (syms_from_objfile, symbol_file_add): Restructured
672 for better support of mapped symbol tables.
673 * symfile.c (symbol_file_command): Remove obsolete code using
674 symfile_fns.
675 * symfile.h: Remove duplicate declarations for symfile_objfile,
676 entry_point, and object_files.
677 * target.c (target_info): Compare symfile_objfile to NULL.
678 * xcoffread.c (aixcoff_new_init): Move deallocation stuff to
679 aixcoff_symfile_finish().
680
681 Wed Mar 18 18:22:46 1992 Fred Fish (fnf@cygnus.com)
682
683 * infrun.c (IN_SOLIB_TRAMPOLINE): Add default definition.
684 * infrun.c (wait_for_inferior): Use IN_SOLIB_TRAMPOLINE.
685 * tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Add SVR4 definition.
686
687 Wed Mar 18 15:51:15 1992 Per Bothner (bothner@cygnus.com)
688
689 Some improvements to g++ debugging.
690 * symtab.c (list_symbols): demangle before pattern matching.
691 * symtab.c: Other fixes to improve handing of operators.
692 * valprint.c (type_print_base): Fix test for constructor.
693 * values.c (value_static_field): Allow evaluation of
694 CLASS::METHOD, returning a function pointer.
695
696 Wed Mar 18 08:39:52 1992 Fred Fish (fnf@cygnus.com)
697
698 * Makefile.in (VERSION): Roll 4.4.6.
699 * exec.c (exec_file_command): Add code to ignore optional args
700 passed in by file_command() for use in symbol_file_command().
701 * main.c (main): Document -mapped and -readnow in help summary.
702 * objfiles.c (open_mapped_file): Cosmetic change, arg renamed.
703 * objfiles.c (allocate_objfile): Filename arg removed. Changes
704 to get filename from bfd with bfd_get_filename(). Test mapto
705 against 0, not NULL. Use mstrsave() to make copy of filename.
706 * remote-mm.c (mm_load): Symbol_file_add() takes an additional
707 arg.
708 * remote-vx.c (vx_load_command, add_symbol_stub):
709 Symbol_file_add() takes an additional arg.
710 * solib.c (symbol_add_stub): Symbol_file_add() takes an
711 additional arg.
712 * symfile.c (symfile_open): Renamed to symfile_bfd_open and
713 changed to return a bfd not an objfile pointer.
714 * symfile.c (syms_from_objfile): Eliminate local copy of bfd.
715 * symfile.c (symbol_file_add): Takes an additional arg (readnow).
716 Change to eliminate local bfd and use symfile_bfd_open() plus
717 allocate_objfile(). Add code to implement readnow option.
718 * symfile.c (symbol_file_command): Changes to option handling,
719 readnow functionality moved to symbol_file_add().
720 * symfile.c (symfile_init): Eliminate local copy of bfd.
721 * symfile.c (add_symbol_file_command): Changes to parse mapped
722 and readnow options.
723 * symfile.h (allocate_objfile): Arg removed from prototype.
724 * symtab.h (symbol_file_add): Arg added to prototype.
725 * xcoffexec.c (map_vmap): Allocate_objfile() takes an additional
726 arg.
727
728 Sat Mar 14 16:38:47 1992 Fred Fish (fnf@cygnus.com)
729
730 * gmalloc.c, gmalloc.h mcheck.c mmap-alloc.c mmap-sbrk.c mtrace.c,
731 mtrace.awk, state.c, state.h: Removed.
732 * .gdbinit: Add ../malloc, ../libiberty, and ../bfd to list of
733 directories searched for source files.
734 * Makefile.in (GNU_MALLOC, MALLOC_CFLAGS, MALLOCSRC): Removed
735 * Makefile.in (MMALLOC_DIR, MMALLOC_DEP, MMALLOC_LIB,
736 MMALLOC_DISABLE, MMALLOC_CHECK, MMALLOC_CFLAGS): Add
737 * Makefile.in (CFLAGS): Replace MALLOC_CFLAGS with MMALLOC_CFLAGS.
738 * Makefile.in (CLIBS, CDEPS): Add MMALLOC_LIB
739 * Makefile.in (ADD_FILES, ADD_DEPS): Remove GNU_MALLOC.
740 * Makefile.in (SFILES_MAINDIR): Remove stat.c mmap-alloc.c, mmap-
741 sbrk.c
742 * Makefile.in (HFILES): Remove state.h
743 * Makefile.in (POSSLIBS_MAINDIR): Remove MALLOCSRC.
744 * Makefile.in (OBS): Remove state.o mmap-alloc.o mmap-sbrk.o
745 * Makefile.in (saber_gdb): Remove mcheck, mtrace. Add MMALLOC_DIR.
746 * Makefile.in (clean): Remove all object files.
747 * c-exp.y: Define malloc to xmalloc and realloc to xrealloc.
748 * cplus-dem.c: Remove prototypes definitions that are now done in
749 def.h.
750 * dbxread.c (throughout): Change from using per-objfile
751 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
752 * defs.h: Remove prototypes for mmap_* functions. Add prototypes
753 for xmmalloc, xmrealloc, mfree, mmcheck, mmtrace, mmalloc_attach,
754 mmalloc_detach, mmalloc_setkey, msavestring, and mstrsave, nomem.
755 * depend: Remove dependencies for state.o, state.h.
756 * dwarfread.c: Add declaration for warning_pre_print.
757 * dwarfread.c (dwarfwarn): Use warning_pre_print.
758 * dwarfread.c (throughout): Change from using per-objfile
759 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
760 * gdbtypes.c (lookup_fundamental_type): Fix init_type calls to
761 use supplied objfile.
762 * i386-xdep.c (print_387_status): Change to use warning() rather
763 than printfs.
764 * i387-tdep.c (print_387_control_word): Change to use warning()
765 rather than printfs.
766 * infrun.c (wait_for_inferior): Remove unreachable abort() call
767 that some compilers grumble about.
768 * language.c (throughout): Add declaration for warning_pre_print
769 and using warning() instead of printfs.
770 * m2-exp.y: Define malloc to xmalloc and realloc to xrealloc.
771 * main.c (main): Add declaration for warning_pre_print and set it
772 similarly to error_pre_print. Add declarations for
773 mapped_symbol_files and readnow_symbol_files. Add appropriate
774 definitions to long_options[].
775 * minsyms.c: Trivial fix to comment.
776 * objfiles.c (allocate_objfile): Substantially rewritten for
777 using mapped symbol files.
778 * objfiles.c (throughout): Change from using per-objfile
779 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
780 * objfiles.c (open_mapped_file, mapped_to_address): Add functions.
781 * source.c (throughout): Change from using per-objfile
782 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
783 * source.c (open_source_file): Use mstrsave to save file name in
784 mapped symbol region for objfile.
785 * symfile.c: Remove include for state.h.
786 include to local form.
787 * symfile.c (symbol_file_add_digested): Remove.
788 * symfile.c (symbol_file_add): Substantially rewritten for mapped
789 symbol files.
790 * symfile.h: Remove malloc/xrealloc/xmalloc/xrealloc/free members
791 from objfile structure. Add malloc descriptor pointer (md).
792 * symfile.h (OBJF_DUMPABLE): Changed name to OBJF_MAPPED.
793 * symm-xdep.c (print_fpu_status): Use warning() rather than
794 printfs.
795 * symmisc.c (free_symtab_block): Now takes and uses current
796 objfile pointer.
797 * symmisc.c (throughout): Change from using per-objfile
798 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
799 * symtab.c (cplus_mangled_symbol): Cast return value to avoid
800 Sun compiler grumblings when PTR is char *.
801 * symtab.c (lookup_symbol): Cast return value of iterate_over_
802 msymbols() to correct pointer type.
803 * utils.c (warning_pre_print): Initialize to "\nwarning: ".
804 * utils.c (fatal, fatal_dump_core): Ensure that the fatal
805 error always starts on a line of it's own.
806 * utils.c (init_malloc, malloc_botch, xmalloc, xrealloc):
807 Rewrite for new mapped malloc package use.
808 * utils.c (mmalloc, mrealloc, mfree): Stubs for configurations
809 that don't want to use the mapped malloc package; pass arguments
810 on to traditional malloc package functions.
811 * utils.c (nomem): Add for fatal virtual memory exhausted aborts.
812 * utils.c (xmmalloc, xmrealloc, xmalloc, xrealloc): Like mmalloc,
813 mrealloc, malloc, and realloc but get fatal error if runs out
814 of memory.
815 * utils.c (msavestring, mstrsave): Save a string in a specific
816 mapped malloc region.
817 * utils.c (print_spaces): Use xmalloc to get the buffer.
818 * xm-amix.h, xm-i386v4.h, xm-sun3os4.h, xm-sun4os4.h: Add defines
819 for MMAP_BASE_ADDRESS and MMAP_INCREMENT.
820 * config/i386v4.mh: Insignificant reorganization.
821
822 Sat Mar 14 11:44:47 1992 Fred Fish (fnf@cygnus.com)
823
824 * xcoffread.c: Only enable compilation of debugging functions
825 if IBM6000 is defined. Fails to compile otherwise.
826
827 Fri Mar 13 15:51:11 1992 K. Richard Pixley (rich@cygnus.com)
828
829 * Makefile.in: pass MAKEINFO down on info.
830
831 Fri Mar 13 12:56:36 1992 John Gilmore (gnu at cygnus.com)
832
833 * mipsread.c (mipscoff_symfile_read): Eliminate a lot of
834 useless code, including an lseek to an uninitialized variable.
835 Reported by Jim Williams <jimbo@wrs.com>.
836
837 Thu Mar 12 11:56:46 1992 Per Bothner (bothner@cygnus.com)
838
839 Merged in patches from metin@ibmpa.awdpa.ibm.com (Metin G.
840 Ozisik) (dated Fri, 6 Mar 92 17:51) for the rs6000.
841 * minsyms.c, symfile.c: Changes that may be generally
842 applicable, but are #ifdef IBM6000 for now.
843 * rs6000-xdep.c: Fixed typo in comment.
844 * rs6000-tdep.c: Non-substatial changes.
845 * xoffread.c: The main change here is addition of some
846 debugging functions.
847 * xoffexec.c: More changes.
848
849 * xcoffread.c: Fixed two too-few-parameters bugs.
850
851 * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
852 to SOLIB_CREATE_INFERIOR_HOOK macro.
853
854 Sun Mar 8 21:17:48 1992 Fred Fish (fnf@cygnus.com)
855
856 * symfile.h: Add prototype for iterate_over_msymbols().
857 * symtab.c (cplus_mangled_symbol): Add function.
858 * symtab.c (lookup_symbol): Call cplus_mangled_symbol via
859 iterate_over_msymbols to find demangled C++ symbol.
860 * xcoffexec.c (relocate_minimal_symbol): Return meaningful
861 value to iterate_over_msymbols().
862 * xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
863 msymbols().
864
865 Fri Mar 6 21:59:34 1992 K. Richard Pixley (rich@cygnus.com)
866
867 * Makefile.in: added check target.
868
869 Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com)
870
871 * ecoff.c: Move to ../bfd/coff-msym.c.
872 * config/mt-*mips: Remove ecoff.o from the configuration.
873 * remote.c (): Add newline to initial +.
874 (remote_resume): Mention how to cope with signals.
875 (remote_interrupt): Add debug msg.
876 (remote-wait): Implement new 'T' reply, which includes
877 status, PC, and FP all in a single short message.
878 (putpkt): Add further debugging of packet acks.
879 * mipsread.c (fixup_symtab): Also swap RFD's.
880 (parse_partial_symbols): Avoid bug on unknown symbol types.
881 * Makefile.in (VERSION): Roll to 4.4.5.
882 * mips-tdep.c (heuristic_proc_start): Avoid long delays
883 for remote MIPS by limiting heuristic to 200 byte search.
884 (heuristic_proc_desc): Byte-swapping.
885 (mips_print_register): Cope with failure of
886 read_relative_register_raw_bytes. Byte-swap integers for
887 printing.
888 * mips-pinsn.c (print_insn): Byte-swap instruction.
889
890 Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com)
891
892 * config.sub configure.in config/.Sanitize config/mh-irix4
893 gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
894 gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
895 gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
896 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
897
898 Wed Mar 4 11:56:42 1992 Fred Fish (fnf@cygnus.com)
899
900 * defs.h, utils.c: xrealloc takes PTR as first arg.
901 * defs.h: Reword confusing comment about ANSI prototypes.
902 * defs.h: Some minor whitespace changes.
903 * infrun.c (wait_for_inferior): Compare int tmp to int 0,
904 not NULL, which can be (void *).
905 * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling.
906 * tm-i386v.h (SP_ARG0): Define
907 * xm-sysv4.h: Back out of change for missing prototypes.
908 * i386-tdep.c (get_longjmp_target): Add function.
909
910 Wed Mar 4 05:46:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
911
912 * Makefile.in: install man page too.
913
914 Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
915
916 * All GDB files that #include defs.h: Removed stdio.h.
917 (defs.h): #include stdio.h.
918
919 Mon Mar 2 23:00:12 1992 Steve Chamberlain (sac@thepub.cygnus.com)
920
921 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
922 a ptype to reflect the setting of TARGET_PTR_BIT. Set the
923 TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
924 * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
925 * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
926 it before printing out the hex shape of an address.
927
928 Sun Mar 1 17:41:09 1992 Per Bothner (bothner@cygnus.com)
929
930 * rs6000-xdep.c (frame_initial_stack_address): Move
931 code to set frame->cache_fsr into new separate function
932 frame_get_cacahe_fsr. This allows fixing a fatal error.
933 * xcoffexec.c: Turn previously suppressed error
934 message back on, after cleaning up BFD.
935
936 * breakpoint.c (breakpoint_re_set): Removed (at least for now)
937 printing of blank line, since it cases printing of an
938 extra blank line. Is this intended? It does mess up
939 gdb test suite.
940 * defs.h: Put back declarations of malloc and realloc,
941 but protected by #ifndef MALLOC_INCOMPATIBLE.
942 * objfiles.c: Undo previous change: Use malloc/realloc
943 for objfile malloc/realloc fields (but add a cast).
944 * xcoffexec.c: Suppress an error message (for now).
945
946 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
947
948 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
949 [Mail dated Fri, 21 Feb 92 13:14:54 -0800]
950 * buildsym.c: Use smash_to_pointer_type() to handle forward type
951 references.
952 * xcoffread.c: Modifications to C_DECL storage class handling, and
953 introduction of an old smash_to_pointer_type() routine.
954
955 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
956 [Mail dated Thu, 20 Feb 92 13:57:16 -0800]
957 * rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h: function_frame_info()
958 parameters have been modified.
959
960 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
961 [Mail dated Thu, 20 Feb 92 10:10:05 -0800]
962 * rs6000-tdep.c: Before Feb 5 92, register_valid[] array was not used,
963 and fetch_inferior_registers() always fetched all the registers
964 resulting valid register values at hand all the time. Pushing a dummy
965 frame did not require validating all register values first. After
966 putting the above mechanism into action, we didn't have valid registers
967 values always ready. Thus, all registers need to be fetched before
968 pushing a dummy frame now.
969
970 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
971 [Mail dated Thu, 13 Feb 92 16:22:44 -0800]
972 * rs6000-xdep.c: frame_initial_stack_address() function to calculate
973 the starting address (actual frame address) of a frame.
974 * rs6000-tdep.c: modifications to function_frame_info() to see if
975 function reserves a frame pointer register (alloca register)
976 * tm-rs6000.h: EXTRA_FRAME_INFO, FRAME_ARGS_ADDRESS and
977 FRAME_LOCALS_ADDRESS has been updated to support debugging of
978 functions with alloca() calls.
979
980 Sun Mar 1 13:13:39 1992 Fred Fish (fnf@cygnus.com)
981
982 * xm-sysv4.h: Provide definitions/prototypes for host environment
983 functions for which no definitions or prototypes are provided in
984 any currently included gdb or host environment header files.
985 For SVR4, this currently includes malloc and realloc, which cannot
986 be portably prototyped in any gdb include file.
987
988 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
989
990 * buildsym.h: Remove obsolete variable file_stabs.
991
992 * Makefile.in: Move place where configure merges in host-
993 and target-dependent fragments later, so the latter
994 can override (say) GNU_MALLOC.
995 * config/mh-rs6000: Use system malloc. Otherwise, I
996 ended up with *two* incompatible versions of malloc
997 (functions in libc would call the malloc in libc).
998 I assume this is a shared library problem.
999
1000 * remote.c: Fix (presumed) typo.
1001 * objfiles.c: Use xmalloc/xrealloc instead of
1002 malloc/realloc (since the latter are no longer declared).
1003
1004 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1005 [Mail dated Thu, 6 Feb 1992 10:22:02 -0800]
1006 * rs6000-xdep.c: Improvements to fetch_inferior_registers() to
1007 handle individual registers.
1008 * tm-rs6000.h: Fix SAVED_PC_AFTER_CALL macro to handle pc value
1009 correctly in case it wasn't cached yet. (A problem showed up
1010 after fetching individual registers.)
1011 * buildsym.c: Disable type_synonym_name's type name overwriting
1012 in cases it is unnecesary. rs6000 portation doesn't use
1013 type_synonym_name, and it used to nullify type names
1014 * xcoffread.c: to handle g++'s typename abbreviation, fill in a
1015 type's name as soon as space for that type is allocated.
1016 * xcoffread.c: ignore a section's lineno information if it is
1017 not `.text'. (In rs6000 bfd portation integration, skipping over
1018 `.pad' sections are ignored since it was in machine independent
1019 part of the code. Thus, a problem of fake sections with invalid
1020 lineno information arised.)
1021
1022 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1023 [Mail dated Thu, 6 Feb 1992 13:26:22 -0800]
1024 * rs6000-tdep.c: make function_frame_info() work whether or not
1025 reading from a core file.
1026 * tm-rs6000.h: Implementation of FRAME_FIND_SAVED_REGS macro.
1027
1028 * infrun.c. main.c, printcmd.c. symtab.c:
1029 More changes from IBM for rs6000.
1030
1031
1032 Thu Feb 27 22:57:19 1992 Per Bothner (bothner@cygnus.com)
1033
1034 * rs6k-opcode.h, tm-rs6000.h, xm-rs6000.h, rs6000-tdep.c,
1035 rs6000-xdep.c, xcoffexec.c, xcoffread.c:
1036 Merge in changes (mostly from IBM) for RS6000.
1037 * breakpoint.c, buildsym.c, infptrace.c, stack.c, symtab.c:
1038 More changes from IBM for RS6000. These are in machine-
1039 independent code, and probably could do with some cleaning
1040 up. The most questionable of these are #ifdef IBM6000.
1041 * infrun.c, sparc-tdep.c: Pass a parameter (signal number)
1042 to single_step() (for consistency with rs6000 and i860).
1043 * utils.c: Allow the 1st arg to xrealloc to be NULL
1044 (in which case do malloc). This removes the need for
1045 some tests in xcoff code (and perhaps other places?).
1046 * coffread.c: Removed variables last_source_file,
1047 type_vector, and type_vector_length as these are now
1048 defined by buildsym.[ch].
1049 * defs.h: Remove prototypes for malloc and realloc, since
1050 these should only be used to implement xmalloc and xrealloc,
1051 and they conflict with <stdlib.h> in AIX - where they
1052 return void* even when __STDC__ isn't defined. Sigh.
1053 * munch: Recognize *initialize* in data as well as text
1054 (AIX uses data). Also, incorporate a patch from Garrett
1055 Wollman <wollman@uvm-gen.uvm.edu> to make the sed script
1056 much more sensible, by only trying to match the name of
1057 the initialize_foo function, and not the junk before it.
1058
1059 Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com)
1060
1061 * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
1062 unless symbol table indicates that something has changed.
1063
1064 Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com)
1065
1066 * remote.c: Make it work for embedded MIPS. Increase buffer
1067 size, and use throughout. Round buffer size up if too many regs.
1068 Support baud rate setting and try for an 8-bit path. If
1069 interrupted while waiting for target, send a ^C down the wire.
1070 Avoid single-byte reads.
1071 * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
1072 and NUM_REGS.
1073 * mips-xdep.h: Avoid the embedded regs when on Unix.
1074
1075 * mipsread.c: Byte-swap the symbol table structures, using
1076 routines from ecoff.c, to read a symbol table written in any
1077 of the four possible byte orders.
1078 * configure.in (mips-big-* target): Same as Sony News.
1079 * config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
1080 * ecoff.c: New file for symbol swapping routines.
1081
1082 Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com)
1083
1084 * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
1085 all-breakpoints' command.
1086 * (get_number): Allow users to enter negative breakpoint numbers.
1087 * (breakpoint_1): Reformat display of 'info break' to show new
1088 fields.
1089 * (create_longjmp_breakpoint, breakpoint_re_set,
1090 breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
1091 symfile.c (syms_from_objfile): Re-do
1092 insertion of longjmp breakpoints. Move all code into
1093 breakpoint_re_set, and call that instead of
1094 create_longjmp_breakpoint in symfile.c.
1095
1096 Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com)
1097
1098 * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
1099 * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE.
1100 * symtab.c (find_pc_symtab): Handle having no objfiles.
1101 * infcmd.c: Fix comment.
1102 * objfiles.c (free_all_objfiles): Add.
1103 * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add.
1104 * symfile.c (symbol_file_command): free all objfiles when
1105 specifying a new symbol file.
1106 (reread_symbols): Stat the file name, don't fstat the descriptor.
1107
1108 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
1109
1110 * Makefile.in, configure.in: removed traces of namesubdir,
1111 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1112 copyrights to '92, changed some from Cygnus to FSF.
1113
1114 Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com)
1115
1116 * dbxread.c (end_psymtab): Delete empty psymtabs.
1117 * symfile.c (allocate_psymtab): Recycle empty psymtabs.
1118 * symfile.h (struct objfile): Add free_psymtabs.
1119
1120 Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com)
1121
1122 * Makefile.in (VERSION): Roll to gdb-4.4.4.
1123
1124 * symfile.c (symbol_file_command): strcmp => !strcmp.
1125 * breakpoint.h: Move prototypes to follow enum definition they need.
1126 * breakpoint.c, infrun.c: Lint.
1127 * printcmd.c: Use `enum enable' rather than `enum
1128 display_status'.
1129 * mipsread.c: First pass at making it compile with the new
1130 objfile changes. Probably seriously broken still, but it
1131 compiles. FIXME.
1132
1133 Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com)
1134
1135 * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
1136 breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
1137 mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
1138 stepping (and nexting) through longjmp(). Also, cleanup
1139 breakpoint handling quite a bit by creating explicit breakpoint
1140 types instead of using magic breakpoint numbers.
1141 Makefile.in: Update version to 4.4.3
1142
1143 Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com)
1144
1145 * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c,
1146 minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint.
1147 * symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
1148
1149 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
1150
1151 * minsyms.c (install_minimal_symbols): Add bunches to any
1152 existing minsyms in the objfile. Avoid extra mallocation
1153 by working directly in the obstack. Remove ignored `mainline' parm.
1154 * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
1155 xcoffread.c: Change all callers.
1156 * FIXME: We should be able to eliminate MAINLINE from all the
1157 symbol readers now, with a small bit of work.
1158
1159 * valops.c, value.h: Lint.
1160 * remote-vx.c: Add missing break; statement. Bugfix by
1161 Michael Sclafani, <sclafani@src.dec.com>.
1162
1163 Fri Feb 21 17:29:54 1992 Fred Fish (fnf at cygnus.com)
1164
1165 * Makefile.in (VERSION): Update version to 4.4.2
1166 * Makefile.in (SFILES_MAINDIR): Add gdbtypes.c, state.c, objfiles.c,
1167 minsyms.c, mmap-alloc.c, mmap-sbrk.c
1168 * Makefile.in (HFILES): Add gdbtypes.h, state.h, solib.h
1169 * Makefile.in (OBS): Add gdbtypes.o, state.o, objfiles.o, minsyms.o,
1170 mmap-alloc.o, mmap-sbrk.o
1171
1172 * altos-xdep.c: Minor whitespace change.
1173 * am29k-tdep.c (examine_prologue): Convert from misc function vector
1174 use to new minimal symbol table use.
1175 * arm-xdep.c (fetch_inferior_registers): Document unused argument.
1176 * arm-xdep.c (store_inferior_registers): Returns void.
1177 * blockframe.c (get_pc_function_start, find_pc_partial_function):
1178 Convert from misc function vector use to new minimal symbol table use.
1179 Remove find_pc_misc_function(). Ifdef out block_innermost_frame().
1180 * breakpoint.c: Add prototypes for local functions.
1181 * breakpoint.c (catch_command_1): Change to static and remove unused
1182 local "pc".
1183 * breakpoint.c (map_breakpoint_numbers): Prototype arg "function".
1184 * breakpoint.h: Change function decls to prototype form.
1185 * buildsym.c: Add prototypes for local functions.
1186 * buildsym.c: Moved hashname() function here from dbxread.c.
1187 * buildsym.c (dbx_lookup_type): Cast args to xrealloc().
1188 * buildsym.c: Remove dbx_create_type(), uses changed to alloc_type().
1189 * buildsym.c (dbx_alloc_type): Change to static.
1190 * buildsym.c (finish_block): Add objfile parameter.
1191 * buildsym.c (misc): Change symbol_obstack to objfile version.
1192 * buildsym.c (make_blockvector): Change to static.
1193 * buildsym.c (start_subfile): Use strdup instead of obsavestring.
1194 * buildsym.c (compare_line_numbers): Change to static, args are const,
1195 cast args when used.
1196 * buildsym.c (start_symtab): Inline new_object_header_files() call.
1197 * buildsym.c (patch_block_stabs): Moved to this file from xcoffread
1198 and made static. Add objfile parameter.
1199 * buildsym.c (end_symtab): Simplify code using line table size.
1200 Realloc the linetable on the objfile symbol_obstack and copy there.
1201 * buildsym.c (scan_file_globals): Convert from misc function vector
1202 use to new minimal symbol use.
1203 * buildsym.c (define_symbol): Add objfile parameter. Make sure
1204 strings get allocated in objfile's symbol_obstack. Convert references
1205 to builtin types to lookup_fundamental_type().
1206 * buildsym.c (read_type): Make static, add objfile parameter, convert
1207 references to buildin types to lookup_fundamental_type().
1208 * buildsym.c (read_struct_type): Add objfile parameter.
1209 * buildsym.c (read_array_type): Make static, add objfile parameter.
1210 * buildsym.c (read_enum_type): Make static, add objfile parameter.
1211 * buildsym.c (read_huge_number): Make static.
1212 * buildsym.c (read_range_type): Make static, add objfile parameter,
1213 convert references to buildin types to lookup_fundamental_type ().
1214 * buildsym.c (read_args): Make static, add objfile parameter.
1215 * buildsym.h: Convert function decl's to prototype form.
1216 * c-exp.y: Add prototypes for local functions, convert uses of misc
1217 function vector to minimal symbol table. Reformat all builtin type
1218 initializations and pass a NULL objfile to init_type() for them.
1219 * coffread.c: Change context_stack ref's to coff_context_stack,
1220 add local function prototypes. Cast uses of xrealloc arg 1.
1221 * coffread.c (coff_alloc_type): Call alloc_type instead of hand-
1222 crafting a new type.
1223 * coffread.c (add_symbol_to_list): Change to coff_add_symbol_to_list.
1224 * coffread.c (finish_block): Change name to coff_finish_block.
1225 * coffread.c (make_blockvector): Add and use objfile parameter.
1226 * coffread.c (record_line): Change name to coff_record_line.
1227 * coffread.c (start_symtab): Change name to coff_start_symtab.
1228 * coffread.c (end_symtab): Change name to coff_end_symtab.
1229 * coffread.c (record_misc_function): Change name to record_minimal_
1230 symbol and change to minimal symbol table use from misc func tbl.
1231 * coffread.c (coff_symfile_read): Convert from misc function vector
1232 use to minimal symbol table use.
1233 * coffread.c (hashname): Remove; use common version in buildsym.c.
1234 * coffread.c (decode_base_type): Change references to builtin types
1235 to calls to lookup_fundamental_type().
1236 * coffread.c (read_struct_type): Change name to coff_read_struct_type.
1237 * coffread.c (read_enum_type): Change name to coff_read_enum_type.
1238 * command.c: Add prototypes for local functions.
1239 * command.c (add_cmd): Prototype the 'fun' parameter and use the
1240 appropriate member of the function union for that type.
1241 * command.c (add_abbrev_cmd): Prototype the 'fun' parameter and
1242 ifdef out the function since it isn't currently used.
1243 * command.c (add_alias_cmd): Pass correct function type to add_cmd.
1244 * command.c (add_prefix_cmd): Prototype the 'fun' parameter.
1245 * command.c (add_abbrev_prefix_cmd): Prototype the 'fun' parameter.
1246 * command.c (help_cmd): Compare function pointer to NULL.
1247 * command.c (help_cmd_list): Compare function pointer to NULL.
1248 * command.c (lookup_cmd_1): Use correct member of function union.
1249 * command.c (undef_cmd_error): Make static.
1250 * command.c (complete_on_cmdlist): Use correct member of func union.
1251 * command.c (do_setshow_command): Use correct member of func union.
1252 * command.c (shell_escape): Convert rindex use to strrchr.
1253 * command.h (COMMAND_H): Define if already included.
1254 * command.h (cmd_list_element struct): Change 'function' to a union
1255 and prototype args. Prototype completer function.
1256 * command.h: Convert decl's to prototype form.
1257 * convex-xdep.c (store_inferior_registers): Returns void.
1258 * copying.c: Prototype local functions.
1259 * coredep.c: Minor whitespace change.
1260 * cplus-dem.c: Remove hack to use BSD equivalents of mem* and str*.
1261 * cplus-dem.c: Prototype local functions.
1262 * dbxread.c (hashname): Remove; moved to buildsym.c.
1263 * dbxread.c (free_and_init_header_files): Make static.
1264 * dbxread.c: Add prototypes for local functions.
1265 * dbxread.c (new_object_header_files): Remove; inlined usages.
1266 * dbxread.c (xrealloc usages): Cast args.
1267 * dbxread.c (record_misc_function): Change to record_minimal_symbol
1268 and change usages accordingly.
1269 * dbxread.c (static_psymbols usages): Change to use per-objfile copy.
1270 * dbxread.c (xmalloc usages): Use per-objfile copy when appropriate.
1271 * dbxread.c (dbx_next_symbol_text): Make static.
1272 * dbxread.c (init_psymbol_list): Convert to use per-objfile data.
1273 * dbxread.c (init_bincl_list): Add and use objfile parameter.
1274 * dbxread.c (free_bincl_list): Add and use objfile parameter.
1275 * dbxread.c (compare_psymbols): Remove; use common symfile.c version.
1276 * dbxread.c (end_psymtab): Convert to use per-objfile data.
1277 * dwarfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for
1278 prototypes.
1279 * dwarfread.c (record_misc_function): Change name to record_minimal_
1280 symbol and use minimal symbol table throughout.
1281 * dwarfread.c (compare_psymbols): Remove; use common symtab.c version.
1282 * dwarfread.c: Convert all references to builtin types to use the new
1283 lookup_fundamental_type function.
1284 * dwarfread.c (read_enumeration): Add and use objfile parameter.
1285 * elfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for proto-
1286 types.
1287 * elfread.c (record_misc_function): Convert to use record_minimal_
1288 symbol.
1289 * elfread.c (elf_symtab_read): Add objfile parameter.
1290 * eval.c: Add prototypes for local functions and move some decls
1291 around to accomodate prototypes.
1292 * expprint.c: Add prototypes for local functions. Change references
1293 to misc function vector to minimal symbol table.
1294 * findvar.c (read_memory usages): Cast args.
1295 * gdbtypes.h: New file, type info from symfile.h and symtab.h.
1296 * gmalloc.c: Use NOARGS where prototypes used hardwired void.
1297 * gmalloc.c (BLOCKSIZE): Constant to be shifted is unsigned.
1298 * gmalloc.h: Use NOARGS where prototypes used hardwired void.
1299 * gould-xdep.c: Minor whitespace change.
1300 * hp300ux-xdep.c (fetch_inferior_registers): Remove unused regno var.
1301 * hp300ux-xdep.c (store_inferior_registers): Returns void.
1302 * hp300ux-xdep.c (fetch_core_registers): Takes unused arg reg_addr.
1303 * i386-stub.c: Add prototypes, change "volatile" to NORETURN.
1304 * i386-tdep.c: Add prototypes for local functions.
1305 * i386-tdep.c (codestream_fill, codestream_seek, codestream_read,
1306 i386_get_frame_setup, i386_skip_prologue): Explicitly declare params
1307 that defaulted to int.
1308 * i386-tdep.c (i386_follow_jump, i386_frame_find_saved_regs,
1309 i386_push_dummy_frame): Returns void.
1310 * i386-xdep.c (i386_register_u_addr): Declare params that default to
1311 int and explicitly declare return type as int.
1312 * i387-tdep.c: Minor formatting changes.
1313 * i960-tdep.c (leafproc_return): Convert from misc function vector
1314 use to minimal symbol table use.
1315 * infcmd.c: Add prototypes for local functions.
1316 * infcmd.c (continue_command, until_next_command, until_command,
1317 path_info, path_command): Make static.
1318 * infcmd.c (step_1, until_next_command): Convert from misc func
1319 vector to minimal symbol table use.
1320 * inflow.c: Add prototypes for local functions.
1321 * infptrace.c (store_inferior_registers): Returns void, not int.
1322 * language.c (_initialize_language): Use proper member of function
1323 union.
1324 * m2-exp.y: Add prototypes for local functions, convert misc function
1325 vector uses to minimal symbol table uses.
1326 * m2-exp.y (make_qualname, yyerror): Make static.
1327 * m2-exp.y (_initialize_m2_exp): Call init_types with NULL objfile.
1328 * m68k-pinsn.c: Add prototypes for local functions.
1329 * m68k-pinsn.c (print_insn): Cast args to read_memory.
1330 * m68k-pinsn.c (fetch_arg): Make parameter 'code' and int.
1331 * m68k-stub.c: Add prototypes.
1332 * m88k-pinsn.c (sprint_address): Convert from misc function vector
1333 use to minimal symbol table use.
1334 * m88k-xdep.c (fetch_inferior_registers): Takes an unused parameter.
1335 * m88k-xdep.c (store_inferior_registers): Returns void.
1336 * mach386-xdep.c (fetch_inferior_registers): Takes an unused param.
1337 * mach386-xdep.c (store_inferior_registers): Returns void.
1338 * mach386-xdep.c (fetch_core_registers): Takes an unused parameter.
1339 * main.c: Add prototypes for local functions.
1340 * main.c (return_to_top_level): Is type NORETURN (volatile). Cast
1341 longjmp() result to (NORETURN void).
1342 * main.c (catch_errors): Prototype the 'func' parameter.
1343 * main.c (disconnect, stop_sig, do_nothin, float_handler):
1344 Takes an unused arg.
1345 * main.c (execute_command): Call the right member of the func union.
1346 * main.c (command_loop_marker, symbol_completion_function,
1347 command_loop): Make static.
1348 * main.c (command_line_input): Make linelength unsigned, cast arg
1349 to command_line_input().
1350 * main.c (add_info, add_com): Prototype the 'fun' parameter.
1351 * main.c (initialize_main): Call right member of function union.
1352 * mcheck.c (NOARGS): Change hardwired void in prototypes to NOARGS.
1353 * mem-break.c: Include symtab.h
1354 * mips-xdep.c (fetch_inferior_registers): Takes unused param.
1355 * mips-xdep.c (store_inferior_registers): Returns void.
1356 * mipsread.c (mipscoff_symfile_read): Change from misc function vector
1357 use to minimal symbol table use.
1358 * mipsread.c (symbol_obstack usages): Convert all to use per-objfile
1359 version.
1360 * mipsread.c (make_type): Remove, convert usages to init_type.
1361 * mipsread.c (_initialize_mipsread): Call init_type with NULL objfile.
1362 * nindy-tdep.c (nindy_frame_chain_valid): Convert from misc function
1363 vector use to minimal symbol table use.
1364 * parse.c: Add prototypes for local functions.
1365 * parse.c (xrealloc usages): Cast args.
1366 * parse.c (prefixify_expression, length_of_subexp): Make static.
1367 * parser-defs.h (PARSER_DEFS_H): Define when first included.
1368 * parser-defs.h: Convert function decls to prototype form.
1369 * partial-stab.h: Convert from misc function vector use to new minimal
1370 symbol table use.
1371 * partial-stab.h (global_psymbols, static_psymbols usages): Reference
1372 the per-objfile copies.
1373 * printcmd.c: Add prototypes for local functions. Move some struct
1374 definitions around to accomodate prototypes.
1375 * printcmd.c (decode_format): Make static, change args oformat and
1376 osize to int from char.
1377 * printcmd.c (print_formatted): Change 'format' and 'size' to int.
1378 * printcmd.c (print_scalar_formatted): Change arg 'format' to int.
1379 * printcmd.c (print_address_symbolic): Convert from misc function
1380 vector use to minimal symbol table use.
1381 * printcmd.c (address_info): Convert from misc function vector use
1382 to minimal symbol table use.
1383 * printcmd.c (delete_display, enable_display, disable_display_command):
1384 Make static.
1385 * procfs.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
1386 * procfs.c (fetch_core_registers): Add unused param reg_addr.
1387 * pyr-xdep.c (fetch_inferior_registers): Add unused param regno.
1388 * pyr-xdep.c (store_inferior_registers): Returns void.
1389 * remote-mm.c (mm_load): symbol_file_add return value unused.
1390 * remote-nindy.c: Minor format change.
1391 * remote-vx.c (vx_load_command): symbol_file_add result unused.
1392 * rs6000-xdep.c (fetch_inferior_registers): Add unused param regno.
1393 * rs6000-xdep.c (store_inferior_registers): Returns void.
1394 * rs6000-xdep.c (fetch_core_registers): add unused param reg_addr
1395 * rs6000-xdep.c (aixcoff_relocate_symtab): Convert from misc function
1396 vector use to minimal symbol table use.
1397 * solib.c: Add prototypes for local functions.
1398 * solib.c (solib_add_common_symbols, locate_base): Convert from misc
1399 function vector use to minimal symbol table use.
1400 * solib.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
1401 * solib.c (find_solib, shared_library_command): Make static
1402 * solib.c (read_memory, write_memory usages): Cast args.
1403 * solib.c (special_symbol_handling): Add function
1404 * source.c: Add prototypes for local functions.
1405 * source.c (select_source_symtab): Convert to scan objfiles.
1406 * source.c (open_source_file): Make static.
1407 * source.c (xrealloc usages): Cast args.
1408 * source.c (source_line_charpos): ifdef out, unused.
1409 * source.c (get_filename_and_charpos): Make static.
1410 * stack.c: Add prototypes for local functions.
1411 * stack.c (print_frame_info, frame_info): Convert from misc function
1412 vector use to minimal symbol table use.
1413 * symfile.c: Add prototypes for local functions.
1414 * symfile.c (compare_symbols): Make args const PTR's.
1415 * symfile.c (compare_psymbols, sort_pst_symbols) add.
1416 * symfile.c (sort_all_symtab_syms): Scan objfile list.
1417 * symfile.c (obsavestring): Add objfile parameter.
1418 * symfile.c (init_misc_bunches, prim_record_misc_function,
1419 compare_misc_functions, discard_misc_bunches, condense_misc_bunches,
1420 sort_misc_function_vector, compact_misc_function_vector): Remove
1421 * symfile.c (symbol_file_add_digested): Add function.
1422 * symfile.c (symbol_file_add): Returns struct objfile *.
1423 * symfile.c (symbol_file_command): Modify for state file use.
1424 * symfile.c (symfile_open): Add parameter "dumpable".
1425 * symfile.c (allocate_objfile, free_objfile): Moved to objfiles.c
1426 * symfile.c (load_command, add_symbol_file_command): Make static.
1427 * symfile.c (fill_in_vptr_fieldno): Moved to gdbtypes.c
1428 * symfile.c (rindex usages): Converted to strrchr.
1429 * symfile.c (allocate_psymtab): New
1430 * symfile.c (free_named_symtabs): Ifdef out code that needs to be
1431 converted to minimal symbol table usage, but no obvious conversion.
1432 * symfile.c (free_all_symtabs): Remove.
1433 * symfile.c (_initialize_symfile): Use per-objfile info.
1434 * symfile.h: Rework the objfile structure to add per-objfile data
1435 objects (psymbol_obstack, symbol_obstack, type_obstack,
1436 global_psymbols, static_psymbols, msymbols, minimal_symbol_count,
1437 fundamental_types, malloc, realloc, free, xmalloc, xrealloc, etc).
1438 Add prototypes to function declarations.
1439 * symm-tdep.c (symmetry_extract_return_value): Convert from misc
1440 function vector usage to minimal symbol table usage.
1441 * symmisc.c (DEV_TTY): Define if not defined.
1442 * symmisc.c: Add local function prototypes.
1443 * symmisc.c (dump_objfile, dump_msymbols, dump-symtab, print_syms,
1444 printpsyms_command, print_objfiles, print_objfiles_command):
1445 Rework to use iterate_over_*
1446 * symtab.c: Add prototypes for local functions.
1447 * symtab.c (lookup_symtab_1): Convert to look through objfiles.
1448 * symtab.c (lookup_partial_symtab): Scan through objfiles.
1449 * symtab.c (lookup_primitive_typename, lookup_typename, lookup_
1450 unsigned_typename, lookup_struct, lookup_union, lookup_enum,
1451 lookup_template_type, lookup_struct_elt_type, lookup_pointer_type,
1452 lookup_reference_type, lookup_member_type, allocate_stub_method,
1453 check_stub_method, create_array_type, smash_to_member_type,):
1454 Moved to gdbtypes.c
1455 * symtab.c (lookup_symbol): Some args are const.
1456 * symtab.h: All type related defs and structs moved to gdbtypes.h
1457 * symtab.h: Convert decls to prototypes.
1458 * target.c (noprocess): Make static.
1459 * target.h: Change decl's to prototypes.
1460 * tm-sunos.h: (CLEAR_SOLIB, SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK,
1461 DISABLE_UNSETTABLE_BREAK) Moved to solib.h.
1462 * utils.c (_initialize_utils): Use correct member of function union.
1463 * valarith.c: include gdbtypes.h
1464 * valops.c: include gdbtypes.h, add prototypes for local functions.
1465 * valops.c (value_push, value_arg_push, find_function_addr):
1466 Make static.
1467 * valops.c (value_string): Convert from misc function vector use
1468 to minimal symbol table use.
1469 * valops.c (check_field_in): Make arg const.
1470 * valprint.c: Add prototypes for local functions.
1471 * valprint.c (print_string): Make static
1472 * valprint.c (value_print, val_print_fields, val_print): Make arg int.
1473 * values.c: Add prototypes for local functions.
1474 * values.c (value_headof): Convert from misc function vector to
1475 minimal symbol table.
1476 * xcoffexec.c: Add prototypes for local functions.
1477 * xcoffexec.c (exec_close, file_command, add_to_section_table):
1478 Make static.
1479 * xcoffexec.c (relocate_minimal_symbol): Add.
1480 * xcoffread.c (patch_block_stabs): Moved to buildsyms.c.
1481 * xcoffread.c: Add prototypes for local functions.
1482 * xcoffread.c (sort_syms): Convert to scan objfiles.
1483 * xcoffread.c (read_xcoff_symtab): Make static.
1484 * xcoffread.c (various): Replace references to builtin types with
1485 calls to lookup_fundamental_type. Replace references to symbol_obstack
1486 and psymbol_obstack with pointers to the per-objfile copies.
1487 * xcoffread.c (dump_linetable, dump_type, dump_symbol, dump_namespace,
1488 dump_block, dump_blockvector, dump_last_symtab, dump_symtabs):
1489 Make static.
1490 * xcoffread.c (init_stringtab): Add objfile parameter.
1491 * gdbtypes.c: New file
1492 * minsyms.c: New file
1493 * mmap-alloc.c: New file
1494 * mmap-sbrk.c: New file
1495 * objfiles.c: New file
1496 * state.c: New file
1497 * state.h: New file
1498
1499 Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com)
1500
1501 * Check in Fred Fish's changes in these modules. Fred
1502 will make ChangeLog entries for all of them. Update VERSION
1503 to 4.4.2.
1504
1505 Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com)
1506
1507 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
1508 into solib.h.
1509 * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
1510 sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
1511 value.h: Prototypes for static functions; lint.
1512 * gdbtypes.h: Empty file to ease transition.
1513
1514 Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com)
1515
1516 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
1517 inferior.h, language.h, signame.h, target.h, terminal.h,
1518 tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
1519 xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
1520 Lint.
1521 * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
1522 signame.c, sparc-xdep.c: Prototypes for all static functions.
1523 Lint.
1524 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
1525 remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
1526 target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
1527 Remove to_call_function and target_call_function, since it
1528 always calls the same thing (call_function_by_hand).
1529 * core.c, exec.c, solib.c: Rename target_ops sections =>
1530 to_sections, etc.
1531 * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
1532 target.h: target_kill takes no args.
1533 * language.c (language_info): Scaffolding to allow briefer
1534 messages when the current language changes. FIXME.
1535 * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
1536 complaints about volatile functions.
1537 * xm-sysv4.h (HAVE_MMAP): Define.
1538
1539 Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com)
1540
1541 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
1542 to make prototypes for all functions declared here.
1543 * cplus-dem.c: Avoid declaring xmalloc and xrealloc.
1544 * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
1545 * environ.c: Include <stdio.h> before defs.h. Minor cleanup.
1546 * ieee-float.h: Use PARAMS for prototypes; make some params const.
1547 * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
1548 * m2-exp.y: Remove unused CONST; Rename OR and AND.
1549 * utils.c: Avoid declaring malloc and realloc. Lint.
1550 (request_quit): Accept signal-number parameter.
1551
1552 Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
1553
1554 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
1555 DIE's. Add new function read_tag_pointer_type() to read them.
1556
1557 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
1558 When creating a new user defined type, check to see if a partial
1559 type already exists, and if so, bash it to fit.
1560
1561 Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com)
1562
1563 * coffread.c (decode_base_type): Pass long, not union.
1564 Fix by Eric Valette, ev@chorus.fr.
1565
1566 Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
1567
1568 * elfread.c (elf_symtab_read): Fix code to correctly track
1569 changes in bfd for absolute symbols.
1570
1571 Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
1572
1573 * xm-vaxbsd.h: Close off comment.
1574
1575 Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
1576
1577 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
1578
1579 Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
1580
1581 * mips-tdep.c (mips_print_registers): Print correct register
1582 number for double pseudo-registers.
1583
1584 Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
1585
1586 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
1587 in the op$::OPERATOR. case. From Steven McCanne,
1588 <mccanne@horse.ee.lbl.gov>.
1589
1590 * exec.c (set_section_name): Pass arg to exec_files_info;
1591 only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
1592
1593 Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
1594
1595 * main.c (print_gdb_version): Copyright msg: only this year.
1596 (cd_command): Avoid changing current_directory on error.
1597
1598 Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
1599
1600 * mipsread.c (parse_partial_symbols): Handle dependencies
1601 between partial symbol tables (when not doing stabs-in-ecoff).
1602 (This used to be handled by parse_fdr, but parse_fdr was
1603 incompatible with handling stabs-in-ecoff, so the code
1604 was re-written to not use parse_fdr. Unfortunately,
1605 the logic to handle dependencies was overlooked.)
1606
1607 Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1608
1609 * coffread.c (read_enum_type): Use the size of a target int when
1610 describing enum.
1611 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
1612 of target int.
1613 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
1614 * symtab.c (lookup_reference_type, lookup_ptr_type): use
1615 TARGET_PTR_BIT to determine size of a pointer
1616 * values.c (unpack_long): when unpacking a REF or a PTR don't
1617 assume the size of the type.
1618
1619 Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
1620
1621 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
1622 looking at its members. Improve guess between struct and union,
1623 only assuming union if multiple members have offsets of zero.
1624
1625 Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
1626
1627 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
1628 (This is just for clarity - and one day permitting us to
1629 change FP0_REGNUM from 38 to 32, which would make more sense.)
1630 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
1631 register numbers in stabs-in-ecoff get handled correctly.
1632
1633 Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
1634
1635 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
1636 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
1637 into BSD and Ultrix.
1638
1639 Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
1640
1641 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
1642
1643 Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
1644
1645 * Makefile.in: Increment version to 4.4.1.
1646 * main.c (print_gdb_version): Update copyright notice.
1647
1648 Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
1649
1650 * mipsread.c: Prepend "struct " to the names of structure
1651 types, and similarly for enums and unions. (This used
1652 to be done, but got lost in the re-write to "guess" the
1653 difference between enum/struct/union.)
1654 Also, guess that a tag is an enum if the first member
1655 has type btNil.
1656
1657 Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
1658
1659 * xm-vax.h: #ifndef ultrix around #include of endian.h and
1660 limits.h (sigh).
1661
1662 Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
1663
1664 * Projects: Patching executables is done.
1665 * Makefile.in (VERSION): Roll to gdb-4.4.
1666 * README, WHATS.NEW: Update for gdb-4.4.
1667
1668 * symfile.c (reread_symbols): Whenever we reread one object
1669 file's symbols, we must restart the scan, because the object_files
1670 chain has been permuted.
1671
1672 * exec.c (exec_files_info): Split out into print_section_info.
1673 Print BFD filename of each section if it's not the default one.
1674 * core.c (core_files_info): Call print_section_info.
1675
1676 * xm-vax.h: Include a few system header files whose definitions
1677 must precede defs.h.
1678 * language.c, language.h: Make some things const.
1679 * expression.h, main.c: const spreads like ooze.
1680
1681 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
1682 since BREAKPOINT values can be >0x80.
1683
1684 Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
1685
1686 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
1687
1688 Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
1689
1690 * sparc-pinsn.c: Remove kludge for preferring architectures.
1691 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
1692 and forever. Add `add' instruction to the set that get checked
1693 for a preceding `sethi' in order to print an absolute address.
1694 Corresponding changes in ../include/opcode/sparc.h needed
1695 to eliminate garbage instructions.
1696
1697 Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
1698
1699 * mipsread.c (parse_partial_symbols): Make sure partial
1700 symbols are created for external symbols (as used to be
1701 the case). This is a bit of a pain with the mips-coff.
1702 It uses a table which points to all of the external
1703 symbols belonging to a particular FDR or psymtab.
1704 Once we've generated this table, we might as well save
1705 it, and then use it in psymtab_to_symtab_1 to find
1706 the symbols to pass to parse_external().
1707 * symfile.c, symfile.c: New function start_psymtab_common
1708 to share the common parts of allocating a new psymtab
1709 for dbxread, mipsread (and later dwarfread). Its code
1710 was pulled out from start_psymtab in dbxread.c.
1711 * dbxread.c (start_psymtab): Use start_psymtab_common().
1712
1713 * valprint.c (val_print): If there is an error when trying
1714 to print a string, check to see if there really is a problem
1715 by reading just one character. If that works, assume
1716 things are ok.
1717
1718 Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
1719
1720 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
1721 cypress, v8 mnemonics in that order.
1722
1723 Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
1724
1725 * sparc-pinsn.c: Put the qsort() back in.
1726
1727 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
1728
1729 * findvar.c (read_register, write_register): Handle machines
1730 where REGISTER_TYPE is not the same size as "int".
1731
1732 Handle debug symbols in dynamically loaded (relocated) code:
1733
1734 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
1735 offset to process_one_symbol.
1736 (process_one_symbol): Take new offset parameter. Add it into
1737 appropriate symbol types to relocate symbols to loaded addresses.
1738 Handle all possible symbol types, and complain() about types that
1739 we don't expect to see.
1740 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
1741 process_one_symbol (FIXME, should pass real offset).
1742
1743 Misc bugfixes:
1744
1745 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
1746 sal's PC value.
1747 (set_breakpoint, break_command_1, until_break_command,
1748 catch_command_1, breakpoint_re_set_one): Use it.
1749 * symtab.h (resolve_sal_pc): Declare.
1750 * infcmd.c (jump_command): Use resolve_sal_pc.
1751
1752 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
1753
1754 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
1755
1756 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
1757
1758 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
1759 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
1760 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
1761
1762 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
1763
1764 * dbxread.c (process_one_symbol): Make a first cut at handling
1765 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
1766
1767 * symtab.c (find_pc_line): Fix stepping into and out of #included
1768 files.
1769
1770 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
1771
1772 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
1773 no longer any need to copy ../include/opcode/* into gdb.
1774
1775 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
1776
1777 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
1778
1779 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
1780
1781 * valprint.c (type_print_base, type_print_method_args):
1782 Print C++ constructor methods without bogus "return type."
1783
1784 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
1785
1786 * infptrace.c (child_xfer_memory): Parameter "target" should
1787 be a pointer to a structure, not the entire structure.
1788
1789 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
1790
1791 * depend: Convert the couple of references to ansidecl.h that
1792 used the local gdb version to use the ../include version.
1793
1794 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
1795
1796 * procfs.c
1797 (child_xfer_memory): Takes pointer to a struct, not entire struct.
1798 (inferior_proc_init): Fix non-ANSI version of args.
1799 (attach): Call print_sys_errmsg with correct number of args.
1800 (mappingflags): Make static, does not need to be global.
1801
1802 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
1803 not the entire struct itself.
1804
1805 * valops.c (value_assign): Cast some args to modify_field() and
1806 {read,write}_register_bytes() correctly.
1807
1808 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
1809
1810 * Makefile.in (MALLOCSRC): Removed reference to removed local
1811 copy of ansidecl.h.
1812
1813 * dwarfread.c (list_in_scope): Needs an initial value, use file
1814 scope.
1815
1816 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
1817
1818 * main.c (main): Make option_index local to keep new getopt happy.
1819 main.c, solib.c, Makefile.in: Update copyright notices.
1820
1821 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
1822
1823 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
1824
1825 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
1826
1827 * Makefile.in (HFILES): Add partial-stab.h.
1828
1829 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
1830
1831 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
1832 New files for stratus. Not complete enough to actually build
1833 on the Stratus machine; that awaits copyright assignment for
1834 i860 changes.
1835
1836 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
1837 for getting custom flags into CFLAGS when doing makes.
1838
1839 * configure.in: Add config information for stratus.
1840
1841 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
1842
1843 * dbxread.c (process_one_symbol): Pass address of structure
1844 to complain(), rather than the whole structure.
1845
1846 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
1847
1848 * solib.c (solib_add_common_symbols): Only compile in when not
1849 using SVR4 style shared libraries.
1850
1851 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
1852
1853 * dwarfread.c (locval): Add offreg flag to indicate location
1854 values that are computed off a base register.
1855
1856 * dwarfread.c (new_symbol): Rework TAG_global_variable and
1857 TAG_local_variable cases to account for static variables
1858 within function scopes.
1859
1860 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
1861
1862 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
1863 doesn't exist on some systems.
1864
1865 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
1866 nexting over recursive function calls.
1867
1868 * target.c (target_read_string): Create this routine to read null
1869 terminated strings from the target. It deals with running off the
1870 end of memory elegantly as well. solib.c (find_solib): Use
1871 target_read_string() to avoid problems with running off the end of
1872 memory.
1873
1874 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
1875 that reference pgrp_inferior.
1876
1877 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
1878
1879 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
1880 mips-tfile has been hacked to act more "traditionally."
1881 * dbxread.c: Fixed typo in comment.
1882
1883 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
1884
1885 * mips-tdep.c (mips_skip_prologue): Add some number of
1886 'sw' instructions before 'addiu' adjusts the stack.
1887
1888 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
1889
1890 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
1891 freescope, buildblock closescope, record_line, add_symbol_to_list,
1892 gatherblocks, make_blockvector): Extensive changes to switch
1893 to generic symbol table building code in buildsym.c. Remove
1894 scope tree structures and functions, symbol table building
1895 functions, and lots of other small changes.
1896
1897 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
1898 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
1899
1900 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
1901
1902 * buildsym.c (cleanup_undefined_types): Add support for enums.
1903 This fixes the 'GDB internal error. cleanup_undefined_types with
1904 bad type' problem.
1905
1906 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
1907
1908 * dbxread.c: detect gcc2 compilations.
1909
1910 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
1911
1912 * sparc-pinsn.c: Rename bitfields that overlap with macro names
1913 in ../include/opcode/sparc.h.
1914
1915 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
1916
1917 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
1918 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
1919 to reflect actual locations of opcode files, so TAGS target will
1920 be buildable.
1921
1922 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
1923
1924 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
1925 code.
1926
1927 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
1928 dereferencing to access the correct elements.
1929
1930 * valops.c (value_addr): Declare return type of external func
1931 value_copy().
1932
1933 * xcoffread.c: Undefine next_symbol_text before redefining it.
1934
1935 For older changes see ChangeLog-9091
1936 \f
1937 Local Variables:
1938 mode: indented-text
1939 left-margin: 8
1940 fill-column: 74
1941 version-control: never
1942 End:
This page took 0.067958 seconds and 5 git commands to generate.