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