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