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