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