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