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