Fixed a place where dbx symbol name continuation was appearing in an
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Mar 24 07:26:19 1992 Michael Tiemann (tiemann@cygnus.com)
2
3 * buildsym.c (read_struct_type): Handle cretinous dbx symbol name
4 continuation in yet another place (between method declarations).
5
6 Mon Mar 23 23:01:41 1992 Stu Grossman (grossman at cygnus.com)
7
8 * mips-tdep.c: include symfile.h and objfiles.h to fix
9 compilation errors.
10
11 Mon Mar 23 15:49:14 1992 Per Bothner (bothner@cygnus.com)
12
13 * valops.c (value_struct_elt_for_reference): Added 'offset'
14 parameter to handle multiple inheritance.
15 * eval.c, value.h: Update accordingly.
16
17 Fri Mar 20 17:43:27 1992 Fred Fish (fnf@cygnus.com)
18
19 * objfiles.h: New file
20 * Makefile.in (HFILES): Add objfiles.h
21 * blockframe.c: Remove entry_scope_lowpc, entry_scope_highpc,
22 main_scope_lowpc, main_scope_highpc.
23 * blockframe.c, buildsym.c, coffread.c, dbxread.c, dwarfread.c,
24 elfread.c, gdbtypes.h, minsyms.c, mipsread.c, objfiles.c, solib.c,
25 source.c, symfile.c, symmisc.c, symtab.c, target.c, xcoffexec.c,
26 xcoffread.c, : Include objfiles.h.
27 * tm-29k.h, tm-i386v.h, tm-merlin.h, tm-rs6000.h, tm-sun386.h,
28 tm-symmetry.h, tm-tahoe.h, tm-umax.h, tm-vax.h, m88k-tdep.c,
29 mips-tdep.c (FRAME_CHAIN): Renamed outside_startup_file to
30 inside_entry_file() and logic changed appropriately.
31 * blockframe.c (outside_startup_file): Renamed to
32 inside_entry_file() and logic changed appropriately.
33 * blockframe.c (inside_main_scope): Renamed to inside_main_func()
34 and logic changed to use per-objfile specific fields.
35 * blockframe.c (inside_entry_scope): Renamed to
36 inside_entry_func() and logic changed to use per-objfile specific
37 fields.
38 * blockframe.c, buildsym.h, coffread.c, dwarfread.c, mipsread.c,
39 symfile.c, mips-tdep.c (startup_file_start, startup_file_end):
40 Remove extern decls.
41 * symfile.c, symfile.h (entry_point): Remove extern decl.
42 * coffread.c (coff_symfile_init): Common entry point init code
43 moved to symfiles.c, call init_entry_point_info().
44 * coffread.c (complete_symtab): Use new per-objfile entry info.
45 * mip-tdep.c (mips_frame_chain): Use new per-objfile entry info.
46 * mipsread.c (parse_partial_symbols): Use new per-objfile entry
47 info.
48 * dbxread.c (read_dbx_symtab): Use new per-objfile entry info.
49 * defs.h (inside_entry_scope, outside_startup_file,
50 inside_main_scope): Prototypes changed for renames to
51 inside_entry_func, inside_entry_file, inside_main_func,
52 respectively.
53 * symfile.c (syms_from_objfile): Common entry point init code
54 moved to init_entry_point_info() and call init_entry_point_info().
55 * symfile.h (init_entry_point_info): Include prototype.
56 * xcoffread.c (aixcoff_symfile_init): Common entry point init code
57 moved to symfiles.c and call init_entry_point_info().
58 * dwarfread.c (entry_scope_lowpc, entry_scope_highpc,
59 main_scope_lowpc, main_scope_highpc): Remove extern decls.
60 * dwarfread.c (read_func_scope, read_file_scope): Use new per-
61 objfile entry info.
62 * frame.h (FRAME_CHAIN_VALID): Provide default definition that
63 works for the majority of targets.
64 * tm-68k.h, tm-convex.h, tm-h8300.h, tm-i386v.h, tm-irix3.h,
65 tm-merlin.h, tm-mips.h, tm-pyr.h, tm-rs6000.h, tm-sparc.h,
66 tm-sun386.h, tm-tahoe.h, tm-umax.h, tm-vax.h (FRAME_CHAIN_VALID):
67 Use default definition in frame.h.
68 * frame.h (selected_frame_level): Make decl extern.
69 * objfiles.c, symfile.c (current_objfile): Moved to objfiles.c
70 * objfiles.c, symfile.c (symfile_objfile): Moved to objfiles.c
71 * partial-stab.h: Use new per-objfile entry info.
72 * symfile.h (struct objfile): Removed, moved to objfiles.h.
73 * symfile.h, objfiles.h (allocate_objfile, free_objfile,
74 free_all_objfiles, iterate_over_objfiles, iterate_over_symtabs,
75 iterate_over_psymtabs, have_partial_symbols, have_full_symbols,
76 have_minimal_symbols): Prototypes moved to objfiles.h.
77 * symfile.h, objfiles.h (ALL_OBJFILES, ALL_OBJFILES_SAFE):
78 Macros moved to objfiles.h.
79 * tm-h8300.h, tm-i386v4.h (FRAME_CHAIN_VALID_ALTERNATE): Define.
80
81 Thu Mar 19 18:49:45 1992 Per Bothner (bothner@cygnus.com)
82
83 More C++ improvements (pointers to members, qualified names).
84 * c-exp.y: Support exp.type::name and exp->type::name
85 syntaxes. (Unfortunately, doesn't work for static members.)
86 * c-exp.y, eval.c: Make type::~type work better.
87 * eval.c (evaluate_subexp: OP_SCOPE): Replace use of
88 value_static_field by value_struct_elt_for_reference.
89 * eval.c (evaluate_subexp): Merge code for STRUCTOP_MEMBER
90 and STRUCTOP_MPTR; cast arg1 to domain-type of arg2.
91 * eval.c (evaluate_subexp): Remove special case for UNOP_ADDR
92 for OP_SCOPE operand; no point in it now that we use lazy
93 reading of values, and use "reference to member" objects.
94 * gdbtypes.h: Clarify comment.
95 * valops.c: Change value_struct_elt_for_address to return
96 a reference (or variable), rather than a pointer. Change
97 the name to value_struct_elt_for_reference to reflect this.
98 Returning a reference instead of a address provides a
99 generalization, since we can use the routine for both
100 class::name as well as &class::name.
101 Also, recurse to handle multiple inheritance properly.
102 * valprint.c: Moved code to print pointer-to-members
103 to new function point_class_member. This allows a
104 "reference-to-member" to be printed using the same code.
105 * valprint.c (type_print_varspec_prefix): Avoid printing
106 "struct " for domains of class-member types.
107 * valops.c (search_struct_field): Inline code for simplified
108 version of value_static_field (which can then be deleted).
109 * value.h: Rename value_struct_elt_for_address to
110 value_struct_elt_for_reference. Delete value_static_field.
111 * values.c: Remove no longer used function value_static_field.
112
113 Thu Mar 19 13:54:11 1992 Fred Fish (fnf@cygnus.com)
114
115 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
116 elfread.c (coff_symfile_finish): Add function, prototype, and
117 add to the xxxx_sym_fns struct for each file type. Also reformat
118 the xxxx_sym_fns vector to a standard format and add comments.
119 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
120 elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read):
121 Pass pointer to struct objfile rather than pointer to sym_fns.
122 Change references inside each function accordingly. Allocate any
123 symbol file specific info in the per-objfile memory region.
124 * dbxread.c (free_and_init_header_files): Break function into
125 free_header_files(), called from dbx_symfile_finish(), and
126 init_header_files(), called from dbx_new_init().
127 * dbxread.c (dbx_new_init): Move deallocation things to new
128 dbx_symfile_finish function.
129 * elfread.c (elf_new_init): Call buildsym_new_init().
130 * objfiles.c (free_objfile): Call the appropriate symfile_finish()
131 routine for the objfile before deallocating other stuff.
132 * sparc-tdep.c (get_longjmp_target): Cast target_read_memory arg.
133 * symfile.h: Move struct sym_fns to before struct objfile def.
134 Add sym_finish function pointer and change prototypes of other
135 function pointers to reflect passing struct objfile pointer rather
136 than struct sym_fns pointer.
137 * symfile.c: Remove now obsolete symtab_fns pointer.
138 * symfile.c (symfile_init): Renamed to find_sym_fns, and now only
139 locates the correct sym_fns struct for the given objfile.
140 * symfile.c (syms_from_objfile, symbol_file_add): Restructured
141 for better support of mapped symbol tables.
142 * symfile.c (symbol_file_command): Remove obsolete code using
143 symfile_fns.
144 * symfile.h: Remove duplicate declarations for symfile_objfile,
145 entry_point, and object_files.
146 * target.c (target_info): Compare symfile_objfile to NULL.
147 * xcoffread.c (aixcoff_new_init): Move deallocation stuff to
148 aixcoff_symfile_finish().
149
150 Wed Mar 18 18:22:46 1992 Fred Fish (fnf@cygnus.com)
151
152 * infrun.c (IN_SOLIB_TRAMPOLINE): Add default definition.
153 * infrun.c (wait_for_inferior): Use IN_SOLIB_TRAMPOLINE.
154 * tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Add SVR4 definition.
155
156 Wed Mar 18 15:51:15 1992 Per Bothner (bothner@cygnus.com)
157
158 Some improvements to g++ debugging.
159 * symtab.c (list_symbols): demangle before pattern matching.
160 * symtab.c: Other fixes to improve handing of operators.
161 * valprint.c (type_print_base): Fix test for constructor.
162 * values.c (value_static_field): Allow evaluation of
163 CLASS::METHOD, returning a function pointer.
164
165 Wed Mar 18 08:39:52 1992 Fred Fish (fnf@cygnus.com)
166
167 * Makefile.in (VERSION): Roll 4.4.6.
168 * exec.c (exec_file_command): Add code to ignore optional args
169 passed in by file_command() for use in symbol_file_command().
170 * main.c (main): Document -mapped and -readnow in help summary.
171 * objfiles.c (open_mapped_file): Cosmetic change, arg renamed.
172 * objfiles.c (allocate_objfile): Filename arg removed. Changes
173 to get filename from bfd with bfd_get_filename(). Test mapto
174 against 0, not NULL. Use mstrsave() to make copy of filename.
175 * remote-mm.c (mm_load): Symbol_file_add() takes an additional
176 arg.
177 * remote-vx.c (vx_load_command, add_symbol_stub):
178 Symbol_file_add() takes an additional arg.
179 * solib.c (symbol_add_stub): Symbol_file_add() takes an
180 additional arg.
181 * symfile.c (symfile_open): Renamed to symfile_bfd_open and
182 changed to return a bfd not an objfile pointer.
183 * symfile.c (syms_from_objfile): Eliminate local copy of bfd.
184 * symfile.c (symbol_file_add): Takes an additional arg (readnow).
185 Change to eliminate local bfd and use symfile_bfd_open() plus
186 allocate_objfile(). Add code to implement readnow option.
187 * symfile.c (symbol_file_command): Changes to option handling,
188 readnow functionality moved to symbol_file_add().
189 * symfile.c (symfile_init): Eliminate local copy of bfd.
190 * symfile.c (add_symbol_file_command): Changes to parse mapped
191 and readnow options.
192 * symfile.h (allocate_objfile): Arg removed from prototype.
193 * symtab.h (symbol_file_add): Arg added to prototype.
194 * xcoffexec.c (map_vmap): Allocate_objfile() takes an additional
195 arg.
196
197 Sat Mar 14 16:38:47 1992 Fred Fish (fnf@cygnus.com)
198
199 * gmalloc.c, gmalloc.h mcheck.c mmap-alloc.c mmap-sbrk.c mtrace.c,
200 mtrace.awk, state.c, state.h: Removed.
201 * .gdbinit: Add ../malloc, ../libiberty, and ../bfd to list of
202 directories searched for source files.
203 * Makefile.in (GNU_MALLOC, MALLOC_CFLAGS, MALLOCSRC): Removed
204 * Makefile.in (MMALLOC_DIR, MMALLOC_DEP, MMALLOC_LIB,
205 MMALLOC_DISABLE, MMALLOC_CHECK, MMALLOC_CFLAGS): Add
206 * Makefile.in (CFLAGS): Replace MALLOC_CFLAGS with MMALLOC_CFLAGS.
207 * Makefile.in (CLIBS, CDEPS): Add MMALLOC_LIB
208 * Makefile.in (ADD_FILES, ADD_DEPS): Remove GNU_MALLOC.
209 * Makefile.in (SFILES_MAINDIR): Remove stat.c mmap-alloc.c, mmap-
210 sbrk.c
211 * Makefile.in (HFILES): Remove state.h
212 * Makefile.in (POSSLIBS_MAINDIR): Remove MALLOCSRC.
213 * Makefile.in (OBS): Remove state.o mmap-alloc.o mmap-sbrk.o
214 * Makefile.in (saber_gdb): Remove mcheck, mtrace. Add MMALLOC_DIR.
215 * Makefile.in (clean): Remove all object files.
216 * c-exp.y: Define malloc to xmalloc and realloc to xrealloc.
217 * cplus-dem.c: Remove prototypes definitions that are now done in
218 def.h.
219 * dbxread.c (throughout): Change from using per-objfile
220 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
221 * defs.h: Remove prototypes for mmap_* functions. Add prototypes
222 for xmmalloc, xmrealloc, mfree, mmcheck, mmtrace, mmalloc_attach,
223 mmalloc_detach, mmalloc_setkey, msavestring, and mstrsave, nomem.
224 * depend: Remove dependencies for state.o, state.h.
225 * dwarfread.c: Add declaration for warning_pre_print.
226 * dwarfread.c (dwarfwarn): Use warning_pre_print.
227 * dwarfread.c (throughout): Change from using per-objfile
228 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
229 * gdbtypes.c (lookup_fundamental_type): Fix init_type calls to
230 use supplied objfile.
231 * i386-xdep.c (print_387_status): Change to use warning() rather
232 than printfs.
233 * i387-tdep.c (print_387_control_word): Change to use warning()
234 rather than printfs.
235 * infrun.c (wait_for_inferior): Remove unreachable abort() call
236 that some compilers grumble about.
237 * language.c (throughout): Add declaration for warning_pre_print
238 and using warning() instead of printfs.
239 * m2-exp.y: Define malloc to xmalloc and realloc to xrealloc.
240 * main.c (main): Add declaration for warning_pre_print and set it
241 similarly to error_pre_print. Add declarations for
242 mapped_symbol_files and readnow_symbol_files. Add appropriate
243 definitions to long_options[].
244 * minsyms.c: Trivial fix to comment.
245 * objfiles.c (allocate_objfile): Substantially rewritten for
246 using mapped symbol files.
247 * objfiles.c (throughout): Change from using per-objfile
248 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
249 * objfiles.c (open_mapped_file, mapped_to_address): Add functions.
250 * source.c (throughout): Change from using per-objfile
251 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
252 * source.c (open_source_file): Use mstrsave to save file name in
253 mapped symbol region for objfile.
254 * symfile.c: Remove include for state.h.
255 include to local form.
256 * symfile.c (symbol_file_add_digested): Remove.
257 * symfile.c (symbol_file_add): Substantially rewritten for mapped
258 symbol files.
259 * symfile.h: Remove malloc/xrealloc/xmalloc/xrealloc/free members
260 from objfile structure. Add malloc descriptor pointer (md).
261 * symfile.h (OBJF_DUMPABLE): Changed name to OBJF_MAPPED.
262 * symm-xdep.c (print_fpu_status): Use warning() rather than
263 printfs.
264 * symmisc.c (free_symtab_block): Now takes and uses current
265 objfile pointer.
266 * symmisc.c (throughout): Change from using per-objfile
267 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
268 * symtab.c (cplus_mangled_symbol): Cast return value to avoid
269 Sun compiler grumblings when PTR is char *.
270 * symtab.c (lookup_symbol): Cast return value of iterate_over_
271 msymbols() to correct pointer type.
272 * utils.c (warning_pre_print): Initialize to "\nwarning: ".
273 * utils.c (fatal, fatal_dump_core): Ensure that the fatal
274 error always starts on a line of it's own.
275 * utils.c (init_malloc, malloc_botch, xmalloc, xrealloc):
276 Rewrite for new mapped malloc package use.
277 * utils.c (mmalloc, mrealloc, mfree): Stubs for configurations
278 that don't want to use the mapped malloc package; pass arguments
279 on to traditional malloc package functions.
280 * utils.c (nomem): Add for fatal virtual memory exhausted aborts.
281 * utils.c (xmmalloc, xmrealloc, xmalloc, xrealloc): Like mmalloc,
282 mrealloc, malloc, and realloc but get fatal error if runs out
283 of memory.
284 * utils.c (msavestring, mstrsave): Save a string in a specific
285 mapped malloc region.
286 * utils.c (print_spaces): Use xmalloc to get the buffer.
287 * xm-amix.h, xm-i386v4.h, xm-sun3os4.h, xm-sun4os4.h: Add defines
288 for MMAP_BASE_ADDRESS and MMAP_INCREMENT.
289 * config/i386v4.mh: Insignificant reorganization.
290
291 Sat Mar 14 11:44:47 1992 Fred Fish (fnf@cygnus.com)
292
293 * xcoffread.c: Only enable compilation of debugging functions
294 if IBM6000 is defined. Fails to compile otherwise.
295
296 Fri Mar 13 15:51:11 1992 K. Richard Pixley (rich@cygnus.com)
297
298 * Makefile.in: pass MAKEINFO down on info.
299
300 Fri Mar 13 12:56:36 1992 John Gilmore (gnu at cygnus.com)
301
302 * mipsread.c (mipscoff_symfile_read): Eliminate a lot of
303 useless code, including an lseek to an uninitialized variable.
304 Reported by Jim Williams <jimbo@wrs.com>.
305
306 Thu Mar 12 11:56:46 1992 Per Bothner (bothner@cygnus.com)
307
308 Merged in patches from metin@ibmpa.awdpa.ibm.com (Metin G.
309 Ozisik) (dated Fri, 6 Mar 92 17:51) for the rs6000.
310 * minsyms.c, symfile.c: Changes that may be generally
311 applicable, but are #ifdef IBM6000 for now.
312 * rs6000-xdep.c: Fixed typo in comment.
313 * rs6000-tdep.c: Non-substatial changes.
314 * xoffread.c: The main change here is addition of some
315 debugging functions.
316 * xoffexec.c: More changes.
317
318 * xcoffread.c: Fixed two too-few-parameters bugs.
319
320 * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
321 to SOLIB_CREATE_INFERIOR_HOOK macro.
322
323 Sun Mar 8 21:17:48 1992 Fred Fish (fnf@cygnus.com)
324
325 * symfile.h: Add prototype for iterate_over_msymbols().
326 * symtab.c (cplus_mangled_symbol): Add function.
327 * symtab.c (lookup_symbol): Call cplus_mangled_symbol via
328 iterate_over_msymbols to find demangled C++ symbol.
329 * xcoffexec.c (relocate_minimal_symbol): Return meaningful
330 value to iterate_over_msymbols().
331 * xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
332 msymbols().
333
334 Fri Mar 6 21:59:34 1992 K. Richard Pixley (rich@cygnus.com)
335
336 * Makefile.in: added check target.
337
338 Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com)
339
340 * ecoff.c: Move to ../bfd/coff-msym.c.
341 * config/mt-*mips: Remove ecoff.o from the configuration.
342 * remote.c (): Add newline to initial +.
343 (remote_resume): Mention how to cope with signals.
344 (remote_interrupt): Add debug msg.
345 (remote-wait): Implement new 'T' reply, which includes
346 status, PC, and FP all in a single short message.
347 (putpkt): Add further debugging of packet acks.
348 * mipsread.c (fixup_symtab): Also swap RFD's.
349 (parse_partial_symbols): Avoid bug on unknown symbol types.
350 * Makefile.in (VERSION): Roll to 4.4.5.
351 * mips-tdep.c (heuristic_proc_start): Avoid long delays
352 for remote MIPS by limiting heuristic to 200 byte search.
353 (heuristic_proc_desc): Byte-swapping.
354 (mips_print_register): Cope with failure of
355 read_relative_register_raw_bytes. Byte-swap integers for
356 printing.
357 * mips-pinsn.c (print_insn): Byte-swap instruction.
358
359 Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com)
360
361 * config.sub configure.in config/.Sanitize config/mh-irix4
362 gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
363 gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
364 gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
365 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
366
367 Wed Mar 4 11:56:42 1992 Fred Fish (fnf@cygnus.com)
368
369 * defs.h, utils.c: xrealloc takes PTR as first arg.
370 * defs.h: Reword confusing comment about ANSI prototypes.
371 * defs.h: Some minor whitespace changes.
372 * infrun.c (wait_for_inferior): Compare int tmp to int 0,
373 not NULL, which can be (void *).
374 * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling.
375 * tm-i386v.h (SP_ARG0): Define
376 * xm-sysv4.h: Back out of change for missing prototypes.
377 * i386-tdep.c (get_longjmp_target): Add function.
378
379 Wed Mar 4 05:46:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
380
381 * Makefile.in: install man page too.
382
383 Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
384
385 * All GDB files that #include defs.h: Removed stdio.h.
386 (defs.h): #include stdio.h.
387
388 Mon Mar 2 23:00:12 1992 Steve Chamberlain (sac@thepub.cygnus.com)
389
390 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
391 a ptype to reflect the setting of TARGET_PTR_BIT. Set the
392 TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
393 * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
394 * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
395 it before printing out the hex shape of an address.
396
397 Sun Mar 1 17:41:09 1992 Per Bothner (bothner@cygnus.com)
398
399 * rs6000-xdep.c (frame_initial_stack_address): Move
400 code to set frame->cache_fsr into new separate function
401 frame_get_cacahe_fsr. This allows fixing a fatal error.
402 * xcoffexec.c: Turn previously suppressed error
403 message back on, after cleaning up BFD.
404
405 * breakpoint.c (breakpoint_re_set): Removed (at least for now)
406 printing of blank line, since it cases printing of an
407 extra blank line. Is this intended? It does mess up
408 gdb test suite.
409 * defs.h: Put back declarations of malloc and realloc,
410 but protected by #ifndef MALLOC_INCOMPATIBLE.
411 * objfiles.c: Undo previous change: Use malloc/realloc
412 for objfile malloc/realloc fields (but add a cast).
413 * xcoffexec.c: Suppress an error message (for now).
414
415 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
416
417 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
418 [Mail dated Fri, 21 Feb 92 13:14:54 -0800]
419 * buildsym.c: Use smash_to_pointer_type() to handle forward type
420 references.
421 * xcoffread.c: Modifications to C_DECL storage class handling, and
422 introduction of an old smash_to_pointer_type() routine.
423
424 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
425 [Mail dated Thu, 20 Feb 92 13:57:16 -0800]
426 * rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h: function_frame_info()
427 parameters have been modified.
428
429 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
430 [Mail dated Thu, 20 Feb 92 10:10:05 -0800]
431 * rs6000-tdep.c: Before Feb 5 92, register_valid[] array was not used,
432 and fetch_inferior_registers() always fetched all the registers
433 resulting valid register values at hand all the time. Pushing a dummy
434 frame did not require validating all register values first. After
435 putting the above mechanism into action, we didn't have valid registers
436 values always ready. Thus, all registers need to be fetched before
437 pushing a dummy frame now.
438
439 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
440 [Mail dated Thu, 13 Feb 92 16:22:44 -0800]
441 * rs6000-xdep.c: frame_initial_stack_address() function to calculate
442 the starting address (actual frame address) of a frame.
443 * rs6000-tdep.c: modifications to function_frame_info() to see if
444 function reserves a frame pointer register (alloca register)
445 * tm-rs6000.h: EXTRA_FRAME_INFO, FRAME_ARGS_ADDRESS and
446 FRAME_LOCALS_ADDRESS has been updated to support debugging of
447 functions with alloca() calls.
448
449 Sun Mar 1 13:13:39 1992 Fred Fish (fnf@cygnus.com)
450
451 * xm-sysv4.h: Provide definitions/prototypes for host environment
452 functions for which no definitions or prototypes are provided in
453 any currently included gdb or host environment header files.
454 For SVR4, this currently includes malloc and realloc, which cannot
455 be portably prototyped in any gdb include file.
456
457 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
458
459 * buildsym.h: Remove obsolete variable file_stabs.
460
461 * Makefile.in: Move place where configure merges in host-
462 and target-dependent fragments later, so the latter
463 can override (say) GNU_MALLOC.
464 * config/mh-rs6000: Use system malloc. Otherwise, I
465 ended up with *two* incompatible versions of malloc
466 (functions in libc would call the malloc in libc).
467 I assume this is a shared library problem.
468
469 * remote.c: Fix (presumed) typo.
470 * objfiles.c: Use xmalloc/xrealloc instead of
471 malloc/realloc (since the latter are no longer declared).
472
473 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
474 [Mail dated Thu, 6 Feb 1992 10:22:02 -0800]
475 * rs6000-xdep.c: Improvements to fetch_inferior_registers() to
476 handle individual registers.
477 * tm-rs6000.h: Fix SAVED_PC_AFTER_CALL macro to handle pc value
478 correctly in case it wasn't cached yet. (A problem showed up
479 after fetching individual registers.)
480 * buildsym.c: Disable type_synonym_name's type name overwriting
481 in cases it is unnecesary. rs6000 portation doesn't use
482 type_synonym_name, and it used to nullify type names
483 * xcoffread.c: to handle g++'s typename abbreviation, fill in a
484 type's name as soon as space for that type is allocated.
485 * xcoffread.c: ignore a section's lineno information if it is
486 not `.text'. (In rs6000 bfd portation integration, skipping over
487 `.pad' sections are ignored since it was in machine independent
488 part of the code. Thus, a problem of fake sections with invalid
489 lineno information arised.)
490
491 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
492 [Mail dated Thu, 6 Feb 1992 13:26:22 -0800]
493 * rs6000-tdep.c: make function_frame_info() work whether or not
494 reading from a core file.
495 * tm-rs6000.h: Implementation of FRAME_FIND_SAVED_REGS macro.
496
497 * infrun.c. main.c, printcmd.c. symtab.c:
498 More changes from IBM for rs6000.
499
500
501 Thu Feb 27 22:57:19 1992 Per Bothner (bothner@cygnus.com)
502
503 * rs6k-opcode.h, tm-rs6000.h, xm-rs6000.h, rs6000-tdep.c,
504 rs6000-xdep.c, xcoffexec.c, xcoffread.c:
505 Merge in changes (mostly from IBM) for RS6000.
506 * breakpoint.c, buildsym.c, infptrace.c, stack.c, symtab.c:
507 More changes from IBM for RS6000. These are in machine-
508 independent code, and probably could do with some cleaning
509 up. The most questionable of these are #ifdef IBM6000.
510 * infrun.c, sparc-tdep.c: Pass a parameter (signal number)
511 to single_step() (for consistency with rs6000 and i860).
512 * utils.c: Allow the 1st arg to xrealloc to be NULL
513 (in which case do malloc). This removes the need for
514 some tests in xcoff code (and perhaps other places?).
515 * coffread.c: Removed variables last_source_file,
516 type_vector, and type_vector_length as these are now
517 defined by buildsym.[ch].
518 * defs.h: Remove prototypes for malloc and realloc, since
519 these should only be used to implement xmalloc and xrealloc,
520 and they conflict with <stdlib.h> in AIX - where they
521 return void* even when __STDC__ isn't defined. Sigh.
522 * munch: Recognize *initialize* in data as well as text
523 (AIX uses data). Also, incorporate a patch from Garrett
524 Wollman <wollman@uvm-gen.uvm.edu> to make the sed script
525 much more sensible, by only trying to match the name of
526 the initialize_foo function, and not the junk before it.
527
528 Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com)
529
530 * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
531 unless symbol table indicates that something has changed.
532
533 Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com)
534
535 * remote.c: Make it work for embedded MIPS. Increase buffer
536 size, and use throughout. Round buffer size up if too many regs.
537 Support baud rate setting and try for an 8-bit path. If
538 interrupted while waiting for target, send a ^C down the wire.
539 Avoid single-byte reads.
540 * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
541 and NUM_REGS.
542 * mips-xdep.h: Avoid the embedded regs when on Unix.
543
544 * mipsread.c: Byte-swap the symbol table structures, using
545 routines from ecoff.c, to read a symbol table written in any
546 of the four possible byte orders.
547 * configure.in (mips-big-* target): Same as Sony News.
548 * config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
549 * ecoff.c: New file for symbol swapping routines.
550
551 Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com)
552
553 * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
554 all-breakpoints' command.
555 * (get_number): Allow users to enter negative breakpoint numbers.
556 * (breakpoint_1): Reformat display of 'info break' to show new
557 fields.
558 * (create_longjmp_breakpoint, breakpoint_re_set,
559 breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
560 symfile.c (syms_from_objfile): Re-do
561 insertion of longjmp breakpoints. Move all code into
562 breakpoint_re_set, and call that instead of
563 create_longjmp_breakpoint in symfile.c.
564
565 Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com)
566
567 * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
568 * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE.
569 * symtab.c (find_pc_symtab): Handle having no objfiles.
570 * infcmd.c: Fix comment.
571 * objfiles.c (free_all_objfiles): Add.
572 * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add.
573 * symfile.c (symbol_file_command): free all objfiles when
574 specifying a new symbol file.
575 (reread_symbols): Stat the file name, don't fstat the descriptor.
576
577 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
578
579 * Makefile.in, configure.in: removed traces of namesubdir,
580 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
581 copyrights to '92, changed some from Cygnus to FSF.
582
583 Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com)
584
585 * dbxread.c (end_psymtab): Delete empty psymtabs.
586 * symfile.c (allocate_psymtab): Recycle empty psymtabs.
587 * symfile.h (struct objfile): Add free_psymtabs.
588
589 Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com)
590
591 * Makefile.in (VERSION): Roll to gdb-4.4.4.
592
593 * symfile.c (symbol_file_command): strcmp => !strcmp.
594 * breakpoint.h: Move prototypes to follow enum definition they need.
595 * breakpoint.c, infrun.c: Lint.
596 * printcmd.c: Use `enum enable' rather than `enum
597 display_status'.
598 * mipsread.c: First pass at making it compile with the new
599 objfile changes. Probably seriously broken still, but it
600 compiles. FIXME.
601
602 Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com)
603
604 * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
605 breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
606 mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
607 stepping (and nexting) through longjmp(). Also, cleanup
608 breakpoint handling quite a bit by creating explicit breakpoint
609 types instead of using magic breakpoint numbers.
610 Makefile.in: Update version to 4.4.3
611
612 Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com)
613
614 * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c,
615 minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint.
616 * symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
617
618 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
619
620 * minsyms.c (install_minimal_symbols): Add bunches to any
621 existing minsyms in the objfile. Avoid extra mallocation
622 by working directly in the obstack. Remove ignored `mainline' parm.
623 * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
624 xcoffread.c: Change all callers.
625 * FIXME: We should be able to eliminate MAINLINE from all the
626 symbol readers now, with a small bit of work.
627
628 * valops.c, value.h: Lint.
629 * remote-vx.c: Add missing break; statement. Bugfix by
630 Michael Sclafani, <sclafani@src.dec.com>.
631
632 Fri Feb 21 17:29:54 1992 Fred Fish (fnf at cygnus.com)
633
634 * Makefile.in (VERSION): Update version to 4.4.2
635 * Makefile.in (SFILES_MAINDIR): Add gdbtypes.c, state.c, objfiles.c,
636 minsyms.c, mmap-alloc.c, mmap-sbrk.c
637 * Makefile.in (HFILES): Add gdbtypes.h, state.h, solib.h
638 * Makefile.in (OBS): Add gdbtypes.o, state.o, objfiles.o, minsyms.o,
639 mmap-alloc.o, mmap-sbrk.o
640
641 * altos-xdep.c: Minor whitespace change.
642 * am29k-tdep.c (examine_prologue): Convert from misc function vector
643 use to new minimal symbol table use.
644 * arm-xdep.c (fetch_inferior_registers): Document unused argument.
645 * arm-xdep.c (store_inferior_registers): Returns void.
646 * blockframe.c (get_pc_function_start, find_pc_partial_function):
647 Convert from misc function vector use to new minimal symbol table use.
648 Remove find_pc_misc_function(). Ifdef out block_innermost_frame().
649 * breakpoint.c: Add prototypes for local functions.
650 * breakpoint.c (catch_command_1): Change to static and remove unused
651 local "pc".
652 * breakpoint.c (map_breakpoint_numbers): Prototype arg "function".
653 * breakpoint.h: Change function decls to prototype form.
654 * buildsym.c: Add prototypes for local functions.
655 * buildsym.c: Moved hashname() function here from dbxread.c.
656 * buildsym.c (dbx_lookup_type): Cast args to xrealloc().
657 * buildsym.c: Remove dbx_create_type(), uses changed to alloc_type().
658 * buildsym.c (dbx_alloc_type): Change to static.
659 * buildsym.c (finish_block): Add objfile parameter.
660 * buildsym.c (misc): Change symbol_obstack to objfile version.
661 * buildsym.c (make_blockvector): Change to static.
662 * buildsym.c (start_subfile): Use strdup instead of obsavestring.
663 * buildsym.c (compare_line_numbers): Change to static, args are const,
664 cast args when used.
665 * buildsym.c (start_symtab): Inline new_object_header_files() call.
666 * buildsym.c (patch_block_stabs): Moved to this file from xcoffread
667 and made static. Add objfile parameter.
668 * buildsym.c (end_symtab): Simplify code using line table size.
669 Realloc the linetable on the objfile symbol_obstack and copy there.
670 * buildsym.c (scan_file_globals): Convert from misc function vector
671 use to new minimal symbol use.
672 * buildsym.c (define_symbol): Add objfile parameter. Make sure
673 strings get allocated in objfile's symbol_obstack. Convert references
674 to builtin types to lookup_fundamental_type().
675 * buildsym.c (read_type): Make static, add objfile parameter, convert
676 references to buildin types to lookup_fundamental_type().
677 * buildsym.c (read_struct_type): Add objfile parameter.
678 * buildsym.c (read_array_type): Make static, add objfile parameter.
679 * buildsym.c (read_enum_type): Make static, add objfile parameter.
680 * buildsym.c (read_huge_number): Make static.
681 * buildsym.c (read_range_type): Make static, add objfile parameter,
682 convert references to buildin types to lookup_fundamental_type ().
683 * buildsym.c (read_args): Make static, add objfile parameter.
684 * buildsym.h: Convert function decl's to prototype form.
685 * c-exp.y: Add prototypes for local functions, convert uses of misc
686 function vector to minimal symbol table. Reformat all builtin type
687 initializations and pass a NULL objfile to init_type() for them.
688 * coffread.c: Change context_stack ref's to coff_context_stack,
689 add local function prototypes. Cast uses of xrealloc arg 1.
690 * coffread.c (coff_alloc_type): Call alloc_type instead of hand-
691 crafting a new type.
692 * coffread.c (add_symbol_to_list): Change to coff_add_symbol_to_list.
693 * coffread.c (finish_block): Change name to coff_finish_block.
694 * coffread.c (make_blockvector): Add and use objfile parameter.
695 * coffread.c (record_line): Change name to coff_record_line.
696 * coffread.c (start_symtab): Change name to coff_start_symtab.
697 * coffread.c (end_symtab): Change name to coff_end_symtab.
698 * coffread.c (record_misc_function): Change name to record_minimal_
699 symbol and change to minimal symbol table use from misc func tbl.
700 * coffread.c (coff_symfile_read): Convert from misc function vector
701 use to minimal symbol table use.
702 * coffread.c (hashname): Remove; use common version in buildsym.c.
703 * coffread.c (decode_base_type): Change references to builtin types
704 to calls to lookup_fundamental_type().
705 * coffread.c (read_struct_type): Change name to coff_read_struct_type.
706 * coffread.c (read_enum_type): Change name to coff_read_enum_type.
707 * command.c: Add prototypes for local functions.
708 * command.c (add_cmd): Prototype the 'fun' parameter and use the
709 appropriate member of the function union for that type.
710 * command.c (add_abbrev_cmd): Prototype the 'fun' parameter and
711 ifdef out the function since it isn't currently used.
712 * command.c (add_alias_cmd): Pass correct function type to add_cmd.
713 * command.c (add_prefix_cmd): Prototype the 'fun' parameter.
714 * command.c (add_abbrev_prefix_cmd): Prototype the 'fun' parameter.
715 * command.c (help_cmd): Compare function pointer to NULL.
716 * command.c (help_cmd_list): Compare function pointer to NULL.
717 * command.c (lookup_cmd_1): Use correct member of function union.
718 * command.c (undef_cmd_error): Make static.
719 * command.c (complete_on_cmdlist): Use correct member of func union.
720 * command.c (do_setshow_command): Use correct member of func union.
721 * command.c (shell_escape): Convert rindex use to strrchr.
722 * command.h (COMMAND_H): Define if already included.
723 * command.h (cmd_list_element struct): Change 'function' to a union
724 and prototype args. Prototype completer function.
725 * command.h: Convert decl's to prototype form.
726 * convex-xdep.c (store_inferior_registers): Returns void.
727 * copying.c: Prototype local functions.
728 * coredep.c: Minor whitespace change.
729 * cplus-dem.c: Remove hack to use BSD equivalents of mem* and str*.
730 * cplus-dem.c: Prototype local functions.
731 * dbxread.c (hashname): Remove; moved to buildsym.c.
732 * dbxread.c (free_and_init_header_files): Make static.
733 * dbxread.c: Add prototypes for local functions.
734 * dbxread.c (new_object_header_files): Remove; inlined usages.
735 * dbxread.c (xrealloc usages): Cast args.
736 * dbxread.c (record_misc_function): Change to record_minimal_symbol
737 and change usages accordingly.
738 * dbxread.c (static_psymbols usages): Change to use per-objfile copy.
739 * dbxread.c (xmalloc usages): Use per-objfile copy when appropriate.
740 * dbxread.c (dbx_next_symbol_text): Make static.
741 * dbxread.c (init_psymbol_list): Convert to use per-objfile data.
742 * dbxread.c (init_bincl_list): Add and use objfile parameter.
743 * dbxread.c (free_bincl_list): Add and use objfile parameter.
744 * dbxread.c (compare_psymbols): Remove; use common symfile.c version.
745 * dbxread.c (end_psymtab): Convert to use per-objfile data.
746 * dwarfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for
747 prototypes.
748 * dwarfread.c (record_misc_function): Change name to record_minimal_
749 symbol and use minimal symbol table throughout.
750 * dwarfread.c (compare_psymbols): Remove; use common symtab.c version.
751 * dwarfread.c: Convert all references to builtin types to use the new
752 lookup_fundamental_type function.
753 * dwarfread.c (read_enumeration): Add and use objfile parameter.
754 * elfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for proto-
755 types.
756 * elfread.c (record_misc_function): Convert to use record_minimal_
757 symbol.
758 * elfread.c (elf_symtab_read): Add objfile parameter.
759 * eval.c: Add prototypes for local functions and move some decls
760 around to accomodate prototypes.
761 * expprint.c: Add prototypes for local functions. Change references
762 to misc function vector to minimal symbol table.
763 * findvar.c (read_memory usages): Cast args.
764 * gdbtypes.h: New file, type info from symfile.h and symtab.h.
765 * gmalloc.c: Use NOARGS where prototypes used hardwired void.
766 * gmalloc.c (BLOCKSIZE): Constant to be shifted is unsigned.
767 * gmalloc.h: Use NOARGS where prototypes used hardwired void.
768 * gould-xdep.c: Minor whitespace change.
769 * hp300ux-xdep.c (fetch_inferior_registers): Remove unused regno var.
770 * hp300ux-xdep.c (store_inferior_registers): Returns void.
771 * hp300ux-xdep.c (fetch_core_registers): Takes unused arg reg_addr.
772 * i386-stub.c: Add prototypes, change "volatile" to NORETURN.
773 * i386-tdep.c: Add prototypes for local functions.
774 * i386-tdep.c (codestream_fill, codestream_seek, codestream_read,
775 i386_get_frame_setup, i386_skip_prologue): Explicitly declare params
776 that defaulted to int.
777 * i386-tdep.c (i386_follow_jump, i386_frame_find_saved_regs,
778 i386_push_dummy_frame): Returns void.
779 * i386-xdep.c (i386_register_u_addr): Declare params that default to
780 int and explicitly declare return type as int.
781 * i387-tdep.c: Minor formatting changes.
782 * i960-tdep.c (leafproc_return): Convert from misc function vector
783 use to minimal symbol table use.
784 * infcmd.c: Add prototypes for local functions.
785 * infcmd.c (continue_command, until_next_command, until_command,
786 path_info, path_command): Make static.
787 * infcmd.c (step_1, until_next_command): Convert from misc func
788 vector to minimal symbol table use.
789 * inflow.c: Add prototypes for local functions.
790 * infptrace.c (store_inferior_registers): Returns void, not int.
791 * language.c (_initialize_language): Use proper member of function
792 union.
793 * m2-exp.y: Add prototypes for local functions, convert misc function
794 vector uses to minimal symbol table uses.
795 * m2-exp.y (make_qualname, yyerror): Make static.
796 * m2-exp.y (_initialize_m2_exp): Call init_types with NULL objfile.
797 * m68k-pinsn.c: Add prototypes for local functions.
798 * m68k-pinsn.c (print_insn): Cast args to read_memory.
799 * m68k-pinsn.c (fetch_arg): Make parameter 'code' and int.
800 * m68k-stub.c: Add prototypes.
801 * m88k-pinsn.c (sprint_address): Convert from misc function vector
802 use to minimal symbol table use.
803 * m88k-xdep.c (fetch_inferior_registers): Takes an unused parameter.
804 * m88k-xdep.c (store_inferior_registers): Returns void.
805 * mach386-xdep.c (fetch_inferior_registers): Takes an unused param.
806 * mach386-xdep.c (store_inferior_registers): Returns void.
807 * mach386-xdep.c (fetch_core_registers): Takes an unused parameter.
808 * main.c: Add prototypes for local functions.
809 * main.c (return_to_top_level): Is type NORETURN (volatile). Cast
810 longjmp() result to (NORETURN void).
811 * main.c (catch_errors): Prototype the 'func' parameter.
812 * main.c (disconnect, stop_sig, do_nothin, float_handler):
813 Takes an unused arg.
814 * main.c (execute_command): Call the right member of the func union.
815 * main.c (command_loop_marker, symbol_completion_function,
816 command_loop): Make static.
817 * main.c (command_line_input): Make linelength unsigned, cast arg
818 to command_line_input().
819 * main.c (add_info, add_com): Prototype the 'fun' parameter.
820 * main.c (initialize_main): Call right member of function union.
821 * mcheck.c (NOARGS): Change hardwired void in prototypes to NOARGS.
822 * mem-break.c: Include symtab.h
823 * mips-xdep.c (fetch_inferior_registers): Takes unused param.
824 * mips-xdep.c (store_inferior_registers): Returns void.
825 * mipsread.c (mipscoff_symfile_read): Change from misc function vector
826 use to minimal symbol table use.
827 * mipsread.c (symbol_obstack usages): Convert all to use per-objfile
828 version.
829 * mipsread.c (make_type): Remove, convert usages to init_type.
830 * mipsread.c (_initialize_mipsread): Call init_type with NULL objfile.
831 * nindy-tdep.c (nindy_frame_chain_valid): Convert from misc function
832 vector use to minimal symbol table use.
833 * parse.c: Add prototypes for local functions.
834 * parse.c (xrealloc usages): Cast args.
835 * parse.c (prefixify_expression, length_of_subexp): Make static.
836 * parser-defs.h (PARSER_DEFS_H): Define when first included.
837 * parser-defs.h: Convert function decls to prototype form.
838 * partial-stab.h: Convert from misc function vector use to new minimal
839 symbol table use.
840 * partial-stab.h (global_psymbols, static_psymbols usages): Reference
841 the per-objfile copies.
842 * printcmd.c: Add prototypes for local functions. Move some struct
843 definitions around to accomodate prototypes.
844 * printcmd.c (decode_format): Make static, change args oformat and
845 osize to int from char.
846 * printcmd.c (print_formatted): Change 'format' and 'size' to int.
847 * printcmd.c (print_scalar_formatted): Change arg 'format' to int.
848 * printcmd.c (print_address_symbolic): Convert from misc function
849 vector use to minimal symbol table use.
850 * printcmd.c (address_info): Convert from misc function vector use
851 to minimal symbol table use.
852 * printcmd.c (delete_display, enable_display, disable_display_command):
853 Make static.
854 * procfs.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
855 * procfs.c (fetch_core_registers): Add unused param reg_addr.
856 * pyr-xdep.c (fetch_inferior_registers): Add unused param regno.
857 * pyr-xdep.c (store_inferior_registers): Returns void.
858 * remote-mm.c (mm_load): symbol_file_add return value unused.
859 * remote-nindy.c: Minor format change.
860 * remote-vx.c (vx_load_command): symbol_file_add result unused.
861 * rs6000-xdep.c (fetch_inferior_registers): Add unused param regno.
862 * rs6000-xdep.c (store_inferior_registers): Returns void.
863 * rs6000-xdep.c (fetch_core_registers): add unused param reg_addr
864 * rs6000-xdep.c (aixcoff_relocate_symtab): Convert from misc function
865 vector use to minimal symbol table use.
866 * solib.c: Add prototypes for local functions.
867 * solib.c (solib_add_common_symbols, locate_base): Convert from misc
868 function vector use to minimal symbol table use.
869 * solib.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
870 * solib.c (find_solib, shared_library_command): Make static
871 * solib.c (read_memory, write_memory usages): Cast args.
872 * solib.c (special_symbol_handling): Add function
873 * source.c: Add prototypes for local functions.
874 * source.c (select_source_symtab): Convert to scan objfiles.
875 * source.c (open_source_file): Make static.
876 * source.c (xrealloc usages): Cast args.
877 * source.c (source_line_charpos): ifdef out, unused.
878 * source.c (get_filename_and_charpos): Make static.
879 * stack.c: Add prototypes for local functions.
880 * stack.c (print_frame_info, frame_info): Convert from misc function
881 vector use to minimal symbol table use.
882 * symfile.c: Add prototypes for local functions.
883 * symfile.c (compare_symbols): Make args const PTR's.
884 * symfile.c (compare_psymbols, sort_pst_symbols) add.
885 * symfile.c (sort_all_symtab_syms): Scan objfile list.
886 * symfile.c (obsavestring): Add objfile parameter.
887 * symfile.c (init_misc_bunches, prim_record_misc_function,
888 compare_misc_functions, discard_misc_bunches, condense_misc_bunches,
889 sort_misc_function_vector, compact_misc_function_vector): Remove
890 * symfile.c (symbol_file_add_digested): Add function.
891 * symfile.c (symbol_file_add): Returns struct objfile *.
892 * symfile.c (symbol_file_command): Modify for state file use.
893 * symfile.c (symfile_open): Add parameter "dumpable".
894 * symfile.c (allocate_objfile, free_objfile): Moved to objfiles.c
895 * symfile.c (load_command, add_symbol_file_command): Make static.
896 * symfile.c (fill_in_vptr_fieldno): Moved to gdbtypes.c
897 * symfile.c (rindex usages): Converted to strrchr.
898 * symfile.c (allocate_psymtab): New
899 * symfile.c (free_named_symtabs): Ifdef out code that needs to be
900 converted to minimal symbol table usage, but no obvious conversion.
901 * symfile.c (free_all_symtabs): Remove.
902 * symfile.c (_initialize_symfile): Use per-objfile info.
903 * symfile.h: Rework the objfile structure to add per-objfile data
904 objects (psymbol_obstack, symbol_obstack, type_obstack,
905 global_psymbols, static_psymbols, msymbols, minimal_symbol_count,
906 fundamental_types, malloc, realloc, free, xmalloc, xrealloc, etc).
907 Add prototypes to function declarations.
908 * symm-tdep.c (symmetry_extract_return_value): Convert from misc
909 function vector usage to minimal symbol table usage.
910 * symmisc.c (DEV_TTY): Define if not defined.
911 * symmisc.c: Add local function prototypes.
912 * symmisc.c (dump_objfile, dump_msymbols, dump-symtab, print_syms,
913 printpsyms_command, print_objfiles, print_objfiles_command):
914 Rework to use iterate_over_*
915 * symtab.c: Add prototypes for local functions.
916 * symtab.c (lookup_symtab_1): Convert to look through objfiles.
917 * symtab.c (lookup_partial_symtab): Scan through objfiles.
918 * symtab.c (lookup_primitive_typename, lookup_typename, lookup_
919 unsigned_typename, lookup_struct, lookup_union, lookup_enum,
920 lookup_template_type, lookup_struct_elt_type, lookup_pointer_type,
921 lookup_reference_type, lookup_member_type, allocate_stub_method,
922 check_stub_method, create_array_type, smash_to_member_type,):
923 Moved to gdbtypes.c
924 * symtab.c (lookup_symbol): Some args are const.
925 * symtab.h: All type related defs and structs moved to gdbtypes.h
926 * symtab.h: Convert decls to prototypes.
927 * target.c (noprocess): Make static.
928 * target.h: Change decl's to prototypes.
929 * tm-sunos.h: (CLEAR_SOLIB, SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK,
930 DISABLE_UNSETTABLE_BREAK) Moved to solib.h.
931 * utils.c (_initialize_utils): Use correct member of function union.
932 * valarith.c: include gdbtypes.h
933 * valops.c: include gdbtypes.h, add prototypes for local functions.
934 * valops.c (value_push, value_arg_push, find_function_addr):
935 Make static.
936 * valops.c (value_string): Convert from misc function vector use
937 to minimal symbol table use.
938 * valops.c (check_field_in): Make arg const.
939 * valprint.c: Add prototypes for local functions.
940 * valprint.c (print_string): Make static
941 * valprint.c (value_print, val_print_fields, val_print): Make arg int.
942 * values.c: Add prototypes for local functions.
943 * values.c (value_headof): Convert from misc function vector to
944 minimal symbol table.
945 * xcoffexec.c: Add prototypes for local functions.
946 * xcoffexec.c (exec_close, file_command, add_to_section_table):
947 Make static.
948 * xcoffexec.c (relocate_minimal_symbol): Add.
949 * xcoffread.c (patch_block_stabs): Moved to buildsyms.c.
950 * xcoffread.c: Add prototypes for local functions.
951 * xcoffread.c (sort_syms): Convert to scan objfiles.
952 * xcoffread.c (read_xcoff_symtab): Make static.
953 * xcoffread.c (various): Replace references to builtin types with
954 calls to lookup_fundamental_type. Replace references to symbol_obstack
955 and psymbol_obstack with pointers to the per-objfile copies.
956 * xcoffread.c (dump_linetable, dump_type, dump_symbol, dump_namespace,
957 dump_block, dump_blockvector, dump_last_symtab, dump_symtabs):
958 Make static.
959 * xcoffread.c (init_stringtab): Add objfile parameter.
960 * gdbtypes.c: New file
961 * minsyms.c: New file
962 * mmap-alloc.c: New file
963 * mmap-sbrk.c: New file
964 * objfiles.c: New file
965 * state.c: New file
966 * state.h: New file
967
968 Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com)
969
970 * Check in Fred Fish's changes in these modules. Fred
971 will make ChangeLog entries for all of them. Update VERSION
972 to 4.4.2.
973
974 Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com)
975
976 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
977 into solib.h.
978 * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
979 sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
980 value.h: Prototypes for static functions; lint.
981 * gdbtypes.h: Empty file to ease transition.
982
983 Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com)
984
985 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
986 inferior.h, language.h, signame.h, target.h, terminal.h,
987 tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
988 xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
989 Lint.
990 * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
991 signame.c, sparc-xdep.c: Prototypes for all static functions.
992 Lint.
993 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
994 remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
995 target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
996 Remove to_call_function and target_call_function, since it
997 always calls the same thing (call_function_by_hand).
998 * core.c, exec.c, solib.c: Rename target_ops sections =>
999 to_sections, etc.
1000 * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
1001 target.h: target_kill takes no args.
1002 * language.c (language_info): Scaffolding to allow briefer
1003 messages when the current language changes. FIXME.
1004 * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
1005 complaints about volatile functions.
1006 * xm-sysv4.h (HAVE_MMAP): Define.
1007
1008 Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com)
1009
1010 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
1011 to make prototypes for all functions declared here.
1012 * cplus-dem.c: Avoid declaring xmalloc and xrealloc.
1013 * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
1014 * environ.c: Include <stdio.h> before defs.h. Minor cleanup.
1015 * ieee-float.h: Use PARAMS for prototypes; make some params const.
1016 * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
1017 * m2-exp.y: Remove unused CONST; Rename OR and AND.
1018 * utils.c: Avoid declaring malloc and realloc. Lint.
1019 (request_quit): Accept signal-number parameter.
1020
1021 Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
1022
1023 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
1024 DIE's. Add new function read_tag_pointer_type() to read them.
1025
1026 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
1027 When creating a new user defined type, check to see if a partial
1028 type already exists, and if so, bash it to fit.
1029
1030 Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com)
1031
1032 * coffread.c (decode_base_type): Pass long, not union.
1033 Fix by Eric Valette, ev@chorus.fr.
1034
1035 Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
1036
1037 * elfread.c (elf_symtab_read): Fix code to correctly track
1038 changes in bfd for absolute symbols.
1039
1040 Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
1041
1042 * xm-vaxbsd.h: Close off comment.
1043
1044 Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
1045
1046 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
1047
1048 Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
1049
1050 * mips-tdep.c (mips_print_registers): Print correct register
1051 number for double pseudo-registers.
1052
1053 Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
1054
1055 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
1056 in the op$::OPERATOR. case. From Steven McCanne,
1057 <mccanne@horse.ee.lbl.gov>.
1058
1059 * exec.c (set_section_name): Pass arg to exec_files_info;
1060 only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
1061
1062 Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
1063
1064 * main.c (print_gdb_version): Copyright msg: only this year.
1065 (cd_command): Avoid changing current_directory on error.
1066
1067 Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
1068
1069 * mipsread.c (parse_partial_symbols): Handle dependencies
1070 between partial symbol tables (when not doing stabs-in-ecoff).
1071 (This used to be handled by parse_fdr, but parse_fdr was
1072 incompatible with handling stabs-in-ecoff, so the code
1073 was re-written to not use parse_fdr. Unfortunately,
1074 the logic to handle dependencies was overlooked.)
1075
1076 Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1077
1078 * coffread.c (read_enum_type): Use the size of a target int when
1079 describing enum.
1080 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
1081 of target int.
1082 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
1083 * symtab.c (lookup_reference_type, lookup_ptr_type): use
1084 TARGET_PTR_BIT to determine size of a pointer
1085 * values.c (unpack_long): when unpacking a REF or a PTR don't
1086 assume the size of the type.
1087
1088 Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
1089
1090 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
1091 looking at its members. Improve guess between struct and union,
1092 only assuming union if multiple members have offsets of zero.
1093
1094 Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
1095
1096 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
1097 (This is just for clarity - and one day permitting us to
1098 change FP0_REGNUM from 38 to 32, which would make more sense.)
1099 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
1100 register numbers in stabs-in-ecoff get handled correctly.
1101
1102 Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
1103
1104 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
1105 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
1106 into BSD and Ultrix.
1107
1108 Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
1109
1110 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
1111
1112 Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
1113
1114 * Makefile.in: Increment version to 4.4.1.
1115 * main.c (print_gdb_version): Update copyright notice.
1116
1117 Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
1118
1119 * mipsread.c: Prepend "struct " to the names of structure
1120 types, and similarly for enums and unions. (This used
1121 to be done, but got lost in the re-write to "guess" the
1122 difference between enum/struct/union.)
1123 Also, guess that a tag is an enum if the first member
1124 has type btNil.
1125
1126 Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
1127
1128 * xm-vax.h: #ifndef ultrix around #include of endian.h and
1129 limits.h (sigh).
1130
1131 Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
1132
1133 * Projects: Patching executables is done.
1134 * Makefile.in (VERSION): Roll to gdb-4.4.
1135 * README, WHATS.NEW: Update for gdb-4.4.
1136
1137 * symfile.c (reread_symbols): Whenever we reread one object
1138 file's symbols, we must restart the scan, because the object_files
1139 chain has been permuted.
1140
1141 * exec.c (exec_files_info): Split out into print_section_info.
1142 Print BFD filename of each section if it's not the default one.
1143 * core.c (core_files_info): Call print_section_info.
1144
1145 * xm-vax.h: Include a few system header files whose definitions
1146 must precede defs.h.
1147 * language.c, language.h: Make some things const.
1148 * expression.h, main.c: const spreads like ooze.
1149
1150 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
1151 since BREAKPOINT values can be >0x80.
1152
1153 Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
1154
1155 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
1156
1157 Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
1158
1159 * sparc-pinsn.c: Remove kludge for preferring architectures.
1160 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
1161 and forever. Add `add' instruction to the set that get checked
1162 for a preceding `sethi' in order to print an absolute address.
1163 Corresponding changes in ../include/opcode/sparc.h needed
1164 to eliminate garbage instructions.
1165
1166 Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
1167
1168 * mipsread.c (parse_partial_symbols): Make sure partial
1169 symbols are created for external symbols (as used to be
1170 the case). This is a bit of a pain with the mips-coff.
1171 It uses a table which points to all of the external
1172 symbols belonging to a particular FDR or psymtab.
1173 Once we've generated this table, we might as well save
1174 it, and then use it in psymtab_to_symtab_1 to find
1175 the symbols to pass to parse_external().
1176 * symfile.c, symfile.c: New function start_psymtab_common
1177 to share the common parts of allocating a new psymtab
1178 for dbxread, mipsread (and later dwarfread). Its code
1179 was pulled out from start_psymtab in dbxread.c.
1180 * dbxread.c (start_psymtab): Use start_psymtab_common().
1181
1182 * valprint.c (val_print): If there is an error when trying
1183 to print a string, check to see if there really is a problem
1184 by reading just one character. If that works, assume
1185 things are ok.
1186
1187 Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
1188
1189 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
1190 cypress, v8 mnemonics in that order.
1191
1192 Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
1193
1194 * sparc-pinsn.c: Put the qsort() back in.
1195
1196 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
1197
1198 * findvar.c (read_register, write_register): Handle machines
1199 where REGISTER_TYPE is not the same size as "int".
1200
1201 Handle debug symbols in dynamically loaded (relocated) code:
1202
1203 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
1204 offset to process_one_symbol.
1205 (process_one_symbol): Take new offset parameter. Add it into
1206 appropriate symbol types to relocate symbols to loaded addresses.
1207 Handle all possible symbol types, and complain() about types that
1208 we don't expect to see.
1209 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
1210 process_one_symbol (FIXME, should pass real offset).
1211
1212 Misc bugfixes:
1213
1214 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
1215 sal's PC value.
1216 (set_breakpoint, break_command_1, until_break_command,
1217 catch_command_1, breakpoint_re_set_one): Use it.
1218 * symtab.h (resolve_sal_pc): Declare.
1219 * infcmd.c (jump_command): Use resolve_sal_pc.
1220
1221 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
1222
1223 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
1224
1225 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
1226
1227 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
1228 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
1229 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
1230
1231 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
1232
1233 * dbxread.c (process_one_symbol): Make a first cut at handling
1234 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
1235
1236 * symtab.c (find_pc_line): Fix stepping into and out of #included
1237 files.
1238
1239 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
1240
1241 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
1242 no longer any need to copy ../include/opcode/* into gdb.
1243
1244 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
1245
1246 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
1247
1248 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
1249
1250 * valprint.c (type_print_base, type_print_method_args):
1251 Print C++ constructor methods without bogus "return type."
1252
1253 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
1254
1255 * infptrace.c (child_xfer_memory): Parameter "target" should
1256 be a pointer to a structure, not the entire structure.
1257
1258 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
1259
1260 * depend: Convert the couple of references to ansidecl.h that
1261 used the local gdb version to use the ../include version.
1262
1263 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
1264
1265 * procfs.c
1266 (child_xfer_memory): Takes pointer to a struct, not entire struct.
1267 (inferior_proc_init): Fix non-ANSI version of args.
1268 (attach): Call print_sys_errmsg with correct number of args.
1269 (mappingflags): Make static, does not need to be global.
1270
1271 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
1272 not the entire struct itself.
1273
1274 * valops.c (value_assign): Cast some args to modify_field() and
1275 {read,write}_register_bytes() correctly.
1276
1277 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
1278
1279 * Makefile.in (MALLOCSRC): Removed reference to removed local
1280 copy of ansidecl.h.
1281
1282 * dwarfread.c (list_in_scope): Needs an initial value, use file
1283 scope.
1284
1285 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
1286
1287 * main.c (main): Make option_index local to keep new getopt happy.
1288 main.c, solib.c, Makefile.in: Update copyright notices.
1289
1290 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
1291
1292 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
1293
1294 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
1295
1296 * Makefile.in (HFILES): Add partial-stab.h.
1297
1298 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
1299
1300 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
1301 New files for stratus. Not complete enough to actually build
1302 on the Stratus machine; that awaits copyright assignment for
1303 i860 changes.
1304
1305 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
1306 for getting custom flags into CFLAGS when doing makes.
1307
1308 * configure.in: Add config information for stratus.
1309
1310 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
1311
1312 * dbxread.c (process_one_symbol): Pass address of structure
1313 to complain(), rather than the whole structure.
1314
1315 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
1316
1317 * solib.c (solib_add_common_symbols): Only compile in when not
1318 using SVR4 style shared libraries.
1319
1320 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
1321
1322 * dwarfread.c (locval): Add offreg flag to indicate location
1323 values that are computed off a base register.
1324
1325 * dwarfread.c (new_symbol): Rework TAG_global_variable and
1326 TAG_local_variable cases to account for static variables
1327 within function scopes.
1328
1329 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
1330
1331 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
1332 doesn't exist on some systems.
1333
1334 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
1335 nexting over recursive function calls.
1336
1337 * target.c (target_read_string): Create this routine to read null
1338 terminated strings from the target. It deals with running off the
1339 end of memory elegantly as well. solib.c (find_solib): Use
1340 target_read_string() to avoid problems with running off the end of
1341 memory.
1342
1343 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
1344 that reference pgrp_inferior.
1345
1346 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
1347
1348 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
1349 mips-tfile has been hacked to act more "traditionally."
1350 * dbxread.c: Fixed typo in comment.
1351
1352 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
1353
1354 * mips-tdep.c (mips_skip_prologue): Add some number of
1355 'sw' instructions before 'addiu' adjusts the stack.
1356
1357 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
1358
1359 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
1360 freescope, buildblock closescope, record_line, add_symbol_to_list,
1361 gatherblocks, make_blockvector): Extensive changes to switch
1362 to generic symbol table building code in buildsym.c. Remove
1363 scope tree structures and functions, symbol table building
1364 functions, and lots of other small changes.
1365
1366 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
1367 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
1368
1369 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
1370
1371 * buildsym.c (cleanup_undefined_types): Add support for enums.
1372 This fixes the 'GDB internal error. cleanup_undefined_types with
1373 bad type' problem.
1374
1375 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
1376
1377 * dbxread.c: detect gcc2 compilations.
1378
1379 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
1380
1381 * sparc-pinsn.c: Rename bitfields that overlap with macro names
1382 in ../include/opcode/sparc.h.
1383
1384 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
1385
1386 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
1387 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
1388 to reflect actual locations of opcode files, so TAGS target will
1389 be buildable.
1390
1391 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
1392
1393 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
1394 code.
1395
1396 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
1397 dereferencing to access the correct elements.
1398
1399 * valops.c (value_addr): Declare return type of external func
1400 value_copy().
1401
1402 * xcoffread.c: Undefine next_symbol_text before redefining it.
1403
1404 For older changes see ChangeLog-9091
1405 \f
1406 Local Variables:
1407 mode: indented-text
1408 left-margin: 8
1409 fill-column: 74
1410 version-control: never
1411 End:
This page took 0.089759 seconds and 4 git commands to generate.