1 Sun Mar 8 21:17:48 1992 Fred Fish (fnf@cygnus.com)
3 * symfile.h: Add prototype for iterate_over_msymbols().
4 * symtab.c (cplus_mangled_symbol): Add function.
5 * symtab.c (lookup_symbol): Call cplus_mangled_symbol via
6 iterate_over_msymbols to find demangled C++ symbol.
7 * xcoffexec.c (relocate_minimal_symbol): Return meaningful
8 value to iterate_over_msymbols().
9 * xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
12 Fri Mar 6 21:59:34 1992 K. Richard Pixley (rich@cygnus.com)
14 * Makefile.in: added check target.
16 Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com)
18 * ecoff.c: Move to ../bfd/coff-msym.c.
19 * config/mt-*mips: Remove ecoff.o from the configuration.
20 * remote.c (): Add newline to initial +.
21 (remote_resume): Mention how to cope with signals.
22 (remote_interrupt): Add debug msg.
23 (remote-wait): Implement new 'T' reply, which includes
24 status, PC, and FP all in a single short message.
25 (putpkt): Add further debugging of packet acks.
26 * mipsread.c (fixup_symtab): Also swap RFD's.
27 (parse_partial_symbols): Avoid bug on unknown symbol types.
28 * Makefile.in (VERSION): Roll to 4.4.5.
29 * mips-tdep.c (heuristic_proc_start): Avoid long delays
30 for remote MIPS by limiting heuristic to 200 byte search.
31 (heuristic_proc_desc): Byte-swapping.
32 (mips_print_register): Cope with failure of
33 read_relative_register_raw_bytes. Byte-swap integers for
35 * mips-pinsn.c (print_insn): Byte-swap instruction.
37 Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com)
39 * config.sub configure.in config/.Sanitize config/mh-irix4
40 gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
41 gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
42 gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
43 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
45 Wed Mar 4 11:56:42 1992 Fred Fish (fnf@cygnus.com)
47 * defs.h, utils.c: xrealloc takes PTR as first arg.
48 * defs.h: Reword confusing comment about ANSI prototypes.
49 * defs.h: Some minor whitespace changes.
50 * infrun.c (wait_for_inferior): Compare int tmp to int 0,
51 not NULL, which can be (void *).
52 * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling.
53 * tm-i386v.h (SP_ARG0): Define
54 * xm-sysv4.h: Back out of change for missing prototypes.
55 * i386-tdep.c (get_longjmp_target): Add function.
57 Wed Mar 4 05:46:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
59 * Makefile.in: install man page too.
61 Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
63 * All GDB files that #include defs.h: Removed stdio.h.
64 (defs.h): #include stdio.h.
66 Mon Mar 2 23:00:12 1992 Steve Chamberlain (sac@thepub.cygnus.com)
68 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
69 a ptype to reflect the setting of TARGET_PTR_BIT. Set the
70 TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
71 * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
72 * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
73 it before printing out the hex shape of an address.
75 Sun Mar 1 17:41:09 1992 Per Bothner (bothner@cygnus.com)
77 * rs6000-xdep.c (frame_initial_stack_address): Move
78 code to set frame->cache_fsr into new separate function
79 frame_get_cacahe_fsr. This allows fixing a fatal error.
80 * xcoffexec.c: Turn previously suppressed error
81 message back on, after cleaning up BFD.
83 * breakpoint.c (breakpoint_re_set): Removed (at least for now)
84 printing of blank line, since it cases printing of an
85 extra blank line. Is this intended? It does mess up
87 * defs.h: Put back declarations of malloc and realloc,
88 but protected by #ifndef MALLOC_INCOMPATIBLE.
89 * objfiles.c: Undo previous change: Use malloc/realloc
90 for objfile malloc/realloc fields (but add a cast).
91 * xcoffexec.c: Suppress an error message (for now).
93 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
95 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
96 [Mail dated Fri, 21 Feb 92 13:14:54 -0800]
97 * buildsym.c: Use smash_to_pointer_type() to handle forward type
99 * xcoffread.c: Modifications to C_DECL storage class handling, and
100 introduction of an old smash_to_pointer_type() routine.
102 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
103 [Mail dated Thu, 20 Feb 92 13:57:16 -0800]
104 * rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h: function_frame_info()
105 parameters have been modified.
107 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
108 [Mail dated Thu, 20 Feb 92 10:10:05 -0800]
109 * rs6000-tdep.c: Before Feb 5 92, register_valid[] array was not used,
110 and fetch_inferior_registers() always fetched all the registers
111 resulting valid register values at hand all the time. Pushing a dummy
112 frame did not require validating all register values first. After
113 putting the above mechanism into action, we didn't have valid registers
114 values always ready. Thus, all registers need to be fetched before
115 pushing a dummy frame now.
117 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
118 [Mail dated Thu, 13 Feb 92 16:22:44 -0800]
119 * rs6000-xdep.c: frame_initial_stack_address() function to calculate
120 the starting address (actual frame address) of a frame.
121 * rs6000-tdep.c: modifications to function_frame_info() to see if
122 function reserves a frame pointer register (alloca register)
123 * tm-rs6000.h: EXTRA_FRAME_INFO, FRAME_ARGS_ADDRESS and
124 FRAME_LOCALS_ADDRESS has been updated to support debugging of
125 functions with alloca() calls.
127 Sun Mar 1 13:13:39 1992 Fred Fish (fnf@cygnus.com)
129 * xm-sysv4.h: Provide definitions/prototypes for host environment
130 functions for which no definitions or prototypes are provided in
131 any currently included gdb or host environment header files.
132 For SVR4, this currently includes malloc and realloc, which cannot
133 be portably prototyped in any gdb include file.
135 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
137 * buildsym.h: Remove obsolete variable file_stabs.
139 * Makefile.in: Move place where configure merges in host-
140 and target-dependent fragments later, so the latter
141 can override (say) GNU_MALLOC.
142 * config/mh-rs6000: Use system malloc. Otherwise, I
143 ended up with *two* incompatible versions of malloc
144 (functions in libc would call the malloc in libc).
145 I assume this is a shared library problem.
147 * remote.c: Fix (presumed) typo.
148 * objfiles.c: Use xmalloc/xrealloc instead of
149 malloc/realloc (since the latter are no longer declared).
151 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
152 [Mail dated Thu, 6 Feb 1992 10:22:02 -0800]
153 * rs6000-xdep.c: Improvements to fetch_inferior_registers() to
154 handle individual registers.
155 * tm-rs6000.h: Fix SAVED_PC_AFTER_CALL macro to handle pc value
156 correctly in case it wasn't cached yet. (A problem showed up
157 after fetching individual registers.)
158 * buildsym.c: Disable type_synonym_name's type name overwriting
159 in cases it is unnecesary. rs6000 portation doesn't use
160 type_synonym_name, and it used to nullify type names
161 * xcoffread.c: to handle g++'s typename abbreviation, fill in a
162 type's name as soon as space for that type is allocated.
163 * xcoffread.c: ignore a section's lineno information if it is
164 not `.text'. (In rs6000 bfd portation integration, skipping over
165 `.pad' sections are ignored since it was in machine independent
166 part of the code. Thus, a problem of fake sections with invalid
167 lineno information arised.)
169 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
170 [Mail dated Thu, 6 Feb 1992 13:26:22 -0800]
171 * rs6000-tdep.c: make function_frame_info() work whether or not
172 reading from a core file.
173 * tm-rs6000.h: Implementation of FRAME_FIND_SAVED_REGS macro.
175 * infrun.c. main.c, printcmd.c. symtab.c:
176 More changes from IBM for rs6000.
179 Thu Feb 27 22:57:19 1992 Per Bothner (bothner@cygnus.com)
181 * rs6k-opcode.h, tm-rs6000.h, xm-rs6000.h, rs6000-tdep.c,
182 rs6000-xdep.c, xcoffexec.c, xcoffread.c:
183 Merge in changes (mostly from IBM) for RS6000.
184 * breakpoint.c, buildsym.c, infptrace.c, stack.c, symtab.c:
185 More changes from IBM for RS6000. These are in machine-
186 independent code, and probably could do with some cleaning
187 up. The most questionable of these are #ifdef IBM6000.
188 * infrun.c, sparc-tdep.c: Pass a parameter (signal number)
189 to single_step() (for consistency with rs6000 and i860).
190 * utils.c: Allow the 1st arg to xrealloc to be NULL
191 (in which case do malloc). This removes the need for
192 some tests in xcoff code (and perhaps other places?).
193 * coffread.c: Removed variables last_source_file,
194 type_vector, and type_vector_length as these are now
195 defined by buildsym.[ch].
196 * defs.h: Remove prototypes for malloc and realloc, since
197 these should only be used to implement xmalloc and xrealloc,
198 and they conflict with <stdlib.h> in AIX - where they
199 return void* even when __STDC__ isn't defined. Sigh.
200 * munch: Recognize *initialize* in data as well as text
201 (AIX uses data). Also, incorporate a patch from Garrett
202 Wollman <wollman@uvm-gen.uvm.edu> to make the sed script
203 much more sensible, by only trying to match the name of
204 the initialize_foo function, and not the junk before it.
206 Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com)
208 * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
209 unless symbol table indicates that something has changed.
211 Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com)
213 * remote.c: Make it work for embedded MIPS. Increase buffer
214 size, and use throughout. Round buffer size up if too many regs.
215 Support baud rate setting and try for an 8-bit path. If
216 interrupted while waiting for target, send a ^C down the wire.
217 Avoid single-byte reads.
218 * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
220 * mips-xdep.h: Avoid the embedded regs when on Unix.
222 * mipsread.c: Byte-swap the symbol table structures, using
223 routines from ecoff.c, to read a symbol table written in any
224 of the four possible byte orders.
225 * configure.in (mips-big-* target): Same as Sony News.
226 * config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
227 * ecoff.c: New file for symbol swapping routines.
229 Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com)
231 * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
232 all-breakpoints' command.
233 * (get_number): Allow users to enter negative breakpoint numbers.
234 * (breakpoint_1): Reformat display of 'info break' to show new
236 * (create_longjmp_breakpoint, breakpoint_re_set,
237 breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
238 symfile.c (syms_from_objfile): Re-do
239 insertion of longjmp breakpoints. Move all code into
240 breakpoint_re_set, and call that instead of
241 create_longjmp_breakpoint in symfile.c.
243 Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com)
245 * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
246 * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE.
247 * symtab.c (find_pc_symtab): Handle having no objfiles.
248 * infcmd.c: Fix comment.
249 * objfiles.c (free_all_objfiles): Add.
250 * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add.
251 * symfile.c (symbol_file_command): free all objfiles when
252 specifying a new symbol file.
253 (reread_symbols): Stat the file name, don't fstat the descriptor.
255 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
257 * Makefile.in, configure.in: removed traces of namesubdir,
258 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
259 copyrights to '92, changed some from Cygnus to FSF.
261 Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com)
263 * dbxread.c (end_psymtab): Delete empty psymtabs.
264 * symfile.c (allocate_psymtab): Recycle empty psymtabs.
265 * symfile.h (struct objfile): Add free_psymtabs.
267 Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com)
269 * Makefile.in (VERSION): Roll to gdb-4.4.4.
271 * symfile.c (symbol_file_command): strcmp => !strcmp.
272 * breakpoint.h: Move prototypes to follow enum definition they need.
273 * breakpoint.c, infrun.c: Lint.
274 * printcmd.c: Use `enum enable' rather than `enum
276 * mipsread.c: First pass at making it compile with the new
277 objfile changes. Probably seriously broken still, but it
280 Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com)
282 * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
283 breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
284 mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
285 stepping (and nexting) through longjmp(). Also, cleanup
286 breakpoint handling quite a bit by creating explicit breakpoint
287 types instead of using magic breakpoint numbers.
288 Makefile.in: Update version to 4.4.3
290 Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com)
292 * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c,
293 minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint.
294 * symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
296 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
298 * minsyms.c (install_minimal_symbols): Add bunches to any
299 existing minsyms in the objfile. Avoid extra mallocation
300 by working directly in the obstack. Remove ignored `mainline' parm.
301 * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
302 xcoffread.c: Change all callers.
303 * FIXME: We should be able to eliminate MAINLINE from all the
304 symbol readers now, with a small bit of work.
306 * valops.c, value.h: Lint.
307 * remote-vx.c: Add missing break; statement. Bugfix by
308 Michael Sclafani, <sclafani@src.dec.com>.
310 Fri Feb 21 17:29:54 1992 Fred Fish (fnf at cygnus.com)
312 * Makefile.in (VERSION): Update version to 4.4.2
313 * Makefile.in (SFILES_MAINDIR): Add gdbtypes.c, state.c, objfiles.c,
314 minsyms.c, mmap-alloc.c, mmap-sbrk.c
315 * Makefile.in (HFILES): Add gdbtypes.h, state.h, solib.h
316 * Makefile.in (OBS): Add gdbtypes.o, state.o, objfiles.o, minsyms.o,
317 mmap-alloc.o, mmap-sbrk.o
319 * altos-xdep.c: Minor whitespace change.
320 * am29k-tdep.c (examine_prologue): Convert from misc function vector
321 use to new minimal symbol table use.
322 * arm-xdep.c (fetch_inferior_registers): Document unused argument.
323 * arm-xdep.c (store_inferior_registers): Returns void.
324 * blockframe.c (get_pc_function_start, find_pc_partial_function):
325 Convert from misc function vector use to new minimal symbol table use.
326 Remove find_pc_misc_function(). Ifdef out block_innermost_frame().
327 * breakpoint.c: Add prototypes for local functions.
328 * breakpoint.c (catch_command_1): Change to static and remove unused
330 * breakpoint.c (map_breakpoint_numbers): Prototype arg "function".
331 * breakpoint.h: Change function decls to prototype form.
332 * buildsym.c: Add prototypes for local functions.
333 * buildsym.c: Moved hashname() function here from dbxread.c.
334 * buildsym.c (dbx_lookup_type): Cast args to xrealloc().
335 * buildsym.c: Remove dbx_create_type(), uses changed to alloc_type().
336 * buildsym.c (dbx_alloc_type): Change to static.
337 * buildsym.c (finish_block): Add objfile parameter.
338 * buildsym.c (misc): Change symbol_obstack to objfile version.
339 * buildsym.c (make_blockvector): Change to static.
340 * buildsym.c (start_subfile): Use strdup instead of obsavestring.
341 * buildsym.c (compare_line_numbers): Change to static, args are const,
343 * buildsym.c (start_symtab): Inline new_object_header_files() call.
344 * buildsym.c (patch_block_stabs): Moved to this file from xcoffread
345 and made static. Add objfile parameter.
346 * buildsym.c (end_symtab): Simplify code using line table size.
347 Realloc the linetable on the objfile symbol_obstack and copy there.
348 * buildsym.c (scan_file_globals): Convert from misc function vector
349 use to new minimal symbol use.
350 * buildsym.c (define_symbol): Add objfile parameter. Make sure
351 strings get allocated in objfile's symbol_obstack. Convert references
352 to builtin types to lookup_fundamental_type().
353 * buildsym.c (read_type): Make static, add objfile parameter, convert
354 references to buildin types to lookup_fundamental_type().
355 * buildsym.c (read_struct_type): Add objfile parameter.
356 * buildsym.c (read_array_type): Make static, add objfile parameter.
357 * buildsym.c (read_enum_type): Make static, add objfile parameter.
358 * buildsym.c (read_huge_number): Make static.
359 * buildsym.c (read_range_type): Make static, add objfile parameter,
360 convert references to buildin types to lookup_fundamental_type ().
361 * buildsym.c (read_args): Make static, add objfile parameter.
362 * buildsym.h: Convert function decl's to prototype form.
363 * c-exp.y: Add prototypes for local functions, convert uses of misc
364 function vector to minimal symbol table. Reformat all builtin type
365 initializations and pass a NULL objfile to init_type() for them.
366 * coffread.c: Change context_stack ref's to coff_context_stack,
367 add local function prototypes. Cast uses of xrealloc arg 1.
368 * coffread.c (coff_alloc_type): Call alloc_type instead of hand-
370 * coffread.c (add_symbol_to_list): Change to coff_add_symbol_to_list.
371 * coffread.c (finish_block): Change name to coff_finish_block.
372 * coffread.c (make_blockvector): Add and use objfile parameter.
373 * coffread.c (record_line): Change name to coff_record_line.
374 * coffread.c (start_symtab): Change name to coff_start_symtab.
375 * coffread.c (end_symtab): Change name to coff_end_symtab.
376 * coffread.c (record_misc_function): Change name to record_minimal_
377 symbol and change to minimal symbol table use from misc func tbl.
378 * coffread.c (coff_symfile_read): Convert from misc function vector
379 use to minimal symbol table use.
380 * coffread.c (hashname): Remove; use common version in buildsym.c.
381 * coffread.c (decode_base_type): Change references to builtin types
382 to calls to lookup_fundamental_type().
383 * coffread.c (read_struct_type): Change name to coff_read_struct_type.
384 * coffread.c (read_enum_type): Change name to coff_read_enum_type.
385 * command.c: Add prototypes for local functions.
386 * command.c (add_cmd): Prototype the 'fun' parameter and use the
387 appropriate member of the function union for that type.
388 * command.c (add_abbrev_cmd): Prototype the 'fun' parameter and
389 ifdef out the function since it isn't currently used.
390 * command.c (add_alias_cmd): Pass correct function type to add_cmd.
391 * command.c (add_prefix_cmd): Prototype the 'fun' parameter.
392 * command.c (add_abbrev_prefix_cmd): Prototype the 'fun' parameter.
393 * command.c (help_cmd): Compare function pointer to NULL.
394 * command.c (help_cmd_list): Compare function pointer to NULL.
395 * command.c (lookup_cmd_1): Use correct member of function union.
396 * command.c (undef_cmd_error): Make static.
397 * command.c (complete_on_cmdlist): Use correct member of func union.
398 * command.c (do_setshow_command): Use correct member of func union.
399 * command.c (shell_escape): Convert rindex use to strrchr.
400 * command.h (COMMAND_H): Define if already included.
401 * command.h (cmd_list_element struct): Change 'function' to a union
402 and prototype args. Prototype completer function.
403 * command.h: Convert decl's to prototype form.
404 * convex-xdep.c (store_inferior_registers): Returns void.
405 * copying.c: Prototype local functions.
406 * coredep.c: Minor whitespace change.
407 * cplus-dem.c: Remove hack to use BSD equivalents of mem* and str*.
408 * cplus-dem.c: Prototype local functions.
409 * dbxread.c (hashname): Remove; moved to buildsym.c.
410 * dbxread.c (free_and_init_header_files): Make static.
411 * dbxread.c: Add prototypes for local functions.
412 * dbxread.c (new_object_header_files): Remove; inlined usages.
413 * dbxread.c (xrealloc usages): Cast args.
414 * dbxread.c (record_misc_function): Change to record_minimal_symbol
415 and change usages accordingly.
416 * dbxread.c (static_psymbols usages): Change to use per-objfile copy.
417 * dbxread.c (xmalloc usages): Use per-objfile copy when appropriate.
418 * dbxread.c (dbx_next_symbol_text): Make static.
419 * dbxread.c (init_psymbol_list): Convert to use per-objfile data.
420 * dbxread.c (init_bincl_list): Add and use objfile parameter.
421 * dbxread.c (free_bincl_list): Add and use objfile parameter.
422 * dbxread.c (compare_psymbols): Remove; use common symfile.c version.
423 * dbxread.c (end_psymtab): Convert to use per-objfile data.
424 * dwarfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for
426 * dwarfread.c (record_misc_function): Change name to record_minimal_
427 symbol and use minimal symbol table throughout.
428 * dwarfread.c (compare_psymbols): Remove; use common symtab.c version.
429 * dwarfread.c: Convert all references to builtin types to use the new
430 lookup_fundamental_type function.
431 * dwarfread.c (read_enumeration): Add and use objfile parameter.
432 * elfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for proto-
434 * elfread.c (record_misc_function): Convert to use record_minimal_
436 * elfread.c (elf_symtab_read): Add objfile parameter.
437 * eval.c: Add prototypes for local functions and move some decls
438 around to accomodate prototypes.
439 * expprint.c: Add prototypes for local functions. Change references
440 to misc function vector to minimal symbol table.
441 * findvar.c (read_memory usages): Cast args.
442 * gdbtypes.h: New file, type info from symfile.h and symtab.h.
443 * gmalloc.c: Use NOARGS where prototypes used hardwired void.
444 * gmalloc.c (BLOCKSIZE): Constant to be shifted is unsigned.
445 * gmalloc.h: Use NOARGS where prototypes used hardwired void.
446 * gould-xdep.c: Minor whitespace change.
447 * hp300ux-xdep.c (fetch_inferior_registers): Remove unused regno var.
448 * hp300ux-xdep.c (store_inferior_registers): Returns void.
449 * hp300ux-xdep.c (fetch_core_registers): Takes unused arg reg_addr.
450 * i386-stub.c: Add prototypes, change "volatile" to NORETURN.
451 * i386-tdep.c: Add prototypes for local functions.
452 * i386-tdep.c (codestream_fill, codestream_seek, codestream_read,
453 i386_get_frame_setup, i386_skip_prologue): Explicitly declare params
454 that defaulted to int.
455 * i386-tdep.c (i386_follow_jump, i386_frame_find_saved_regs,
456 i386_push_dummy_frame): Returns void.
457 * i386-xdep.c (i386_register_u_addr): Declare params that default to
458 int and explicitly declare return type as int.
459 * i387-tdep.c: Minor formatting changes.
460 * i960-tdep.c (leafproc_return): Convert from misc function vector
461 use to minimal symbol table use.
462 * infcmd.c: Add prototypes for local functions.
463 * infcmd.c (continue_command, until_next_command, until_command,
464 path_info, path_command): Make static.
465 * infcmd.c (step_1, until_next_command): Convert from misc func
466 vector to minimal symbol table use.
467 * inflow.c: Add prototypes for local functions.
468 * infptrace.c (store_inferior_registers): Returns void, not int.
469 * language.c (_initialize_language): Use proper member of function
471 * m2-exp.y: Add prototypes for local functions, convert misc function
472 vector uses to minimal symbol table uses.
473 * m2-exp.y (make_qualname, yyerror): Make static.
474 * m2-exp.y (_initialize_m2_exp): Call init_types with NULL objfile.
475 * m68k-pinsn.c: Add prototypes for local functions.
476 * m68k-pinsn.c (print_insn): Cast args to read_memory.
477 * m68k-pinsn.c (fetch_arg): Make parameter 'code' and int.
478 * m68k-stub.c: Add prototypes.
479 * m88k-pinsn.c (sprint_address): Convert from misc function vector
480 use to minimal symbol table use.
481 * m88k-xdep.c (fetch_inferior_registers): Takes an unused parameter.
482 * m88k-xdep.c (store_inferior_registers): Returns void.
483 * mach386-xdep.c (fetch_inferior_registers): Takes an unused param.
484 * mach386-xdep.c (store_inferior_registers): Returns void.
485 * mach386-xdep.c (fetch_core_registers): Takes an unused parameter.
486 * main.c: Add prototypes for local functions.
487 * main.c (return_to_top_level): Is type NORETURN (volatile). Cast
488 longjmp() result to (NORETURN void).
489 * main.c (catch_errors): Prototype the 'func' parameter.
490 * main.c (disconnect, stop_sig, do_nothin, float_handler):
492 * main.c (execute_command): Call the right member of the func union.
493 * main.c (command_loop_marker, symbol_completion_function,
494 command_loop): Make static.
495 * main.c (command_line_input): Make linelength unsigned, cast arg
496 to command_line_input().
497 * main.c (add_info, add_com): Prototype the 'fun' parameter.
498 * main.c (initialize_main): Call right member of function union.
499 * mcheck.c (NOARGS): Change hardwired void in prototypes to NOARGS.
500 * mem-break.c: Include symtab.h
501 * mips-xdep.c (fetch_inferior_registers): Takes unused param.
502 * mips-xdep.c (store_inferior_registers): Returns void.
503 * mipsread.c (mipscoff_symfile_read): Change from misc function vector
504 use to minimal symbol table use.
505 * mipsread.c (symbol_obstack usages): Convert all to use per-objfile
507 * mipsread.c (make_type): Remove, convert usages to init_type.
508 * mipsread.c (_initialize_mipsread): Call init_type with NULL objfile.
509 * nindy-tdep.c (nindy_frame_chain_valid): Convert from misc function
510 vector use to minimal symbol table use.
511 * parse.c: Add prototypes for local functions.
512 * parse.c (xrealloc usages): Cast args.
513 * parse.c (prefixify_expression, length_of_subexp): Make static.
514 * parser-defs.h (PARSER_DEFS_H): Define when first included.
515 * parser-defs.h: Convert function decls to prototype form.
516 * partial-stab.h: Convert from misc function vector use to new minimal
518 * partial-stab.h (global_psymbols, static_psymbols usages): Reference
519 the per-objfile copies.
520 * printcmd.c: Add prototypes for local functions. Move some struct
521 definitions around to accomodate prototypes.
522 * printcmd.c (decode_format): Make static, change args oformat and
523 osize to int from char.
524 * printcmd.c (print_formatted): Change 'format' and 'size' to int.
525 * printcmd.c (print_scalar_formatted): Change arg 'format' to int.
526 * printcmd.c (print_address_symbolic): Convert from misc function
527 vector use to minimal symbol table use.
528 * printcmd.c (address_info): Convert from misc function vector use
529 to minimal symbol table use.
530 * printcmd.c (delete_display, enable_display, disable_display_command):
532 * procfs.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
533 * procfs.c (fetch_core_registers): Add unused param reg_addr.
534 * pyr-xdep.c (fetch_inferior_registers): Add unused param regno.
535 * pyr-xdep.c (store_inferior_registers): Returns void.
536 * remote-mm.c (mm_load): symbol_file_add return value unused.
537 * remote-nindy.c: Minor format change.
538 * remote-vx.c (vx_load_command): symbol_file_add result unused.
539 * rs6000-xdep.c (fetch_inferior_registers): Add unused param regno.
540 * rs6000-xdep.c (store_inferior_registers): Returns void.
541 * rs6000-xdep.c (fetch_core_registers): add unused param reg_addr
542 * rs6000-xdep.c (aixcoff_relocate_symtab): Convert from misc function
543 vector use to minimal symbol table use.
544 * solib.c: Add prototypes for local functions.
545 * solib.c (solib_add_common_symbols, locate_base): Convert from misc
546 function vector use to minimal symbol table use.
547 * solib.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
548 * solib.c (find_solib, shared_library_command): Make static
549 * solib.c (read_memory, write_memory usages): Cast args.
550 * solib.c (special_symbol_handling): Add function
551 * source.c: Add prototypes for local functions.
552 * source.c (select_source_symtab): Convert to scan objfiles.
553 * source.c (open_source_file): Make static.
554 * source.c (xrealloc usages): Cast args.
555 * source.c (source_line_charpos): ifdef out, unused.
556 * source.c (get_filename_and_charpos): Make static.
557 * stack.c: Add prototypes for local functions.
558 * stack.c (print_frame_info, frame_info): Convert from misc function
559 vector use to minimal symbol table use.
560 * symfile.c: Add prototypes for local functions.
561 * symfile.c (compare_symbols): Make args const PTR's.
562 * symfile.c (compare_psymbols, sort_pst_symbols) add.
563 * symfile.c (sort_all_symtab_syms): Scan objfile list.
564 * symfile.c (obsavestring): Add objfile parameter.
565 * symfile.c (init_misc_bunches, prim_record_misc_function,
566 compare_misc_functions, discard_misc_bunches, condense_misc_bunches,
567 sort_misc_function_vector, compact_misc_function_vector): Remove
568 * symfile.c (symbol_file_add_digested): Add function.
569 * symfile.c (symbol_file_add): Returns struct objfile *.
570 * symfile.c (symbol_file_command): Modify for state file use.
571 * symfile.c (symfile_open): Add parameter "dumpable".
572 * symfile.c (allocate_objfile, free_objfile): Moved to objfiles.c
573 * symfile.c (load_command, add_symbol_file_command): Make static.
574 * symfile.c (fill_in_vptr_fieldno): Moved to gdbtypes.c
575 * symfile.c (rindex usages): Converted to strrchr.
576 * symfile.c (allocate_psymtab): New
577 * symfile.c (free_named_symtabs): Ifdef out code that needs to be
578 converted to minimal symbol table usage, but no obvious conversion.
579 * symfile.c (free_all_symtabs): Remove.
580 * symfile.c (_initialize_symfile): Use per-objfile info.
581 * symfile.h: Rework the objfile structure to add per-objfile data
582 objects (psymbol_obstack, symbol_obstack, type_obstack,
583 global_psymbols, static_psymbols, msymbols, minimal_symbol_count,
584 fundamental_types, malloc, realloc, free, xmalloc, xrealloc, etc).
585 Add prototypes to function declarations.
586 * symm-tdep.c (symmetry_extract_return_value): Convert from misc
587 function vector usage to minimal symbol table usage.
588 * symmisc.c (DEV_TTY): Define if not defined.
589 * symmisc.c: Add local function prototypes.
590 * symmisc.c (dump_objfile, dump_msymbols, dump-symtab, print_syms,
591 printpsyms_command, print_objfiles, print_objfiles_command):
592 Rework to use iterate_over_*
593 * symtab.c: Add prototypes for local functions.
594 * symtab.c (lookup_symtab_1): Convert to look through objfiles.
595 * symtab.c (lookup_partial_symtab): Scan through objfiles.
596 * symtab.c (lookup_primitive_typename, lookup_typename, lookup_
597 unsigned_typename, lookup_struct, lookup_union, lookup_enum,
598 lookup_template_type, lookup_struct_elt_type, lookup_pointer_type,
599 lookup_reference_type, lookup_member_type, allocate_stub_method,
600 check_stub_method, create_array_type, smash_to_member_type,):
602 * symtab.c (lookup_symbol): Some args are const.
603 * symtab.h: All type related defs and structs moved to gdbtypes.h
604 * symtab.h: Convert decls to prototypes.
605 * target.c (noprocess): Make static.
606 * target.h: Change decl's to prototypes.
607 * tm-sunos.h: (CLEAR_SOLIB, SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK,
608 DISABLE_UNSETTABLE_BREAK) Moved to solib.h.
609 * utils.c (_initialize_utils): Use correct member of function union.
610 * valarith.c: include gdbtypes.h
611 * valops.c: include gdbtypes.h, add prototypes for local functions.
612 * valops.c (value_push, value_arg_push, find_function_addr):
614 * valops.c (value_string): Convert from misc function vector use
615 to minimal symbol table use.
616 * valops.c (check_field_in): Make arg const.
617 * valprint.c: Add prototypes for local functions.
618 * valprint.c (print_string): Make static
619 * valprint.c (value_print, val_print_fields, val_print): Make arg int.
620 * values.c: Add prototypes for local functions.
621 * values.c (value_headof): Convert from misc function vector to
622 minimal symbol table.
623 * xcoffexec.c: Add prototypes for local functions.
624 * xcoffexec.c (exec_close, file_command, add_to_section_table):
626 * xcoffexec.c (relocate_minimal_symbol): Add.
627 * xcoffread.c (patch_block_stabs): Moved to buildsyms.c.
628 * xcoffread.c: Add prototypes for local functions.
629 * xcoffread.c (sort_syms): Convert to scan objfiles.
630 * xcoffread.c (read_xcoff_symtab): Make static.
631 * xcoffread.c (various): Replace references to builtin types with
632 calls to lookup_fundamental_type. Replace references to symbol_obstack
633 and psymbol_obstack with pointers to the per-objfile copies.
634 * xcoffread.c (dump_linetable, dump_type, dump_symbol, dump_namespace,
635 dump_block, dump_blockvector, dump_last_symtab, dump_symtabs):
637 * xcoffread.c (init_stringtab): Add objfile parameter.
638 * gdbtypes.c: New file
639 * minsyms.c: New file
640 * mmap-alloc.c: New file
641 * mmap-sbrk.c: New file
642 * objfiles.c: New file
646 Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com)
648 * Check in Fred Fish's changes in these modules. Fred
649 will make ChangeLog entries for all of them. Update VERSION
652 Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com)
654 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
656 * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
657 sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
658 value.h: Prototypes for static functions; lint.
659 * gdbtypes.h: Empty file to ease transition.
661 Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com)
663 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
664 inferior.h, language.h, signame.h, target.h, terminal.h,
665 tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
666 xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
668 * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
669 signame.c, sparc-xdep.c: Prototypes for all static functions.
671 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
672 remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
673 target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
674 Remove to_call_function and target_call_function, since it
675 always calls the same thing (call_function_by_hand).
676 * core.c, exec.c, solib.c: Rename target_ops sections =>
678 * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
679 target.h: target_kill takes no args.
680 * language.c (language_info): Scaffolding to allow briefer
681 messages when the current language changes. FIXME.
682 * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
683 complaints about volatile functions.
684 * xm-sysv4.h (HAVE_MMAP): Define.
686 Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com)
688 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
689 to make prototypes for all functions declared here.
690 * cplus-dem.c: Avoid declaring xmalloc and xrealloc.
691 * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
692 * environ.c: Include <stdio.h> before defs.h. Minor cleanup.
693 * ieee-float.h: Use PARAMS for prototypes; make some params const.
694 * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
695 * m2-exp.y: Remove unused CONST; Rename OR and AND.
696 * utils.c: Avoid declaring malloc and realloc. Lint.
697 (request_quit): Accept signal-number parameter.
699 Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
701 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
702 DIE's. Add new function read_tag_pointer_type() to read them.
704 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
705 When creating a new user defined type, check to see if a partial
706 type already exists, and if so, bash it to fit.
708 Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com)
710 * coffread.c (decode_base_type): Pass long, not union.
711 Fix by Eric Valette, ev@chorus.fr.
713 Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
715 * elfread.c (elf_symtab_read): Fix code to correctly track
716 changes in bfd for absolute symbols.
718 Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
720 * xm-vaxbsd.h: Close off comment.
722 Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
724 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
726 Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
728 * mips-tdep.c (mips_print_registers): Print correct register
729 number for double pseudo-registers.
731 Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
733 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
734 in the op$::OPERATOR. case. From Steven McCanne,
735 <mccanne@horse.ee.lbl.gov>.
737 * exec.c (set_section_name): Pass arg to exec_files_info;
738 only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
740 Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
742 * main.c (print_gdb_version): Copyright msg: only this year.
743 (cd_command): Avoid changing current_directory on error.
745 Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
747 * mipsread.c (parse_partial_symbols): Handle dependencies
748 between partial symbol tables (when not doing stabs-in-ecoff).
749 (This used to be handled by parse_fdr, but parse_fdr was
750 incompatible with handling stabs-in-ecoff, so the code
751 was re-written to not use parse_fdr. Unfortunately,
752 the logic to handle dependencies was overlooked.)
754 Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
756 * coffread.c (read_enum_type): Use the size of a target int when
758 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
760 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
761 * symtab.c (lookup_reference_type, lookup_ptr_type): use
762 TARGET_PTR_BIT to determine size of a pointer
763 * values.c (unpack_long): when unpacking a REF or a PTR don't
764 assume the size of the type.
766 Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
768 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
769 looking at its members. Improve guess between struct and union,
770 only assuming union if multiple members have offsets of zero.
772 Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
774 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
775 (This is just for clarity - and one day permitting us to
776 change FP0_REGNUM from 38 to 32, which would make more sense.)
777 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
778 register numbers in stabs-in-ecoff get handled correctly.
780 Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
782 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
783 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
786 Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
788 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
790 Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
792 * Makefile.in: Increment version to 4.4.1.
793 * main.c (print_gdb_version): Update copyright notice.
795 Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
797 * mipsread.c: Prepend "struct " to the names of structure
798 types, and similarly for enums and unions. (This used
799 to be done, but got lost in the re-write to "guess" the
800 difference between enum/struct/union.)
801 Also, guess that a tag is an enum if the first member
804 Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
806 * xm-vax.h: #ifndef ultrix around #include of endian.h and
809 Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
811 * Projects: Patching executables is done.
812 * Makefile.in (VERSION): Roll to gdb-4.4.
813 * README, WHATS.NEW: Update for gdb-4.4.
815 * symfile.c (reread_symbols): Whenever we reread one object
816 file's symbols, we must restart the scan, because the object_files
817 chain has been permuted.
819 * exec.c (exec_files_info): Split out into print_section_info.
820 Print BFD filename of each section if it's not the default one.
821 * core.c (core_files_info): Call print_section_info.
823 * xm-vax.h: Include a few system header files whose definitions
825 * language.c, language.h: Make some things const.
826 * expression.h, main.c: const spreads like ooze.
828 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
829 since BREAKPOINT values can be >0x80.
831 Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
833 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
835 Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
837 * sparc-pinsn.c: Remove kludge for preferring architectures.
838 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
839 and forever. Add `add' instruction to the set that get checked
840 for a preceding `sethi' in order to print an absolute address.
841 Corresponding changes in ../include/opcode/sparc.h needed
842 to eliminate garbage instructions.
844 Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
846 * mipsread.c (parse_partial_symbols): Make sure partial
847 symbols are created for external symbols (as used to be
848 the case). This is a bit of a pain with the mips-coff.
849 It uses a table which points to all of the external
850 symbols belonging to a particular FDR or psymtab.
851 Once we've generated this table, we might as well save
852 it, and then use it in psymtab_to_symtab_1 to find
853 the symbols to pass to parse_external().
854 * symfile.c, symfile.c: New function start_psymtab_common
855 to share the common parts of allocating a new psymtab
856 for dbxread, mipsread (and later dwarfread). Its code
857 was pulled out from start_psymtab in dbxread.c.
858 * dbxread.c (start_psymtab): Use start_psymtab_common().
860 * valprint.c (val_print): If there is an error when trying
861 to print a string, check to see if there really is a problem
862 by reading just one character. If that works, assume
865 Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
867 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
868 cypress, v8 mnemonics in that order.
870 Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
872 * sparc-pinsn.c: Put the qsort() back in.
874 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
876 * findvar.c (read_register, write_register): Handle machines
877 where REGISTER_TYPE is not the same size as "int".
879 Handle debug symbols in dynamically loaded (relocated) code:
881 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
882 offset to process_one_symbol.
883 (process_one_symbol): Take new offset parameter. Add it into
884 appropriate symbol types to relocate symbols to loaded addresses.
885 Handle all possible symbol types, and complain() about types that
886 we don't expect to see.
887 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
888 process_one_symbol (FIXME, should pass real offset).
892 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
894 (set_breakpoint, break_command_1, until_break_command,
895 catch_command_1, breakpoint_re_set_one): Use it.
896 * symtab.h (resolve_sal_pc): Declare.
897 * infcmd.c (jump_command): Use resolve_sal_pc.
899 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
901 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
903 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
905 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
906 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
907 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
909 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
911 * dbxread.c (process_one_symbol): Make a first cut at handling
912 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
914 * symtab.c (find_pc_line): Fix stepping into and out of #included
917 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
919 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
920 no longer any need to copy ../include/opcode/* into gdb.
922 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
924 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
926 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
928 * valprint.c (type_print_base, type_print_method_args):
929 Print C++ constructor methods without bogus "return type."
931 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
933 * infptrace.c (child_xfer_memory): Parameter "target" should
934 be a pointer to a structure, not the entire structure.
936 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
938 * depend: Convert the couple of references to ansidecl.h that
939 used the local gdb version to use the ../include version.
941 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
944 (child_xfer_memory): Takes pointer to a struct, not entire struct.
945 (inferior_proc_init): Fix non-ANSI version of args.
946 (attach): Call print_sys_errmsg with correct number of args.
947 (mappingflags): Make static, does not need to be global.
949 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
950 not the entire struct itself.
952 * valops.c (value_assign): Cast some args to modify_field() and
953 {read,write}_register_bytes() correctly.
955 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
957 * Makefile.in (MALLOCSRC): Removed reference to removed local
960 * dwarfread.c (list_in_scope): Needs an initial value, use file
963 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
965 * main.c (main): Make option_index local to keep new getopt happy.
966 main.c, solib.c, Makefile.in: Update copyright notices.
968 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
970 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
972 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
974 * Makefile.in (HFILES): Add partial-stab.h.
976 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
978 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
979 New files for stratus. Not complete enough to actually build
980 on the Stratus machine; that awaits copyright assignment for
983 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
984 for getting custom flags into CFLAGS when doing makes.
986 * configure.in: Add config information for stratus.
988 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
990 * dbxread.c (process_one_symbol): Pass address of structure
991 to complain(), rather than the whole structure.
993 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
995 * solib.c (solib_add_common_symbols): Only compile in when not
996 using SVR4 style shared libraries.
998 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
1000 * dwarfread.c (locval): Add offreg flag to indicate location
1001 values that are computed off a base register.
1003 * dwarfread.c (new_symbol): Rework TAG_global_variable and
1004 TAG_local_variable cases to account for static variables
1005 within function scopes.
1007 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
1009 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
1010 doesn't exist on some systems.
1012 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
1013 nexting over recursive function calls.
1015 * target.c (target_read_string): Create this routine to read null
1016 terminated strings from the target. It deals with running off the
1017 end of memory elegantly as well. solib.c (find_solib): Use
1018 target_read_string() to avoid problems with running off the end of
1021 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
1022 that reference pgrp_inferior.
1024 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
1026 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
1027 mips-tfile has been hacked to act more "traditionally."
1028 * dbxread.c: Fixed typo in comment.
1030 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
1032 * mips-tdep.c (mips_skip_prologue): Add some number of
1033 'sw' instructions before 'addiu' adjusts the stack.
1035 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
1037 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
1038 freescope, buildblock closescope, record_line, add_symbol_to_list,
1039 gatherblocks, make_blockvector): Extensive changes to switch
1040 to generic symbol table building code in buildsym.c. Remove
1041 scope tree structures and functions, symbol table building
1042 functions, and lots of other small changes.
1044 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
1045 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
1047 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
1049 * buildsym.c (cleanup_undefined_types): Add support for enums.
1050 This fixes the 'GDB internal error. cleanup_undefined_types with
1053 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
1055 * dbxread.c: detect gcc2 compilations.
1057 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
1059 * sparc-pinsn.c: Rename bitfields that overlap with macro names
1060 in ../include/opcode/sparc.h.
1062 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
1064 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
1065 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
1066 to reflect actual locations of opcode files, so TAGS target will
1069 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
1071 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
1074 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
1075 dereferencing to access the correct elements.
1077 * valops.c (value_addr): Declare return type of external func
1080 * xcoffread.c: Undefine next_symbol_text before redefining it.
1082 For older changes see ChangeLog-9091
1088 version-control: never