1 Tue Jun 9 17:19:45 1992 Fred Fish (fnf@cygnus.com)
3 * c-exp.y, m2-exp.y: Move remapping defines for malloc and
4 realloc. Add remapping defines for {yyss, yyssp, yyvs, yyvsp}.
5 * config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh,
6 sun4os5.mh}: Add definition for INSTALL using /usr/ucb/install.
8 Tue Jun 9 16:29:19 1992 Stu Grossman (grossman at cygnus.com)
10 * depend: rebuild to account for remote-st2000.c.
11 * remote-st2000.c: Almost works now.
12 * tm-st2000.h: Need to turn on HAVE_68881, else things won't compile.
14 Mon Jun 8 23:05:51 1992 Fred Fish (fnf@cygnus.com)
16 * c-exp.y (yylex): Recognize single-quoted strings that specify
17 tokens with embedded whitespace, such as C++ demangled names.
18 * defs.h (demangle_and_match, strcmp_iw, skip_quoted): Prototypes.
19 * main.c (gdb_completer_quote_characters): Add global variable.
20 * main.c (symbol_completion_function): Total rewrite for C++
21 demangled name handling.
22 * main.c (skip_quoted): New function.
23 * main.c (main): Set rl_completer_quote_characters.
24 * symmisc.c (dump_symtab): Print source language for symtab.
25 * symtab.c (expensive_mangler): Add prototype and function.
26 * symtab.c (completion_list_add_symbol): Total rewrite for new
27 C++ demangled name handling.
28 * symtab.c (lookup_symbol): Check for demangled C++ symbol first,
29 other changes for demangled C++ symbol handling.
30 * symtab.c (lookup_demangled_block_symbol): Use demangle_and_match.
31 * symtab.c (lookup_demangled_partial_symbol): Use demangle_and_match.
32 * symtab.c (decode_line_1): Recognize C++ demangled names on input.
33 * symtab.c (completion_list_add_symbol): Total rewrite for new
34 C++ demangled name handling.
35 * symtab.c (expensive_mangler): New function.
36 * utils.c (strcmp_iw, demangle_and_match): New functions.
37 * xcoffread.c (aixcoff_symfile_read): Fix prototype.
39 Mon Jun 8 21:59:08 1992 John Gilmore (gnu at cygnus.com)
41 * Makefile.in: Roll VERSION to 4.5.4.
42 * Makefile.in, config/*.mh, config/*.mt: Rename TM_CFLAGS
43 to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names.
44 * config/sun4os5.mh: Add MH_CFLAGS=-xs to save debug info.
46 Mon Jun 8 14:17:42 1992 Stu Grossman (grossman at cygnus.com)
48 * alldeps.mak: Rebuild to account for new files.
49 * config/st2000.mt: Use tm-st2000.h, not tm-68k.h.
50 * tm-st2000.h: New file.
51 * configure.in: Tandem debug monitor (st2000) support.
52 * remote-st2000.c, config/st2000.mt: ditto.
54 Fri Jun 5 11:51:01 1992 John Gilmore (gnu at cygnus.com)
56 * blockframe.c (inside_entry_file, inside_main_func,
57 inside_entry_func): Return 0 if no symbols; avoid crashing.
59 Wed Jun 3 17:48:04 1992 John Gilmore (gnu@cygnus.com)
61 * xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclass
62 without masking, since it is signed and will later be compared
63 against signed quantities. The right fix is probably to make
64 it all unsigned, but this is a small, safe fix for this release.
65 FIXME -- make the real change sometime soon.
67 Mon Jun 1 16:16:12 1992 Michael Tiemann (tiemann@cygnus.com)
69 * remote-vx.c (vx_load_command,add_symbol_stub): Default READNOW
70 parameter in call to `symbol_file_add' to 0.
72 * xm-sun4os4.h (MALLOC_INCOMPATIBLE): Define it.
74 Sun May 31 06:38:27 1992 Michael Tiemann (tiemann@cygnus.com)
76 * configure.in: Handle -m680[01234]0-wrs.
78 Fri May 29 22:16:02 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
80 * m68k-pinsn.c (print_insn_arg): Pass &EXT_FORMAT_68881 to
81 `ieee_extended_to_double'.
83 Wed May 27 09:27:57 1992 John Gilmore (gnu at cygnus.com)
85 * valops.c (value_assign): Lint, by Pierre Willard.
87 Tue May 19 19:38:10 1992 John Gilmore (gnu at cygnus.com)
89 * coredep.c (fetch_core_registers): Remove premature warning,
90 which triggers on DECstation even though all regs are accessible.
92 * m68k-pinsn.c (print_insn_arg): Use new macros to get
93 sign-extension of instruction fields even on unsigned-char hosts.
94 Bug found by Fred J Roeber, fjr@sgfb.ssd.ray.com.
96 88K changes inspired by Ted Lemon (uunet!lupine!mellon):
97 * tm-m88k.h, tm-umax.h: Avoid sizeof() in REGISTER_xxx macros,
98 since they define the target, not the host.
99 * m88k-pinsn.c: Fix typo.
101 Thu May 14 01:16:48 1992 John Gilmore (gnu at cygnus.com)
103 * valarith.c (value_zerop): -0.0 is still zero.
104 * eval.c (evaluate_subexp): Avoid NaN anomalies in float compares.
105 Patches by Paul Eggert <eggert@twinsun.com>.
107 Mon May 18 13:53:51 1992 Stu Grossman (grossman at cygnus.com)
109 * alldeps.mak, depend: re-make to account for ser-*.c.
111 Sun May 17 16:51:20 1992 Fred Fish (fnf@cygnus.com)
113 * inflow.c (new_tty): Temporarily ignore SIGTTOU when
114 disconnecting from controlling terminal, to avoid gdb hanging
115 on SVR4. Fixes bug reported by Oliver Okrongli.
116 * procfs.c (PROC_NAME_FMT): Change format to match default used
117 by system, as suggested by Oliver Okrongli.
118 * tm-68k.h (FRAME_FIND_SAVED_REGS): Apply missing parentheses
119 bug fix from Brent Townshend (bst%tt@cam.ORG).
120 * c-exp.y (nonempty_typelist): Fix memory overrun bug reported
121 by turlais@rechser.total.fr.
122 * dwarfread.c (decode_subscr_data): Fix bug in calculation of
123 length of non-zero lowerbound arrays. Bug fix from Peggy Fieland.
124 * objfiles.h (unlink_objfile): Add prototype.
125 * objfiles.c (unlink_objfile): Add function.
126 * objfiles.c (free_objfile): Call unlink_objfile.
127 * objfiles.c (allocate_objfile): Call unlink_objfile on newly
128 remapped objfiles. Bug reported by hahn@sunshine.labs.tek.com.
129 Also, discard old possibly bogus sf struct.
130 * symfile.c (symbol_file_add): Call init_entry_point_info() and
131 find_sym_fns() for remapped symbol files, in case of any changes
132 since the last mapping.
134 Wed May 13 18:28:20 1992 Steve Chamberlain (sac@thepub.cygnus.com)
136 * findvar.c (read_relative_register_raw_bytes): use the raw size
137 of a register to bcopy, rather than the host's sizeof(CORE_ADDR).
139 Tue May 12 17:44:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
141 Changes to support GDB running on DOS using GO32 and H8 support
143 * defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h",
144 allowing hosts with different text and binary file formats to
146 * coffread.c (read_coff_symtab): changed calling convention and
147 operation - now it opens its own file with FOPEN_RB rather than
148 duping and fdopening the provided handle.
149 * dbxread.c, cplus-dem.c: #include mangling.
150 * exec.c: If O_BINARY isn't defined, set it to 0, call openp for
151 binary files oring in the right bit.
152 * utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals.
153 * remote-hms.c: cleanup to use the new remote serial stuff
154 * serial.h, ser-termios.c, ser-go32.c: newfiles to provide host
155 independent remote terminal I/O.
156 * remote.c: if DONT_USE_REMOTE not defined, then don't use it.
157 * source.c (openp): fix off by one problem removing / - can now
158 open a source file in the root directory with DOS.
159 * values.c (value_as_pointer): remove bogus address bits from
160 long. (unpack_long): unpack into unsigned long/short if pointer.
162 Tue May 12 14:15:48 1992 Stu Grossman (grossman at cygnus.com)
164 * infrun.c (child_attach): Don't allow gdb to attach to itself.
165 It gets permanently stuck in many OSes.
166 * breakpoint.c, infcmd.c, infrun.c, utils.c: Change many printfs
168 * breakpoint.c: Improve help text for info breakpoints.
170 Mon May 11 14:17:18 1992 John Gilmore (gnu at cygnus.com)
172 * README: Add pointer to internals doc, and describe reading
174 * utils.c (print_sys_errmsg): Use stderr. Reported by Pierre Willard.
175 * symtab.c (output_source_filename): Remove old glop for wrapping
176 lines, use wrap_here. Reported by Pierre Willard (pierre@la.tce.com).
178 Thu May 7 11:45:03 1992 John Gilmore (gnu at cygnus.com)
180 * Makefile.in: version.c should depend on Makefile, not Makefile.in.
181 * munch: Add sort -u to avoid duplications.
182 * symtab.c (lookup_symbol): Improve Stu's fix of 22 April.
183 Improved fix by hahn@sunshine.labs.tek.com (Doug Hahn).
185 Mon May 11 13:27:46 1992 Fred Fish (fnf@cygnus.com)
187 * cplus-dem.c (demangle_signature): Recognize misplaced '_' to
188 avoid infinite loops while demangling bogus mangled names.
189 * valprint.c (type_print_base): Minor fix for GNU style guide
192 Sat May 9 18:02:17 1992 Fred Fish (fnf at fishpond)
194 * Makefile.in (VERSION): Bump to 4.5.3
195 * Makefile.in (DEMANGLE_OPTS): Remove obsolete -Dnounderscore
196 * Makefile.in (demangle): New target to create standalone
197 demangler with same code and options as internal demangler.
198 * cplus-dem.c: Massive restructuring, rewriting, cleanups, etc
199 to support ARM style and Lucid style demangling, improve
200 maintainability, fix several demangling bugs. More changes
202 * defs.h (strstr): Add ANSI compatible prototype.
203 * valprint.c (type_print_1): Demangle using ansi option.
204 * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore.
206 Sat May 9 14:47:28 1992 Stu Grossman (grossman at cygnus.com)
208 * xcoffexec.c (vmap_exec): Don't assume .text and .data are the
211 Fri May 8 11:42:15 1992 Per Bothner (bothner@rtl.cygnus.com)
213 * mipsread.c (parse_procedure): Return rather than using
214 uninitialized variable 'b'.
216 Fri May 8 07:48:27 1992 Stu Grossman (grossman at cygnus.com)
218 * Makefile.in, remote-udi.c, remote-vx.c, 29k-share/dfe/mini2udi.c,
219 29k-share/dfe/yank.c, vx-share/xdr_ptrace.c, vx-share/xdr_regs.c:
220 Remove -I29k-share, -Ivx-share from Makefile.in. Make #includes
221 relative to each source file.
223 Fri May 8 07:48:27 1992 K. Richard Pixley (rich@cygnus.com)
225 * Makefile.in: propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on
228 Thu May 7 10:00:52 1992 Stu Grossman (grossman at cygnus.com)
230 * am29k-pinsn.c: Use new opcode table in "opcode/a29k.h".
231 * am29k-tdep.c: Update to latest code from AMD.
232 (get_saved_register) don't crap out if no frame.
233 * remote-udi.c: Set/clear inferior_pid as appropriate.
234 (udi_open) call target_preopen, don't close fd 0!!!, clean up
235 error handling. Fixup end-of-debugging messages.
236 (udi_fetch_registers) clean up big time, mainly don't multiply
237 register_valid indices by 4, and use proper Offset when reading
238 gr96-gr127. (udi_store_registers) general cleanup.
239 (fetch_register) cleanup, simplify. (regnum_to_srnum)
240 INT_REGNUM->INTE_REGNUM.
241 * tm-29k.h: Upgrade to latest code from AMD.
242 * 29k-share/udi/udip2soc.c: Get rid of useless errmsg_m macro.
243 (UDIConnect) Clean up error processing (like, don't do exit() if
244 execlp fails), make code restartable, make more attractive.
245 (UDIStop) Use SIGINT instead of SIGUSR1, as isstip won't stop
248 Wed May 6 14:34:18 1992 Per Bothner (bothner@rtl.cygnus.com)
250 * tm-irix3.h: Re-define CPLUS_MARKER to '.'.
251 * xm-rs6000.h, tm-rs6000.h: Move re-definition of CPLUS_MARKER
252 from former to latter.
254 Wed May 6 14:12:35 1992 Fred Fish (fnf@cygnus.com)
256 * cplus-dem.c (do_args): Handle void args the same as others.
257 * objfiles.c (free_objfile): Only try to unmap files when
258 reusable objfiles are supported.
259 * valprint.c (type_print_varspec_suffix): Add parameter that
260 specifies if C++ demangling included function arguments. Use
261 it to suppress printing extra pair of ()'s.
262 * valprint.c (type_print_1): Fix problem with printing demangled
263 C++ function types where demangled type includes the function
266 Tue May 5 11:10:27 1992 Fred Fish (fnf@cygnus.com)
268 * Makefile.in (DEMANGLER): Define and default to cplus-dem.
269 Allows selection of C++ demangler to be a configuration option
270 until multiple demanglers are supported.
271 * demangle.h: New include file for extended demangler support.
272 * breakpoint.c, gdbtypes.c, printcmd.c, stack.c, symtab.c,
273 utils.c, valprint.c: Include "demangle.h" and change all calls
274 to cplus_demangle() or fputs_demangled() to use individual
276 * valprint.c (type_print_1): Change options to cplus_demangle
277 to print demangled function args. Still broken, but now less so.
278 * cplus-dem.c: Include demangle.h, reorganize and update some
279 comments to reflect reality.
280 * cplus-dem.c (cplus_demangle, cplus_mangle_opname): Change
281 second arg from fixed integer to bit based multiple options.
282 * cplus-dem.c (optable): Reformat and replace ansi members with
284 * cplus-dem.c (do_type): Fix bug with parsing missing return type.
286 Mon May 4 22:26:59 1992 John Gilmore (gnu at cygnus.com)
288 * values.c (set_internalvar): Force evaluation of lazy values.
291 Sun May 3 15:47:45 1992 Fred Fish (fnf@cygnus.com)
293 * Makefile.in (VERSION): Bump to 4.5.2.
294 * Makefile.in (DEMANGLE_OPTS): Add, default to -Dnounderscore.
295 * configure.in: Simplify ncr3000 gdb_host logic, add gdb_target.
296 * dwarfread.c (struct_type): Apply fix from Peggy Fieland for
297 proper handling of bit fields.
298 * gdbtypes.h (struct type): Clarify use of field.bitpos.
299 * symtab.h: Fix couple of misspellings in comments.
300 * value.h (struct value): Clarify use of bitpos.
301 * value.h (unpack_field_as_long): Change prototype, returns
303 * values.c (unpack_field_as_long): Change return type to LONGEST,
304 sign extend unpacked fields that are signed, other rewriting.
305 * config/ncr3000.mt: New target config file.
307 Fri May 1 01:53:26 1992 John Gilmore (gnu at cygnus.com)
309 * utils.c (printchar): Print 0x7F and 0x80-0x9F in \nnn notation
310 even when printing 8-bit characters.
312 * gdbtypes.c (make_{reference,pointer,function}_type): New
313 functions which handle overwriting of forward-referenced types
314 for stabs file reading.
315 (lookup_{reference,pointer,function}_type): These just call
316 the make_*_type functions with a null storage alloc parameter.
317 * gdbtypes.h (make_{reference,pointer,function}_type): Declare.
318 * xcoffread.c (smash_to_pointer_type): Remove, no longer used.
320 * buildsym.c (dbx_lookup_type): Zero result for (-1,-1) arg.
321 (dbx_alloc_type): Make it easier to understand. No funct change.
322 (define_symbol: 't'): Don't put the typedef name into the name of
323 the struct, union, or enum. Bugfix.
324 (read_type: '*', '&', 'f'): Add comments. Use make_XXX_type
325 routines to properly handle overwriting preallocated types so that
326 forward references will work.
327 (read_enum_type): Force enum values to file scope, due to bug in
328 Sun compiler output. FIXME, fix later.
330 Remove unused header_file_prev_index mechanism. It was already
331 obsolete in gdb-3.5. These comments appeared in 3.5:
332 /* This code was used before I knew about the instance codes.
333 My first hypothesis is that it is not necessary now
334 that instance codes are handled. */
335 * dbxread.c (add_new_header_file): Remove header_file_prev_index.
336 * buildsym.h: Remove it and prev_index that saves it.
337 * buildsym.c (push_subfile, pop_subfile, start_symtab): Remove it.
339 * solib.c (special_symbol_handling): When called from core files,
340 must set up debug_addr. Don't print error messages, just return.
341 * symmisc.c (print_symbol): Less ascii diarrhea for enums, please.
343 Wed Apr 29 15:26:51 1992 Per Bothner (bothner@rtl.cygnus.com)
345 * cplus-dem.c: Allow nested class names (as in
347 Allow the cleaner cfront style of nested class names
348 (Q2_3Foo3Bar as well as Q23Foo3Bar).
349 Make cplus_demangle re-entrant by removing use of global
350 variables. Instead, place all shared variables in a
351 stack-allocated structure, and pass around its address.
353 Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com)
355 * Makefile.in (make-proto-gdb-1): 1st cut at packaging
356 29k-share/* subdirs...
358 * remote-udi.c (udi_insert/remove_breakpoint): Completely
359 rewrite, only leave out the bugs.
361 * Makefile.in: Add 29k/UDI support. Improve depend.
362 * .Sanitize, alldeps.mak, configure.in, depend: Add 29k/UDI support.
364 * am29k-tdep.c: Update to use new calling conventions, and misc
367 * m68k-pinsn.c (print_insn_arg): Make branch offsets be signed.
369 Thu Apr 23 18:43:17 1992 Fred Fish (fnf@cygnus.com)
371 * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice
372 breakpoint instructions that leave PC pointing at the right place.
374 * core.c (core_open): Call warning() to print warnings.
376 Wed Apr 22 09:55:42 1992 Stu Grossman (grossman at cygnus.com)
378 * symtab.c (lookup_symbol): Need to check if msymbol->name is
379 NULL, as ALL_MSYMBOLS will never return a NULL msymbol pointer.
380 This prevents a crash when trying to lookup the value of a
383 Wed Apr 22 09:42:15 1992 Fred Fish (fnf@cygnus.com)
385 * signame.c, signame.h: Remove, replaced by strsignal.c in
387 * i960-tdep.c, infrun.c, mach386-xdep.c, procfs.c, sparc-tdep.c,
388 sun386-xdep.c: Remove include of signame.h
389 * Makefile.in (SFILES_MAINDIR): Remove signame.c
390 * Makefile.in (HFILES): Remove signame.h
391 * Makefile.in (OBS): Remove signame.o
392 * defs.h (safe_strerror, safe_strsignal, strerrno, strsigno,
393 errno_max, signo_max, strtoerrno, strtosigno, strsignal,
394 psignal, perror): Add prototypes.
395 * defs.h, xm-apollo68v.h, xm-ultra3.h (SYS_SIGLIST_MISSING):
397 * depend: Manually remove signame.[cho] references.
398 * convex-tdep.c (subsig_name): Replace use of sys_siglist with
400 * convex-xdep.c (core_file_command): Replace use of sys_siglist
402 * core.c (core_open): Replace use of sys_siglist with
404 * core.c (memory_error): Replace use of sys_errlist with
406 * i960-tdep.c (print_fault): Replace use of sys_siglist with
408 * infcmd.c (program_info): Replace use of sys_siglist with
410 * infrun.c (signal_stop, signal_print, signal_program):
411 Allocate dynamically based on dynamic determination of number
412 of signals to support.
413 * infrun.c (child_create_inferior): Replace use of sys_errlist
415 * infrun.c (wait_for_inferior): Replace use of sys_siglist with
417 * infrun.c (sig_print_info): Replace use of sig_abbrev with
418 strsigno and sys_siglist with safe_strsignal.
419 * infrun.c (handle_command): Call signo_max to find number of
420 signals. Replace sig_number with strtosigno and sig_abbrev with
422 * infrun.c (signals_info): Replace sig_number with strtosigno.
423 * infrun.c (_initialize_infrun): Call signo_max to find number of
424 signals. Dynamically allocate signal_{stop,print,program}.
425 * procfs.c (errno_table): Remove, now in libiberty/strerror.c.
426 * procfs.c (errnoname): Add function and prototype.
427 * procfs.c (info_proc_siginfo): Call errnoname, replace use
428 of sys_siglist with safe_strsignal.
429 * procfs.c (info_proc_stop, info_proc_signals): Replace use of
430 sys_siglist with safe_strsignal.
431 * procfs.c (info_proc_stop): Call errnoname.
432 * procfs.c (signalname): Replace sig_abbrev with strsigno.
433 * stuff.c (main, get_offset): Replace use of sys_errlist with
435 * sun386-xdep.c (core_file_command): Replace use of sys_siglist
437 * umax-xdep.c (core_file_command): Replace use of sys_siglist
439 * utils.c (safe_strerror, safe_strsignal): Add functions that
440 call strerror and strsignal respectively, and deal with NULL
442 * utils.c (perror_with_name, print_sys_errmsg): Replace use of
443 sys_errlist with safe_strerror.
444 * valprint.c (val_print): Replace use of sys_errlist with
447 Tue Apr 21 12:00:47 1992 K. Richard Pixley (rich@cygnus.com)
449 * Makefile.in: rework CFLAGS so that they can be set from the
450 command line to make. CFLAGS -> INTERNAL_CFLAGS.
451 USER_CFLAGS -> CFLAGS. Remove MINUS_G. Default CFLAGS to -g.
452 Pass CFLAGS on recusions.
454 Fri Apr 17 19:25:57 1992 Fred Fish (fnf@cygnus.com)
456 * gdbtypes.h, c-exp.y, m2-exp.y, mipsread.c, gdbtypes.c: Back
457 out of change on 4/14/92 and remove TYPE_FLAG_FUND_TYPE. It was
458 overkill for the problem it solved.
459 * valprint.c (type_print_base): Remove TYPE_FLAG_FUND_TYPE test
460 and default to simply printing type names as appropriate.
461 * main.c (main): Remove one of the leading newlines from
462 warning_pre_print initialization.
463 * objfiles.c (open_existing_mapped_file): Add function and
465 * objfiles.c (open_mapped_file): Rewrite to use new function
466 open_existing_mapped_file.
468 Thu Apr 16 23:50:12 1992 John Gilmore (gnu at cygnus.com)
470 * sun3-xdep.c (fetch_core_registers): Lint.
471 * tm-sun3.h: Prototype lint.
474 Thu Apr 16 19:56:50 1992 Fred Fish (fnf@cygnus.com)
476 * dwarfread.c (TARGET_FT_POINTER_SIZE, TARGET_FT_LONG_SIZE):
477 Define using TARGET_PTR_BIT and TARGET_LONG_BIT for now.
478 * objfiles.c: Cast calls to close() with unused returns to void.
479 * objfiles.c (allocate_objfile): Initialize objfile's mmfd, free
480 old objfile's name before updating it.
481 * objfiles.c (free_objfile): Major rewrite for mapped objfiles.
482 * objfiles.h (objfile struct): Add mmfd member.
483 * symfile.c (syms_from_objfile): Move some code to
485 * symfile.c (new_symfile_objfile): Add new function, common code
486 from syms_from_objfile.
487 * symfile.c (symbol_file_add): Call new_symfile_objfile for both
488 mapped and unmapped symbol files.
489 * symfile.c (symbol_file_command): Print "No symbol file now"
490 message, ala exec_file_command for the exec file.
491 * symfile.h (new_symfile_objfile): Add prototype.
492 * xcoffexec.c (map_vmap): Add call to new_symfile_objfile.
493 * xcoffsolib.c (solib_add): Add call to new_symfile_objfile.
495 Thu Apr 16 18:26:34 1992 Per Bothner (bothner@cygnus.com)
497 * rs6000-pinsn.c: New version from IBM (Metin).
498 * m2-exp.y: Re-write string initializers ("<>" => {'<', '>'})
499 to avoid warnings from some compilers.
501 Tue Apr 14 22:33:55 1992 Fred Fish (fnf@cygnus.com)
503 * gdbtypes.h (FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL): Add defines.
504 * gdbtypes.h (TYPE_FLAG_FUND_TYPE): Add define for bit in a
505 type's flag word that marks it as a fundamental type.
506 * c-exp.y (_initialize_c_exp): Add TYPE_FLAG_FUND_TYPE bit to
507 flags argument for all calls to init_type().
508 * m2-exp.y (_initialize_m2_exp): Add TYPE_FLAG_FUND_TYPE bit to
509 flags argument for all calls to init_type(). Also remove
510 dependency on host sizes for ints, floats, etc.
511 * mipsread.c (_initialize_mipsread): Add TYPE_FLAG_FUND_TYPE bit to
512 flags argument for all calls to init_type(). Also remove
513 dependency on host sizes for ints, floats, etc.
514 * gdbtypes.c (lookup_fundamental_type): Add TYPE_FLAG_FUND_TYPE
515 bit to flags argument for all calls to init_type(). Add types
516 FT_FIXED_DECIMAL and FT_FLOAT_DECIMAL.
517 * valprint.c (unsigned_type_table, signed_type_table,
518 float_type_table): Remove.
519 * valprint.c (type_print_base): Test new TYPE_FLAG_FUND_TYPE
520 bit when printing fundamental types, and print the actual name
521 for such types, rather than inventing one. Remove code that
522 invented fundamental type names.
523 * valprint.c (_initialize_valprint): Remove initializations
524 for now removed unsigned_type_table, signed_type_table, and
527 Tue Apr 14 14:30:46 1992 Stu Grossman (grossman at cygnus.com)
529 * remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
530 vx-share/xdr_rdb.h: Update for new remote protocol under VxWorks
533 Mon Apr 13 20:59:21 1992 Fred Fish (fnf@cygnus.com)
535 * dwarfread.c (target_to_host): New function similar to previous
537 * dwarfread.c (SWAPIN, swapin): Remove macro and support function.
538 Extensive changes to convert all previous usages to use new
539 target_to_host() function.
540 * dwarfread.c (struct dieinfo): Change types of most integral
541 members to be unsigned.
543 Mon Apr 13 15:59:10 1992 John Gilmore (gnu at cygnus.com)
545 * WHATS.NEW: Revise -mapped doc.
547 Sat Apr 11 23:14:36 1992 John Gilmore (gnu at cygnus.com)
549 * mipsread.c (parse_partial_symbols): Complain when sh->index is
550 too high or when skipping `forwards' moves us backwards.
551 (parse_type): Print mis-guessed tag name in complaint.
552 (parse_external): Eliminate cur_stab and obscure top_stack clobbers.
553 (parse_procedure): Do not attempt to create symbols; just fill in
554 the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one.
555 (psymtab_to_symtab_1): Split up `stabs' from `native ecoff' code
556 for clarity. Set top_stack before calling parse_external. In
557 stabs, sort symbols before calling parse_procedure.
559 * symmisc.c (std_in, std_out, std_err): Add vars to access std
560 FILE *'s when debugging GDB (e.g. as args to dump_symtab).
561 * Makefile.in: Remove stage* targets. Avoid echo on recursive
562 makes. Eliminate doc/Makefile from tar.Z file if doc/Makefile.in
565 Fri Apr 10 23:47:37 1992 John Gilmore (gnu at cygnus.com)
567 * Makefile.in (VERSION): Set to 4.5.1.
568 * xcoffread.c (NO_TYPEDEFS): Fix typo in commented-out #define.
569 * sparc-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
570 fill_gregset): New functions for SVR4 /proc support.
571 * mipsread.c: Cleanup. Add more complaints for unhandled cases.
572 Remove new symbol types and such to ../include/coff/symconst.h.
573 (parse_symbol): Simplify code for parsing struct/enum/unions.
574 (parse_type): Handle `long long' types.
575 (upgrade_type): Handle `const' qualifier.
576 (parse_partial_symbols): fix indentation, clean a bit.
578 Fri Apr 10 22:41:03 1992 Fred Fish (fnf@cygnus.com)
580 * dwarfread.c (SWAPIN,swapin): New macro and function to call to
581 copy in data from raw read buffers, calling bfd byteswapping
582 routines as appropriate. Use to replace most existing memcpy
584 * dwarfread.c (basicdieinfo, completedieinfo): Add objfile arg.
585 * configure.in: Recognize new ncr3000 config.
586 * config/ncr3000.mh: New config file.
588 Fri Apr 10 08:30:58 1992 Stu Grossman (grossman at cygnus.com)
592 * README: Update for release.
593 * Makefile.in: Update version to 4.5.
594 * WHATS.NEW: The obvious.
596 * depend: Generate new depend file for this release.
598 * Makefile.in (depend): Fix dependancy generation so that it does
599 not include gcc 'fixincluded' files, which are usually in a system
602 Thu Apr 9 13:35:00 1992 Per Bothner (bothner@rtl.cygnus.com)
604 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).
605 * buildsym.c (#ifdef RS6000_TARGET): Don't create unnecessary
606 symbols for nameless types. And, handle `R' (register parameter
607 type) for AIX. (an extension to existing stabstring grammar).
608 * rs6000-xdep.c: Fix typo (= should have been ==).
610 Thu Apr 9 12:10:06 1992 Stu Grossman (grossman at cygnus.com)
612 * Makefile.in: version=4.4.88, add xm-vax.h to HFILES.
614 Thu Apr 9 02:29:03 1992 John Gilmore (gnu at cygnus.com)
616 * xm-sun4os5.h (DO_DEFERRED_STORES, CLEAR_DEFERRED_STORES): Zap.
617 * signame.c (SIGWAITING, SIGLWP): Add.
619 Tue Apr 7 16:34:07 1992 Per Bothner (bothner@cygnus.com)
621 * xm-i386mach.h: add decls for errno and strdup().
623 * breakpoint.c (breakpoint_1): Add (int) casts for enums
624 used in array index context (otherwise, some compilers barf).
626 Tue Apr 7 08:45:46 1992 Stu Grossman (grossman at cygnus.com)
628 * m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
629 Change def of SAVED_PC_AFTER_CALL to call routine to see if we are
630 in a system call, and provide better backtrace if so.
632 * Makefile.in (HFILES): Add xcoffsolib.h.
633 * rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
634 * rs6000-pinsn.c: #include "opcode/rs6k.h"
636 * mipsread.c (read_mips_symtab, read_the_mips_symtab,
637 mipscoff_symfile_read): Convert to BFD to do file I/O.
639 * symfile.c: #include <ctype.h> to get proper def if isspace().
641 * i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET.
643 Mon Apr 6 17:25:45 1992 Per Bothner (bothner@cygnus.com)
645 * mipsread.c: Create a .gdbinfo pseudo-symbol for each
646 function also when parsing embedded stabs.
648 Mon Apr 6 15:25:03 1992 Stu Grossman (grossman at cygnus.com)
650 * mipsread.c: Fix more declarations.
652 * mipsread.c: Fix many invocations of complain. Use enum
653 type_code where appropriate.
655 * xm-vaxult.h: Add decl for strdup().
657 * Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
660 Fri Apr 3 17:41:29 1992 Stu Grossman (grossman at cygnus.com)
662 * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
665 Fri Apr 3 12:17:14 1992 Per Bothner (bothner@cygnus.com)
667 * munch: Must pre-pend "_" to "initialize" for SYSV style nm.
668 * tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
669 Merge in more patches for rs6000 from Metin Ozisik.
670 * utils.c: Fix typo in comment.
672 Fri Apr 3 11:23:03 1992 Fred Fish (fnf@cygnus.com)
674 * procfs.c (procinfo struct): Add nopass_next_sigstop member.
675 * procfs.c (attach): Set nopass_next_sigstop if attached
676 process is forcibly stopped.
677 * procfs.c (child_resume): Use nopass_next_sigstop to suppress
678 resending SIGSTOP to attached process on first resume.
680 Fri Apr 3 01:37:26 1992 Stu Grossman (grossman at cygnus.com)
682 * Makefile.in (SFILES_MAINDIR): add mipsread.c
684 Thu Apr 2 20:20:54 1992 John Gilmore (gnu at cygnus.com)
686 * Makefile.in (OBS): Compile mipsread.c for all targets now.
687 (VERSION): Bump to 4.4.85.
688 * mipsread.c: Update for new include files. Lint.
689 * tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab.
690 * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
691 Don't need to bring in mipsread.o specially any more.
693 Thu Apr 2 19:38:31 1992 Stu Grossman (grossman at cygnus.com)
695 * mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
696 routine (for Irix-4.x). Make many funcs static and void.
697 * mips-tdep.c (mips-frame-chain): Clean up, simplify.
698 * (init_extra_frame_info): Don't trash cached value of frame
699 pointer register. This fixes backtracing through routines that use
700 alloca(). Generally clean up declarations of functions, and use
701 typedefs and macros to reference data structures as appropriate.
702 * tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for
705 Thu Apr 2 09:47:11 1992 Fred Fish (fnf@cygnus.com)
707 * values.c (unpack_long): Fix unpacking error for signed chars
708 on hosts where the default character type is unsigned.
709 * procfs.c (pr_flag_table, pr_why_table): Add some entries
710 for newer SVR4 variants.
711 * procfs.c (proc_set_exec_trap): Reorder tests for ioctl's that
712 turn off trace inherit-on-fork flag to favor latest SVR4 method.
713 * procfs.c (mappingflags): Add support for MA_PHYS
715 Thu Apr 2 00:55:56 1992 John Gilmore (gnu at cygnus.com)
717 * buildsym.c (read_struct_type): Avoid coredump when C++
718 abbreviated type name is messed up. Reported by Joe Buck.
719 FIXME, we need to determine whether GDB or GCC needs to be
720 smarter to correctly locate this type name.
722 * c-exp.y, coffread.c, command.c, command.h, copying.awk,
723 dbxread.c, gdbtypes.c, infcmd.c, inferior.h, infrun.c,
724 m2-exp.y, printcmd.c, remote.c, solib.c, source.c, stack.c,
725 symtab.c, tm-sun4os4.h, tm-sun4os5.h, values.c: Lint.
726 * symfile.c (add_symbol_file_command): Initialize mapped/readnow.
728 Wed Apr 1 11:39:52 1992 Fred Fish (fnf@cygnus.com)
730 * breakpoint.h (bpdisp, bptype): Remove trailing comma.
731 * symtab.h (current_source_symtab): Make extern
732 * symtab.h (current_source_line): Make extern
733 * inferior.h: Move all procfs.c prototypes to one place, add
734 prototype for proc_signal_handling_change. Add prototypes for
735 signal_stop_state, signal_print_state, and signal_pass_state.
736 * inferior.h (stop_soon_quietly): Make extern
737 * inferior.h (attach_flag): Make extern
738 * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): Default is null.
739 * infrun.c (signal_stop_state, signal_print_state,
740 signal_pass_state): New functions to query specific signal
742 * infrun.c (handle_command): Minor error message change, add
743 NOTICE_SIGNAL_HANDLING_CHANGE.
744 * procfs.c (open_proc_file): Remove iris specific reset of
745 inherit-on-fork flag, moved to proc_set_exec_trap().
746 * procfs.c (proc_set_exec_trap): Add SVR4 and iris code
747 to reset inherit-on-fork flag, bash comment to GNU form.
748 * procfs.c (proc_base_address, set_proc_siginfo,
749 fetch_core_registers): Conform to code style.
750 * procfs.c (signame.h): Include.
751 * procfs.c (MAX_SYSCALLS, syscall_table[], init_syscalltable(),
752 syscallname(), info_proc_syscalls()): New macros, tables, and
753 functions to organize and report system call information.
754 * procfs.c (saved_fltset, saved_trace, saved_sighold,
755 saved_exitset, saved_entryset): Add to procinfo struct.
756 * procfs.c (struct trans): Add.
757 * procfs.c (pr_flag_table, pr_why_table, faults_table,
758 siginfo_table, errno_table): Tables to translate numeric values
759 to symbolic names and short descriptions.
760 * procfs.c (signalname, info_proc_signals): Add function and
762 * procfs.c (proc_info): Now info_proc.
763 * procfs.c (proc_info_address_map): Now info_proc_mappings.
764 * procfs.c (info_proc_flags, info_proc_stop, info_proc_siginfo,
765 info_proc_faults, lookupname, lookupdesc, sigcodename,
766 sigcodedesc): New functions.
767 * procfs.c (proc_signal_handling_change): New function to set
768 the trace flags based on the state of gdb's signal handling flags.
769 * procfs.c (inferior_proc_init): Call proc_signal_handling_change
770 and remove code to do PIOCSTRACE ioctl.
771 * procfs.c (attach, detach): Preserve and restore process flags
772 using saved_* fields in procinfo struct.
773 * procfs.c (attach): Call proc_signal_handling_change.
774 * procfs.c (info_proc): Major rework to expand "info proc" cmd.
775 * procfs.c (proc_desc): Update for latest changes.
776 * xm-irix4.h (CREATE_INFERIOR_HOOK): Protect by USE_PROC_FS.
777 * xm-irix4.h (NOTICE_SIGNAL_HANDLING_CHANGE): Add definition.
778 * xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): Add definition.
780 Tue Mar 31 18:38:28 1992 Fred Fish (fnf@cygnus.com)
782 * procfs.c (set_proc_siginfo): Add prototype and new function.
783 * procfs.c (detach, child_resume): Call set_proc_siginfo to set
784 up inferior siginfo struct.
785 * elfread.c (elf_symfile_read): Compute the relocation amount
786 by subtracting off the address of the ".text" section.
787 * solib.c: Add pointer to ".text" section to so_list struct.
788 * solib.c (solib_map_sections): Initialize pointer to ".text"
789 section in so_list struct.
790 * solib.c (symbol_add_stub): Pass base address of ".text"
791 section to symbol_file_add, rather than the load address of
792 the shared library. On SunOS they are the same. On SVR4 they
795 Tue Mar 31 17:48:15 1992 Stu Grossman (grossman at cygnus.com)
797 * mipsread.c (parse_procedure): PDR.isym should get pointer to
798 function name, not .gdbinfo. symbol.
800 Tue Mar 31 17:05:04 1992 John Gilmore (gnu at cygnus.com)
802 * breakpoint.c (breakpoint_1): Fix prototype, this time for sure!
804 Tue Mar 31 11:01:06 1992 Stu Grossman (grossman at cygnus.com)
806 * Makefile.in (VERSION): 4.4.8
808 * procfs.c (open_proc_file): Disable inherit-on-fork flag so that
809 commands in .cshrc/.profile won't get traced.
811 Tue Mar 31 08:11:58 1992 John Gilmore (gnu at cygnus.com)
813 * elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
814 * exec.c (build_section_table): Don't abort if no sections.
815 * sparc-tdep.c (single_step): Lint.
816 * utils.c (mrealloc): Handle realloc (0, size) case here.
818 Mon Mar 30 16:50:43 1992 Stu Grossman (grossman at cygnus.com)
820 * Makefile.in (alldeps.mak): Config files are now *.m[ht] as
823 * config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
825 * mipsread.c (parse_symbol, parse_procedure): Re-do the way that
826 .gdbinfo. symbols are created. Move creation from parse_procedure
827 to parse_symbol, where it is fairly easy to grow the symtab. This
828 also fixes a symtab trashing bug on all mips-based systems.
829 * (got_numargs, lookup_numargs, free_numargs): Delete. Not
831 * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct
832 mips_extra_func_info, and all the PROC_xxx macros that look at it.
834 Mon Mar 30 14:17:53 1992 Per Bothner (bothner@cygnus.com)
836 * c-exp.y: Add missing return type to yyparse() prototype.
838 Sat Mar 28 22:22:06 1992 John Gilmore (gnu at cygnus.com)
840 Create and use macros for iterating on symtabs, psymtabs, msymbols.
842 * minsyms.c (iterate_over_msymbols): Remove; clunky and slow.
843 * symfile.h, symtab.h (iterate_over_msymbols): Remove prototype
844 * coffread.c (coff_symfile_read): iterate_over_symtabs => ALL_SYMTABS.
845 (patch_opaque_types): Avoid dummy args and result.
846 * objfiles.c (have_partial_symbols, have_full_symbols,
847 have_minimal_symbols): explicit iteration => ALL_OBJFILES; simplify.
848 (iterate_over_objfiles, iterate_over_symtabs,
849 iterate_over_psymtabs): Remove, clunky and slow.
850 * objfiles.h: Replace iterate_over_* prototypes with ALL_SYMTABS,
851 ALL_PSYMTABS, and ALL_MSYMBOLS macros.
852 * symmisc.c (dump_symtab, dump_psymtab, dump_msymbols,
853 dump_objfile): Remove dummy args and results. Move filename
854 comparisons to callers.
855 (printsyms_command, printpsyms_command, printmsyms_command,
856 printobjfiles_command): iterate_over_* => ALL_*. Compare filenames.
857 * symtab.c (lookup_symtab_1, lookup_symtab, lookup_partial_symtab,
858 lookup_symbol, find_main_psymtab, find_pc_symtab, sources_info,
859 list_symbols, make_symbol_completion_list): Replace explicit
860 iteration with ALL_SYMTABS, ALL_PSYMTABS, or ALL_MSYMBOLS.
861 Eliminate Dijkstra flag crap, break out of loops with gotos.
862 (lookup_symtab_1): Protect '/' tests from short filenames.
863 (cplus_mangled_symbol): Move inline into lookup_symbol.
864 * xcoffexec.c (relocate_objfile_msymbols): Remove poor hack.
865 (relocate_minimal_symbol): Move inline to vmap_symtab.
866 (vmap_symtab): Replace iteration with ALL_OBJFILES,
867 iterate_over_msymbols with ALL_MSYMBOLS.
869 Misc cleanup prior to release.
871 * Makefile.in (VERSION): Roll to 4.4.7.
872 (HFILES): Add call-cmds.h.
873 * call-cmds.h: New header for command fns called by other files.
874 * breakpoint.c (watchpoints_info): Remove, same as breakpoints_info.
875 (breakpoint_1): Remove unused type arg. Change callers.
877 * dwarfread.c (dwarf_build_psymtabs): Remove mainline test.
878 * mipsread.c (compare_symtabs, compare_psymtabs): Remove, unused.
879 * mipsread.c: Add prototypes for all static functions.
881 * symmisc.c (dump_symtab_lines, dump_symtabs, dump_last_symtab,
882 dump_blockvector, dump_block, dump_addrchass, dump_namespace,
883 dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove, unused.
884 * xcoffread.c (dump_symtab_lines, dump_symtabs, dump_last_symtab,
885 dump_blockvector, dump_block, dump_addrchass, dump_namespace,
886 dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove 2nd
889 * buildsym.c (define_symbol): Handle global register variables
890 (from Pierre Willard). Complain if register numbers are too large.
891 * target.c (nomemory): Now that higher levels examine errno, give EIO.
892 * tm-sparc.h: Don't #include <sun4/reg.h>.
893 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc): Remove
894 dependency on <sun4/reg.h>. Start to handle cross-byte-order.
896 * language.h: Avoid forward enum declaration.
897 * configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh,
898 config/sun4os5.mt: New host and target.
899 * defs.h (errno): #include <errno.h> rather than assuming int.
902 * breakpoint.c, breakpoint.h, buildsym.c, coffread.c, cplus-dem.c,
903 dbxread.c, dwarfread.c, elfread.c, infcmd.c, infrun.c, inftarg.c,
904 language.c, main.c, mem-break.c, mips-tdep.c, mipsread.c,
905 partial-stab.h, remote.c, saber.suppress, symfile.c, symtab.c,
906 valops.c, valprint.c, xcoffread.c, c-exp.y, m2-exp.y, blockframe.c,
907 command.c, core.c, exec.c, gdbtypes.h, parse.c, printcmd.c, solib.c,
908 sparc-xdep.c, utils.c, value.h, values.c: Lint.
910 Sat Mar 28 02:43:26 1992 John Gilmore (gnu at cygnus.com)
912 * buildsym.c (read_range_type): Avoid int overflow by using unsigned.
913 * dbxread.c (dbx_symfile_init): Remove bogus `lvalue cast'.
914 * language.h (enum exp_opcode): Avoid forward enum def.
915 * main.c (define_command, user_defined_command): Lint.
916 * mem-break.c, xcoffread.c: Lint.
917 * solib.c: Only #include <a.out.h> on SunOS, not SVR4.
919 Sun Mar 29 14:16:22 1992 Per Bothner (bothner@cygnus.com)
921 * Merged in latest RS6000 diffs from Metin G. Ozisik.
922 * xcoffsolib.c, xcoffsolib.h: New files, from Metin.
923 * Various files: Changed #ifdef IBM6000 to IBM6000_HOST
924 or IBM6000_TARGET as (approximately) appropriate.
926 Sat Mar 28 13:00:10 1992 Fred Fish (fnf@cygnus.com)
928 * objfiles.h (OBJF_SYMS): Define flag bit for objfile flags.
929 * symfile.c (symbol_file_add): Use OBJF_SYMS to decide whether
930 or not to try reading symbols from a mapped objfile. Plugs memory
931 leak due to shared libraries generating no psymtabs or symtabs.
933 Fri Mar 27 15:44:55 1992 John Gilmore (gnu at cygnus.com)
935 * buildsym.c (MAX_OF_C_TYPE, MIN_OF_C_TYPE): Unused, remove.
936 * copying.awk: Lint. Make stronger warning at top of copying.c.
937 * elfread.c (elf_symtab_read): Eliminate check of mainline.
938 * gdbtypes.c (smash_to_*): Remove FIXME comments.
939 (lookup_pointer_type): Add FIXME comment.
940 * main.c (set_history_size_command): Disallow negative size.
941 * partial-stab.h: Update copyright.
942 * rs6000-tdep.c (skip_trampoline_code): Better comments.
944 Wed Mar 25 10:45:38 1992 John Gilmore (gnu at cygnus.com)
946 * main.c (set_history_size_command): Negative size is error.
947 (Reported by Peggy Fieland.)
949 Thu Mar 26 17:01:18 1992 Fred Fish (fnf@cygnus.com)
951 * coffread.c (coff_symfile_init): Update comment.
952 * dbxread.c (DBX_SYMFILE_INFO, DBX_TEXT_SECT, DBX_SYMCOUNT,
953 DBX_STRINGTAB, DBX_STRINGTAB_SIZE, DBX_SYMTAB_OFFSET): Define
954 macros to access the dbx specific objfile information.
955 * dbxread.c (symfile_string_table, symfile_string_table_size):
956 Remove these local variables.
957 * dbxread.c (read_ofile_symtab, psymtab_to_symtab_1,
958 read_dbx_symtab): Remove the stringtab and stringtab_size params
959 from the function prototypes, the function definition, and the
960 function calls. These are now available via DBX_STRINGTAB and
961 DBX_STRINGTAB_SIZE using the objfile pointer.
962 * dbxread.c (dbx_symfile_read): Relocate addr before using as
963 an arg to read_dbx_symtab.
964 * dbxread.c (dbx_symfile_read): Remove code that free'd the
965 stringtab and the dbx specific per-objfile private info.
966 * dbxread.c (init_psymbol_list): Remove symbol count from passed
967 args in prototype, function definition, and function calls. It is
968 now available via the DBX_SYMCOUNT macro using the objfile
970 * dbxread.c (dbx_symfile_read, dbx_symfile_init): Remove the
971 local instance of struct dbx_symfile_info and replace with DBX_*
973 * dbxread.c (dbx_symfile_read): Remove init's of now deleted
974 symfile_string_table and symfile_string_table_size.
975 * dbxread.c (dbx_symfile_finish): Remove now obsolete free of
976 symfile_string_table.
977 * dbxread.c (init_psymbol_list): Use DBX_SYMCOUNT.
978 * dbxread.c (dbx_psymtab_to_symtab): Remove local stringtab and
979 stringtab size variables. Remove all code that used to reread
981 * objfiles.c (allocate_objfile): Move calls to init_malloc()
982 to prior to any calls to mmalloc for the objfile specific heap.
983 * utils.c (init_malloc): Document the requirement that for each
984 heap for which corruption checking is desired, that init_mmalloc
985 must be called prior to any mmalloc calls on the heap.
987 Thu Mar 26 13:20:06 1992 Per Bothner (bothner@cygnus.com)
989 * rs6000-pinsn.c: Make dis-assembly output more like
990 other targets: Don't print instruction in hex before
991 the assembly; use print_address to print out jump
994 Wed Mar 25 16:52:35 1992 Per Bothner (bothner@cygnus.com)
996 * c-exp.y, gdbtypes.h: Add builtin_type_signed_char.
997 * cplus-dem.c: Support "Sc" meaning "signed char".
999 Wed Mar 25 15:21:44 1992 Stu Grossman (grossman at cygnus.com)
1001 * configure.in: fix iris/iris3.
1003 Wed Mar 25 14:55:48 1992 Per Bothner (bothner@cygnus.com)
1005 * command.c, main.c (various places): Use ctype.h macros
1006 (such as isupper(x)), instead of hard-wiring in ASCII-isms
1007 (such as (x >= 'A' && x <= 'Z')).
1008 (There are still more of these in other files.)
1009 * main.c (defined_command): Lower-case the user's
1010 new command before entering it. Needed because
1011 command lookup is case-insensitive (and also lower-cases).
1012 (Based on Metin's earlier patch.)
1014 Tue Mar 24 23:27:01 1992 K. Richard Pixley (rich@cygnus.com)
1016 * config/irix4.mh: new file.
1018 Tue Mar 24 14:17:48 1992 Stu Grossman (grossman@cygnus.com)
1020 * infcmd.c (step_1): Call disable_longjmp_breakpoint at the right
1023 * xm-mips.h: Declare strdup for ultrix.
1025 * mipsread.c (fixup_sigtramp): Make sure that current_objfile is setup
1026 when calling new_symbol.
1027 * mips-tdep.c (mips_frame_chain): Use symfile_objfile instead of
1030 Tue Mar 24 13:26:25 1992 Per Bothner (bothner@rtl.cygnus.com)
1032 * config/rs6000.mh: Update (for Fred's new mmalloc)
1033 flags to disable use of GNU malloc/mmalloc.
1034 * munch: Change SYSV rule to allow .text before the label,
1035 as well as after, to work for AIX.
1036 * gdbtypes.h: Minor clarifiction.
1038 Tue Mar 24 07:26:19 1992 Michael Tiemann (tiemann@cygnus.com)
1040 * buildsym.c (read_struct_type): Handle cretinous dbx symbol name
1041 continuation in yet another place (between method declarations).
1043 Mon Mar 23 23:01:41 1992 Stu Grossman (grossman at cygnus.com)
1045 * mips-tdep.c: include symfile.h and objfiles.h to fix
1048 Mon Mar 23 15:49:14 1992 Per Bothner (bothner@cygnus.com)
1050 * valops.c (value_struct_elt_for_reference): Added 'offset'
1051 parameter to handle multiple inheritance.
1052 * eval.c, value.h: Update accordingly.
1054 Fri Mar 20 17:43:27 1992 Fred Fish (fnf@cygnus.com)
1056 * objfiles.h: New file
1057 * Makefile.in (HFILES): Add objfiles.h
1058 * blockframe.c: Remove entry_scope_lowpc, entry_scope_highpc,
1059 main_scope_lowpc, main_scope_highpc.
1060 * blockframe.c, buildsym.c, coffread.c, dbxread.c, dwarfread.c,
1061 elfread.c, gdbtypes.h, minsyms.c, mipsread.c, objfiles.c, solib.c,
1062 source.c, symfile.c, symmisc.c, symtab.c, target.c, xcoffexec.c,
1063 xcoffread.c, : Include objfiles.h.
1064 * tm-29k.h, tm-i386v.h, tm-merlin.h, tm-rs6000.h, tm-sun386.h,
1065 tm-symmetry.h, tm-tahoe.h, tm-umax.h, tm-vax.h, m88k-tdep.c,
1066 mips-tdep.c (FRAME_CHAIN): Renamed outside_startup_file to
1067 inside_entry_file() and logic changed appropriately.
1068 * blockframe.c (outside_startup_file): Renamed to
1069 inside_entry_file() and logic changed appropriately.
1070 * blockframe.c (inside_main_scope): Renamed to inside_main_func()
1071 and logic changed to use per-objfile specific fields.
1072 * blockframe.c (inside_entry_scope): Renamed to
1073 inside_entry_func() and logic changed to use per-objfile specific
1075 * blockframe.c, buildsym.h, coffread.c, dwarfread.c, mipsread.c,
1076 symfile.c, mips-tdep.c (startup_file_start, startup_file_end):
1077 Remove extern decls.
1078 * symfile.c, symfile.h (entry_point): Remove extern decl.
1079 * coffread.c (coff_symfile_init): Common entry point init code
1080 moved to symfiles.c, call init_entry_point_info().
1081 * coffread.c (complete_symtab): Use new per-objfile entry info.
1082 * mip-tdep.c (mips_frame_chain): Use new per-objfile entry info.
1083 * mipsread.c (parse_partial_symbols): Use new per-objfile entry
1085 * dbxread.c (read_dbx_symtab): Use new per-objfile entry info.
1086 * defs.h (inside_entry_scope, outside_startup_file,
1087 inside_main_scope): Prototypes changed for renames to
1088 inside_entry_func, inside_entry_file, inside_main_func,
1090 * symfile.c (syms_from_objfile): Common entry point init code
1091 moved to init_entry_point_info() and call init_entry_point_info().
1092 * symfile.h (init_entry_point_info): Include prototype.
1093 * xcoffread.c (aixcoff_symfile_init): Common entry point init code
1094 moved to symfiles.c and call init_entry_point_info().
1095 * dwarfread.c (entry_scope_lowpc, entry_scope_highpc,
1096 main_scope_lowpc, main_scope_highpc): Remove extern decls.
1097 * dwarfread.c (read_func_scope, read_file_scope): Use new per-
1099 * frame.h (FRAME_CHAIN_VALID): Provide default definition that
1100 works for the majority of targets.
1101 * tm-68k.h, tm-convex.h, tm-h8300.h, tm-i386v.h, tm-irix3.h,
1102 tm-merlin.h, tm-mips.h, tm-pyr.h, tm-rs6000.h, tm-sparc.h,
1103 tm-sun386.h, tm-tahoe.h, tm-umax.h, tm-vax.h (FRAME_CHAIN_VALID):
1104 Use default definition in frame.h.
1105 * frame.h (selected_frame_level): Make decl extern.
1106 * objfiles.c, symfile.c (current_objfile): Moved to objfiles.c
1107 * objfiles.c, symfile.c (symfile_objfile): Moved to objfiles.c
1108 * partial-stab.h: Use new per-objfile entry info.
1109 * symfile.h (struct objfile): Removed, moved to objfiles.h.
1110 * symfile.h, objfiles.h (allocate_objfile, free_objfile,
1111 free_all_objfiles, iterate_over_objfiles, iterate_over_symtabs,
1112 iterate_over_psymtabs, have_partial_symbols, have_full_symbols,
1113 have_minimal_symbols): Prototypes moved to objfiles.h.
1114 * symfile.h, objfiles.h (ALL_OBJFILES, ALL_OBJFILES_SAFE):
1115 Macros moved to objfiles.h.
1116 * tm-h8300.h, tm-i386v4.h (FRAME_CHAIN_VALID_ALTERNATE): Define.
1118 Thu Mar 19 18:49:45 1992 Per Bothner (bothner@cygnus.com)
1120 More C++ improvements (pointers to members, qualified names).
1121 * c-exp.y: Support exp.type::name and exp->type::name
1122 syntaxes. (Unfortunately, doesn't work for static members.)
1123 * c-exp.y, eval.c: Make type::~type work better.
1124 * eval.c (evaluate_subexp: OP_SCOPE): Replace use of
1125 value_static_field by value_struct_elt_for_reference.
1126 * eval.c (evaluate_subexp): Merge code for STRUCTOP_MEMBER
1127 and STRUCTOP_MPTR; cast arg1 to domain-type of arg2.
1128 * eval.c (evaluate_subexp): Remove special case for UNOP_ADDR
1129 for OP_SCOPE operand; no point in it now that we use lazy
1130 reading of values, and use "reference to member" objects.
1131 * gdbtypes.h: Clarify comment.
1132 * valops.c: Change value_struct_elt_for_address to return
1133 a reference (or variable), rather than a pointer. Change
1134 the name to value_struct_elt_for_reference to reflect this.
1135 Returning a reference instead of a address provides a
1136 generalization, since we can use the routine for both
1137 class::name as well as &class::name.
1138 Also, recurse to handle multiple inheritance properly.
1139 * valprint.c: Moved code to print pointer-to-members
1140 to new function point_class_member. This allows a
1141 "reference-to-member" to be printed using the same code.
1142 * valprint.c (type_print_varspec_prefix): Avoid printing
1143 "struct " for domains of class-member types.
1144 * valops.c (search_struct_field): Inline code for simplified
1145 version of value_static_field (which can then be deleted).
1146 * value.h: Rename value_struct_elt_for_address to
1147 value_struct_elt_for_reference. Delete value_static_field.
1148 * values.c: Remove no longer used function value_static_field.
1150 Thu Mar 19 13:54:11 1992 Fred Fish (fnf@cygnus.com)
1152 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
1153 elfread.c (coff_symfile_finish): Add function, prototype, and
1154 add to the xxxx_sym_fns struct for each file type. Also reformat
1155 the xxxx_sym_fns vector to a standard format and add comments.
1156 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
1157 elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read):
1158 Pass pointer to struct objfile rather than pointer to sym_fns.
1159 Change references inside each function accordingly. Allocate any
1160 symbol file specific info in the per-objfile memory region.
1161 * dbxread.c (free_and_init_header_files): Break function into
1162 free_header_files(), called from dbx_symfile_finish(), and
1163 init_header_files(), called from dbx_new_init().
1164 * dbxread.c (dbx_new_init): Move deallocation things to new
1165 dbx_symfile_finish function.
1166 * elfread.c (elf_new_init): Call buildsym_new_init().
1167 * objfiles.c (free_objfile): Call the appropriate symfile_finish()
1168 routine for the objfile before deallocating other stuff.
1169 * sparc-tdep.c (get_longjmp_target): Cast target_read_memory arg.
1170 * symfile.h: Move struct sym_fns to before struct objfile def.
1171 Add sym_finish function pointer and change prototypes of other
1172 function pointers to reflect passing struct objfile pointer rather
1173 than struct sym_fns pointer.
1174 * symfile.c: Remove now obsolete symtab_fns pointer.
1175 * symfile.c (symfile_init): Renamed to find_sym_fns, and now only
1176 locates the correct sym_fns struct for the given objfile.
1177 * symfile.c (syms_from_objfile, symbol_file_add): Restructured
1178 for better support of mapped symbol tables.
1179 * symfile.c (symbol_file_command): Remove obsolete code using
1181 * symfile.h: Remove duplicate declarations for symfile_objfile,
1182 entry_point, and object_files.
1183 * target.c (target_info): Compare symfile_objfile to NULL.
1184 * xcoffread.c (aixcoff_new_init): Move deallocation stuff to
1185 aixcoff_symfile_finish().
1187 Wed Mar 18 18:22:46 1992 Fred Fish (fnf@cygnus.com)
1189 * infrun.c (IN_SOLIB_TRAMPOLINE): Add default definition.
1190 * infrun.c (wait_for_inferior): Use IN_SOLIB_TRAMPOLINE.
1191 * tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Add SVR4 definition.
1193 Wed Mar 18 15:51:15 1992 Per Bothner (bothner@cygnus.com)
1195 Some improvements to g++ debugging.
1196 * symtab.c (list_symbols): demangle before pattern matching.
1197 * symtab.c: Other fixes to improve handing of operators.
1198 * valprint.c (type_print_base): Fix test for constructor.
1199 * values.c (value_static_field): Allow evaluation of
1200 CLASS::METHOD, returning a function pointer.
1202 Wed Mar 18 08:39:52 1992 Fred Fish (fnf@cygnus.com)
1204 * Makefile.in (VERSION): Roll 4.4.6.
1205 * exec.c (exec_file_command): Add code to ignore optional args
1206 passed in by file_command() for use in symbol_file_command().
1207 * main.c (main): Document -mapped and -readnow in help summary.
1208 * objfiles.c (open_mapped_file): Cosmetic change, arg renamed.
1209 * objfiles.c (allocate_objfile): Filename arg removed. Changes
1210 to get filename from bfd with bfd_get_filename(). Test mapto
1211 against 0, not NULL. Use mstrsave() to make copy of filename.
1212 * remote-mm.c (mm_load): Symbol_file_add() takes an additional
1214 * remote-vx.c (vx_load_command, add_symbol_stub):
1215 Symbol_file_add() takes an additional arg.
1216 * solib.c (symbol_add_stub): Symbol_file_add() takes an
1218 * symfile.c (symfile_open): Renamed to symfile_bfd_open and
1219 changed to return a bfd not an objfile pointer.
1220 * symfile.c (syms_from_objfile): Eliminate local copy of bfd.
1221 * symfile.c (symbol_file_add): Takes an additional arg (readnow).
1222 Change to eliminate local bfd and use symfile_bfd_open() plus
1223 allocate_objfile(). Add code to implement readnow option.
1224 * symfile.c (symbol_file_command): Changes to option handling,
1225 readnow functionality moved to symbol_file_add().
1226 * symfile.c (symfile_init): Eliminate local copy of bfd.
1227 * symfile.c (add_symbol_file_command): Changes to parse mapped
1228 and readnow options.
1229 * symfile.h (allocate_objfile): Arg removed from prototype.
1230 * symtab.h (symbol_file_add): Arg added to prototype.
1231 * xcoffexec.c (map_vmap): Allocate_objfile() takes an additional
1234 Sat Mar 14 16:38:47 1992 Fred Fish (fnf@cygnus.com)
1236 * gmalloc.c, gmalloc.h mcheck.c mmap-alloc.c mmap-sbrk.c mtrace.c,
1237 mtrace.awk, state.c, state.h: Removed.
1238 * .gdbinit: Add ../malloc, ../libiberty, and ../bfd to list of
1239 directories searched for source files.
1240 * Makefile.in (GNU_MALLOC, MALLOC_CFLAGS, MALLOCSRC): Removed
1241 * Makefile.in (MMALLOC_DIR, MMALLOC_DEP, MMALLOC_LIB,
1242 MMALLOC_DISABLE, MMALLOC_CHECK, MMALLOC_CFLAGS): Add
1243 * Makefile.in (CFLAGS): Replace MALLOC_CFLAGS with MMALLOC_CFLAGS.
1244 * Makefile.in (CLIBS, CDEPS): Add MMALLOC_LIB
1245 * Makefile.in (ADD_FILES, ADD_DEPS): Remove GNU_MALLOC.
1246 * Makefile.in (SFILES_MAINDIR): Remove stat.c mmap-alloc.c, mmap-
1248 * Makefile.in (HFILES): Remove state.h
1249 * Makefile.in (POSSLIBS_MAINDIR): Remove MALLOCSRC.
1250 * Makefile.in (OBS): Remove state.o mmap-alloc.o mmap-sbrk.o
1251 * Makefile.in (saber_gdb): Remove mcheck, mtrace. Add MMALLOC_DIR.
1252 * Makefile.in (clean): Remove all object files.
1253 * c-exp.y: Define malloc to xmalloc and realloc to xrealloc.
1254 * cplus-dem.c: Remove prototypes definitions that are now done in
1256 * dbxread.c (throughout): Change from using per-objfile
1257 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
1258 * defs.h: Remove prototypes for mmap_* functions. Add prototypes
1259 for xmmalloc, xmrealloc, mfree, mmcheck, mmtrace, mmalloc_attach,
1260 mmalloc_detach, mmalloc_setkey, msavestring, and mstrsave, nomem.
1261 * depend: Remove dependencies for state.o, state.h.
1262 * dwarfread.c: Add declaration for warning_pre_print.
1263 * dwarfread.c (dwarfwarn): Use warning_pre_print.
1264 * dwarfread.c (throughout): Change from using per-objfile
1265 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
1266 * gdbtypes.c (lookup_fundamental_type): Fix init_type calls to
1267 use supplied objfile.
1268 * i386-xdep.c (print_387_status): Change to use warning() rather
1270 * i387-tdep.c (print_387_control_word): Change to use warning()
1271 rather than printfs.
1272 * infrun.c (wait_for_inferior): Remove unreachable abort() call
1273 that some compilers grumble about.
1274 * language.c (throughout): Add declaration for warning_pre_print
1275 and using warning() instead of printfs.
1276 * m2-exp.y: Define malloc to xmalloc and realloc to xrealloc.
1277 * main.c (main): Add declaration for warning_pre_print and set it
1278 similarly to error_pre_print. Add declarations for
1279 mapped_symbol_files and readnow_symbol_files. Add appropriate
1280 definitions to long_options[].
1281 * minsyms.c: Trivial fix to comment.
1282 * objfiles.c (allocate_objfile): Substantially rewritten for
1283 using mapped symbol files.
1284 * objfiles.c (throughout): Change from using per-objfile
1285 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
1286 * objfiles.c (open_mapped_file, mapped_to_address): Add functions.
1287 * source.c (throughout): Change from using per-objfile
1288 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
1289 * source.c (open_source_file): Use mstrsave to save file name in
1290 mapped symbol region for objfile.
1291 * symfile.c: Remove include for state.h.
1292 include to local form.
1293 * symfile.c (symbol_file_add_digested): Remove.
1294 * symfile.c (symbol_file_add): Substantially rewritten for mapped
1296 * symfile.h: Remove malloc/xrealloc/xmalloc/xrealloc/free members
1297 from objfile structure. Add malloc descriptor pointer (md).
1298 * symfile.h (OBJF_DUMPABLE): Changed name to OBJF_MAPPED.
1299 * symm-xdep.c (print_fpu_status): Use warning() rather than
1301 * symmisc.c (free_symtab_block): Now takes and uses current
1303 * symmisc.c (throughout): Change from using per-objfile
1304 xmalloc/xrealloc/free functions to xmmalloc/xmrealloc/mfree.
1305 * symtab.c (cplus_mangled_symbol): Cast return value to avoid
1306 Sun compiler grumblings when PTR is char *.
1307 * symtab.c (lookup_symbol): Cast return value of iterate_over_
1308 msymbols() to correct pointer type.
1309 * utils.c (warning_pre_print): Initialize to "\nwarning: ".
1310 * utils.c (fatal, fatal_dump_core): Ensure that the fatal
1311 error always starts on a line of it's own.
1312 * utils.c (init_malloc, malloc_botch, xmalloc, xrealloc):
1313 Rewrite for new mapped malloc package use.
1314 * utils.c (mmalloc, mrealloc, mfree): Stubs for configurations
1315 that don't want to use the mapped malloc package; pass arguments
1316 on to traditional malloc package functions.
1317 * utils.c (nomem): Add for fatal virtual memory exhausted aborts.
1318 * utils.c (xmmalloc, xmrealloc, xmalloc, xrealloc): Like mmalloc,
1319 mrealloc, malloc, and realloc but get fatal error if runs out
1321 * utils.c (msavestring, mstrsave): Save a string in a specific
1322 mapped malloc region.
1323 * utils.c (print_spaces): Use xmalloc to get the buffer.
1324 * xm-amix.h, xm-i386v4.h, xm-sun3os4.h, xm-sun4os4.h: Add defines
1325 for MMAP_BASE_ADDRESS and MMAP_INCREMENT.
1326 * config/i386v4.mh: Insignificant reorganization.
1328 Sat Mar 14 11:44:47 1992 Fred Fish (fnf@cygnus.com)
1330 * xcoffread.c: Only enable compilation of debugging functions
1331 if IBM6000 is defined. Fails to compile otherwise.
1333 Fri Mar 13 15:51:11 1992 K. Richard Pixley (rich@cygnus.com)
1335 * Makefile.in: pass MAKEINFO down on info.
1337 Fri Mar 13 12:56:36 1992 John Gilmore (gnu at cygnus.com)
1339 * mipsread.c (mipscoff_symfile_read): Eliminate a lot of
1340 useless code, including an lseek to an uninitialized variable.
1341 Reported by Jim Williams <jimbo@wrs.com>.
1343 Thu Mar 12 11:56:46 1992 Per Bothner (bothner@cygnus.com)
1345 Merged in patches from metin@ibmpa.awdpa.ibm.com (Metin G.
1346 Ozisik) (dated Fri, 6 Mar 92 17:51) for the rs6000.
1347 * minsyms.c, symfile.c: Changes that may be generally
1348 applicable, but are #ifdef IBM6000 for now.
1349 * rs6000-xdep.c: Fixed typo in comment.
1350 * rs6000-tdep.c: Non-substatial changes.
1351 * xoffread.c: The main change here is addition of some
1352 debugging functions.
1353 * xoffexec.c: More changes.
1355 * xcoffread.c: Fixed two too-few-parameters bugs.
1357 * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
1358 to SOLIB_CREATE_INFERIOR_HOOK macro.
1360 Sun Mar 8 21:17:48 1992 Fred Fish (fnf@cygnus.com)
1362 * symfile.h: Add prototype for iterate_over_msymbols().
1363 * symtab.c (cplus_mangled_symbol): Add function.
1364 * symtab.c (lookup_symbol): Call cplus_mangled_symbol via
1365 iterate_over_msymbols to find demangled C++ symbol.
1366 * xcoffexec.c (relocate_minimal_symbol): Return meaningful
1367 value to iterate_over_msymbols().
1368 * xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
1371 Fri Mar 6 21:59:34 1992 K. Richard Pixley (rich@cygnus.com)
1373 * Makefile.in: added check target.
1375 Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com)
1377 * ecoff.c: Move to ../bfd/coff-msym.c.
1378 * config/mt-*mips: Remove ecoff.o from the configuration.
1379 * remote.c (): Add newline to initial +.
1380 (remote_resume): Mention how to cope with signals.
1381 (remote_interrupt): Add debug msg.
1382 (remote-wait): Implement new 'T' reply, which includes
1383 status, PC, and FP all in a single short message.
1384 (putpkt): Add further debugging of packet acks.
1385 * mipsread.c (fixup_symtab): Also swap RFD's.
1386 (parse_partial_symbols): Avoid bug on unknown symbol types.
1387 * Makefile.in (VERSION): Roll to 4.4.5.
1388 * mips-tdep.c (heuristic_proc_start): Avoid long delays
1389 for remote MIPS by limiting heuristic to 200 byte search.
1390 (heuristic_proc_desc): Byte-swapping.
1391 (mips_print_register): Cope with failure of
1392 read_relative_register_raw_bytes. Byte-swap integers for
1394 * mips-pinsn.c (print_insn): Byte-swap instruction.
1396 Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com)
1398 * config.sub configure.in config/.Sanitize config/mh-irix4
1399 gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
1400 gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
1401 gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
1402 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
1404 Wed Mar 4 11:56:42 1992 Fred Fish (fnf@cygnus.com)
1406 * defs.h, utils.c: xrealloc takes PTR as first arg.
1407 * defs.h: Reword confusing comment about ANSI prototypes.
1408 * defs.h: Some minor whitespace changes.
1409 * infrun.c (wait_for_inferior): Compare int tmp to int 0,
1410 not NULL, which can be (void *).
1411 * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling.
1412 * tm-i386v.h (SP_ARG0): Define
1413 * xm-sysv4.h: Back out of change for missing prototypes.
1414 * i386-tdep.c (get_longjmp_target): Add function.
1416 Wed Mar 4 05:46:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1418 * Makefile.in: install man page too.
1420 Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
1422 * All GDB files that #include defs.h: Removed stdio.h.
1423 (defs.h): #include stdio.h.
1425 Mon Mar 2 23:00:12 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1427 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
1428 a ptype to reflect the setting of TARGET_PTR_BIT. Set the
1429 TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
1430 * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
1431 * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
1432 it before printing out the hex shape of an address.
1434 Sun Mar 1 17:41:09 1992 Per Bothner (bothner@cygnus.com)
1436 * rs6000-xdep.c (frame_initial_stack_address): Move
1437 code to set frame->cache_fsr into new separate function
1438 frame_get_cacahe_fsr. This allows fixing a fatal error.
1439 * xcoffexec.c: Turn previously suppressed error
1440 message back on, after cleaning up BFD.
1442 * breakpoint.c (breakpoint_re_set): Removed (at least for now)
1443 printing of blank line, since it cases printing of an
1444 extra blank line. Is this intended? It does mess up
1446 * defs.h: Put back declarations of malloc and realloc,
1447 but protected by #ifndef MALLOC_INCOMPATIBLE.
1448 * objfiles.c: Undo previous change: Use malloc/realloc
1449 for objfile malloc/realloc fields (but add a cast).
1450 * xcoffexec.c: Suppress an error message (for now).
1452 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
1454 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1455 [Mail dated Fri, 21 Feb 92 13:14:54 -0800]
1456 * buildsym.c: Use smash_to_pointer_type() to handle forward type
1458 * xcoffread.c: Modifications to C_DECL storage class handling, and
1459 introduction of an old smash_to_pointer_type() routine.
1461 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1462 [Mail dated Thu, 20 Feb 92 13:57:16 -0800]
1463 * rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h: function_frame_info()
1464 parameters have been modified.
1466 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1467 [Mail dated Thu, 20 Feb 92 10:10:05 -0800]
1468 * rs6000-tdep.c: Before Feb 5 92, register_valid[] array was not used,
1469 and fetch_inferior_registers() always fetched all the registers
1470 resulting valid register values at hand all the time. Pushing a dummy
1471 frame did not require validating all register values first. After
1472 putting the above mechanism into action, we didn't have valid registers
1473 values always ready. Thus, all registers need to be fetched before
1474 pushing a dummy frame now.
1476 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1477 [Mail dated Thu, 13 Feb 92 16:22:44 -0800]
1478 * rs6000-xdep.c: frame_initial_stack_address() function to calculate
1479 the starting address (actual frame address) of a frame.
1480 * rs6000-tdep.c: modifications to function_frame_info() to see if
1481 function reserves a frame pointer register (alloca register)
1482 * tm-rs6000.h: EXTRA_FRAME_INFO, FRAME_ARGS_ADDRESS and
1483 FRAME_LOCALS_ADDRESS has been updated to support debugging of
1484 functions with alloca() calls.
1486 Sun Mar 1 13:13:39 1992 Fred Fish (fnf@cygnus.com)
1488 * xm-sysv4.h: Provide definitions/prototypes for host environment
1489 functions for which no definitions or prototypes are provided in
1490 any currently included gdb or host environment header files.
1491 For SVR4, this currently includes malloc and realloc, which cannot
1492 be portably prototyped in any gdb include file.
1494 Sat Feb 29 14:43:02 1992 Per Bothner (bothner@cygnus.com)
1496 * buildsym.h: Remove obsolete variable file_stabs.
1498 * Makefile.in: Move place where configure merges in host-
1499 and target-dependent fragments later, so the latter
1500 can override (say) GNU_MALLOC.
1501 * config/mh-rs6000: Use system malloc. Otherwise, I
1502 ended up with *two* incompatible versions of malloc
1503 (functions in libc would call the malloc in libc).
1504 I assume this is a shared library problem.
1506 * remote.c: Fix (presumed) typo.
1507 * objfiles.c: Use xmalloc/xrealloc instead of
1508 malloc/realloc (since the latter are no longer declared).
1510 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1511 [Mail dated Thu, 6 Feb 1992 10:22:02 -0800]
1512 * rs6000-xdep.c: Improvements to fetch_inferior_registers() to
1513 handle individual registers.
1514 * tm-rs6000.h: Fix SAVED_PC_AFTER_CALL macro to handle pc value
1515 correctly in case it wasn't cached yet. (A problem showed up
1516 after fetching individual registers.)
1517 * buildsym.c: Disable type_synonym_name's type name overwriting
1518 in cases it is unnecesary. rs6000 portation doesn't use
1519 type_synonym_name, and it used to nullify type names
1520 * xcoffread.c: to handle g++'s typename abbreviation, fill in a
1521 type's name as soon as space for that type is allocated.
1522 * xcoffread.c: ignore a section's lineno information if it is
1523 not `.text'. (In rs6000 bfd portation integration, skipping over
1524 `.pad' sections are ignored since it was in machine independent
1525 part of the code. Thus, a problem of fake sections with invalid
1526 lineno information arised.)
1528 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik)
1529 [Mail dated Thu, 6 Feb 1992 13:26:22 -0800]
1530 * rs6000-tdep.c: make function_frame_info() work whether or not
1531 reading from a core file.
1532 * tm-rs6000.h: Implementation of FRAME_FIND_SAVED_REGS macro.
1534 * infrun.c. main.c, printcmd.c. symtab.c:
1535 More changes from IBM for rs6000.
1538 Thu Feb 27 22:57:19 1992 Per Bothner (bothner@cygnus.com)
1540 * rs6k-opcode.h, tm-rs6000.h, xm-rs6000.h, rs6000-tdep.c,
1541 rs6000-xdep.c, xcoffexec.c, xcoffread.c:
1542 Merge in changes (mostly from IBM) for RS6000.
1543 * breakpoint.c, buildsym.c, infptrace.c, stack.c, symtab.c:
1544 More changes from IBM for RS6000. These are in machine-
1545 independent code, and probably could do with some cleaning
1546 up. The most questionable of these are #ifdef IBM6000.
1547 * infrun.c, sparc-tdep.c: Pass a parameter (signal number)
1548 to single_step() (for consistency with rs6000 and i860).
1549 * utils.c: Allow the 1st arg to xrealloc to be NULL
1550 (in which case do malloc). This removes the need for
1551 some tests in xcoff code (and perhaps other places?).
1552 * coffread.c: Removed variables last_source_file,
1553 type_vector, and type_vector_length as these are now
1554 defined by buildsym.[ch].
1555 * defs.h: Remove prototypes for malloc and realloc, since
1556 these should only be used to implement xmalloc and xrealloc,
1557 and they conflict with <stdlib.h> in AIX - where they
1558 return void* even when __STDC__ isn't defined. Sigh.
1559 * munch: Recognize *initialize* in data as well as text
1560 (AIX uses data). Also, incorporate a patch from Garrett
1561 Wollman <wollman@uvm-gen.uvm.edu> to make the sed script
1562 much more sensible, by only trying to match the name of
1563 the initialize_foo function, and not the junk before it.
1565 Thu Feb 27 20:07:43 1992 Stu Grossman (grossman at cygnus.com)
1567 * breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
1568 unless symbol table indicates that something has changed.
1570 Thu Feb 27 11:48:47 1992 John Gilmore (gnu at cygnus.com)
1572 * remote.c: Make it work for embedded MIPS. Increase buffer
1573 size, and use throughout. Round buffer size up if too many regs.
1574 Support baud rate setting and try for an 8-bit path. If
1575 interrupted while waiting for target, send a ^C down the wire.
1576 Avoid single-byte reads.
1577 * tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
1579 * mips-xdep.h: Avoid the embedded regs when on Unix.
1581 * mipsread.c: Byte-swap the symbol table structures, using
1582 routines from ecoff.c, to read a symbol table written in any
1583 of the four possible byte orders.
1584 * configure.in (mips-big-* target): Same as Sony News.
1585 * config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
1586 * ecoff.c: New file for symbol swapping routines.
1588 Thu Feb 27 09:26:38 1992 Stu Grossman (grossman at cygnus.com)
1590 * breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
1591 all-breakpoints' command.
1592 * (get_number): Allow users to enter negative breakpoint numbers.
1593 * (breakpoint_1): Reformat display of 'info break' to show new
1595 * (create_longjmp_breakpoint, breakpoint_re_set,
1596 breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
1597 symfile.c (syms_from_objfile): Re-do
1598 insertion of longjmp breakpoints. Move all code into
1599 breakpoint_re_set, and call that instead of
1600 create_longjmp_breakpoint in symfile.c.
1602 Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com)
1604 * breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
1605 * breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE.
1606 * symtab.c (find_pc_symtab): Handle having no objfiles.
1607 * infcmd.c: Fix comment.
1608 * objfiles.c (free_all_objfiles): Add.
1609 * symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add.
1610 * symfile.c (symbol_file_command): free all objfiles when
1611 specifying a new symbol file.
1612 (reread_symbols): Stat the file name, don't fstat the descriptor.
1614 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
1616 * Makefile.in, configure.in: removed traces of namesubdir,
1617 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1618 copyrights to '92, changed some from Cygnus to FSF.
1620 Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com)
1622 * dbxread.c (end_psymtab): Delete empty psymtabs.
1623 * symfile.c (allocate_psymtab): Recycle empty psymtabs.
1624 * symfile.h (struct objfile): Add free_psymtabs.
1626 Sat Feb 22 02:00:32 1992 John Gilmore (gnu at cygnus.com)
1628 * Makefile.in (VERSION): Roll to gdb-4.4.4.
1630 * symfile.c (symbol_file_command): strcmp => !strcmp.
1631 * breakpoint.h: Move prototypes to follow enum definition they need.
1632 * breakpoint.c, infrun.c: Lint.
1633 * printcmd.c: Use `enum enable' rather than `enum
1635 * mipsread.c: First pass at making it compile with the new
1636 objfile changes. Probably seriously broken still, but it
1639 Sat Feb 22 00:56:39 1992 Stu Grossman (grossman at cygnus.com)
1641 * infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
1642 breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
1643 mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
1644 stepping (and nexting) through longjmp(). Also, cleanup
1645 breakpoint handling quite a bit by creating explicit breakpoint
1646 types instead of using magic breakpoint numbers.
1647 Makefile.in: Update version to 4.4.3
1649 Sat Feb 22 00:08:50 1992 John Gilmore (gnu at cygnus.com)
1651 * buildsym.c, dwarfread.c, gdbtypes.c, inflow.c, main.c,
1652 minsyms.c, printcmd.c, remote.c, saber.suppress: Saberlint.
1653 * symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
1655 * xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
1657 * minsyms.c (install_minimal_symbols): Add bunches to any
1658 existing minsyms in the objfile. Avoid extra mallocation
1659 by working directly in the obstack. Remove ignored `mainline' parm.
1660 * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
1661 xcoffread.c: Change all callers.
1662 * FIXME: We should be able to eliminate MAINLINE from all the
1663 symbol readers now, with a small bit of work.
1665 * valops.c, value.h: Lint.
1666 * remote-vx.c: Add missing break; statement. Bugfix by
1667 Michael Sclafani, <sclafani@src.dec.com>.
1669 Fri Feb 21 17:29:54 1992 Fred Fish (fnf at cygnus.com)
1671 * Makefile.in (VERSION): Update version to 4.4.2
1672 * Makefile.in (SFILES_MAINDIR): Add gdbtypes.c, state.c, objfiles.c,
1673 minsyms.c, mmap-alloc.c, mmap-sbrk.c
1674 * Makefile.in (HFILES): Add gdbtypes.h, state.h, solib.h
1675 * Makefile.in (OBS): Add gdbtypes.o, state.o, objfiles.o, minsyms.o,
1676 mmap-alloc.o, mmap-sbrk.o
1678 * altos-xdep.c: Minor whitespace change.
1679 * am29k-tdep.c (examine_prologue): Convert from misc function vector
1680 use to new minimal symbol table use.
1681 * arm-xdep.c (fetch_inferior_registers): Document unused argument.
1682 * arm-xdep.c (store_inferior_registers): Returns void.
1683 * blockframe.c (get_pc_function_start, find_pc_partial_function):
1684 Convert from misc function vector use to new minimal symbol table use.
1685 Remove find_pc_misc_function(). Ifdef out block_innermost_frame().
1686 * breakpoint.c: Add prototypes for local functions.
1687 * breakpoint.c (catch_command_1): Change to static and remove unused
1689 * breakpoint.c (map_breakpoint_numbers): Prototype arg "function".
1690 * breakpoint.h: Change function decls to prototype form.
1691 * buildsym.c: Add prototypes for local functions.
1692 * buildsym.c: Moved hashname() function here from dbxread.c.
1693 * buildsym.c (dbx_lookup_type): Cast args to xrealloc().
1694 * buildsym.c: Remove dbx_create_type(), uses changed to alloc_type().
1695 * buildsym.c (dbx_alloc_type): Change to static.
1696 * buildsym.c (finish_block): Add objfile parameter.
1697 * buildsym.c (misc): Change symbol_obstack to objfile version.
1698 * buildsym.c (make_blockvector): Change to static.
1699 * buildsym.c (start_subfile): Use strdup instead of obsavestring.
1700 * buildsym.c (compare_line_numbers): Change to static, args are const,
1701 cast args when used.
1702 * buildsym.c (start_symtab): Inline new_object_header_files() call.
1703 * buildsym.c (patch_block_stabs): Moved to this file from xcoffread
1704 and made static. Add objfile parameter.
1705 * buildsym.c (end_symtab): Simplify code using line table size.
1706 Realloc the linetable on the objfile symbol_obstack and copy there.
1707 * buildsym.c (scan_file_globals): Convert from misc function vector
1708 use to new minimal symbol use.
1709 * buildsym.c (define_symbol): Add objfile parameter. Make sure
1710 strings get allocated in objfile's symbol_obstack. Convert references
1711 to builtin types to lookup_fundamental_type().
1712 * buildsym.c (read_type): Make static, add objfile parameter, convert
1713 references to buildin types to lookup_fundamental_type().
1714 * buildsym.c (read_struct_type): Add objfile parameter.
1715 * buildsym.c (read_array_type): Make static, add objfile parameter.
1716 * buildsym.c (read_enum_type): Make static, add objfile parameter.
1717 * buildsym.c (read_huge_number): Make static.
1718 * buildsym.c (read_range_type): Make static, add objfile parameter,
1719 convert references to buildin types to lookup_fundamental_type ().
1720 * buildsym.c (read_args): Make static, add objfile parameter.
1721 * buildsym.h: Convert function decl's to prototype form.
1722 * c-exp.y: Add prototypes for local functions, convert uses of misc
1723 function vector to minimal symbol table. Reformat all builtin type
1724 initializations and pass a NULL objfile to init_type() for them.
1725 * coffread.c: Change context_stack ref's to coff_context_stack,
1726 add local function prototypes. Cast uses of xrealloc arg 1.
1727 * coffread.c (coff_alloc_type): Call alloc_type instead of hand-
1728 crafting a new type.
1729 * coffread.c (add_symbol_to_list): Change to coff_add_symbol_to_list.
1730 * coffread.c (finish_block): Change name to coff_finish_block.
1731 * coffread.c (make_blockvector): Add and use objfile parameter.
1732 * coffread.c (record_line): Change name to coff_record_line.
1733 * coffread.c (start_symtab): Change name to coff_start_symtab.
1734 * coffread.c (end_symtab): Change name to coff_end_symtab.
1735 * coffread.c (record_misc_function): Change name to record_minimal_
1736 symbol and change to minimal symbol table use from misc func tbl.
1737 * coffread.c (coff_symfile_read): Convert from misc function vector
1738 use to minimal symbol table use.
1739 * coffread.c (hashname): Remove; use common version in buildsym.c.
1740 * coffread.c (decode_base_type): Change references to builtin types
1741 to calls to lookup_fundamental_type().
1742 * coffread.c (read_struct_type): Change name to coff_read_struct_type.
1743 * coffread.c (read_enum_type): Change name to coff_read_enum_type.
1744 * command.c: Add prototypes for local functions.
1745 * command.c (add_cmd): Prototype the 'fun' parameter and use the
1746 appropriate member of the function union for that type.
1747 * command.c (add_abbrev_cmd): Prototype the 'fun' parameter and
1748 ifdef out the function since it isn't currently used.
1749 * command.c (add_alias_cmd): Pass correct function type to add_cmd.
1750 * command.c (add_prefix_cmd): Prototype the 'fun' parameter.
1751 * command.c (add_abbrev_prefix_cmd): Prototype the 'fun' parameter.
1752 * command.c (help_cmd): Compare function pointer to NULL.
1753 * command.c (help_cmd_list): Compare function pointer to NULL.
1754 * command.c (lookup_cmd_1): Use correct member of function union.
1755 * command.c (undef_cmd_error): Make static.
1756 * command.c (complete_on_cmdlist): Use correct member of func union.
1757 * command.c (do_setshow_command): Use correct member of func union.
1758 * command.c (shell_escape): Convert rindex use to strrchr.
1759 * command.h (COMMAND_H): Define if already included.
1760 * command.h (cmd_list_element struct): Change 'function' to a union
1761 and prototype args. Prototype completer function.
1762 * command.h: Convert decl's to prototype form.
1763 * convex-xdep.c (store_inferior_registers): Returns void.
1764 * copying.c: Prototype local functions.
1765 * coredep.c: Minor whitespace change.
1766 * cplus-dem.c: Remove hack to use BSD equivalents of mem* and str*.
1767 * cplus-dem.c: Prototype local functions.
1768 * dbxread.c (hashname): Remove; moved to buildsym.c.
1769 * dbxread.c (free_and_init_header_files): Make static.
1770 * dbxread.c: Add prototypes for local functions.
1771 * dbxread.c (new_object_header_files): Remove; inlined usages.
1772 * dbxread.c (xrealloc usages): Cast args.
1773 * dbxread.c (record_misc_function): Change to record_minimal_symbol
1774 and change usages accordingly.
1775 * dbxread.c (static_psymbols usages): Change to use per-objfile copy.
1776 * dbxread.c (xmalloc usages): Use per-objfile copy when appropriate.
1777 * dbxread.c (dbx_next_symbol_text): Make static.
1778 * dbxread.c (init_psymbol_list): Convert to use per-objfile data.
1779 * dbxread.c (init_bincl_list): Add and use objfile parameter.
1780 * dbxread.c (free_bincl_list): Add and use objfile parameter.
1781 * dbxread.c (compare_psymbols): Remove; use common symfile.c version.
1782 * dbxread.c (end_psymtab): Convert to use per-objfile data.
1783 * dwarfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for
1785 * dwarfread.c (record_misc_function): Change name to record_minimal_
1786 symbol and use minimal symbol table throughout.
1787 * dwarfread.c (compare_psymbols): Remove; use common symtab.c version.
1788 * dwarfread.c: Convert all references to builtin types to use the new
1789 lookup_fundamental_type function.
1790 * dwarfread.c (read_enumeration): Add and use objfile parameter.
1791 * elfread.c (DEFUN/EXFUN): Remove all usages. Use PARAMS for proto-
1793 * elfread.c (record_misc_function): Convert to use record_minimal_
1795 * elfread.c (elf_symtab_read): Add objfile parameter.
1796 * eval.c: Add prototypes for local functions and move some decls
1797 around to accomodate prototypes.
1798 * expprint.c: Add prototypes for local functions. Change references
1799 to misc function vector to minimal symbol table.
1800 * findvar.c (read_memory usages): Cast args.
1801 * gdbtypes.h: New file, type info from symfile.h and symtab.h.
1802 * gmalloc.c: Use NOARGS where prototypes used hardwired void.
1803 * gmalloc.c (BLOCKSIZE): Constant to be shifted is unsigned.
1804 * gmalloc.h: Use NOARGS where prototypes used hardwired void.
1805 * gould-xdep.c: Minor whitespace change.
1806 * hp300ux-xdep.c (fetch_inferior_registers): Remove unused regno var.
1807 * hp300ux-xdep.c (store_inferior_registers): Returns void.
1808 * hp300ux-xdep.c (fetch_core_registers): Takes unused arg reg_addr.
1809 * i386-stub.c: Add prototypes, change "volatile" to NORETURN.
1810 * i386-tdep.c: Add prototypes for local functions.
1811 * i386-tdep.c (codestream_fill, codestream_seek, codestream_read,
1812 i386_get_frame_setup, i386_skip_prologue): Explicitly declare params
1813 that defaulted to int.
1814 * i386-tdep.c (i386_follow_jump, i386_frame_find_saved_regs,
1815 i386_push_dummy_frame): Returns void.
1816 * i386-xdep.c (i386_register_u_addr): Declare params that default to
1817 int and explicitly declare return type as int.
1818 * i387-tdep.c: Minor formatting changes.
1819 * i960-tdep.c (leafproc_return): Convert from misc function vector
1820 use to minimal symbol table use.
1821 * infcmd.c: Add prototypes for local functions.
1822 * infcmd.c (continue_command, until_next_command, until_command,
1823 path_info, path_command): Make static.
1824 * infcmd.c (step_1, until_next_command): Convert from misc func
1825 vector to minimal symbol table use.
1826 * inflow.c: Add prototypes for local functions.
1827 * infptrace.c (store_inferior_registers): Returns void, not int.
1828 * language.c (_initialize_language): Use proper member of function
1830 * m2-exp.y: Add prototypes for local functions, convert misc function
1831 vector uses to minimal symbol table uses.
1832 * m2-exp.y (make_qualname, yyerror): Make static.
1833 * m2-exp.y (_initialize_m2_exp): Call init_types with NULL objfile.
1834 * m68k-pinsn.c: Add prototypes for local functions.
1835 * m68k-pinsn.c (print_insn): Cast args to read_memory.
1836 * m68k-pinsn.c (fetch_arg): Make parameter 'code' and int.
1837 * m68k-stub.c: Add prototypes.
1838 * m88k-pinsn.c (sprint_address): Convert from misc function vector
1839 use to minimal symbol table use.
1840 * m88k-xdep.c (fetch_inferior_registers): Takes an unused parameter.
1841 * m88k-xdep.c (store_inferior_registers): Returns void.
1842 * mach386-xdep.c (fetch_inferior_registers): Takes an unused param.
1843 * mach386-xdep.c (store_inferior_registers): Returns void.
1844 * mach386-xdep.c (fetch_core_registers): Takes an unused parameter.
1845 * main.c: Add prototypes for local functions.
1846 * main.c (return_to_top_level): Is type NORETURN (volatile). Cast
1847 longjmp() result to (NORETURN void).
1848 * main.c (catch_errors): Prototype the 'func' parameter.
1849 * main.c (disconnect, stop_sig, do_nothin, float_handler):
1850 Takes an unused arg.
1851 * main.c (execute_command): Call the right member of the func union.
1852 * main.c (command_loop_marker, symbol_completion_function,
1853 command_loop): Make static.
1854 * main.c (command_line_input): Make linelength unsigned, cast arg
1855 to command_line_input().
1856 * main.c (add_info, add_com): Prototype the 'fun' parameter.
1857 * main.c (initialize_main): Call right member of function union.
1858 * mcheck.c (NOARGS): Change hardwired void in prototypes to NOARGS.
1859 * mem-break.c: Include symtab.h
1860 * mips-xdep.c (fetch_inferior_registers): Takes unused param.
1861 * mips-xdep.c (store_inferior_registers): Returns void.
1862 * mipsread.c (mipscoff_symfile_read): Change from misc function vector
1863 use to minimal symbol table use.
1864 * mipsread.c (symbol_obstack usages): Convert all to use per-objfile
1866 * mipsread.c (make_type): Remove, convert usages to init_type.
1867 * mipsread.c (_initialize_mipsread): Call init_type with NULL objfile.
1868 * nindy-tdep.c (nindy_frame_chain_valid): Convert from misc function
1869 vector use to minimal symbol table use.
1870 * parse.c: Add prototypes for local functions.
1871 * parse.c (xrealloc usages): Cast args.
1872 * parse.c (prefixify_expression, length_of_subexp): Make static.
1873 * parser-defs.h (PARSER_DEFS_H): Define when first included.
1874 * parser-defs.h: Convert function decls to prototype form.
1875 * partial-stab.h: Convert from misc function vector use to new minimal
1877 * partial-stab.h (global_psymbols, static_psymbols usages): Reference
1878 the per-objfile copies.
1879 * printcmd.c: Add prototypes for local functions. Move some struct
1880 definitions around to accomodate prototypes.
1881 * printcmd.c (decode_format): Make static, change args oformat and
1882 osize to int from char.
1883 * printcmd.c (print_formatted): Change 'format' and 'size' to int.
1884 * printcmd.c (print_scalar_formatted): Change arg 'format' to int.
1885 * printcmd.c (print_address_symbolic): Convert from misc function
1886 vector use to minimal symbol table use.
1887 * printcmd.c (address_info): Convert from misc function vector use
1888 to minimal symbol table use.
1889 * printcmd.c (delete_display, enable_display, disable_display_command):
1891 * procfs.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
1892 * procfs.c (fetch_core_registers): Add unused param reg_addr.
1893 * pyr-xdep.c (fetch_inferior_registers): Add unused param regno.
1894 * pyr-xdep.c (store_inferior_registers): Returns void.
1895 * remote-mm.c (mm_load): symbol_file_add return value unused.
1896 * remote-nindy.c: Minor format change.
1897 * remote-vx.c (vx_load_command): symbol_file_add result unused.
1898 * rs6000-xdep.c (fetch_inferior_registers): Add unused param regno.
1899 * rs6000-xdep.c (store_inferior_registers): Returns void.
1900 * rs6000-xdep.c (fetch_core_registers): add unused param reg_addr
1901 * rs6000-xdep.c (aixcoff_relocate_symtab): Convert from misc function
1902 vector use to minimal symbol table use.
1903 * solib.c: Add prototypes for local functions.
1904 * solib.c (solib_add_common_symbols, locate_base): Convert from misc
1905 function vector use to minimal symbol table use.
1906 * solib.c (EXFUN/DEFUN): Remove all usages, convert to PARAM.
1907 * solib.c (find_solib, shared_library_command): Make static
1908 * solib.c (read_memory, write_memory usages): Cast args.
1909 * solib.c (special_symbol_handling): Add function
1910 * source.c: Add prototypes for local functions.
1911 * source.c (select_source_symtab): Convert to scan objfiles.
1912 * source.c (open_source_file): Make static.
1913 * source.c (xrealloc usages): Cast args.
1914 * source.c (source_line_charpos): ifdef out, unused.
1915 * source.c (get_filename_and_charpos): Make static.
1916 * stack.c: Add prototypes for local functions.
1917 * stack.c (print_frame_info, frame_info): Convert from misc function
1918 vector use to minimal symbol table use.
1919 * symfile.c: Add prototypes for local functions.
1920 * symfile.c (compare_symbols): Make args const PTR's.
1921 * symfile.c (compare_psymbols, sort_pst_symbols) add.
1922 * symfile.c (sort_all_symtab_syms): Scan objfile list.
1923 * symfile.c (obsavestring): Add objfile parameter.
1924 * symfile.c (init_misc_bunches, prim_record_misc_function,
1925 compare_misc_functions, discard_misc_bunches, condense_misc_bunches,
1926 sort_misc_function_vector, compact_misc_function_vector): Remove
1927 * symfile.c (symbol_file_add_digested): Add function.
1928 * symfile.c (symbol_file_add): Returns struct objfile *.
1929 * symfile.c (symbol_file_command): Modify for state file use.
1930 * symfile.c (symfile_open): Add parameter "dumpable".
1931 * symfile.c (allocate_objfile, free_objfile): Moved to objfiles.c
1932 * symfile.c (load_command, add_symbol_file_command): Make static.
1933 * symfile.c (fill_in_vptr_fieldno): Moved to gdbtypes.c
1934 * symfile.c (rindex usages): Converted to strrchr.
1935 * symfile.c (allocate_psymtab): New
1936 * symfile.c (free_named_symtabs): Ifdef out code that needs to be
1937 converted to minimal symbol table usage, but no obvious conversion.
1938 * symfile.c (free_all_symtabs): Remove.
1939 * symfile.c (_initialize_symfile): Use per-objfile info.
1940 * symfile.h: Rework the objfile structure to add per-objfile data
1941 objects (psymbol_obstack, symbol_obstack, type_obstack,
1942 global_psymbols, static_psymbols, msymbols, minimal_symbol_count,
1943 fundamental_types, malloc, realloc, free, xmalloc, xrealloc, etc).
1944 Add prototypes to function declarations.
1945 * symm-tdep.c (symmetry_extract_return_value): Convert from misc
1946 function vector usage to minimal symbol table usage.
1947 * symmisc.c (DEV_TTY): Define if not defined.
1948 * symmisc.c: Add local function prototypes.
1949 * symmisc.c (dump_objfile, dump_msymbols, dump-symtab, print_syms,
1950 printpsyms_command, print_objfiles, print_objfiles_command):
1951 Rework to use iterate_over_*
1952 * symtab.c: Add prototypes for local functions.
1953 * symtab.c (lookup_symtab_1): Convert to look through objfiles.
1954 * symtab.c (lookup_partial_symtab): Scan through objfiles.
1955 * symtab.c (lookup_primitive_typename, lookup_typename, lookup_
1956 unsigned_typename, lookup_struct, lookup_union, lookup_enum,
1957 lookup_template_type, lookup_struct_elt_type, lookup_pointer_type,
1958 lookup_reference_type, lookup_member_type, allocate_stub_method,
1959 check_stub_method, create_array_type, smash_to_member_type,):
1961 * symtab.c (lookup_symbol): Some args are const.
1962 * symtab.h: All type related defs and structs moved to gdbtypes.h
1963 * symtab.h: Convert decls to prototypes.
1964 * target.c (noprocess): Make static.
1965 * target.h: Change decl's to prototypes.
1966 * tm-sunos.h: (CLEAR_SOLIB, SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK,
1967 DISABLE_UNSETTABLE_BREAK) Moved to solib.h.
1968 * utils.c (_initialize_utils): Use correct member of function union.
1969 * valarith.c: include gdbtypes.h
1970 * valops.c: include gdbtypes.h, add prototypes for local functions.
1971 * valops.c (value_push, value_arg_push, find_function_addr):
1973 * valops.c (value_string): Convert from misc function vector use
1974 to minimal symbol table use.
1975 * valops.c (check_field_in): Make arg const.
1976 * valprint.c: Add prototypes for local functions.
1977 * valprint.c (print_string): Make static
1978 * valprint.c (value_print, val_print_fields, val_print): Make arg int.
1979 * values.c: Add prototypes for local functions.
1980 * values.c (value_headof): Convert from misc function vector to
1981 minimal symbol table.
1982 * xcoffexec.c: Add prototypes for local functions.
1983 * xcoffexec.c (exec_close, file_command, add_to_section_table):
1985 * xcoffexec.c (relocate_minimal_symbol): Add.
1986 * xcoffread.c (patch_block_stabs): Moved to buildsyms.c.
1987 * xcoffread.c: Add prototypes for local functions.
1988 * xcoffread.c (sort_syms): Convert to scan objfiles.
1989 * xcoffread.c (read_xcoff_symtab): Make static.
1990 * xcoffread.c (various): Replace references to builtin types with
1991 calls to lookup_fundamental_type. Replace references to symbol_obstack
1992 and psymbol_obstack with pointers to the per-objfile copies.
1993 * xcoffread.c (dump_linetable, dump_type, dump_symbol, dump_namespace,
1994 dump_block, dump_blockvector, dump_last_symtab, dump_symtabs):
1996 * xcoffread.c (init_stringtab): Add objfile parameter.
1997 * gdbtypes.c: New file
1998 * minsyms.c: New file
1999 * mmap-alloc.c: New file
2000 * mmap-sbrk.c: New file
2001 * objfiles.c: New file
2005 Fri Feb 21 17:29:54 1992 John Gilmore (gnu at cygnus.com)
2007 * Check in Fred Fish's changes in these modules. Fred
2008 will make ChangeLog entries for all of them. Update VERSION
2011 Thu Feb 20 18:10:17 1992 Fred Fish (fnf at cygnus.com)
2013 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
2015 * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
2016 sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
2017 value.h: Prototypes for static functions; lint.
2018 * gdbtypes.h: Empty file to ease transition.
2020 Thu Feb 20 16:43:13 1992 Fred Fish (fnf at cygnus.com)
2022 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
2023 inferior.h, language.h, signame.h, target.h, terminal.h,
2024 tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
2025 xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
2027 * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
2028 signame.c, sparc-xdep.c: Prototypes for all static functions.
2030 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
2031 remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
2032 target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
2033 Remove to_call_function and target_call_function, since it
2034 always calls the same thing (call_function_by_hand).
2035 * core.c, exec.c, solib.c: Rename target_ops sections =>
2037 * infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
2038 target.h: target_kill takes no args.
2039 * language.c (language_info): Scaffolding to allow briefer
2040 messages when the current language changes. FIXME.
2041 * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
2042 complaints about volatile functions.
2043 * xm-sysv4.h (HAVE_MMAP): Define.
2045 Thu Feb 20 09:04:18 1992 Fred Fish (fnf at cygnus.com)
2047 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
2048 to make prototypes for all functions declared here.
2049 * cplus-dem.c: Avoid declaring xmalloc and xrealloc.
2050 * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
2051 * environ.c: Include <stdio.h> before defs.h. Minor cleanup.
2052 * ieee-float.h: Use PARAMS for prototypes; make some params const.
2053 * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
2054 * m2-exp.y: Remove unused CONST; Rename OR and AND.
2055 * utils.c: Avoid declaring malloc and realloc. Lint.
2056 (request_quit): Accept signal-number parameter.
2058 Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
2060 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
2061 DIE's. Add new function read_tag_pointer_type() to read them.
2063 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
2064 When creating a new user defined type, check to see if a partial
2065 type already exists, and if so, bash it to fit.
2067 Fri Feb 14 19:00:17 1992 John Gilmore (gnu at cygnus.com)
2069 * coffread.c (decode_base_type): Pass long, not union.
2070 Fix by Eric Valette, ev@chorus.fr.
2072 Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
2074 * elfread.c (elf_symtab_read): Fix code to correctly track
2075 changes in bfd for absolute symbols.
2077 Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
2079 * xm-vaxbsd.h: Close off comment.
2081 Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
2083 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
2085 Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
2087 * mips-tdep.c (mips_print_registers): Print correct register
2088 number for double pseudo-registers.
2090 Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
2092 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
2093 in the op$::OPERATOR. case. From Steven McCanne,
2094 <mccanne@horse.ee.lbl.gov>.
2096 * exec.c (set_section_name): Pass arg to exec_files_info;
2097 only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
2099 Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
2101 * main.c (print_gdb_version): Copyright msg: only this year.
2102 (cd_command): Avoid changing current_directory on error.
2104 Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
2106 * mipsread.c (parse_partial_symbols): Handle dependencies
2107 between partial symbol tables (when not doing stabs-in-ecoff).
2108 (This used to be handled by parse_fdr, but parse_fdr was
2109 incompatible with handling stabs-in-ecoff, so the code
2110 was re-written to not use parse_fdr. Unfortunately,
2111 the logic to handle dependencies was overlooked.)
2113 Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
2115 * coffread.c (read_enum_type): Use the size of a target int when
2117 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
2119 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
2120 * symtab.c (lookup_reference_type, lookup_ptr_type): use
2121 TARGET_PTR_BIT to determine size of a pointer
2122 * values.c (unpack_long): when unpacking a REF or a PTR don't
2123 assume the size of the type.
2125 Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
2127 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
2128 looking at its members. Improve guess between struct and union,
2129 only assuming union if multiple members have offsets of zero.
2131 Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
2133 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
2134 (This is just for clarity - and one day permitting us to
2135 change FP0_REGNUM from 38 to 32, which would make more sense.)
2136 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
2137 register numbers in stabs-in-ecoff get handled correctly.
2139 Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
2141 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
2142 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
2143 into BSD and Ultrix.
2145 Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
2147 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
2149 Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
2151 * Makefile.in: Increment version to 4.4.1.
2152 * main.c (print_gdb_version): Update copyright notice.
2154 Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
2156 * mipsread.c: Prepend "struct " to the names of structure
2157 types, and similarly for enums and unions. (This used
2158 to be done, but got lost in the re-write to "guess" the
2159 difference between enum/struct/union.)
2160 Also, guess that a tag is an enum if the first member
2163 Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
2165 * xm-vax.h: #ifndef ultrix around #include of endian.h and
2168 Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
2170 * Projects: Patching executables is done.
2171 * Makefile.in (VERSION): Roll to gdb-4.4.
2172 * README, WHATS.NEW: Update for gdb-4.4.
2174 * symfile.c (reread_symbols): Whenever we reread one object
2175 file's symbols, we must restart the scan, because the object_files
2176 chain has been permuted.
2178 * exec.c (exec_files_info): Split out into print_section_info.
2179 Print BFD filename of each section if it's not the default one.
2180 * core.c (core_files_info): Call print_section_info.
2182 * xm-vax.h: Include a few system header files whose definitions
2183 must precede defs.h.
2184 * language.c, language.h: Make some things const.
2185 * expression.h, main.c: const spreads like ooze.
2187 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
2188 since BREAKPOINT values can be >0x80.
2190 Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
2192 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
2194 Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
2196 * sparc-pinsn.c: Remove kludge for preferring architectures.
2197 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
2198 and forever. Add `add' instruction to the set that get checked
2199 for a preceding `sethi' in order to print an absolute address.
2200 Corresponding changes in ../include/opcode/sparc.h needed
2201 to eliminate garbage instructions.
2203 Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
2205 * mipsread.c (parse_partial_symbols): Make sure partial
2206 symbols are created for external symbols (as used to be
2207 the case). This is a bit of a pain with the mips-coff.
2208 It uses a table which points to all of the external
2209 symbols belonging to a particular FDR or psymtab.
2210 Once we've generated this table, we might as well save
2211 it, and then use it in psymtab_to_symtab_1 to find
2212 the symbols to pass to parse_external().
2213 * symfile.c, symfile.c: New function start_psymtab_common
2214 to share the common parts of allocating a new psymtab
2215 for dbxread, mipsread (and later dwarfread). Its code
2216 was pulled out from start_psymtab in dbxread.c.
2217 * dbxread.c (start_psymtab): Use start_psymtab_common().
2219 * valprint.c (val_print): If there is an error when trying
2220 to print a string, check to see if there really is a problem
2221 by reading just one character. If that works, assume
2224 Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
2226 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
2227 cypress, v8 mnemonics in that order.
2229 Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
2231 * sparc-pinsn.c: Put the qsort() back in.
2233 Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
2235 * findvar.c (read_register, write_register): Handle machines
2236 where REGISTER_TYPE is not the same size as "int".
2238 Handle debug symbols in dynamically loaded (relocated) code:
2240 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
2241 offset to process_one_symbol.
2242 (process_one_symbol): Take new offset parameter. Add it into
2243 appropriate symbol types to relocate symbols to loaded addresses.
2244 Handle all possible symbol types, and complain() about types that
2245 we don't expect to see.
2246 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
2247 process_one_symbol (FIXME, should pass real offset).
2251 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
2253 (set_breakpoint, break_command_1, until_break_command,
2254 catch_command_1, breakpoint_re_set_one): Use it.
2255 * symtab.h (resolve_sal_pc): Declare.
2256 * infcmd.c (jump_command): Use resolve_sal_pc.
2258 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
2260 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
2262 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
2264 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
2265 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
2266 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
2268 Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
2270 * dbxread.c (process_one_symbol): Make a first cut at handling
2271 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
2273 * symtab.c (find_pc_line): Fix stepping into and out of #included
2276 Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
2278 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
2279 no longer any need to copy ../include/opcode/* into gdb.
2281 Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
2283 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
2285 Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
2287 * valprint.c (type_print_base, type_print_method_args):
2288 Print C++ constructor methods without bogus "return type."
2290 Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
2292 * infptrace.c (child_xfer_memory): Parameter "target" should
2293 be a pointer to a structure, not the entire structure.
2295 Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
2297 * depend: Convert the couple of references to ansidecl.h that
2298 used the local gdb version to use the ../include version.
2300 Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
2303 (child_xfer_memory): Takes pointer to a struct, not entire struct.
2304 (inferior_proc_init): Fix non-ANSI version of args.
2305 (attach): Call print_sys_errmsg with correct number of args.
2306 (mappingflags): Make static, does not need to be global.
2308 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
2309 not the entire struct itself.
2311 * valops.c (value_assign): Cast some args to modify_field() and
2312 {read,write}_register_bytes() correctly.
2314 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
2316 * Makefile.in (MALLOCSRC): Removed reference to removed local
2319 * dwarfread.c (list_in_scope): Needs an initial value, use file
2322 Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
2324 * main.c (main): Make option_index local to keep new getopt happy.
2325 main.c, solib.c, Makefile.in: Update copyright notices.
2327 Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
2329 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
2331 Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
2333 * Makefile.in (HFILES): Add partial-stab.h.
2335 Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
2337 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
2338 New files for stratus. Not complete enough to actually build
2339 on the Stratus machine; that awaits copyright assignment for
2342 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
2343 for getting custom flags into CFLAGS when doing makes.
2345 * configure.in: Add config information for stratus.
2347 Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
2349 * dbxread.c (process_one_symbol): Pass address of structure
2350 to complain(), rather than the whole structure.
2352 Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
2354 * solib.c (solib_add_common_symbols): Only compile in when not
2355 using SVR4 style shared libraries.
2357 Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
2359 * dwarfread.c (locval): Add offreg flag to indicate location
2360 values that are computed off a base register.
2362 * dwarfread.c (new_symbol): Rework TAG_global_variable and
2363 TAG_local_variable cases to account for static variables
2364 within function scopes.
2366 Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
2368 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
2369 doesn't exist on some systems.
2371 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
2372 nexting over recursive function calls.
2374 * target.c (target_read_string): Create this routine to read null
2375 terminated strings from the target. It deals with running off the
2376 end of memory elegantly as well. solib.c (find_solib): Use
2377 target_read_string() to avoid problems with running off the end of
2380 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
2381 that reference pgrp_inferior.
2383 Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
2385 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
2386 mips-tfile has been hacked to act more "traditionally."
2387 * dbxread.c: Fixed typo in comment.
2389 Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
2391 * mips-tdep.c (mips_skip_prologue): Add some number of
2392 'sw' instructions before 'addiu' adjusts the stack.
2394 Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
2396 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
2397 freescope, buildblock closescope, record_line, add_symbol_to_list,
2398 gatherblocks, make_blockvector): Extensive changes to switch
2399 to generic symbol table building code in buildsym.c. Remove
2400 scope tree structures and functions, symbol table building
2401 functions, and lots of other small changes.
2403 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
2404 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
2406 Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
2408 * buildsym.c (cleanup_undefined_types): Add support for enums.
2409 This fixes the 'GDB internal error. cleanup_undefined_types with
2412 Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
2414 * dbxread.c: detect gcc2 compilations.
2416 Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
2418 * sparc-pinsn.c: Rename bitfields that overlap with macro names
2419 in ../include/opcode/sparc.h.
2421 Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
2423 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
2424 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
2425 to reflect actual locations of opcode files, so TAGS target will
2428 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
2430 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
2433 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
2434 dereferencing to access the correct elements.
2436 * valops.c (value_addr): Declare return type of external func
2439 * xcoffread.c: Undefine next_symbol_text before redefining it.
2441 For older changes see ChangeLog-9091
2447 version-control: never