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