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