1 Thu Feb 8 01:11:55 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
5 * version.c: Change version number to 3.5
7 Tue Feb 6 15:58:06 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
9 * m-hp9k320.h: define ATTACH_DETACH.
10 hp9k320-dep.c [ATTACH_DETACH]: New code.
12 Thu Feb 1 17:43:00 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
14 * valprint.c (is_nan, val_print): Use char * not void *.
16 * symmisc.c (print_symbol): Print newline after label.
18 Tue Jan 30 15:35:52 1990 Jim Kingdon (kingdon at albert.ai.mit.edu)
20 * Makefile.dist (READLINE): Add {readline,history}.texinfo.
22 * m-merlin.h: Put in clarifying comments about SHELL_FILE.
23 config.gdb (merlin): Explain about /usr/local/lib/gdb-sh.
25 Sat Jan 27 02:30:27 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
27 * version.c: Change version number to 3.5alpha.1.
29 * dbxread.c (process_one_symbol): Compare context_stack_depth
30 with !VARIABLES_INSIDE_BLOCK, not VARIABLES_INSIDE_BLOCK.
32 Fri Jan 26 01:21:51 1990 Jim Kingdon (kingdon at mole.ai.mit.edu)
34 * main.c [ALIGN_STACK_ON_STARTUP]: New code.
35 m-i386.h: Define ALIGN_STACK_ON_STARTUP.
37 * m-merlin.h (NO_SIGINTERRUPT, SHELL_FILE): Define.
39 * umax-dep.c (exec_file_command): Add commas to call to
42 Tue Jan 23 15:49:47 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
44 * dbxread.c (define_symbol): Deal with deftype 'X'.
46 * convex-dep.c (wait): Make it pid_t.
48 * convex-dep.c (comm_registers_info): accept decimal comm register
49 specification, as "i comm 32768".
51 * dbxread.c (process_one_symbol): Make VARIABLES_INSIDE_BLOCK
52 macro say by itself where variables are. Pass it desc.
53 m-convex.h (VARIABLES_INSIDE_BLOCK): Nonzero for native compiler.
55 * m-convex.h (SET_STACK_LIMIT_HUGE): Define.
56 (IGNORE_SYMBOL): Take out #ifdef N_MONPT and put in 0xc4.
58 Fri Jan 19 20:04:15 1990 Jim Kingdon (kingdon at albert.ai.mit.edu)
60 * printcmd.c (print_frame_args): Always set highest_offset to
61 current_offset when former is -1.
63 * dbxread.c (read_struct_type): Print nice error message
64 when encountering multiple inheritance.
66 Thu Jan 18 13:43:30 1990 Jim Kingdon (kingdon at mole.ai.mit.edu)
68 * dbxread.c (read_dbx_symtab): Always treat N_FN as a potential
69 source for a x.o or -lx symbol, ignoring OFILE_FN_FLAGGED.
71 * printcmd.c (print_frame_args): Cast -1 to (CORE_ADDR).
73 * hp300bsd-dep.c (_initialize_hp300_dep): Get kernel_u_addr.
74 m-hp300bsd.h (KERNEL_U_ADDR): Use kernel_u_addr.
76 * infcmd.c (run_command): #if 0 out call to
77 breakpoint_clear_ignore_counts.
79 Thu Jan 11 12:58:12 1990 Jim Kingdon (kingdon at mole)
81 * printcmd.c (print_frame_args) [STRUCT_ARG_SYM_GARBAGE]:
82 Try looking up name of var before giving up & printing '?'.
84 Wed Jan 10 14:00:14 1990 Jim Kingdon (kingdon at pogo)
86 * many files: Move stdio.h before param.h.
88 * sun3-dep.c (store_inferior_registers): Only try to write FP
89 regs #ifdef FP0_REGNUM.
91 Mon Jan 8 17:56:15 1990 Jim Kingdon (kingdon at pogo)
93 * symtab.c: #if 0 out "info methods" code.
95 Sat Jan 6 12:33:04 1990 Jim Kingdon (kingdon at pogo)
97 * dbxread.c (read_struct_type): Set TYPE_NFN_FIELDS_TOTAL
98 from all baseclasses; remove vestigial variable baseclass.
100 * findvar.c (read_var_value): Check REG_STRUCT_HAS_ADDR.
101 printcmd.c (print_frame_args): Check STRUCT_ARG_SYM_GARBAGE.
102 m-sparc.h: Define REG_STRUCT_HAS_ADDR and STRUCT_ARG_SYM_GARBAGE.
104 * blockframe.c (get_frame_block): Subtract one from pc if not
107 Fri Dec 29 15:26:33 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
109 * printcmd.c (print_frame_args): check highest_offset != -1, not i.
111 Thu Dec 28 16:21:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
113 * valops.c (value_struct_elt): Clean up error msg.
115 * breakpoint.c (describe_other_breakpoints):
116 Delete extra space before "also set at" and add period at end.
118 Tue Dec 19 10:28:42 1989 Jim Kingdon (kingdon at pogo)
120 * source.c (print_source_lines): Tell user which line number
121 was out of range when printing error message.
123 Sun Dec 17 14:14:09 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
125 * blockframe.c (find_pc_partial_function): Use
126 BLOCK_START (SYMBOL_BLOCK_VALUE (f)) instead of
127 SYMBOL_VALUE (f) to get start of function.
129 * dbxread.c: Make xxmalloc just a #define for xmalloc.
131 Thu Dec 14 16:13:16 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
133 * m68k-opcode.h (fseq & following fp instructions):
136 Fri Dec 8 19:06:44 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
138 * breakpoint.c (breakpoint_clear_ignore_counts): New function.
139 infcmd.c (run_command): Call it.
141 Wed Dec 6 15:03:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
143 * valprint.c: Change it so "array-max 0" means there is
146 * expread.y (yylex): Change error message "invalid token in
147 expression" to "invalid character '%c' in expression".
149 Mon Dec 4 16:12:54 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
151 * blockframe.c (find_pc_partial_function): Always return 1
152 for success, 0 for failure, and set *NAME and *ADDRESS to
153 match the return value.
155 * dbxread.c (symbol_file_command): Use perror_with_name on
157 (psymtab_to_symtab, add_file_command),
158 core.c (validate_files), source.c (find_source_lines),
159 default-dep.c (exec_file_command): Check for errors from stat,
162 Fri Dec 1 05:16:42 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
164 * valops.c (check_field): When following pointers, just get
165 their types; don't call value_ind.
167 Thu Nov 30 14:45:29 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
169 * config.gdb (pyr): New machine.
170 core.c [REG_STACK_SEGMENT]: New code.
171 dbxread.c (process_one_symbol): Cast return from copy_pending
172 to long before casting to enum namespace.
173 infrun.c: Split registers_info into DO_REGISTERS_INFO
175 m-pyr.h, pyr-{dep.c,opcode.h,pinsn.c}: New files.
177 * hp300bsd-dep.c: Stay in sync with default-dep.c.
179 * m-hp300bsd.h (IN_SIGTRAMP): Define.
181 Mon Nov 27 23:48:21 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
183 * m-sparc.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
184 Return floating point values in %f0.
186 Tue Nov 21 00:34:46 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
188 * dbxread.c (read_type): #if 0 out code which skips to
189 comma following x-ref.
191 Sat Nov 18 20:10:54 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
193 * valprint.c (val_print): Undo changes of Nov 11 & 16.
194 (print_string): Add parameter force_ellipses.
195 (val_print): Pass force_ellipses true when we stop fetching string
196 before we get to the end, else pass false.
198 Thu Nov 16 11:59:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
200 * infrun.c (restore_inferior_status): Don't try to restore
201 selected frame if the inferior no longer exists.
203 * valprint.c (val_print): Rewrite string printing code not to
206 * Makefile.dist (clean): Remove xgdb and xgdb.o.
208 Tue Nov 14 12:41:47 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
210 * Makefile.dist (XGDB, bindir, xbindir, install, all): New stuff.
212 Sat Nov 11 15:29:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
214 * valprint.c (val_print): chars_to_get: New variable.
216 Thu Nov 9 12:31:47 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
218 * main.c (main): Process "-help" as a switch that doesn't
221 Wed Nov 8 13:07:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
223 * Makefile.dist (gdb.tar.Z): Add "else true".
225 Tue Nov 7 12:25:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
227 * infrun.c (restore_inferior_status): Don't dereference fid if NULL.
229 * config.gdb (sun3, sun4): Accept "sun3" and "sun4".
231 Mon Nov 6 09:49:23 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
233 * Makefile.dist (Makefile): Move comments after commands.
235 * *-dep.c [READ_COFF_SYMTAB]: Pass optional header size to
238 * inflow.c: Include <fcntl.h> regardless of USG.
240 * coffread.c (read_section_hdr): Add optional_header_size.
241 (symbol_file_command): Pass optional header size to
243 (read_coff_symtab): Initialize filestring.
245 * version.c: Change version to 3.4.xxx.
249 Sun Nov 5 11:39:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
251 * version.c: Change version to 3.4.
253 * symtab.c (decode_line_1): Only skip past "struct" if it
256 * valops.c (value_ind), eval.c (evaluate_subexp, case UNOP_IND):
257 Have "*" <int-valued-exp> return an int, not a LONGEST.
259 * utils.c (fprintf_filtered): Pass arg{4,5,6} to sprintf.
261 * printcmd.c (x_command): Use variable itself rather
262 than treating it as a pointer only if it is a function.
263 (See comment "this makes x/i main work").
265 * coffread.c (symbol_file_command): Use error for
266 "%s does not have a symbol-table.\n".
268 Wed Nov 1 19:56:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
270 * dbxread.c [BELIEVE_PCC_PROMOTION_TYPE]: New code.
271 m-sparc.h: Define BELIEVE_PCC_PROMOTION_TYPE.
273 Thu Oct 26 12:45:00 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
275 * infrun.c: Include <sys/dir.h>.
277 * dbxread.c (read_dbx_symtab, case N_LSYM, case 'T'):
278 Check for enum types and put constants in psymtab.
280 Mon Oct 23 15:02:25 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
282 * dbxread.c (define_symbol, read_dbx_symtab): Handle enum
283 constants (e.g. "b:c=e6,0").
285 Thu Oct 19 14:57:26 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
287 * stack.c (frame_info): Use FRAME_ARGS_ADDRESS_CORRECT
288 m-vax.h (FRAME_ARGS_ADDRESS_CORRECT): New macro.
289 (FRAME_ARGS_ADDRESS): Restore old meaning.
291 * frame.h (Frame_unknown): New macro.
292 stack.c (frame_info): Check for Frame_unknown return from
294 m-vax.h (FRAME_ARGS_ADDRESS): Sometimes return Frame_unknown.
296 * utils.c (fatal_dump_core): Add "internal error" to message.
298 * infrun.c (IN_SIGTRAMP): New macro.
299 (wait_for_inferior): Use IN_SIGTRAMP.
300 m-vax.h (IN_SIGTRAMP): New macro.
302 Wed Oct 18 15:09:22 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
304 * config.gdb, Makefile.dist: Shorten m-i386-sv32.h.
306 * coffread.c (symbol_file_command): Pass 0 to select_source_symtab.
308 Tue Oct 17 12:24:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
310 * i386-dep.c (i386_frame_num_args): Take function from m-i386.h
311 file. Check for pfi null.
312 m-i386.h (FRAME_NUM_ARGS): Use i386_frame_num_args.
314 * infrun.c (wait_for_inferior): set stop_func_name to 0
315 before calling find_pc_partial_function.
317 Thu Oct 12 01:08:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
319 * breakpoint.c (_initialize_breakpoint): Add "disa".
321 * Makefile.dist: Add GLOBAL_CFLAGS and pass to readline.
323 * config.gdb (various): "$machine =" -> "machine =".
325 Wed Oct 11 11:54:31 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
327 * inflow.c (try_writing_regs): #if 0 out this function.
329 * main.c (main): Add "-help" option.
331 * dbxread.c (read_dbx_symtab): Merge code for N_FUN with
334 Mon Oct 9 14:21:55 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
336 * inflow.c (try_writing_regs_command): Don't write past end
339 * dbxread.c (read_struct_type): #if 0 out code which checks for
340 bitpos and bitsize 0.
342 * config.gdb: Accept sequent-i386 (not seq386).
343 (symmetry): Set depfile and paramfile.
345 * m-convex.h (IGNORE_SYMBOL): Check for N_MONPT if defined.
347 Thu Oct 5 10:14:26 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
349 * default-dep.c (read_inferior_memory): Put #if 0'd out comment
352 Wed Oct 4 18:44:41 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
354 * config.gdb: Change /dev/null to m-i386.h for various
355 386 machine "opcodefile" entries.
357 * config.gdb: Accept seq386 for sequent symmetry.
359 Mon Oct 2 09:59:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
361 * hp300bsd-dep.c: Fix copyright notice.
363 Sun Oct 1 16:25:30 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
365 * Makefile.dist (DEPFILES): Add isi-dep.c.
367 * default-dep.c (read_inferior_memory): Move #endif after else.
369 Sat Sep 30 12:50:16 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
371 * version.c: Change version number to 3.3.xxx.
375 * version.c: Change version number to 3.3.
377 * Makefile.dist (READLINE): Add vi_mode.c
379 * config.gdb (i386): Change /dev/null to m-i386.h
381 * config.gdb: Add ';;' before 'esac'.
383 * Makefile.dist (gdb.tar.Z): Move comment above dependency.
385 * dbxread.c (read_ofile_symtab): Check symbol before start
386 of source file for GCC_COMPILED_FLAG_SYMBOL.
387 (start_symtab): Don't clear processing_gcc_compilation.
389 Thu Sep 28 22:30:23 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
391 * valprint.c (print_string): If LENGTH is zero, print "".
393 Wed Sep 27 10:15:10 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
395 * config.gdb: "rm tmp.c" -> "rm -f tmp.c".
397 Tue Sep 26 13:02:10 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
399 * utils.c (_initialize_utils): Use termcap to set lines_per_page
402 Mon Sep 25 10:06:43 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
404 * dbxread.c (read_dbx_symtab, N_SOL): Do not add the same file
407 Thu Sep 21 12:43:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
409 * infcmd.c (unset_environment_command): Delete all variables
410 if called with no arg.
412 * remote.c, inferior.h (remote_{read,write}_inferior_memory):
414 core.c ({read,write}_memory): Use remote_{read,write}_inferior_memory.
416 * valops.c (call_function): When reserving stack space for
417 arguments, call value_arg_coerce.
419 * m-hp9k320.h: define BROKEN_LARGE_ALLOCA.
421 * breakpoint.c (delete_command): Ask for confirmation only
422 when there are breakpoints.
424 * dbxread.c (read_struct_type): If lookup_basetype_type has
425 copied a stub type, call add_undefined_type.
427 * sparc_pinsn.c (compare_opcodes): Check for "1+i" anywhere
430 * val_print.c (type_print_base): Print stub types as
433 Wed Sep 20 07:32:00 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
435 * sparc-opcode.h (swapa): Remove i bit from match.
436 (all alternate space instructions): Delete surplus "foo rs1+0"
439 * Makefile.dist (LDFLAGS): Set to $(CFLAGS).
441 * remote-multi.shar (remote_utils.c, putpkt): Change csum to unsigned.
443 Tue Sep 19 14:15:16 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
445 * sparc-opcode.h: Set i bit in lose for many instructions which
448 * stack.c (print_frame_info): add "func = 0".
450 Mon Sep 18 16:19:48 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
452 * sparc-opcode.h (mov): Add mov to/from %tbr, %psr, %wim.
454 * sparc-opcode.h (rett): Fix notation to use suggested assembler
455 syntax from architecture manual.
457 * symmetry-dep.c (I386_REGNO_TO_SYMMETRY): New macro.
458 (i386_frame_find_saved_regs): Use I386_REGNO_TO_SYMMETRY.
460 Sat Sep 16 22:21:17 1989 Jim Kingdon (kingdon at spiff)
462 * remote.c (remote_close): Set remote_desc to -1.
464 * gdb.texinfo (Output): Fix description of echo to match
467 Fri Sep 15 14:28:59 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
469 * symtab.c (lookup_symbol): Add comment about "asm".
471 * sparc-pinsn.c: Use NUMOPCODES.
473 * sparc-opcode.h (NUMOPCODES): Use sparc_opcodes[0] not *sparc_opcodes.
475 Thu Sep 14 15:25:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
477 * dbxread.c (xxmalloc): Print error message before calling abort().
479 * infrun.c (wait_for_inferior): Check for {stop,prev}_func_name
480 null before passing to strcmp.
482 Wed Sep 13 12:34:15 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
484 * sparc-opcode.h: New field delayed.
485 sparc-pinsn.c (is_delayed_branch): New function.
486 (print_insn): Check for delayed branches.
488 * stack.c (print_frame_info): Use misc_function_vector in
489 case where ar truncates file names.
491 Tue Sep 12 00:16:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
493 * convex-dep.c (psw_info): Move "struct pswbit *p" with declarations.
495 Mon Sep 11 14:59:57 1989 Jim Kingdon (kingdon at spiff)
497 * convex-dep.c (core_file_command): Delete redundant printing
500 * m-convex.h (ENTRY_POINT): New macro.
502 * m-convex.h (FRAME_CHAIN_VALID): Change outside_first_object_file
503 to outside_startup_file
505 * main.c: #if 0 out catch_termination and related code.
507 * command.c (lookup_cmd_1): Consider underscores part of
510 Sun Sep 10 09:20:12 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
512 * printcmd.c: Change asdump_command to disassemble_command
513 (_initialize_printcmd): Change asdump to diassemble.
515 * main.c (main): Exit with code 0 if we hit the end of a batch
518 * Makefile.dist (libreadline.a): Fix syntax of "CC=${CC}".
520 Sat Sep 9 01:07:18 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
522 * values.c (history_info): Renamed to value_history_info.
523 Command renamed to "info value" (with "info history" still
526 * sparc-pinsn.c (print_insn): Extend symbolic address printing
527 to cover "sethi" following by an insn which uses 1+i.
529 Fri Sep 8 14:24:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
531 * m-hp9k320.h, m-hp300bsd.h, m-altos.h, m-sparc.h, m-sun3.h
532 (READ_GDB_SYMSEGS): Remove.
533 dbxread.c [READ_GDB_SYMSEGS]: Remove code to read symsegs.
535 * sparc-pinsn.c (print_insn): Detect "sethi-or" pairs and
536 print symbolic address.
538 * sparc-opcode.h (sethi, set): Change lose from 0xc0000000 to
541 * remote.c (remote_desc): Initialize to -1.
543 * Makefile.dist (libreadline.a): Pass CC='${CC}' to readline makefile.
545 Thu Sep 7 00:07:17 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
547 * dbxread.c (read_struct_type): Check for static member functions.
548 values.c, eval.c, valarith.c, valprint.c, valops.c: Merge changes
549 from Tiemann for static member functions.
551 * sparc-opcode.h (tst): Fix all 3 patterns.
553 * Makefile.dist (gdb1): New rule.
555 * sparc-opcode.h: Change comment about what the disassembler
556 does with the order of the opcodes.
558 * sparc-pinsn.c (compare_opcodes): Put 1+i before i+1.
559 Also fix mistaken comment about preserving order of original table.
561 * sparc-opcode.h (clr, mov): Fix incorrect lose entries.
563 * m-symmetry.h (FRAME_NUM_ARGS): Add check to deal with code that
564 GCC sometimes generates.
566 * config.gdb: Change all occurances of "skip" to "/dev/null".
568 * README (about languages other than C): Update comments about
571 * sparc-opcode.h (nop): Change lose from 0xae3fffff to 0xfe3fffff.
573 * values.c (value_virtual_fn_field): #if 0-out assignment to
576 Wed Sep 6 12:19:22 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
578 * utils.c (fatal_dump_core): New function.
579 Makefile.dist (MALLOC_FLAGS): use -Dbotch=fatal_dump_core
581 Tue Sep 5 15:47:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
583 * breakpoint.c (enable_command): With no arg, enable all bkpts.
585 * Makefile.dist (Makefile): Remove \"'s around $(MD).
587 * Makefile.dist: In "cd readline; make . . ." change first
590 * m68k-pinsn.c (_initialize_pinsn): Use alternate assembler
591 syntax #ifdef HPUX_ASM
593 Sat Sep 2 23:24:43 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
595 * values.c (history_info): Don't check num_exp[0] if num_exp
596 is nil (just like recent editing_info change).
598 Fri Sep 1 19:19:01 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
600 * gdb.texinfo (inc-history, inc-readline): Copy in the inc-* files
601 because people might not have makeinfo.
603 * README (xgdb): Strengthen nasty comments.
605 * gdb.texinfo: Change @setfilename to "gdb.info".
607 Thu Aug 31 17:23:50 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
609 * main.c (editing_info): Don't check arg[0] if arg is null.
611 * m-vax.h: Add comment about known sigtramp bug.
613 * sun3-dep.c, sparc-dep.c (IS_OBJECT_FILE, exec_file_command):
614 Get right text & data addresses for .o files.
616 Wed Aug 30 13:54:19 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
618 * utils.c (tilde_expand): Remove function (it's in readline).
620 * sparc-opcode.h (call): Change "8" to "9" in first two
623 Tue Aug 29 16:44:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
625 * printcmd.c (whatis_command): Change 4th arg to type_print
628 Mon Aug 28 12:22:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
630 * dbxread.c (psymtab_to_symtab_1): In "and %s ..." change
631 pst->filename to pst->dependencies[i]->filename.
633 * blockframe.c (FRAMELESS_LOOK_FOR_PROLOGUE): New macro
634 made from FRAMELESS_FUNCTION_INVOCATION from m-sun3.h except
635 that it checks for zero return from get_pc_function_start.
636 m-hp9k320.h, m-hp300bsd.h, m-i386.h, m-isi.h, m-altos.h,
637 m-news.h, m-sparc.h, m-sun2.h, m-sun3.h, m-symmetry.h
638 (FRAMELESS_FUNCTION_INVOCATION): Use FRAMELESS_LOOK_FOR_PROLOGUE.
640 * dbxread.c (read_struct_type): Give warning and ignore field
641 if bitpos and bitsize are zero.
643 Sun Aug 27 04:55:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
645 * dbxread.c (psymtab_to_symtab{,_1}): Print message about
646 reading in symbols before reading stringtab, not after.
648 Sat Aug 26 02:01:53 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
650 * dbxread.c (IS_OBJECT_FILE, ADDR_OF_TEXT_SEGMENT): New macros.
651 (read_dbx_symtab): Use text_addr & text_size to set end_of_text_addr.
652 (symbol_file_command): pass text_addr & text_size to read_dbx_symtab.
654 Fri Aug 25 23:08:13 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
656 * valprint.c (value_print): Try to give the name of function
657 pointed to when printing a function pointer.
659 Thu Aug 24 23:18:40 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
661 * core.c (xfer_core_file): In cases where MEMADDR is above the
662 largest address that makes sense, set i to len.
664 Thu Aug 24 16:04:17 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
666 * valprint.c (print_string): New function to print a character
667 string, doing array-max limiting and repeat count processing.
668 (val_print, value_print): Use print_string.
669 (REPEAT_COUNT_THRESHOLD): New #define, the max number of elts to print
670 without using a repeat count. Set to ten.
671 (value_print, val_print): Use REPEAT_COUNT_THRESHOLD.
673 * utils.c (printchar): Use {fputs,fprintf}_filtered.
675 * valprint.c (val_print): Pass the repeat count arg to the
676 fprintf_filtered call for "<repeats N times>" messages.
678 Wed Aug 23 22:53:47 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
680 * utils.c: Include <pwd.h>.
682 * main.c: Declare free.
684 Wed Aug 23 05:05:59 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
686 * utils.c, defs.h: Add tilde_expand.
687 source.c (directory_command),
689 main.c (set_history_filename),
690 dbxread.c (symbol_file_command),
691 coffread.c (symbol_file_command),
692 dbxread.c (add_file_command),
693 symmisc.c (print_symtabs),
694 *-dep.c (exec_file_command, core_file_command),
695 main.c (source_command): Use tilde_expand.
697 * dbxread.c (read_type): When we get a cross-reference, resolve
698 it immediately if possible, only calling add_undefined_type if
701 * gdb.texinfo: Uncomment @includes and put comment at start
702 of file telling people to use makeinfo.
704 * valprint.c (type_print_base): Print the right thing for
707 * config.gdb (sun3os3): Set paramfile and depfile.
709 Tue Aug 22 05:38:36 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
711 * dbxread.c (symbol_file_command): Pass string table size to
713 (read_dbx_symtab): Before indexing into string table, check
714 string table index for reasonableness.
715 (psymtab_to_symtab{,_1}, read_ofile_symtab): Same.
717 Tue Aug 22 04:04:39 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
719 * m68k-pinsn.c: Replaced many calls to fprintf and fputs with
720 calls to fprintf_filtered and fputs_filtered.
721 (print_insn_arg): Use normal MIT 68k syntax for postincrement,
722 predecrement, and register indirect addressing modes.
724 Mon Aug 21 10:08:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
726 * main.c (initialize_signals): Set signal handler for SIGQUIT
727 and SIGHUP to do_nothing.
729 * ns32k-opcode.h (ord): Change 1D1D to 1D2D.
731 * ns32k-pinsn.c (print_insn_arg, print_insn): Handle index
734 * ns32k-opcode.h: Add comments.
736 * dbxread.c (read_type): Put enum fields in type.fields in order
737 that they were found in the debugging symbols (not reverse order).
739 Sun Aug 20 21:17:13 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
741 * main.c (source_command): Read .gdbinit if run without argument.
743 * source.c (directory_command): Only print "foo already in path"
746 * version.c: Change version number to 3.2.xxx
748 Sat Aug 19 00:24:08 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
750 * m-news.h: Define HAVE_WAIT_STRUCT.
752 * m-isi.h, isi-dep.c: Replace with new version from Adam de Boor.
753 config.gdb: Remove isibsd43.
755 * main.c (catch_termination): Don't say we have written
756 .gdb_history until after we really have.
758 * convex-dep.c (attach): Add "sleep (1)".
759 (write_vector_register): Use "LL" with long long constant.
760 (wait): Close comment.
761 (wait): Change "unix 7.1 bug" to "unix 7.1 feature" & related
763 (scan_stack): And fp with 0x80000000 in while loop test.
764 (core_file_command): Move code to set COREFILE.
765 (many places): Change printf to printf_filtered.
766 (psw_info): Allow argument giving value to print as a psw.
767 (_initialize_convex_dep): Update docstrings.
769 * m-convex.h (WORDS_BIG_ENDIAN): Correct typo ("WRODS")
770 define NO_SIGINTERRUPT.
771 define SET_STACK_LIMIT_HUGE.
772 add "undef BUILTIN_TYPE_LONGEST" before defining it.
773 Use "LL" after constants in CALL_DUMMY.
775 * dbxread.c: In the 3 places it says error "ridiculous string
776 table size"... delete extra parameter to error.
778 * dbxread.c (scan_file_globals): Check for FORTRAN common block.
779 Allow multiple references for the sake of common blocks.
781 * main.c (initialize_main): Set history_filename to include
784 * valprint.c (decode_format): Don't return a defaulted size
785 field if osize is zero.
787 * gdb.texinfo (Compilation): Update information on -gg symbols.
788 Document problem with ar.
790 Fri Aug 18 19:45:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
792 * valprint.c (val_print, value_print): Add "<repeats %d times>" code.
793 Also put "..." outside quotes for strings.
795 * main.c (initialize_main): Add comment about history output file
796 being different from history input file.
798 * m-newsos3.h: Undefine NO_SIGINTERRUPT. Rearrange a few comments.
800 * m-newsos3.h (REGISTER_U_ADDR): Use new version from Hikichi.
802 * sparc-opcode.h: Add comment clarifying meaning of the order of
803 the entries in sparc_opcodes.
805 * eval.c (evaluate_subexp, case UNOP_IND): Deal with deferencing
806 things that are not pointers.
808 * valops.c (value_ind): Make dereferencing an int give a LONGEST.
810 * expprint.c (print_subexp): Add (int) cast in OP_LAST case.
812 * dbxread.c (read_array_type): Set lower and upper if adjustable.
814 * symtab.c (lookup_symbol): Don't abort if symbol found in psymtab
817 Thu Aug 17 15:51:20 1989 Randy Smith (randy at hobbes.ai.mit.edu)
819 * config.gdb: Changed "Makefile.c" to "Makefile.dist".
821 Thu Aug 17 01:58:04 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
823 * sparc-opcode.h (or): Removed incorrect lose bit 0x08000000.
824 [many]: Changed many `lose' entries to have the 0x10 bit set, so
825 they don't think %l0 is %g0.
827 Wed Aug 16 00:30:44 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
829 * m-symmetry.h (STORE_STRUCT_RETURN): Also write reg 0.
830 (EXTRACT_RETURN_VALUE): Call symmetry_extract_return_value.
831 symmetry-dep.c (symmetry_extract_return_value): New fn.
833 * main.c (symbol_completion_function): Deal with changed
834 result_list from lookup_cmd_1 for ambiguous return.
835 command.c (lookup_cmd): Same.
837 * inflow.c [TIOCGETC]: Move #include "param.h" back before
838 system #includes. Change all #ifdef TIOCGETC to
839 #if defined(TIOCGETC) && !defined(TIOCGETC_BROKEN)
840 m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: Remove "#undef TIOCGETC"
841 and add "#define TIOCGETC_BROKEN".
843 * command.c (lookup_cmd_1): Give the correct result_list in the
844 case of an ambiguous return where there is a partial match
845 (e.g. "info a"). Add comment clarifying what is the correct
848 * gdb.texinfo (GDB History): Document the two changes below.
850 * main.c (command_line_input): Make history expansion not
851 just occur at the beginning of a line.
853 * main.c (initialize_main): Make history expansion off by default.
855 * inflow.c: Move #include "param.h" after system #includes.
857 * i386-dep.c (i386_float_info): Use U_FPSTATE macro.
859 * m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: New files.
860 Makefile.dist, config.gdb: Know about these new files.
862 Tue Aug 15 21:36:11 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
864 * symtab.c (lookup_struct_elt_type): Use type_print rather
865 than assuming type has a name.
867 Tue Aug 15 02:25:43 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
869 * sparc-opcode.h (mov): Removed bogus "or i,0,d" pattern.
871 * sparc-opcode.h (mov, or): Fixed incorrect `lose' members.
873 * sparc-dep.c: Don't include "sparc-opcode.h".
874 (skip_prologue, isanulled): Declare special types to recognize
875 instructions, and use them.
877 * sparc-pinsn.c (print_insn): Sign-extend 13-bit immediate args.
878 If they are less than +9, print them in signed decimal instead
881 * sparc-opcode.h, sparc-pinsn.c: Completely rewritten to share an
882 opcode table with gas, and thus produce disassembly that looks
883 like what the assembler accepts.
885 Tue Aug 15 16:20:52 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
887 * symtab.c (find_pc_psymbol): Move best_pc=psymtab->textlow-1
888 after test for psymtab null.
890 * main.c (editing_info): Remove variable retval.
892 * config.gdb (sun3, isi): Comment out obsolete message about telling
893 it whether you have an FPU (now that it detects it).
895 * config.gdb (sun3): Accept sun3os3.
897 * m68k-insn.h: Include <signal.h>.
899 * m68k-pinsn.h (convert_{to,from}_68881): Add have_fpu code
901 * m-newsos3.h: Undefine USE_PCB. That code didn't seem to work.
903 * sparc-dep.c: Put in insn_fmt and other stuff from the old
906 * sparc-opcode.h, sparc-pinsn.c: Correct copyright notice.
908 * sparc-opcode.h, sparc-pinsn.c: Replace the old ones with the new
911 Tue Aug 15 02:25:43 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
913 * Makefile.dist: Don't define CC at all.
915 * Makefile.dist (Makefile): Remove tmp.c after preprocessing.
916 Use $(MD) instead of M_MAKEDEFINE in the cc command.
918 * Makefile.dist: Don't define RL_LIB as
919 "${READLINE}/libreadline.a", since READLINE is a list of files.
921 Mon Aug 14 23:49:29 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
923 * main.c (print_version): Change 1988 to 1989.
925 * main.c (copying_info, initialize_main): Remove #if 0'd code.
927 Tue Aug 1 14:44:56 1989 Hikichi (hikichi at sran203)
930 (NO_SIGINTERRUPT): have SIGINTERRUPT on NEWS os 3.
932 * m-news.h(FRAME_FIND_SAVED_REGS): use the sun3's instead of old
935 Mon Aug 14 15:27:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
937 * m-news.h, m-newsos3.h, news-dep.c: Merge additional changes
938 by Hikichi (ChangeLog entries above).
940 * Makefile.dist (READLINE): List readline files individually
941 so we don't accidently get random files from the readline
944 * m-news.h (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE):
945 Expect floating point returns to be in fp0.
947 * gdb.texinfo (Format options): New node.
949 * gdb.texinfo: Comment out "@include"s until bfox fixes the
950 readline & history docs.
952 * dbxread.c (read_addl_syms): Set startup_file_* if necessary at
953 the end (as well as when we hit ".o").
955 * printcmd.c (decode_format): Set val.format & val.size to '?' at
956 start and set defaults at end.
958 * symtab.c (decode_line_1): Check for class_name null.
960 * valops.c: Each place where it compares against field names,
961 check for null field names. (new t_field_name variables).
963 * utils.c (fputs_filtered): Check for linebuffer null before
964 checking whether to call fputs. Remove later check for linebuffer
967 Sun Aug 13 15:56:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
969 * m-isi.h, m-sun3.h ({PUSH,POP}_FP_REGS): New macros.
970 m-sun3.h (NUM_REGS): Conditionalize on FPU.
971 config.gdb (sun3, isi): Add message about support for machines
974 * main.c (catch_termination, initialize_signals): new functions.
976 * main.c (editing_info): Add "info editing n" and "info editing +".
977 Rewrite much of this function.
978 gdb.texinfo (GDB Readline): Document it.
980 * values.c (history_info): Add "info history +". Also add code to
981 do "info history +" when command is repeated.
982 gdb.texinfo (Value History): Document "info history +".
984 * expprint.c (print_subexp): Add OP_THIS to case stmt.
986 * config.gdb (sun4os4): Put quotes around make define.
988 * config.gdb: Canonicalize machine name at beginning.
990 Sat Aug 12 00:50:59 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
992 * config.gdb: define M_MAKEDEFINE
993 Makefile (Makefile, MD): Be able to re-make Makefile.
995 * main.c (command_line_input): Add comments to
998 * Makefile.dist (Makefile): Add /bin/false.
1000 Fri Aug 11 14:35:33 1989 Jim Kingdon (kingdon at spiff)
1002 * Makefile.dist: Comment out .c.o rule and add TARGET_ARCH.
1004 * m-altos.h: Include sys/page.h & sys/net.h
1006 * m-altos.h (FRAME_CHAIN{,_VALID}): Use outside_startup_file.
1008 * config.gdb (altos, altosgas): Add M_SYSV & M_BSD_NM and remove
1009 M_ALLOCA=alloca.o from makedefine.
1011 * coffread.c (complete_symtab): Change a_entry to entry.
1013 * m-altosgas.h: New file.
1015 * m-symmetry (REGISTER_BYTE): Fix dumb mistake.
1017 Fri Aug 11 06:39:49 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
1019 * utils.c (set_screensize_command): Check for ARG being nil, since
1020 that's what execute_command will pass if there's no argument.
1022 * expread.y (yylex): Recognize "0x" or "0X" as the beginning of a
1025 Thu Aug 10 15:43:12 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1027 * config.gdb, Makefile.dist: Rename Makefile.c to Makefile.dist.
1029 * m-altos.h: Add comment about porting to USGR2.
1031 * config.gdb (sparc): Add -Usparc.
1033 Wed Aug 9 14:20:39 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1035 * m-sun3os4.h: Define BROKEN_LARGE_ALLOCA.
1037 * values.c (modify_field): Check for value too large to fit in
1040 * utils.c (fputs_filtered): Allow LINEBUFFER to be NULL.
1042 * breakpoint.c (condition_command): Check for attempt to specify
1043 non-numeric breakpoint number.
1045 * config.gdb, Makefile, m-altos.h, altos-dep.c: Merge Altos
1048 * README: Change message about editing Makefile.
1050 * config.gdb: Edit Makefile.
1051 Copied Makefile to Makefile.c and changed to let config.gdb
1052 run us through the C preprocessor.
1054 * expread.y (yylex): Test correctly for definition of number.
1056 Wed Aug 9 11:56:05 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1058 * dbxread.c (read_dbx_symtab): Put bracketing of entry point in
1059 test case for .o symbols so that it will be correct even without
1061 (end_psymtab): Took bracketing out.
1063 * blockframe.c (outside_startup_file): Reverse the sense of the
1064 return value to make the functionality implied by the name
1067 Tue Aug 8 11:48:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1069 * coffread.c (symbol_file_command): Do not assume presence of a.out
1072 * blockframe.c: Replace first_object_file_end with
1073 startup_file_{start,end}
1074 (outside_startup_file): New function.
1075 dbxread.c (read_addl_syms, read_dbx_symtab, end_psymbol): set
1076 startup_file_*. Delete first_object_file_end code.
1077 Add entry_point and ENTRY_POINT
1078 coffread.c (complete_symtab): Set startup_file_*.
1079 (first_object_file_end): Add as static.
1080 m-*.h (FRAME_CHAIN, FRAME_CHAIN_VALID): Call outside_startup_file
1081 instead of comparing with first_object_file_end.
1083 * breakpoint.c (breakpoint_1): Change -1 to (CORE_ADDR)-1.
1085 * config.gdb (i386, i386gas): Add missing quotes at end of "echo"
1087 * source.c (directory_command): Add dont_repeat ();
1089 Mon Aug 7 18:03:51 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1091 * dbxread.c (read_addl_syms): Change strcmp to strncmp and put 3rd
1094 * command.h (struct cmd_list_element): Add comment clarifying
1095 purpose of abbrev_flag.
1097 Mon Aug 7 12:51:03 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1099 * printcmd.c (_initialize_printcmd): Changed "undisplay" not to
1100 have abbrev flag set; it isn't an abbreviation of "delete
1101 display", it's an alias.
1103 Mon Aug 7 00:25:15 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1105 * symtab.c (lookup_symtab_1): Remove filematch (never used).
1107 * expread.y [type]: Add second argument to 2 calls to
1108 lookup_member_type which were missing them.
1110 * dbxread.c (symbol_file_command): Add from_tty arg.
1111 Check it before calling query.
1113 * infcmd.c (tty_command): Add from_tty arg.
1115 * eval.c (evaluate_subexp): Remove 3rd argument from
1116 calls to value_x_unop.
1118 * dbxread.c (read_addl_syms): Remove 3rd argument from
1121 * gdb.texinfo (Command editing): @include inc-readline.texinfo
1122 and inc-history.texinfo and reorganize GDB-specific stuff.
1124 * Makefile: Add line MAKE=make.
1126 * README (second paragraph): Fix trivial errors.
1128 * dbxread.c (read_struct_type): Make sure p is initialized.
1130 * main.c (symbol_completion_function): Complete correctly
1131 on the empty string.
1133 Sun Aug 6 21:01:59 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1135 * symmetry-dep.c: Remove "long" from definition of i386_follow_jump.
1137 * gdb.texinfo (Backtrace): Document "where" and "info stack".
1139 * dbxread.c (cleanup_undefined_types): Strip off "struct "
1140 or "union " from type names before doing comparison
1142 Sat Aug 5 02:05:36 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1144 * config.gdb (i386, i386gas): Improve makefile editing instructions.
1146 * Makefile: Fix typo in CLIBS for SYSV.
1148 * dbxread.c (read_dbx_symtab): Deal with N_GSYM typedefs.
1150 * dbxread.c (add_file_command): Do not free name. We didn't
1151 allocate it; it just points into arg_string.
1153 * Makefile, m-*.h: Change LACK_VPRINTF to HAVE_VPRINTF.
1155 Fri Jul 28 00:07:48 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1157 * valprint.c (val_print): Made sure that all returns returned a
1158 value (usually 0, indicating no memory printed).
1160 * core.c (read_memory): Changed "return" to "return 0".
1162 * expread.y (parse_number): Handle scientific notation when the
1163 string does not contain a '.'.
1165 Thu Jul 27 15:14:03 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1167 * infrun.c (signals_info): Error if signal number passed is out of
1170 * defs.h: Define alloca to be __builtin_alloca if compiling with
1171 gcc and localized inclusion of alloca.h on the sparc with the
1173 * command.c: Doesn't need to include alloca.h on the sparc; defs.h
1176 * printcmd.c (print_frame_args): Changed test for call to
1177 print_frame_nameless_args to check i to tell if any args had been
1180 Thu Jul 27 04:40:56 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
1182 * blockframe.c (find_pc_partial_function): Always check that NAME
1183 and/or ADDRESS are not nil before storing into them.
1185 Wed Jul 26 23:41:21 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
1187 * m-newsos3.h: Define BROKEN_LARGE_ALLOCA.
1188 * dbxread.c (symbol_file_command, psymtab_to_symtab):
1189 Use xmalloc #ifdef BROKEN_LARGE_ALLOCA.
1191 Tue Jul 25 16:28:18 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
1193 * m68k-opcode.h: moved some of the fmovem entries so they're
1194 all consecutive. This way the assembler doesn't bomb.
1196 Mon Jul 24 22:45:54 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1198 * symtab.c (lookup_symbol): Changed error to an informational (if
1199 not very comforting) message about internal problems. This will
1200 get a null symbol returned to decode_line_1, which should force
1201 things to be looked up in the misc function vector.
1203 Wed Jul 19 13:47:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1205 * symtab.c (lookup_symbol): Changed "fatal" to "error" in
1206 external symbol not found in symtab in which it was supposed to be
1207 found. This can be reached because of a bug in ar.
1209 Tue Jul 18 22:57:43 1989 Randy Smith (roland at hobbes.ai.mit.edu)
1211 * m-news.h [REGISTER_U_ADDR]: Decreased the assumed offset of fp0
1212 by 4 to bring it into (apparently) appropriate alignment with
1215 Tue Jul 18 18:14:42 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1217 * Makefile: pinsn.o should depend on opcode.h
1219 * m68k-opcode.h: Moved fmovemx with register lists to before other
1222 Tue Jul 18 11:21:42 1989 Jim Kingdon (kingdon at susie)
1224 * Makefile, m*.h: Only #define vprintf (to _doprnt or printf,
1225 depends on the system) if the library lacks it (controlled by
1226 LACK_VPRINTF_DEFINE in makefile). Unpleasant, but necessary to
1227 make this work with the GNU C library.
1229 Mon Jul 17 15:17:48 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1231 * breakpoint.c (breakpoint_1): Change addr-b->address to
1234 Sun Jul 16 16:23:39 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1236 * eval.c (evaluate_subexp): Change error message printed when
1237 right operand of '@' is not an integer to English.
1239 * infcmd.c (registers_info): Fix call to print_spaces_filtered
1240 to specify right # of arguments.
1242 * gdb.texinfo (Command Editing): Document info editing command.
1244 * coffread.c (read_file_hdr): Add MC68MAGIC.
1246 * source.c (select_source_symtab): Change MAX to max.
1248 Fri Jul 14 21:19:11 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1250 * infcmd.c (registers_info): Clean up display to look good with long
1251 register names, to say "register" instead of "reg", and to put the
1252 "relative to selected stack frame" bit at the top.
1254 Fri Jul 14 18:23:09 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1256 * dbxread.c (record_misc_function): Put parens around | to force
1259 Wed Jul 12 12:25:53 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1261 * m-newsos3, m-news, infrun.c, Makefile, config.gdb, news-dep.c:
1262 Merge in Hikichi's changes for Sony/News-OS 3 support.
1264 Tue Jul 11 21:41:32 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1266 * utils.c (fputs_filtered): Don't do any filtering if output is
1267 not to stdout, or if stdout is not a tty.
1268 (fprintf_filtered): Rely on fputs_filtered's check for whether to
1271 Tue Jul 11 00:33:58 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1275 * valprint.h: Deleted.
1277 * utils.c (fputs_filtered): Don't do any filtering if filtering is
1278 disabled (lines_per_page == 0).
1280 Mon Jul 10 22:27:53 1989 Randy Smith (roland at hobbes.ai.mit.edu)
1282 * expread.y [typebase]: Added "unsigned long int" and "unsigned
1283 short int" to specs.
1285 Mon Jul 10 21:44:55 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1287 * main.c (main): Make -cd use cd_command to avoid
1288 current_directory with non-absolute pathname.
1290 Mon Jul 10 00:34:29 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1292 * dbxread.c (symbol_file_command): Catch errors from stat (even
1293 though they should never happen).
1295 * source.c (openp): If the path is null, use the current
1298 * dbxread.c (read_dbx_symtab): Put N_SETV symbols into the misc
1300 (record_misc_function): ... as data symbols.
1302 * utils.c (fprintf_filtered): Return after printing if we aren't
1303 going to do filtering.
1305 * Makefile: Added several things for make clean to take care of.
1307 * expread.y: Lowered "@" in precedence below +,-,*,/,%.
1309 * eval.c (evaluate_subexp): Return an error if the rhs of "@"
1312 * Makefile: Added removal of core and gdb[0-9] files to clean
1315 * Makefile: Made a new target "distclean", which cleans things up
1316 correctly for making a distribution.
1318 Sun Jul 9 23:21:27 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1320 * dbxread.c: Surrounded define of gnu symbols with an #ifndef
1321 NO_GNU_STABS in case you don't want them on some machines.
1322 * m-npl.h, m-pn.h: Defined NO_GNU_STABS.
1324 Sun Jul 9 19:25:22 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1326 * utils.c (fputs_filtered): New function.
1327 (fprintf_filtered): Use fputs_filtered.
1328 utils.c (print_spaces_filtered),
1329 command.c (help_cmd,help_cmd_list),
1330 printcmd.c (print_frame_args),
1331 stack.c (print_block_frame_locals, print_frame_arg_vars),
1332 valprint.c (many functions): Use fputs_filtered instead of
1333 fprintf_filtered to avoid arbitrary limit.
1335 * utils.c (fprintf_filtered): Fix incorrect comment.
1337 Sat Jul 8 18:12:01 1989 Randy Smith (randy at hobbes.ai.mit.edu)
1339 * valprint.c (val_print): Changed assignment of pretty to use
1340 prettyprint as a conditional rather than rely on values of the
1343 * Projects: Cleaned up a little for release.
1345 * main.c (initialize_main): Initialize
1346 rl_completion_entry_function instead of completion_entry_function.
1348 * Makefile: Modified to use the new readline library setup.
1350 * breakpoint.c (break_command_1, delete_breakpoint,
1351 enable_breakpoint, disable_breakpoint): Put in new printouts for
1352 xgdb usage triggered off of xgdb_verbose.
1353 * main.c (main): Added check for flag to set xgdb_verbose.
1354 * stack.c (frame_command): Set frame_changed when frame command
1357 Fri Jul 7 16:20:58 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1359 * Remove valprint.h and move contents to value.h (more logical).
1361 Fri Jul 7 02:28:06 1989 Randall Smith (randy at rice-chex)
1363 * m68k-pinsn.c (print_insn): Included a check for register list;
1364 if there is one, make sure to start p after it.
1366 * breakpoint.c (break_command_1, delete_breakpoint,
1367 enable_breakpoint, disable_breakpoint): #ifdef'd out changes
1368 below; they produce unwanted output in gdb mode in gnu-emacs.
1370 * gdb.texinfo: Spelled. Also removed index references from
1371 command editing section; the relevance/volume ratio was too low.
1372 Removed all references to the function index.
1374 * ns32k-opcode.h, ns32k-pinsn.c: Backed out changes of June 24th;
1375 haven't yet received legal papers.
1377 * .gdbinit: Included message telling the user what it is doing.
1379 * symmetry-dep.c: Added static decls for i386_get_frame_setup,
1381 * values.c (unpack_double): Added a return (double)0 at the end to
1382 silence a compiler warning.
1384 * printcmd.c (containing_function_bounds, asdump_command): Created
1385 to dump the assembly code of a function (support for xgdb and a
1387 (_initialize_printcmd): Added this to command list.
1388 * gdb.texinfo [Memory]: Added documentation for the asdump
1390 * breakpoint.c (break_command_1, delete_breakpoint,
1391 enable_breakpoint, disable_breakpoint): Added extra verbosity for
1392 xgdb conditionalized on the new external frame_full_file_name.
1393 * source.c (identify_source_line): Increase verbosity of fullname
1394 prointout to include pc value.
1395 * stack.c: Added a new variable; "frame_changed" to indicate when
1396 a frame has been changed so that gdb can print out a frame change
1397 message when the frame only changes implicitly.
1398 (print_frame_info): Check the new variable in determining when to
1399 print out a new message and set it to zero when done.
1400 (up_command): Increment it.
1401 (down_command): Decrement it.
1403 * m68k-pinsn.c (print_insn_arg [lL]): Modified cases for register
1404 lists to reset the point to point to after the word from which the
1405 list is grabbed *if* that would cause point to point farther than
1408 Thu Jul 6 14:28:11 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1410 * valprint.c (val_print, value_print): Add parameter to control
1412 valprint.h: New file containing constants used for passing
1413 prettyprinting parameter to val{,ue}_print.
1414 expprint.c, infcmd.c, printcmd.c, valprint.c, values.c:
1415 Change all calls to val{,ue}_print to use new parameter.
1417 Mon Jul 3 22:38:11 1989 Randy Smith (randy at apple-gunkies.ai.mit.edu)
1419 * dbxread.c (,process_one_symbol): Moved extern declaration for
1420 index out of function to beginning of file.
1422 Mon Jul 3 18:40:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
1424 * gdb.texinfo (Registers): Add "ps" to list of standard registers.
1426 Sun Jul 2 23:13:03 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1428 * printcmd.c (enable_display): Change d->next to d = d->next so
1429 that "enable display" without args works.
1431 Fri Jun 30 23:42:04 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1433 * source.c (list_command): Made error message given when no
1434 symtab is loaded clearer.
1436 * valops.c (value_assign): Make it so that when assigning to an
1437 internal variable, the type of the assignment exp is the type of
1438 the value being assigned.
1440 Fri Jun 30 12:12:43 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1442 * main.c (verbose_info): Created.
1443 (initialize_main): Put "info verbose" into command list.
1445 * utils.c (screensize_info): Created.
1446 (_initialize_utils): Defined "info screensize" as a normal command.
1448 * valprint.c (format_info): Added information about maximum number
1449 of array elements to function.
1451 * blockframe.c (find_pc_partial_function): Again.
1453 * blockframe.c (find_pc_partial_function): Replaced a "shouldn't
1454 happen" (which does) with a zero return.
1456 * main.c (dont_repeat): Moved ahead of first use.
1458 Thu Jun 29 19:15:08 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1460 * vax-opcode.h: Made minor modifications (moved an instruction and
1461 removed a typo) to bring this into accord with gas' table; also
1462 changed copyright to reflect it being part of both gdb and gas.
1464 * m68k-opcode.h: Added whole scads and bunches of new stuff for
1465 the m68851 and changed the coptyrightto recognize that the file
1466 was shared between gdb and gas.
1468 * main.c (stop_sig): Use "dont_repeat ()" instead of *line = 0;
1470 * core.c (read_memory): Don't do anything if length is 0.
1472 * Makefile: Added readline.c to the list of files screwed by
1473 having the ansi ioctl.h compilation with gcc.
1475 * config.gdb: Added sun4os3 & sun4-os3 as availible options.
1477 Wed Jun 28 02:01:26 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
1479 * command.c (lookup_cmd): Add ignore_help_classes argument.
1480 (lookup_cmd_1): Add ignore_help_classes argument.
1481 command.c, main.c: Change callers of lookup_cmd{,_1} to supply
1482 value for ignore_help_classes.
1484 Tue Jun 27 18:01:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1486 * utils.c (print_spaces_filtered): Made more efficient.
1487 * defs.h: Declaration.
1488 * valprint.c (val_print): Used in a couple of new places.
1490 Mon Jun 26 18:27:28 1989 Randall Smith (randy at gluteus.ai.mit.edu)
1492 * m68k-pinsn.c (print_insn_arg ['#', '^']): Combined them into one
1493 case which always gets the argument from the word immediately
1494 following the instruction.
1495 (print_insn_arg ["[lL]w"]): Make sure to always get the register
1496 mask from the word immediately following the instruction.
1498 Sun Jun 25 19:14:56 1989 Randall Smith (randy at galapas.ai.mit.edu)
1500 * Makefile: Added hp-include back in as something to distribute.
1502 * stack.c (print_block_frame_locals): Return value changed from
1503 void to int; return 1 if values printed. Use _filtered.
1504 (print_frame_local_vars): Use return value from
1505 print_block_frame_locals to mention if nothing printed; mention
1506 lack of symbol table, use _filtered.
1507 (print_frame_arg_vars): Tell the user if no symbol table
1508 or no values printed. Use fprintf_filtered instead of fprintf.
1509 * blockframe.c (get_prev_frame_info): Check for no inferior or
1510 core file before crashing.
1512 * inflow.c (inferior_died): Set current frame to zero to keep from
1513 looking like we're in start.
1515 Sat Jun 24 15:50:53 1989 Randall Smith (randy at gluteus.ai.mit.edu)
1517 * stack.c (frame_command): Added a check to make sure that there
1518 was an inferior or a core file.
1520 * expread.y (yylex): Allow floating point numbers of the form ".5"
1523 Changes by David Taylor at TMC:
1524 * ns32k-pinsn.c: Added define for ?floating point coprocessor? and
1525 tables for register names to be used for each of the possibilities.
1526 (list_search): Created; searches a list of options for a specific
1528 (print_insn_arg): Added 'Q', 'b', 'M', 'P', 'g', and 'G' options
1529 to the value location switch.
1530 * ns32k-opcode.h: Added several new location flags.
1531 [addr, enter, exit, ext[bwd], exts[bwd], lmr, lpr[bwd], restore,
1532 rett, spr[bwd], smr]: Improved insn format output.
1534 * symtab.c (list_symbols): Rearrange printing to produce readable
1535 output for "info types".
1537 * eval.c (evaluate_subexp_for_address): Fixed typo.
1539 * dbxread.c (read_type): Don't output an error message when
1540 there isn't a ',' after a cross-reference.
1542 * dbxread.c (read_dbx_symtab): #if'd out N_FN case in
1543 read_dbx_symtab if it has the EXT bit set (otherwise multiple
1544 cases with the same value).
1546 Fri Jun 23 13:12:08 1989 Randall Smith (randy at plantaris.ai.mit.edu)
1548 * symmisc.c: Changed decl of print_spaces from static to extern
1549 (since it's defined in utils.c).
1551 * remote.c (remote_open): Close remote_desc if it's already been
1554 * Remote_Makefile, remote_gutils.c, remote_inflow.c,
1555 remote_server.c, remote_utils.c: Combined into remote-multi.shar.
1556 * remote-multi.shar: Created (Vikram Koka's remote stub).
1557 * remote-sa.m68k.shar: Created (Glenn Engel's remcom.c).
1558 * README: Updated to reflect new organization of remote stubs.
1560 * dbxread.c (read_dbx_symtab): Put an N_FN in with N_FN | N_EXT to
1561 account for those machines which don't use the external bit here.
1564 * m-symmetry.h: Defined NO_SIGINTERRUPT.
1566 Thu Jun 22 12:51:37 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1568 * printcmd.c (decode_format): Make sure characters are printed
1571 * utils.c (error): Added a terminal_ours here.
1573 * stack.c (locals_info): Added check for selected frame.
1575 * dbxread.c (read_type): Checked to make sure that a "," was
1576 actually found in the symbol to end a cross reference.
1578 Wed Jun 21 10:30:01 1989 Randy Smith (randy at tartarus.uchicago.edu)
1580 * expread.y (parse_number, [exp]): Allowed for the return of a
1581 number marked as unsigned; this will allow inclusion of unsigned
1584 * symtab.h: Put in default definitions for BUILTIN_TYPE_LONGEST
1585 and BUILTIN_TYPE_UNSIGNED_LONGEST.
1587 * expread.y (parse_number): Will now accept integers suffixed with
1588 a 'u' (though does nothing special with it).
1590 * valarith.c (value_binop): Added cases to deal with unsigned
1591 arithmetic correctly.
1593 Tue Jun 20 14:25:54 1989 Randy Smith (randy at tartarus.uchicago.edu)
1595 * dbxread.c (psymtab_to_symtab_1): Changed reading in info message
1596 to go through printf_filtered.
1598 * symtab.c (list_symbols): Placed header message after all calls
1599 to psymtab_to_symtab.
1601 * symtab.c (smash_to_{function, reference, pointer}_type): Carried
1602 attribute of permanence for the type being smashed over the bzero
1603 and allowed any type to point at this one if it is permanent.
1605 * symtab.c (smash_to_{function, reference, pointer}_type): Fix
1606 typo: check flags of to_type instead of type.
1608 * m-hp9k320.h: Changed check on __GNU__ predefine to __GNUC__.
1610 * Makefile: Made MUNCH_DEFINE seperate and based on SYSV_DEFINE;
1611 they aren't the same on hp's.
1613 Mon Jun 19 17:10:16 1989 Randy Smith (randy at tartarus.uchicago.edu)
1615 * Makefile: Fixed typo.
1617 * valops.c (call_function): Error if the inferior has not been
1620 * ns32k-opcode.h [check[wc], cmpm[bwd], movm[bwd], skpsb]: Fixed
1623 Fri Jun 9 16:23:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1625 * m-news.h [NO_SIGINTERRUPT]: Defined.
1627 * dbxread.c (read_type): Start copy of undefined structure name
1628 past [sue] defining type of cross ref.
1630 * dbxread.c (process_one_symbol): Changed strchr to index.
1632 * ns32k-opcode.h, ns32k-pinsn.c: More changes to number of
1633 operands, addition of all of the set condition opcodes, addition
1634 of several flag letters, all patterned after the gas code.
1636 * ns32k-opcode.h [mov{su,us}[bwd], or[bwd]]: Changed number of
1637 operands from 1 to 2.
1639 Wed Jun 7 15:04:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1641 * symseg.h [TYPE_FLAG_STUB]: Created.
1642 * dbxread.c (read_type): Set flag bit if type is stub.
1643 (cleanup_undefined_types): Don't mark it as a stub if it's been
1644 defined since we first learned about it.
1645 * valprint.c (val_print): Print out a message to that effect if
1646 this type is encountered.
1648 * symseg.h, symtab.h: Moved the definition of TYPE_FLAG_PERM over
1649 to symseg.h so that all such definitions would be in the same place.
1651 * valprint.c (val_print): Print out <No data fields> for a
1652 structure if there aren't any.
1654 * dbxread.c (read_type): Set type name of a cross reference type
1655 to "struct whatever" or something.
1657 Tue Jun 6 19:40:52 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1659 * breakpoint.c (breakpoint_1): Print out symbolic location of
1660 breakpoints for which there are no debugging symbols.
1662 Mon Jun 5 15:14:51 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1664 * command.c (help_cmd_list): Made line_size static.
1666 Sat Jun 3 17:33:45 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1668 * Makefile: Don't include the binutils hp-include directory in the
1669 distribution anymore; refer the users to the binutils distribution.
1671 Thu Jun 1 16:33:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1673 * printcmd.c (disable_display_command): Fixed loop iteration for
1676 * printcmd.c (disable_display_command): Added from_tty parameter
1679 * valops.c (value_of_variable): Call read_var_value with 0 cast to
1680 FRAME instead of CORE_ADDR.
1682 * eval.c (evaluate_subexp): Corrected number of args passed to
1683 value_subscript (to 2).
1685 * infrun.c (wait_for_inferior), symtab.c (decode_line_1),
1686 m-convex.h: Changed name of FIRSTLINE_DEBUG_BROKEN to
1687 PROLOGUE_FIRSTLINE_OVERLAP.
1689 * m-merlin.h: Fixed typo.
1690 * ns32k-opcode.h: Added ns32381 opcodes and "cinv" insn, and fixed
1691 errors in movm[wd], rett, and sfsr.
1693 * eval.c (evaluate_subexp, evaluate_subexp_for_address), valops.c
1694 (value_zero): Change value_zero over to taking two arguments
1697 * eval.c (evaluate_subexp)
1698 [OP_VAR_VALUE]: Get correct lval type for AVOID_SIDE_EFFECTS for
1699 all types of symbols.
1700 [BINOP_DIV]: Don't divide if avoiding side effects; just return
1701 an object of the correct type.
1702 [BINOP_REPEAT]: Don't call value_repeat, just allocate a
1704 (evaluete_subexp_for_address) [OP_VAR_VALUE]: Just return a thing
1705 of the right type (after checking to make sure that we are allowed
1706 to take the address of whatever variable has been passed).
1708 Mon May 29 11:01:02 1989 Randall Smith (randy at galapas.ai.mit.edu)
1710 * breakpoint.c (until_break_command): Set the breakpoint with a
1711 frame specification so that it won't trip in inferior calls to the
1712 function. Also set things up so that it works based on selected
1713 frame, not current one.
1715 Sun May 28 15:05:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1717 * eval.c (evalue_subexp): Change subscript case to use value_zero
1718 in EVAL_AVOID_SIDE_EFFECTS case.
1720 Fri May 26 12:03:56 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1722 * dbxread.c (read_addl_syms, psymtab_to_symtab): Removed
1723 cleanup_undefined_types; this needs to be done on a symtab basis.
1724 (end_symtab): Called cleanup_undefined_types from here.
1725 (cleanup_undefined_types): No longer uses lookup_symbol (brain
1726 dead idea; oh, well), now it searches through file_symbols.
1728 Wed May 24 15:52:43 1989 Randall Smith (randy at galapas)
1730 * source.c (select_source_symtab): Only run through
1731 partial_symtab_list if it exists.
1733 * coffread.c (read_coff_symtab): Don't unrecord a misc function
1734 when a function symbol is seen for it.
1736 * expread.y [variable]: Make sure to write a type for memvals if
1737 you don't get a mft you recognize.
1739 Tue May 23 12:15:57 1989 Randall Smith (randy at plantaris.ai.mit.edu)
1741 * dbxread.c (read_ofile_symtab, psymtab_to_symtab): Moved cleanup
1742 of undefined types to psymtab_to_symtab. That way it will be
1743 called once for all readins (which will, among other things,
1744 help reduce infinite loops).
1746 * symtab.h [misc_function_type]: Forced mf_unknown to 0.
1747 * dbxread.c (record_misc_function): Cast enum to unsigned char (to
1749 * expread.y [variable]: Cast unsigned char back to enum to test.
1751 Mon May 22 13:08:25 1989 Randall Smith (randy at gluteus.ai.mit.edu)
1753 Patches by John Gilmore for dealing well with floating point:
1754 * findvar.c (value_from_register, locate_var_value): Used
1755 BYTES_BIG_ENDIAN instead of an inline test.
1756 * m-sparc.h [IEEE_FLOAT]: Created to indicate that the sparc is
1758 * printcmd.c (print_scalar_formatted): Use BYTES_BIG_ENDIAN and
1759 the stream argument for printing; also modify default type for
1760 'f'. Change handling of invalid floats; changed call syntax for
1762 (print_command): Don't print out anything indicating that
1763 something was recorded on the history list if it wasn't.
1764 * valprint.c (val_print): Fixed to deal properley with new format
1765 of is_nan and unpacking doubles without errors occuring.
1766 (is_nan): Changed argument list and how it figures big endianness
1768 * values.c (record_latest_value): Return -1 and don't record if
1769 it's an invalid float.
1770 (value_as_double): Changed to use new unpack_double calling
1772 (unpack_double): Changed not to call error if the float was
1773 invalid; simply to set invp and return. Changed calling syntax.
1774 (unpack_field_as_long, modify_field): Changed to use
1775 BITS_BIG_ENDIAN to determine correct action.
1777 * m-hp9k320.h [HP_OS_BUG]: Created; deals with problem where a
1778 trap happens after a continue.
1779 * infrun.c (wait_for_inferior): Used.
1781 * m-convex.h [FIRSTLINE_DEBUG_BROKEN]: Defined a flag to indicate
1782 that the debugging symbols output by the compiler for the first
1783 line of a function were broken.
1784 * infrun.c (wait_for_inferior), symtab.c (decode_line_1): Used.
1786 * gdb.texinfo [Data, Memory]: Minor cleanups of phrasing.
1788 Fri May 19 00:16:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1790 * dbxread.c (add_undefined_type, cleanup_undefined_types): Created
1791 to keep a list of cross references to as yet undefined types.
1792 (read_type): Call add_undefined_type when we run into such a case.
1793 (read_addl_syms, read_ofile_symtab): Call cleanup_undefined_types
1796 * dbxread.c (psymtab_to_symtab, psymtab_to_symtab_1): Broke
1797 psymtab_to_symtab out into two routines; made sure the string
1798 table was only readin once and the globals were only scanned once,
1799 for any number of dependencies.
1801 Thu May 18 19:59:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1803 * m-*.h: Defined (or not, as appropriate per machine)
1804 BITS_BIG_ENDIAN, BYTES_BIG_ENDIAN, and WORDS_BIG_ENDIAN.
1806 Wed May 17 13:37:45 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1808 * main.c (symbol_completion_function): Always complete on result
1809 command list, even if exact match found. If it's really an exact
1810 match, it'll find it again; if there's something longer than it,
1811 it'll get the right result.
1813 * symtab.c (make_symbol_completion_function): Fixed typo; strcmp
1816 * dbxread.c (read_dbx_symtab): Change 'G' case to mark symbols as
1819 * expread.y [variables]: Changed default type of text symbols to
1820 function returning int so that one can use, eg. strcmp.
1822 * infrun.c (wait_for_inferior): Include a special flag indicating
1823 that one shouldn't insert the breakpoints on the next step for
1824 returning from a sigtramp and forcing at least one move forward.
1826 * infrun.c (wait_for_inferior): Change test for nexting into a
1827 function to check for current stack pointer inner than previous
1830 * infrun.c (wait_for_inferior): Check for step resume break
1831 address before dealing with normal breakpoints.
1833 * infrun.c (wait_for_inferior): Added a case to deal with taking
1834 and passing along a signal when single stepping past breakpoints
1835 before inserting breakpoints.
1837 * infrun.c (wait_for_inferior): Inserted special case to keep
1838 going after taking a signal we are supposed to be taking.
1840 Tue May 16 12:49:55 1989 Randall Smith (randy at gluteus.ai.mit.edu)
1842 * inflow.c (terminal_ours_1): Cast result of signal to (int
1845 * gdb.texinfo: Made sure that references to the program were in
1846 upper case. Modify description of the "set prompt" command.
1847 [Running]: Cleaned up introduction.
1848 [Attach]: Cleaned up.
1849 [Stepping]: Change "Proceed" to "Continue running" or "Execute".
1851 [Source Path]: Cleaned up intro. Cleared up distinction between
1852 the executable search path and the source path. Restated effect
1853 of the "directory" command with no arguments.
1854 [Data]: Fixed typos and trivial details.
1855 [Stepping]: Fixed up explanation of "until".
1857 * source.c (print_source_lines): Print through filter.
1859 * printcmd.c (x_command): If the format with which to print is
1860 "i", use the address of anything that isn't a pointer instead of
1861 the value. This is for, eg. "x/10i main".
1863 * gdb.texinfo: Updated last modification date on manual.
1865 Mon May 15 12:11:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1867 * symtab.c (lookup_symtab): Fixed typo (name ==> copy) in call to
1870 * gdb.texinfo: Added documentation for "break [+-]n" and for new
1871 actions of "directory" command (taking multiple directory names at
1874 * m68k-opcode.h: Replaced the version in gdb with an up-to-date
1875 version from the assembler directory.
1876 * m68k-pinsn.c (print_insn_arg): Added cases 'l' & 'L' to switch
1877 to print register lists for movem instructions.
1879 * dbxread.c, m-convex.h: Moved convex dependent include files over
1880 from dbxread.c to m-convex.h.
1882 * printcmd.c (disable_display, disable_display_command): Changed
1883 name of first to second, and created first which takes an int as
1884 arg rather than a char pointer. Changed second to use first.
1885 (_initialize_printcmd): Changed to use second as command to call.
1886 (delete_current_display, disable_current_display): Changed name of
1887 first to second, and changed functionality to match.
1888 * infrun.c (normal_stop), main.c (return_to_top_level): Changed to
1889 call disable_current_display.
1891 * dbxread.c (process_one_symbol, read_dbx_symtab): Changed N_FN to
1892 be N_FN | N_EXT to deal with new Berkeley define; this works with
1893 either the old or the new.
1895 * Remote_Makefile, remote_gutils.c, remote_inflow.c,
1896 remote_server.c, remote_utils.c: Created.
1897 * Makefile: Included in tag and tar files.
1898 * README: Included a note about them.
1900 * printcmd.c (print_address): Use find_pc_partial_function to
1901 remove need to readin symtabs for symbolic addresses.
1903 * source.c (directory_command): Replaced function with new one
1904 that can accept lists of directories seperated by spaces or :'s.
1906 * inflow.c (new_tty): Replaced calls to dup2 with calls to dup.
1908 Sun May 14 12:33:16 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1910 * stack.c (args_info): Make sure that you have an inferior or core
1911 file before taking action.
1913 * ns32k-opcode.h [deiw, deid]: Fixed machine code values for these
1916 * dbxread.c (scan_file_globals): Modified to use misc function
1917 vector instead of file itself. Killed all arguments to the
1918 funciton; no longer needed.
1919 (psymtab_to_symtab): Changed call for above to reflect new (void)
1922 * dbxread.c (read_dbx_symtab, ): Moved HASH_OFFSET define out of
1925 * expread.y [variable]: Changed default type of misc function in
1926 text space to be (void ()).
1928 * Makefile: Modified for proper number of s/r conflicts (order is
1929 confusing; the mod that necessitated this change was on May 12th,
1932 * expread.y (yylex): Added SIGNED, LONG, SHORT, and INT keywords.
1933 [typename]: Created.
1934 [typebase]: Added rules for LONG, LONG INT, SHORT, SHORT INT,
1935 SIGNED name, and UNSIGNED name (a good approximation of ansi
1938 * Makefile: Included .c.o rule to avoid sun's make from throwing
1941 * blockframe.c: Included <obstack.h>
1943 * command.c (lookup_cmd): Clear out trailing whitespace.
1945 * command.c (lookup_cmd_1): Changed malloc to alloca.
1947 Fri May 12 12:13:12 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1949 * printcmd.c (print_frame_args): Only print nameless args when you
1950 know how many args there are supposed to be and when you've
1951 printed fewer than them. Don't print nameless args between
1954 * symtab.c (make_symbol_completion_function): Fixed typo (= ==>
1957 * remote.c (remote_open): ifdef'd out siginterrupt call by #ifndef
1959 * m-umax.h: Defined NO_SIGINTERRUPT.
1961 * expread.y [ptype, array_mod, func_mod, direct_abs_decl,
1962 abs_decl]: Added rules for parsing and creating arbitrarily
1963 strange types for casts and sizeofs.
1965 * symtab.c, symtab.h (create_array_type): Created. Some minor
1966 misfeatures; see comments for details (main one being that you
1967 might end up creating two arrays when you only needed one).
1969 Thu May 11 13:11:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1971 * valops.c (value_zero): Add an argument for type of lval.
1972 * eval.c (evaluate_subexp_for_address): Take address properly in
1973 the avoid side affects case (ie. keep track of whether we have an
1974 lval in memory and we can take the address).
1975 (evaluate_subexp): Set the lval type of expressions created with
1976 value_zero properley.
1978 * valops.c, value.h (value_zero): Created--will return a value of
1979 any type with contents filled with zero.
1980 * symtab.c, symtab.h (lookup_struct_elt_type): Created.
1981 * eval.c (evaluate_subexp): Modified to not read memory when
1982 called with EVAL_AVOID_SIDE_EFFECTS.
1984 * Makefile: Moved dbxread.c ahead of coffread.c in the list of
1987 Wed May 10 11:29:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1989 * munch: Make sure that sysv version substitutes for the whole
1992 * symtab.h: Created an enum misc_function_type to hold the type of
1993 the misc function being recorded.
1994 * dbxread.c (record_misc_function): Branched on dbx symbols to
1995 decide which type to assign to a misc function.
1996 * coffread.c (record_misc_function): Always assign type unknown.
1997 * expread.y [variable]: Now tests based on new values.
1999 Tue May 9 13:03:54 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2001 * symtab.c: Changed inclusion of <strings.h> (doesn't work on
2002 SYSV) to declaration of index.
2004 * Makefile: Changed last couple of READLINE_FLAGS SYSV_DEFINE
2006 * source.c ({forward, reverse}_search_command): Made a default
2007 search file similar to for the list command.
2009 Mon May 8 18:07:51 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2011 * printcmd.c (print_frame_args): If we don't know how many
2012 arguments there are to this function, don't print the nameless
2013 arguments. We don't know enough to find them.
2015 * printcmd.c (print_frame_args): Call print_frame_nameless_args
2016 with proper arguments (start & end as offsets from addr).
2018 * dbxread.c (read_addl_syms): Removed cases to deal with global
2019 symbols; this should all be done in scan_global_symbols.
2021 Sun May 7 11:36:23 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2023 * Makefile: Added copying.awk to ${OTHERS}.
2025 Fri May 5 16:49:01 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2027 * valprint.c (type_print_varspec_prefix): Don't pass
2028 passed_a_pointer onto children.
2030 * valprint.c (type_print_varspec_suffix): Print "array of" with
2031 whatever the "of" is after tha array brackets.
2033 * valprint.c (type_print_varspec_{prefix,suffix}): Arrange to
2034 parenthesisze pointers to arrays as well as pointers to other
2037 * valprint.c (type_print_varspec_suffix): Make sure to print
2038 subscripts of multi-dimensional arrays in the right order.
2040 * infcmd.c (run_command): Fixed improper usages of variables
2041 within remote debugging branch.
2043 * Makefile: Added Convex.notes to the list of extra files to carry
2046 * dbxread.c (symbol_file_command): Made use of alloca or malloc
2047 dependent on macro define.
2049 Thu May 4 15:47:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2051 * Makefile: Changed READLINE_FLAGS to SYSV_DEFINE and called munch
2053 * munch: Check first argument for -DSYSV and be looser about
2054 picking up init routines if you find it.
2056 * coffread.c: Made fclose be of type int.
2058 * breakpoint.c (_initialize_breakpoint): Put "unset" into class
2061 Wed May 3 14:09:12 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2063 * m-sparc.h [STACK_END_ADDR]: Parameterized off of
2064 machine/vmparam.h (as per John Gilmore's suggestion).
2066 * blockframe.c (get_prev_frame_info): Changed this function back
2067 to checking frameless invocation first before checking frame
2068 chain. This means that a backtrace up from start will produce the
2069 wrong value, but that a backtrace from a frameless function called
2070 in main will show up correctly.
2072 * breakpoint.c (_initialize_breakpoint): Added entry in help for
2073 delete that indicates that unset is an alias for it.
2075 * main.c (symbol_completion_function): Modified recognition of
2076 being within a single command.
2078 Tue May 2 15:13:45 1989 Randy Smith (randy at gnu)
2080 * expread.y [variable]: Add some parens to get checking of the
2081 misc function vector right.
2083 Mon May 1 13:07:03 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2085 * default-dep.c (core_file_command): Made reg_offset unsigned.
2087 * default-dep.c (core_file_command): Improved error messages for
2088 reading in registers.
2090 * expread.y: Allowed a BLOCKNAME to be ok for a variable name (as
2093 * dbxread.c (psymtab_to_symtab): Flushed stdout after printing
2094 starting message about reading in symbols.
2096 * printcmd.c (print_frame_args): Switched starting place for
2097 printing of frameless args to be sizeof int above last real arg
2100 * printcmd.c (print_frame_args): Modified final call to
2101 print_nameless_args to not use frame slots used array if none had
2104 * infrun.c (wait_for_inferior): Take FUNCTION_START_OFFSET into
2105 account when dealing with comparison of pc values to function
2108 * Makefile: Added note about compiling gdb on a Vax running 4.3.
2110 Sun Apr 30 12:59:46 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2112 * command.c (lookup_cmd): Got correct error message on bad
2115 * m-sun3.h [ABOUT_TO_RETURN]: Modified to allow any of the return
2116 instructions, including trapv and return from interupt.
2118 * command.c (lookup_cmd): If a command is found, use it's values
2119 for error reporting and determination of needed subcommands.
2121 * command.c (lookup_cmd): Use null string for error if cmdtype is
2122 null; pass *line to error instead of **.
2124 * command.c (lookup_cmd_1): End of command marked by anything but
2125 alpha numeric or '-'. Included ctype.h.
2127 Fri Apr 28 18:30:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2129 * source.c (select_source_symtab): Kept line number from ever
2130 being less than 1 in main decode.
2132 Wed Apr 26 13:03:20 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2134 * default-dep.c (core_file_command): Fixed typo.
2136 * utils.c (fprintf_filtered): Don't use return value from
2139 * main.c, command.c (complete_on_cmdlist): Moved function to
2142 * command.c (lookup_cmd): Modified to use my new routine. Old
2143 version is still there, ifdef'd out.
2145 * command.c, command.h (lookup_cmd_1): Added a routine to do all
2146 of the work of lookup_cmd with no error reporting and full return
2147 of information garnered in search.
2149 Tue Apr 25 12:37:54 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2151 * breakpoint.c (_initialize_breakpoint): Change "delete
2152 breakpionts" to be in class alias and not have the abbrev flag
2155 * main.c (symbol_completion_function): Fix to correctly complete
2156 things that correspond to multiword aliases.
2158 * main.c (complete_on_cmdlist): Don't complete on something if it
2159 isn't a command or prefix (ie. if it's just a help topic).
2161 * main.c (symbol_completion_function): Set list index to be 0 if
2162 creating a list with just one element.
2164 * main.c (complete_on_cmdlist): Don't allow things with
2165 abbrev_flag set to be completion values.
2166 (symbol_completion_function): Don't accept an exact match if the
2169 * dbxread.c (read_type): Fixed typo in comparision to check if
2170 type number existed.
2172 * dbxread.c (read_type): Made sure to only call dbx_lookup_type on
2173 typenums if typenums were not -1.
2175 Mon Apr 24 17:52:12 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2177 * symtab.c: Added strings.h as an include file.
2179 Fri Apr 21 15:28:38 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2181 * symtab.c (lookup_partial_symtab): Changed to only return a match
2182 if the name match is exact (which is what I want in all cases in
2183 which this is currently used.
2185 Thu Apr 20 11:12:34 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2187 * m-isi.h [REGISTER_U_ADDR]: Installed new version from net.
2188 * default-dep.c: Deleted inclusion of fcntl.h; apparently not
2190 * Makefile: Added comment about compiling on isi under 4.3.
2192 * breakpoint.c (break_command_1): Only give decode_line_1 the
2193 default_breakpoint_defaults if there's nothing better (ie. make
2194 the default be off of the current_source notes if at all
2197 * blockframe.c (get_prev_frame_info): Clean up comments and
2198 delete code ifdefed out around FRAMELESS_FUNCTION_INVOCATION test.
2200 * remote.c: Added a "?" message to protocol.
2201 (remote_open): Used at startup.
2202 (putpkt): Read whatever garbage comes over the line until we see a
2203 '+' (ie. don't treat garbage as a timeout).
2205 * valops.c (call_function): Eliminated no longer appropriate
2208 * infrun.c (wait_for_inferior): Changed several convex conditional
2209 compilations to be conditional on CANNOT_EXECUTE_STACK.
2211 Wed Apr 19 10:18:17 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2213 * printcmd.c (print_frame_args): Added code to attempt to deal
2214 with arguments that are bigger than an int.
2216 Continuation of Convex/Fortran changes:
2217 * printcmd.c (print_scalar_formatted): Added leading zeros to
2218 printing of large integers.
2219 (address_info, print_frame_args): Added code to deal with
2221 (print_nameless_args): Allow param file to specify a routine with
2222 which to print typeless integers.
2223 (printf_command): Deal with long long values well.
2224 * stack.c (print_frame_arg_vars): Change to deal with LOC_REF_ARG.
2225 * symmisc.c (print_symbol): Change to deal with LOC_REF_ARG.
2226 * symseg.h: Added LOC_REF_ARG to enum address_class.
2227 * symtab.c (lookup_block_symbol): Changed to deal with
2229 * valarith.c (value_subscripted_rvalue): Created.
2230 (value_subscript): Used above when app.
2231 (value_less, value_equal): Change to cast to (char *) before doing
2232 comparison, for machines where that casting does something.
2233 * valops.c (call_function): Setup to deal with machines where you
2234 cannot execute code on the stack segment.
2235 * valprint.c (val_print): Make sure that array element size isn't
2236 zero before printing. Set address of default array to address of
2237 first element. Put in a couple of int cast. Removed some convex
2238 specific code. Added check for endianness of machine in case of a
2239 packed structure. Added code for printing typeless integers and
2241 (set_maximum_command): Change to use parse_and_eval_address to get
2242 argument (so can use expressions there).
2243 * values.c (value_of_internalvar, set_internalvar_component,
2244 set_internalvar, convenience_info): Add in hooks for trapped
2246 (unpack_long): Deal with LONG_LONG.
2247 (value_field): Remove LONGEST cast.
2248 (using_struct_return): Fixed typo ENUM ==> UNION.
2249 * xgdb.c (_initialize_xgdb): Make sure that specify_exec_file_hook
2250 is not called unless we are setting up a windowing environ.
2252 Tue Apr 18 13:43:37 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2254 Various changes involved in 1) getting gdb to work on the convex,
2255 and 2) Getting gdb to work with fortran (due to convex!csmith):
2256 * convex-dep.c, convex-opcode.h, m-convex.h, convex-pinsn.c:
2257 Created (or replaced with new files).
2258 * Makefile: Add convex dependent files. Changed default flags to
2259 gnu malloc to be CFLAGS.
2260 * config.gdb: Added convex to list of machines.
2261 * core.c (files_info): Added a FILES_INFO_HOOK to be used if
2263 (xfer_core_file): Conditionalized compilation of xfer_core_file on
2264 the macro XFER_CORE_FILE.
2265 * coffread.c (record_misc_function): Made sure it zerod type field
2266 (which is now being used; see next).
2267 * dbxread.c: Included some convex dependent include files.
2268 (copy_pending, fix_common_blocks): Created.
2269 [STAB_REG_REGNUM, BELIEVE_PCC_PROMOTION]: Created default values;
2270 may be overridden in m-*.h.
2271 Included data structures for keeping track of common blocks.
2272 (dbx_alloc_type): Modified; if called with negative 1's will
2273 create a type without putting it into the type vector.
2274 (read_dbx_symtab, read_addl_syms): Modified calls to
2275 record_misc_function to include the new information.
2276 (symbol_file_command, psymtab_to_symtab, add_file_command):
2277 Modified reading in of string table to adapt to machines which
2278 *don't* store the size of the string table in the first four bytes
2279 of the string table.
2280 (read_dbx_symtab, scan_file_globals, read_ofile_symtab,
2281 read_addl_syms): Modified assignment of namestring to accept null
2282 index into symtab as ok.
2283 (read_addl_syms): Modified readin of a new object file to fiddle
2284 with common blocks correctly.
2285 (process_one_symbol): Fixed incorrect comment about convex. Get
2286 symbols local to a lexical context from correct spot on a per
2287 machine basis. Catch a bug in pcc which occaisionally puts an SO
2288 where there should be an SOL. Seperate sections for N_BCOMM &
2290 (define_symbol): Ignore symbols with no ":". Use
2291 STAB_REG_TO_REGNUM. Added support for function args calling by
2293 (read_type): Only read type number if one is there. Remove old
2294 (#if 0'd out) array code.
2295 (read_array_type): Added code for dealing with adjustable (by
2296 parameter) arrays half-heartedly.
2297 (read_enum_type): Allow a ',' to end a list of values.
2298 (read_range_type): Added code to check for long long.
2299 * expread.y: Modified to use LONGEST instead of long where
2300 necessary. Modified to use a default type of int for objects that
2301 weren't in text space.
2302 * findvar.c (locate_var_value, read_var_value): Modified to deal
2303 with args passed by reference.
2304 * inflow.c (create_inferior): Used CREATE_INFERIOR_HOOK if it
2306 * infrun.c (attach_program): Run terminal inferior when attaching.
2307 (wait_for_inferior): Removed several convex dependencies.
2308 * main.c (float_handler): Created.
2309 Made whatever signal indicates a stop configurable (via macro
2311 (main): Setup use of above as a signal handler. Added check for
2312 "-nw" in args already processed.
2313 (command_line_input): SIGTSTP ==>STOP_SIGNAL.
2315 * expread.y: Added token BLOCKNAME to remove reduce/reduce
2317 * Makefile: Change message to reflect new grammar.
2319 Mon Apr 17 13:24:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2321 * printcmd.c (compare_ints): Created.
2322 (print_frame_args): Modified to always print arguments in the
2323 order in which they were found in the symbol table. Figure out
2324 what apots are missing on the fly.
2326 * stack.c (up_command): Error if no inferior or core file.
2328 * m-i386.h, m-symmetry.h [FRAMELESS_FUNCTION_INVOCATION]: Created;
2331 * dbxread.c (define_symbol): Changed "desc==0" test to
2332 "processing_gcc_compilation", which is the correct way to do it.
2334 Sat Apr 15 17:18:38 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2336 * expread.y: Added precedence rules for arglists, ?:, and sizeof
2337 to eliminate some shift-reduce conflicts.
2338 * Makefile: Modified "Expect" message to conform to new results.
2340 Thu Apr 13 12:29:26 1989 Randall Smith (randy at plantaris.ai.mit.edu)
2342 * inflow.c (terminal_init_inferior): Fixed typo in recent diff
2343 installation; TIOGETC ==> TIOCGETC.
2345 * m-vax.h, m-sun2.h, m-sun3.h, m-sparc.h, m-hp*.h, m-isi.h,
2346 m-news.h [FRAMELESS_FUNCTION_INVOCATION]: Created macro with
2347 appropriate definition.
2349 Wed Apr 12 15:30:29 1989 Randall Smith (randy at plantaris.ai.mit.edu)
2351 * blockframe.c (get_prev_frame_info): Added in a macro to specify
2352 when a "frame" is called without a frame pointer being setup.
2354 * Makefile [clean]: Made sure to delete gnu malloc if it was being
2357 Mon Apr 10 12:43:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2359 * dbxread.c (process_one_symbol): Reset within_function to 0 after
2360 last RBRAC of a function.
2362 * dbxread.c (read_struct_type): Changed check for filling in of
2363 TYPE_MAIN_VARIANT of type.
2365 * inflow.c (create_inferior): Conditionalized fork so that it
2366 would be used if USG was defined and HAVE_VFORK was not defined.
2368 * defs.h: Added comment about enum command_class element
2371 * dbxread.c (process_one_symbol): Fixed a typo with interesting
2372 implications for associative processing in the brain (':' ==> 'c').
2374 * sparc-dep.c (isabranch): Changed name to isannulled, modified to
2375 deal with coprocessor branches, and improved comment.
2376 (single_step): Changed to trap at npc + 4 instead of pc +8 on
2377 annulled branches. Changed name in call to isabranch as above.
2379 * m-sun4os4.h (STACK_END_ADDRESS): Changed it to 0xf8000000 under
2382 Sat Apr 8 17:04:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2384 * dbxread.c (process_one_symbol): In the case N_FUN or N_FNAME the
2385 value being refered to is sometimes just a text segment variable.
2388 * infrun.c (wait_for_inferior), breakpoint.c
2389 (breakpoint_stop_status): Move the selection of the frame to
2390 inside breakpoint_stop_status so that the frame only gets selected
2391 (and the symbols potentially read in) if the symbols are needed.
2393 * symtab.c (find_pc_psymbol): Fixed minor misthough (pc >=
2394 fucntion start, not >).
2396 * breakpoint.c (_initialize_breakpoint): Change "delete" internal
2397 help entry to simply refer to it being a prefix command (since the
2398 list of subcommands is right there on a "help delete").
2400 Fri Apr 7 15:22:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2402 * blockframe.c (find_pc_partial_function): Created; figures out
2403 what function pc is in (name and address) without reading in any
2405 * symtab.h: Added decl for above.
2406 * infrun.c (wait_for_inferior): Used instead of
2407 find_pc_function_start.
2408 * stack.c (print_frame_info): Used instead of hand coding for same
2411 * dbxread.c (psymtab_to_symtab): No longer patch readin pst's out
2412 of the partial_symtab_list; need them there for some checks.
2413 * blockframe.c (block_for_pc), source.c (select_source_symtab),
2414 symtab.c (lookup_symbol, find_pc_symtab, list_symbols): Made extra
2415 sure not to call psymtab_to_symtab with ->readin == 1, since these
2416 psymtab now stay on the list.
2417 * symtab.c (sources_info): Now distinguishes between psymtabs with
2418 readin set and those with it not set.
2420 * symtab.c (lookup_symtab): Added check through partial symtabs
2421 for name with .c appended.
2423 * source.c (select_source_symtab): Changed semantics a little so
2424 that the argument means something.
2425 * source.c (list_command), symtab.c (decode_line_1): Changed call
2426 to select_source_symtab to match new conventions.
2428 * dbxread.c (add_file_command): This command no longer selects a
2429 symbol table to list from.
2431 * infrun.c (wait_for_inferior): Only call find_pc_function (to
2432 find out if we have debugging symbols for a function and hence if
2433 we should step over or into it) if we are doing a "step".
2435 Thu Apr 6 12:42:28 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2437 * main.c (command_line_input): Added a local buffer and only
2438 copied information into the global main.c buffer when it is
2439 appropriate for it to be saved (and repeated).
2440 (dont_repeat): Only nail line when we are reading from stdin
2441 (otherwise null lines won't repeat and what's in line needs to be
2443 (read_command_lines): Fixed typo; you don't what to repeat when
2444 reading command lines from the input stream unless it's standard
2447 John Gilmore's (gnu@toad.com) mods for USG gdb:
2448 * inflow.c: Removed inclusion of sys/user.h; no longer necessary.
2449 (, terminal_init_inferior, terminal_inferior, terminal_ours_1,
2450 term_status_command, _initialize_inflow) Seperated out declaration
2451 and usage of terminal mode structures based on the existence of
2452 the individual ioctls.
2453 * utils.c (request_quit): Restore signal handler under USG. If
2454 running under USG initialize sys_siglist at run time (too much
2455 variation between systems).
2457 Wed Apr 5 13:47:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2459 John Gilmore's (gnu@toad.com) mods for USG gdb:
2460 * default-dep.c: Moved include of sys/user.h to after include of
2462 (store_inferior_registers): Fixed error message.
2463 (core_file_command): Improved error messages from reading in of
2464 u area in core file. Changed calculation of offset of registers
2465 to account for some machines putting it in as an offset rather
2466 than an absolute address. Changed error messages for reading of
2467 registers from core file.
2469 * coffread.c (read_file_hdr): Added final check for BADMAG macro
2470 to use if couldn't recognize magic number.
2471 * Makefile: Added explicit directions for alloca addition.
2472 Included alloca.c in list of possible library files. Cleaned up
2473 possible library usage. Included additional information on gcc
2476 * source.c, remote.c, inflow.c, dbxread.c, core.c, coffread.c:
2477 Changed include of sys/fcntl.h to an include of fcntl.h (as per
2478 posix; presumably this will break fewer machines. I hopw).
2479 * README: Added a pointer to comments at top of Makefile.
2480 * Makefile: Added a comment about machines which need fcntl.h in
2483 Tue Apr 4 11:29:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2485 * valprint.c (set_prettyprint_command, set_unionprint_command,
2486 format_info): Created.
2487 (_initialize_valprint): Added to lists of commands.
2489 * gdb.texinfo [Backtrace]: Added a section describing the format
2490 if symbols have not yet been read in.
2492 * valprint.c (val_print): Added code to prettyprint structures if
2493 "prettyprint" is set and only to print unions below the top level
2494 if "unionprint" is set.
2496 * infcmd.c (registers_info), valprint.c (value_print, val_print):
2497 Added argument to call to val_print indicating deptch of recursion.
2499 * symtab.[ch] (find_pc_psymbol): Created; finds static function
2500 psymbol with value nearest to but under value passed.
2501 * stack.c (print_frame_info): Used above to make sure I have best
2504 * symseg.h (struct partial_symbol): Added value field.
2505 * dbxread.c (read_dbx_symtab): Set value field for partial symbols
2506 saved (so that we can lookup static symbols).
2508 * symtab.[ch] (find_pc_symtab): Changed to external.
2509 * stack.c (select_frame): Call above to make sure that symbols for
2510 a selected frame is readin.
2512 Mon Apr 3 12:48:16 1989 Randall Smith (randy at plantaris.ai.mit.edu)
2514 * stack.c (print_frame_info): Modified to only print out full
2515 stack frame info on symbols whose tables have been read in.
2516 * symtab.c, symtab.h (find_pc_psymtab): Made function external;
2519 * main.c (,set_verbose_command, initialize_main): Created a
2520 variable "info_verbose" which says to talk it up in various and
2521 sundry places. Added command to set this variable.
2522 * gdb.texinfo (GDB Output): Added documentation on "set verbose"
2523 and changed the name of the "Screen Output" section to "GDB
2525 * dbxread.c (psymtab_to_symtab): Added information message about
2526 symbol readin. Conditionalized on above.
2528 * dbxread.c (define_symbol): Made an "i" constant be of class
2529 LOC_CONST and an "r" constant be of class LOC_CONST_BYTES.
2531 * README: Made a note about modifications which may be necessary
2532 to the manual for this version of gdb.
2534 * blockframe.c (get_prev_frame_info): Now we get saved address and
2535 check for validity before we check for leafism. This means that
2536 we will catch the fact that we are in start, but we will miss any
2537 fns that start calls without an fp. This should be fine.
2539 * m-*.h (FRAME_CHAIN): Modified to return 0 if we are in start.
2540 This is usually a test for within the first object file.
2541 * m-sparc.h (FRAME_CHAIN): The test here is simply if the fp saved
2542 off the the start sp is 0.
2544 * blockframe.c (get_prev_frame_info): Removed check to see if we
2545 were in start. Screws up sparc.
2547 * m-sparc.h (FRAME_FIND_SAVED_REGISTERS): Changed test for dummy
2548 frame to not need frame to be innermost.
2550 * gdb.texinfo: Added section on frameless invocations of functions
2551 and when gdb can and can't deal with this.
2553 * stack.c (frame_info): Disallowed call if no inferior or core
2554 file; fails gracefully if truely bad stack specfication has been
2555 given (ie. parse_frame_specification returns 0).
2557 Fri Mar 31 13:59:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2559 * infrun.c (normal_stop): Changed references to "unset-env" to
2562 * infcmd.c (_initialize_infcmd): Change reference to set-args in
2563 help run to "set args".
2565 * remote.c (getpkt): Allow immediate quit when reading from
2566 device; it could be hung.
2568 * coffread.c (process_coff_symbol): Modify handling of REG
2571 Thu Mar 30 15:27:23 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2573 * dbxread.c (symbol_file_command): Use malloc to allocate the
2574 space for the string table in symbol_file_command (and setup a
2575 cleanup for this). This allows a more graceful error failure if
2576 there isn't any memory availible (and probably allows more memory
2577 to be avail, depending on the machine).
2579 Additional mods for handling GNU C++ (from Tiemann):
2580 * dbxread.c (read_type): Added case for '#' type (method type, I
2582 (read_struct_type): If type code is undefined, make the main
2583 variant for the type be itself. Allow recognition of bad format
2584 in reading of structure fields.
2585 * eval.c (evaluate_subexp): Modify evaluation of a member of a
2586 structure and pointer to same to make sure that the syntax is
2587 being used correctly and that the member is being accessed correctly.
2588 * symseg.h: Added TYPE_CODE_METHOD to enum type_code. Add a
2589 pointer to an array of argument types to the type structure.
2590 * symtab.c (lookout_method_type, smash_to_method_type): Created.
2591 * symtab.h (TYPE_ARG_TYPES): Created.
2592 * valops.c (call_function): Modified handling of methods to be the
2593 same as handling of functions; no longer check for members.
2594 * valprint.c (val_print, type_print_varspec_{prefix,suffix},
2595 type_print_base): Added code to print method args correctly.
2596 * values.c (value_virtual_fn_field): Modify access to virtual
2599 Wed Mar 29 13:19:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2601 * findvar.c: Special cases for REGISTER_WINDOWS: 1) Return 0 if we
2602 are the innermost frame, and 2) return the next frame in's value
2603 if the SP is being looked for.
2605 * blockframe.c (get_next_frame): Created; returns the next (inner)
2606 frame of the called frame.
2607 * frame.h: Extern delcaration for above.
2609 * main.c (command_line_input): Stick null at end before doing
2612 Tue Mar 28 17:35:50 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2614 * dbxread.c (read_dbx_symtab): Added namestring assignment to
2615 N_DATA/BSS/ABS case. Sigh.
2617 Sat Mar 25 17:49:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2619 * expread.y: Defined YYDEBUG.
2621 Fri Mar 24 20:46:55 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2623 * symtab.c (make_symbol_completion_list): Completely rewrote to
2624 never call psymtab_to_symtab, to do a correct search (no
2625 duplicates) through the visible symbols, and to include structure
2626 and union fields in the things that it can match.
2628 Thu Mar 23 15:27:44 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2630 * dbxread.c (dbx_create_type): Created; allocates and inits space
2631 for a type without putting it on the type vector lists.
2632 (dbx_alloc_type): Uses above.
2634 * Makefile: xgdb.o now produced by default rules for .o.c.
2636 Fri Mar 17 14:27:50 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2638 * infrun.c: Fixed up inclusion of aouthdr.h on UMAX_PTRACE.
2640 * Makefile, config.gdb: Added hp300bsd to potential
2642 * hp300bsd-dep.c, m-hp300bsd.h: Created.
2644 * infrun.c (wait_for_inferior): Rewrote to do no access to
2645 inferior until we make sure it's still there.
2647 * inflow.c (inferior_died): Added a select to force the selected
2648 frame to null when inferior dies.
2650 * dbxread.c (symbol_file_command): free and zero symfile when
2653 * core.c (xfer_core_file): Extended and cleaned up logic in
2654 interpeting memory address.
2656 * core.c (xfer_core_file): Extended opening comment.
2658 Thu Mar 16 15:39:42 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2660 * coffread.c (symbol_file_command): Free symfile name when freeing
2663 * blockframe.c (get_prev_frame_info): Added to fatal error message
2664 to indicate that it should never happen.
2666 * stack.c (frame_info): Printed out value of "saved" sp seperately
2667 to call attention to the fact that it isn't stored in memory
2668 anywhere; the actual previous frames address is printed.
2670 * m-sparc.h (FRAME_FIND_SAVED_REGS): Set address of sp saved in
2671 frame to value of fp (rather than value of sp in current frame).
2673 * expread.y: Allow "unsigned" as a type itself, as well as a type
2676 * coffread.c: Added declaration for fclose
2678 Fri Mar 10 17:22:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2680 * main.c (command_line_input): Checked for -1 return from
2681 readline; indicates EOF.
2683 Fri Mar 3 00:31:27 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2685 * remote.c (remote_open): Cast return from signal to (void (*)) to
2686 avoid problems on machines where the return type of signal is (int
2689 * Makefile: Removed deletion of version control from it (users
2690 will need it for their changes).
2692 Thu Mar 2 15:32:21 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2694 * symmetry-dep.c (print_1167_regs): Print out effective doubles on
2696 (fetch_inferior_registers): Get the floating point regs also.
2698 * xgdb.c (do_command): Copied command before calling execute
2699 command (so that execute_command wouldn't write into text space).
2701 * copying.awk: Created (will produce copying.c as output when
2702 given COPYING as input).
2703 * Makefile: Used above to create copying.c.
2704 * main.c: Took out info_warranty and info_copying.
2706 * *.*: Changed copyright notice to use new GNU General Public
2707 License (includes necessary changes to manual).
2709 * xgdb.c (create_text_widget): Created text_widget before I create
2710 the source and sink.
2711 (print_prompt): Added fflush (stdout).
2713 * Makefile: Added -lXmu to the compilation line for xgdb. Left
2714 the old one there incase people still had R2.
2716 * README: Added note about -gg format.
2718 * remote.c (getpkt): Fixed typo; && ==> &.
2720 * Makefile: Added new variable READLINE_FLAGS so that I could
2721 force compilation of readline.c and history.c with -DSYSV on
2722 system V machines. Mentioned in Makefile comments at top.
2724 Wed Mar 1 17:01:01 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2726 * hp9k320-dep.c (store_inferior_registers): Fixed typo.
2728 Fri Feb 24 14:58:45 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2730 * hp9k320-dep.c (store_inferior_registers,
2731 fetch_inferior_registers): Added support for remote debugging.
2733 * remote.c (remote_timer): Created.
2734 (remote_open, readchar): Setup to timeout reads if they take
2735 longer than "timeout". This allows one to debug how long such
2737 (putpkt): Modified to print a debugging message (if such things
2738 are enabled) each time it resends a packet.
2739 (getpkt): Modified to make the variable CSUM unsigned and read it
2740 CSUM with an & 0xff (presumably to deal with poor sign extension
2741 on some machines). Also made c1 and c2 unsigned.
2742 (remote_wait): Changed buffer to unsigned status.
2743 (remote_store_registers, remote_write_bytes): Puts a null byte at
2744 the end of the control string.
2746 * infcmd.c (attach_command, detach_command, _initialize_infcmd):
2747 Made attach_command and detach_command always availible, but
2748 modified them to only allow device file attaches if ATTACH_DETACH
2751 * gdb.texinfo: Added cross reference from attach command to remote
2754 Thu Feb 23 12:37:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2756 * remote.c (remote_close): Created to close the remote connection
2757 and set the remote_debugging flag to 0.
2758 * infcmd.c (detach_command): Now calls the above when appropriate.
2760 * gdb.texinfo: Removed references to the ``Distribution'' section
2763 * main.c, utils.c (ISATTY): Created default defintions of this
2764 macro which use isatty and fileno.
2765 * utils.c (fprintf_filtered, print_spaces_filtered), main.c
2766 (command_loop, command_line_input): Used this macro.
2767 * m-news.h: Created a definition to override this one.
2769 * utils.c (fprintf_filtered): Made line_size static (clueless).
2771 * utils.c (fprintf_filtered): Changed max length of line printed
2772 to be 255 chars or twice the format length.
2774 * symmetry-dep.c, m-symmetry: Fixed typo (^L ==>
\f).
2776 * printcmd.c (do_examine): Fixed typo (\n ==> \t).
2778 Wed Feb 22 16:00:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2780 Contributed by Jay Vosburgh (jay@mentor.cc.purdue.edu)
2781 * m-symmetry.h, symmetry-dep.c: Created.
2782 * Makefile: Added above in appropriate lists.
2783 * config.gdb: Added "symmetry" target.
2785 * utils.c (prompt_for_continue): Zero'd chars_printed also.
2787 * utils.c (fprintf_filtered): Call prompt for continue instead of
2790 * dbxread.c (read_dbx_symtab): Added code to conditionalize what
2791 symbol type holds to "x.o" or "-lx" symbol that indicates the
2792 beginning of a new file.
2794 Tue Feb 21 16:22:13 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2796 * gdb.texinfo: Deleted @ignore block at end of file.
2798 * findvar.c, stack.c: Changed comments that refered to "frame
2799 address" to "frame id".
2801 * findvar.c (locate_var_value): Modified so that taking the
2802 address of an array generates an object whose type is a pointer to
2803 the elements of the array.
2805 Sat Feb 18 16:35:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2807 * gdb.texinfo: Removed reference to "!" as a shell escape
2808 character. Added a section on controling screen output
2809 (pagination); changing "Input" section to "User Interface"
2810 section. Changed many inappropriate subsubsection nodes into
2811 subsections nodes (in the readline and history expansion
2814 Fri Feb 17 11:10:54 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2816 * utils.c (set_screensize_command): Created.
2817 (_initialize_utils): Added above to setlist.
2819 * main.c (main): Added check to see if ~/.gdbinit and .gdbinit
2820 were the same file; only one gets read if so. Had to include
2821 sys/stat.h for this.
2823 * valprint.c (type_print_base): Changed calls to print_spaces to
2824 print_spaces_filtered.
2826 * main.c (command_line_input): Chaned test for command line
2827 editing to check for stdin and isatty.
2829 * main.c (command_loop): Call reinitialize_more_filter before each
2830 command (if reading from stdin and it's a tty).
2831 utils.c (initialize_more_filter): Changed name to
2832 reinitialize_more_filter; killed arguments.
2833 utils.c (_initialize_utils): Created; initialized lines_per_page
2834 and chars_per_line here.
2836 * utils.c (fprintf_filtered): Removed printing of "\\\n" after
2837 printing linesize - 1 chars; assume that the screen display will
2838 take care of that. Still watching that overflow.
2840 * main.c: Created the global variables linesize and pagesize to
2841 describe the number of chars per line and lines per page.
2843 Thu Feb 16 17:27:43 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2845 * printcmd.c (do_examine, print_scalar_formatted, print_address,
2846 whatis_command, do_one_display, ptype_command), valprint.c
2847 (value_print, val_print, type_print_method_args, type_print_1,
2848 type_print_derivation_info, type_print_varspec_suffix,
2849 type_print_base), breakpoint.c (breakpoints_info, breakpoint_1),
2850 values.c (history_info), main.c (editing_info, warranty_info,
2851 copying_info), infcmd.c (registers_info), inflow.c
2852 (term_status_command), infrun.c (signals_info), stack.c
2853 (backtrace_command, print_frame_info), symtab.c (list_symbols,
2854 output_source_filename), command.c (help_cmd, help_list,
2855 help_command_list): Replaced calls to printf, fprintf, and putc
2856 with calls to [f]printf_filtered to handle more processing.
2857 Killed local more emulations where I noticed them.
2859 Wed Feb 15 15:27:36 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2861 * defs.h, utils.c (initialize_more_filter, fprintf_filtered,
2862 printf_filtered): Created a printf that will also act as a more
2863 filter, prompting the user for a <return> whenever the page length
2866 * symtab.c (list_symbols): Elminated some code inside of an #if 0.
2868 Tue Feb 14 11:11:24 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2870 * Makefile: Turned off backup versions for this file; it changes
2873 * command.c (lookup_cmd, _initialize_command): Changed '!' so that
2874 it was no longer a shell escape. "sh" must be used.
2876 * main.c (command_line_input, set_history_expansion,
2877 initialize_main): Turned history expansion on, made it the
2878 default, and only execute it if the first character in the line is
2881 * version.c, gdb.texinfo: Moved version to 3.2 (as usual, jumping
2882 the gun some time before release).
2884 * gdb.texinfo: Added sections (adapted from Brian's notes) on
2885 command line editing and history expansion.
2887 * main.c (set_command_editing, initialize_main): Modified name to
2888 set_editing and modified command to "set editing".
2890 * Makefile: Put in dependencies for READLINEOBJS.
2892 * main.c (history_info, command_info): Combined into new command
2893 info; deleted history_info.
2894 (initialize_main): Deleted "info history" command; it was
2895 interfering with the value history.
2897 * coffread.c (enter_linenos): Modified to do bit copy instead of
2898 pointer dereference, since the clipper machine can't handle having
2899 longs on short boundaries.
2900 (read_file_hdr): Added code to get number of syms for clipper.
2902 * stack.c (return_command): Fixed method for checking when all of
2903 the necessary frames had been popped.
2905 * dbxread.c (read_dbx_symtab (ADD_PSYMBOL_TO_LIST)): Fixed typo in
2908 Mon Feb 13 10:03:27 1989 Randall Smith (randy at gluteus.ai.mit.edu)
2910 * dbxread.c (read_dbx_symtab): Split assignment to namestring into
2911 several different assignments (so that it wouldn't be done except
2912 when it had to be). Shortened switches and duplicated code to
2913 produce the lowest possible execution time. Commented (at top of
2914 switch) which code I duplicated.
2916 * dbxread.c (read_dbx_symtab): Modified which variables were
2917 register and deleted several variables which weren't used. Also
2918 eliminated 'F' choice from subswitch, broke out strcmp's, reversed
2919 compare on line 1986, and elminated test for !namestring[0]; it is
2920 caught by following test for null index of ':'.
2922 Sun Feb 12 12:57:56 1989 Randall Smith (randy at plantaris.ai.mit.edu)
2924 * main.c (gdb_completer_word_break_characters): Turned \~ into ~.
2926 Sat Feb 11 15:39:06 1989 Randall Smith (randy at plantaris.ai.mit.edu)
2928 * symtab.c (find_pc_psymtab): Created; checks all psymtab's till
2930 (find_pc_symtab): Used; fatal error if psymtab found is readin
2931 (should have been caught in symtab loop).
2932 (lookup_symbol): Added check before scan through partial symtab
2933 list for symbol name to be on the misc function vector (only if in
2934 VAR_NAMESPACE). Also made sure that psymtab's weren't fooled with
2935 if they had already been read in.
2936 (list_symbols): Checked through misc_function_vector for matching
2937 names if we were looking for functions.
2938 (make_symbol_completion_list): Checked through
2939 misc_function_vector for matching names.
2940 * dbxread.c (read_dbx_symtab): Don't bother to do processing on
2941 global function types; this will be taken care of by the
2944 * symtab.h: Modified comment on misc_function structure.
2946 Fri Feb 10 18:09:33 1989 Randall Smith (randy at plantaris.ai.mit.edu)
2948 * symseg.h, dbxread.c (read_dbx_symtab, init_psymbol_list,
2949 start_psymtab, end_psymtab), coffread.c (_initialize_coff),
2950 symtab.c (lookup_partial_symbol, list_symbols,
2951 make_symbol_completion_list): Changed separate variables for
2952 description of partial symbol allocation into a specific kind of
2955 (read_dbx_symtab, process_symbol_for_psymtab): Moved most of
2956 process_symbol_for_psymtab up into read_dbx_symtab, moved a couple
2957 of symbol types down to the ingore section, streamlined (I hope)
2958 code some, modularized access to psymbol lists.
2960 Thu Feb 9 13:21:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2962 * main.c (command_line_input): Made sure that it could recognize
2963 newlines as indications to repeat the last line.
2965 * symtab.c (_initialize_symtab): Changed size of builtin_type_void
2966 to be 1 for compatibility with gcc.
2968 * main.c (initialize_main): Made history_expansion the default
2969 when gdb is compiled with HISTORY_EXPANSION.
2971 * readline.c, readline.h, history.c, history.h, general.h,
2972 emacs_keymap.c, vi_keymap.c, keymaps.c, funmap.c: Made all of
2973 these links to /gp/gnu/bash/* to keep them updated.
2974 * main.c (initialize_main): Made default be command editing on.
2976 Wed Feb 8 13:32:04 1989 & Smith (randy at hobbes)
2978 * dbxread.c (read_dbx_symtab): Ignore N_BSLINE on first
2981 * Makefile: Removed convex-dep.c from list of distribution files.
2983 Tue Feb 7 14:06:25 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2985 * main.c: Added command lists sethistlist and unsethistlist to
2986 accesible command lists.
2987 (parse_binary_operation): Created to parse a on/1/yes vs. off/0/no
2989 (set_command_edit, set_history, set_history_expansion,
2990 set_history_write, set_history_size, set_history_filename,
2991 command_info, history_info): Created to allow users to control
2992 various aspects of command line editing.
2994 * main.c (symbol_creation_function): Created.
2995 (command_line_input, initialize_main): Added rest of stuff
2996 necessary for calling bfox' command editing routines under
2998 * Makefile: Included readline and history source files for command
2999 editing; also made arrangements to make sure that the termcap
3000 library was available.
3001 * symtab.c (make_symbol_completion_list): Created.
3003 Mon Feb 6 16:25:25 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3005 * main.c: Invented variables to control command editing.
3006 command_editing_p, history_expansion_p, history_size,
3007 write_history_p, history_filename. Initialized them to default
3008 values in initialize_main.
3010 * infcmd.c (registers_info), infrun.c (signals_info),
3011 * main.c (gdb_read_line): Changed name to command_line_input.
3012 (readline): Changed name to gdb_readline; added second argument
3013 indicating that the read value shouldn't be saved (via malloc).
3014 * infcmd.c (registers_info), infrun.c (signals_info), main.c
3015 (copying_info), symtab.c (output_source_filename, MORE,
3016 list_symbols): Converted to use gdb_readline in place of
3020 Sun Feb 5 17:34:38 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3022 * blockframe.c (get_frame_saved_regs): Removed macro expansion
3023 that had accidentally been left in the code.
3025 Sat Feb 4 17:54:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3027 * main.c (gdb_read_line, readline): Added function readline and
3028 converted gdb_read_line to use it. This was a conversion to the
3029 line at a time style of input, in preparation for full command
3032 Fri Feb 3 12:39:03 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3034 * dbxread.c (read_dbx_symtab): Call end_psymtab at the end of
3035 read_dbx_symtab if any psymtab still needs to be completed.
3037 * config.gdb, sun3-dep.c: Brought these into accord with the
3038 actual sun2 status (no floating point period; sun3-dep.c unless
3040 * m-sun2os2.h: Deleted; not needed.
3042 * config.gdb: Added a couple of aliases for machines in the
3045 * infrun.c: Added inclusion of aouthdr.h inside of #ifdef UMAX
3046 because ptrace needs to know about the a.out header.
3048 * Makefile: Made dep.o depend on dep.c and config.status only.
3050 * expread.y: Added declarations of all of the new write_exp_elt
3051 functions at the include section in the top.
3053 * Makefile: Added a YACC definition so that people can use bison
3056 * Makefile: Added rms' XGDB-README to the distribution.
3058 * Makefile: Added removal of init.o on a "make clean".
3060 Thu Feb 2 16:27:06 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3062 * *-dep.c: Deleted definition of COFF_FORMAT if AOUTHDR was
3063 defined since 1) We *may* (recent mail message) want to define
3064 AOUTHDR under a basically BSD system, and 2) AOUTHDR is sometimes
3065 a typedef in coff encapsulation setups. Also removed #define's of
3066 AOUTHDR if AOUTHDR is already defined (inside of coff format).
3067 * core.c, dbxread.c: Removed #define's of AOUTHDR if AOUTHDR is
3068 already defined (inside of coff format).
3070 Tue Jan 31 12:56:01 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3074 * values.c (modify_field): Changed test for endianness to assign
3075 to integer and reference character (so that all bits would be
3078 Mon Jan 30 11:41:21 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3080 * news-dep.c: Deleted inclusion of fcntl.h; just duplicates stuff
3081 found in sys/file.h.
3083 * i386-dep.c: Included default definition of N_SET_MAGIC for
3086 * config.gdb: Added checks for several different operating
3089 * coffread.c (read_struct_type): Put in a flag variable so that
3090 one could tell when you got to the end of a structure.
3092 * sun3-dep.c (core_file_command): Changed #ifdef based on SUNOS4
3093 to ifdef based on FPU.
3095 * infrun.c (restore_inferior_status): Changed error message to
3096 "unable to restore previously selected frame".
3098 * dbxread.c (read_dbx_symtab): Used intermediate variable in error
3099 message reporting a bad symbol type. (scan_file_globals,
3100 read_ofile_symtab, read_addl_syms): Data type of "type" changed to
3101 unsigned char (which is what it is).
3102 * i386-dep.c: Removed define of COFF_FORMAT if AOUTHDR is defined.
3103 Removed define of a_magic to magic (taken care of by N_MAGIC).
3104 (core_file_command): Zero'd core_aouthdr instead of setting magic
3106 * i386-pinsn.c: Changed jcxz == jCcxz in jump table.
3107 (putop): Added a case for 'C'.
3108 (OP_J): Added code to handle possible masking of PC value on
3109 certain kinds of data.
3110 m-i386gas.h: Moved COFF_ENCAPSULATE to before inclusion of
3111 m-i386.h and defined NAMES_HAVE_UNDERSCORE.
3113 * coffread.c (unrecrod_misc_function, read_coff_symtab): Added
3114 symbol number on which error occured to error output.
3116 Fri Jan 27 11:55:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3118 * Makefile: Removed init.c in make clean. Removed it without -f
3119 and with leading - in make ?gdb.
3121 Thu Jan 26 15:08:03 1989 Randall Smith (randy at gluteus.ai.mit.edu)
3123 Changes to get it to work on gould NP1.
3124 * dbxread.c (read_dbx_symtab): Included cases for N_NBDATA and
3126 (psymtab_to_symtab): Changed declaration of hdr to
3127 DECLARE_FILE_HEADERS. Changed access to use STRING_TABLE_SIZE and
3129 * gld-pinsn.c (findframe): Added declaration of framechain() as
3132 * coffread.c (read_coff_symtab): Avoided treating typedefs as
3133 external symbol definitions.
3135 Wed Jan 25 14:45:43 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3137 * Makefile: Removed reference to alloca.c. If they need it, they
3138 can pull alloca.o from the gnu-emacs directory.
3140 * version.c, gdb.texinfo: Updated version to 3.1 (jumping the gun
3141 a bit so that I won't forget when I release).
3143 * m-sun2.h, m-sun2os2.h, m-sun3os4.h, config.gdb: Modified code so
3144 that default includes new sun core, ptrace, and attach-detach.
3145 Added defaults for sun 2 os 2.
3147 Modifications to reset stack limit back to what it used to be just
3148 before exec. All mods inside of #ifdef SET_STACK_LIMIT_HUGE.
3149 * main.c: Added global variable original_stack_limit.
3150 (main): Set original_stack_limit to original stack limit.
3151 * inflow.c: Added inclusion of necessary files and external
3152 reference to original_stack_limit.
3153 (create_inferior): Reset stack limit to original_stack_limit.
3155 * dbxread.c (read_dbx_symtab): Killed PROFILE_SYMBOLS ifdef.
3157 * sparc-dep.c (isabranch): Multiplied offset by 4 before adding it
3158 to addr to get target.
3160 * Makefile: Added definition of SHELL to Makefile.
3162 * m-sun2os4.h: Added code to define NEW_SUN_PTRACE, NEW_SUN_CORE,
3164 * sun3-dep.c: Added code to avoid fp regs if we are on a sun2.
3166 Tue Jan 24 17:59:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3168 * dbxread.c (read_array_type): Added function.
3169 (read_type): Added call to above instead of inline code.
3171 * Makefile: Added ${GNU_MALLOC} to the list of dependencies for
3174 Mon Jan 23 15:08:51 1989 Randall Smith (randy at plantaris.ai.mit.edu)
3176 * gdb.texinfo: Added paragraph to summary describing languages
3177 with which gdb can be run. Also added descriptions of the
3178 "info-methods" and "add-file" commands.
3180 * symseg.h: Commented a range type as having TYPE_TARGET_TYPE
3181 pointing at the containing type for the range (often int).
3182 * dbxread.c (read_range_type): Added code to do actual range types
3183 if they are defined. Assumed that the length of a range type is
3184 the length of the target type; this is a lie, but will do until
3185 somebody gets back to me as to what these silly dbx symbols mean.
3187 * dbxread.c (read_range_type): Added code to be more picky about
3188 recognizing builtins as range types, to treat types defined as
3189 subranges of themselves to be subranges of int, and to recognize
3190 the char type idiom from dbx as a special case.
3192 Sun Jan 22 01:00:13 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3194 * m-vax.h: Removed definition of FUNCTION_HAS_FRAME_POINTER.
3195 * blockframe.c (get_prev_frame_info): Removed default definition
3196 and use of above. Instead conditionalized checking for leaf nodes
3197 on FUNCTION_START_OFFSET (see comment in code).
3199 Sat Jan 21 16:59:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3201 * dbxread.c (read_range_type): Fixed assumption that integer was
3204 * gdb.texinfo: Fixed spelling mistake and added a note in the
3205 running section making it clear that users may invoke subroutines
3208 * blockframe.c: Setup a default definition for the macro
3209 FUNCTION_HAS_FRAME_POINTER.
3210 (get_prev_frame_info): Used this macro instead of checking
3211 SKIP_PROLOGUE directly.
3212 * m-vax.h: Overroad definition; all functions on the vax have
3215 Fri Jan 20 12:25:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3217 * core.c: Added default definition of N_MAGIC for COFF_FORMAT.
3219 * xgdb.c: Installed a fix to keep the thing from dying when there
3220 isn't any frame selected.
3222 * core.c: Made a change for the UMAX system; needs a different
3223 file included if using that core format.
3225 * Makefile: Deleted duplicate obstack.h in dbxread.c dependency.
3227 * munch: Modified (much simpler) to cover (I hope) all cases.
3229 * utils.c (save_cleanups, restore_cleanups): Added functions to
3230 allow you to push and pop the chain of cleanups to be done.
3231 * defs.h: Declared the new functions.
3232 * main.c (catch_errors): Made sure that the only cleanups which
3233 would be done were the ones put on the chain *after* the current
3236 * m-*.h (FRAME_CHAIN_VALID): Removed check on pc in the current
3238 * blockframe.c (get_prev_frame_info): Made the assumption that if
3239 a frame's pc value was within the first object file (presumed to
3240 be /lib/crt0.o), that we shouldn't go any higher.
3242 * infrun.c (wait_for_inferior): Do *not* execute check for stop pc
3243 at step_resume_break if we are proceeding over a breakpoint (ie.
3244 if trap_expected != 0).
3246 * Makefile: Added -g to LDFLAGS.
3248 * m-news.h (POP_FRAME) Fixed typo.
3250 * printcmd.c (print_frame_args): Modified to print out register
3251 params in order by .stabs entry, not by register number.
3253 * sparc-opcode.h: Changed declaration of (struct
3254 arith_imm_fmt).simm to be signed (as per architecture manual).
3255 * sparc-pinsn.c (fprint_addr1, print_insn): Forced a cast to an
3256 int, so that we really would get signed behaivior (default for sun
3259 * i386-dep.c (i386_get_frame_setup): Replace function with new
3260 function provided by pace to fix bug in recognizing prologue.
3262 Thu Jan 19 11:01:22 1989 Randall Smith (randy at plantaris.ai.mit.edu)
3264 * infcmd.c (run_command): Changed error message to "Program not
3267 * value.h: Changed "frame" field in value structure to be a
3268 FRAME_ADDR (actually CORE_ADDR) so that it could survive across
3271 * m-sun.h (FRAME_FIND_SAVED_REGS): Fixed a typo.
3273 * value.h: Added lval: "lval_reg_frame_relative" to indicate a
3274 register that must be interpeted relative to a frame. Added
3275 single entry to value structure: "frame", used to indicate which
3276 frame a relative regnum is relative to.
3277 * findvar.c (value_from_register): Modified to correctly setup
3278 these fields when needed. Deleted section to fiddle with last
3279 register copied on little endian machine; multi register
3280 structures will always occupy an integral number of registers.
3281 (find_saved_register): Made extern.
3282 * values.c (allocate_value, allocate_repeat_value): Zero frame
3284 * valops.c (value_assign): Added case for lval_reg_frame_relative;
3285 copy value out, modify it, and copy it back. Desclared
3286 find_saved_register as being external.
3287 * value.h: Removed addition of kludgy structure; thoroughly
3289 * values.c (free_value, free_all_values, clear_value_history,
3290 set_internalvar, clear_internavars): Killed free_value.
3292 Wed Jan 18 20:09:39 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3294 * value.h: Deleted struct partial_storage; left over from
3297 * findvar.c (value_from_register): Added code to create a value of
3298 type lval_reg_partsaved if a value is in seperate registers and
3299 saved in different places.
3301 Tue Jan 17 13:50:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3303 * value.h: Added lval_reg_partsaved to enum lval_type and
3304 commented enum lval_type. Commented value structure.
3305 Added "struct partial_register_saved" to value struct; added
3306 macros to deal with structure to value.h.
3307 * values.c (free_value): Created; special cases lval_reg_partsaved
3308 (which has a pointer to an array which also needs to be free).
3309 (free_all_values, clear_value_history, set_internalvar,
3310 clear_internalvars): Modified to use free_values.
3312 * m-sunos4.h: Changed name to sun3os4.h.
3313 * m-sun2os4.h, m-sun4os4.h: Created.
3314 * config.gdb: Added configuration entries for each of the above.
3315 * Makefile: Added into correct lists.
3317 * Makefile: Added dependencies on a.out.encap.h. Made
3318 a.out.encap.h dependent on a.out.gnu.h and dbxread.c dependent on
3321 * infrun.c, remote.c: Removed inclusion of any a.out.h files in
3322 these files; they aren't needed.
3324 * README: Added comment about bug reporting and comment about
3327 * Makefile: Added note to HPUX dependent section warning about
3328 problems if compiled with gcc and mentioning the need to add
3329 -Ihp-include to CFLAGS if you compile on those systems. Added a
3330 note about needing the GNU nm with compilers *of gdb* that use the
3331 coff encapsulate feature also. * hp-include: Made symbolic link
3332 over to /gp/gnu/binutils.
3334 * Makefile: Added TSOBS NTSOBS OBSTACK and REGEX to list of things
3335 to delete in "make clean". Also changed "squeakyclean" target as
3338 * findvar.c (value_from_register): Added assignment of VALUE_LVAL
3339 to be lval_memory when that is appropriate (original code didn't
3340 bother because it assumed that it was working with a pre lval
3343 * expread.y (yylex): Changed to only return type THIS if the
3344 symbol "$this" is defined in some block superior or equal to the
3345 current expression context block.
3347 Mon Jan 16 13:56:44 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3349 * m-*.h (FRAME_CHAIN_VALID): On machines which check the relation
3350 of FRAME_SAVED_PC (thisframe) to first_object_file_end (all except
3351 gould), make sure that the pc of the current frame also passes (in
3352 case someone stops in _start).
3354 * findvar.c (value_of_register): Changed error message in case of
3355 no inferior or core file.
3357 * infcmd.c (registers_info): Added a check for inferior or core
3358 file; error message if not.
3360 * main.c (gdb_read_line): Modified to take prompt as argument and
3361 output it to stdout.
3362 * infcmd.c (registers_info, signals_info), main.c (command_loop,
3363 read_command_lines, copying_info), symtab.c (decode_line_2,
3364 output_source_filename, MORE, list_symbols): Changed calling
3365 convention used to call gdb_read_line.
3367 * infcmd.c, infrun.c, main.c, symtab.c: Changed the name of the
3368 function "read_line" to "gdb_read_line".
3369 * breakpoint.c: Deleted external referenced to function
3370 "read_line" (not needed by code).
3372 Fri Jan 13 12:22:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3374 * i386-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE.
3375 (N_SET_MAGIC): Defined if not defined by include file.
3376 (core_file_command): Used N_SET_MAGIC instead of assignment to
3378 (exec_file_command): Stuck in a HEADER_SEEK_FD.
3380 * config.gdb: Added i386-dep.c as depfile for i386gas choice.
3382 * munch: Added -I. to cc to pick up things included by the param
3385 * stab.gnu.def: Changed name to stab.def (stab.gnu.h needs this name).
3386 * Makefile: Changed name here also.
3387 * dbxread.c: Changed name of gnu-stab.h to stab.gnu.h.
3389 * gnu-stab.h: Changed name to stab.gnu.h.
3390 * stab.gnu.def: Added as link to binutils.
3391 * Makefile: Put both in in the distribution.
3393 Thu Jan 12 11:33:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3395 * dbxread.c: Made which stab.h is included dependent on
3396 COFF_ENCAPSULATE; either <stab.h> or "gnu-stab.h".
3397 * Makefile: Included gnu-stab.h in the list of files to include in
3399 * gnu-stab.h: Made a link to /gp/gnu/binutils/stab.h
3401 * Makefile: Included a.out.gnu.h and m-i386gas.h in list of
3403 * m-i386gas.h: Changed to include m-i386.h and fiddle with it
3404 instead of being a whole new file.
3405 * a.out.gnu.h: Made a link to /gp/gnu/binutils/a.out.gnu.h.
3407 Chris Hanson's changes to gdb for hp Unix.
3408 * Makefile: Modified comments on hpux.
3409 * hp9k320-dep.c: #define'd WOPR & moved inclusion of signal.h
3410 * inflow.c: Moved around declaratiosn of <sys/fcntl.h> and
3411 <sys/ioctl.h> inside of USG depends and deleted all SYSV ifdef's
3413 * munch: Modified to accept any number of spaces between the T and
3416 Pace's changes to gdb to work with COFF_ENCAPSULATE (robotussin):
3417 * config.gdb: Added i386gas to targets.
3418 * default-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE.
3419 (N_SET_MAGIC): Defined if not defined by include file.
3420 (core_file_command): Used N_SET_MAGIC instead of assignment to a_magic.
3421 (exec_file_command): Stuck in a HEADER_SEEK_FD.
3422 * infrun.c, remote.c: Added an include of a.out.encap.h if
3423 COFF_ENCAPSULATE defined. This is commented out in these two
3424 files, I presume because the definitions aren't used.
3425 * m-i386gas.h: Created.
3426 * dbxread.c: Included defintions for USG.
3427 (READ_FILE_HEADERS): Now uses HEADER_SEEK_FD if it exists.
3428 (symbol_file_command): Deleted use of HEADER_SEEK_FD.
3429 * core.c: Deleted extra definition of COFF_FORMAT.
3430 (N_MAGIC): Defined to be a_magic if not already defined.
3431 (validate_files): USed N_MAGIC instead of reading a_magic.
3433 Wed Jan 11 12:51:00 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3435 * remote.c: Upped PBUFSIZ.
3436 (getpkt): Added zeroing of c inside loop in case of error retry.
3438 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Removed
3439 code to not put stuff with debugging symbols in the misc function
3440 list. Had been ifdef'd out.
3442 * gdb.texinfo: Added the fact that the return value for a function
3443 is printed if you use return.
3445 * infrun.c (wait_for_inferior): Removed test in "Have we hit
3446 step_resume_breakpoint" for sp values in proper orientation. Was
3447 in there for recursive calls in functions without frame pointers
3448 and it was screwing up calls to alloca.
3450 * dbxread.c: Added #ifdef COFF_ENCAPSULATE to include
3452 (symbol_file_command): Do HEADER_SEEK_FD when defined.
3453 * dbxread.c, core.c: Deleted #ifdef ROBOTUSSIN stuff.
3454 * robotussin.h: Deleted local copy (was symlink).
3455 * a.out.encap.h: Created symlink to
3456 /gp/gnu/binutils/a.out.encap.h.
3457 * Makefile: Removed robotussin.h and included a.out.encap.h in
3460 * valprint.c (val_print, print_scalar_formatted): Changed default
3461 precision of printing float value; now 6 for a float and 16 for a
3464 * findvar.c (value_from_register): Added code to deal with the
3465 case where a value is spread over several registers. Still don't
3466 deal with the case when some registers are saved in memory and
3469 Tue Jan 10 17:04:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3471 * xgdb.c (xgdb_create_window): Removed third arg (XtDepth) to
3474 * infrun.c (handle_command): Error if signal number is less or
3475 equal to 0 or greater or equal to NSIG or a signal number is not
3478 * command.c (lookup_cmd): Modified to not convert command section
3479 of command line to lower case in place (in case it isn't a
3480 subcommand, but an argument to a command).
3482 Fri Jan 6 17:57:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3484 * dbxread.c: Changed "text area" to "data area" in comments on
3487 Wed Jan 4 12:29:54 1989 Randall Smith (randy at gluteus.ai.mit.edu)
3489 * dbxread.c: Added definitions of gnu symbol types after inclusion
3490 of a.out.h and stab.h.
3492 Mon Jan 2 20:38:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3494 * eval.c (evaluate_subexp): Binary logical operations needed to
3495 know type to determine whether second value should be evaluated.
3496 Modified to discover type before binup_user_defined_p branch.
3497 Also commented "enum noside".
3499 * Makefile: Changed invocations of munch to be "./munch".
3501 * gdb.texinfo: Updated to refer to current version of gdb with
3502 January 1989 last update.
3504 * coffread.c (end_symtab): Zero context stack when finishing
3506 (read_coff_symtab): error if context stack 0 in ".ef" else case.
3508 * m-*.h (FRAME_SAVED_PC): Changed name of argument from "frame" to
3509 "FRAME" to avoid problems with replacement of "->frame" part of
3512 * i386-dep.c (i386_get_frame_setup): Added codestream_get() to
3513 move codestream pointer up to the correct location in "subl $X,
3516 Sun Jan 1 14:24:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3518 * valprint.c (val_print): Rewrote routine to print string pointed
3519 to by char pointer; was producing incorrect results when print_max
3522 Fri Dec 30 12:13:35 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3524 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put
3525 everything on the misc function list.
3527 * Checkpointed distribution.
3529 * Makefile: Added expread.tab.c to the list of things slated for
3532 Thu Dec 29 10:06:41 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3534 * stack.c (set_backtrace_limit_command, backtrace_limit_info,
3535 bactrace_command, _initialize_stack): Removed modifications for
3536 limit on backtrace. Piping the backtrace through an interuptable
3537 "more" emulation is a better way to do it.
3539 Wed Dec 28 11:43:09 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3542 (set_backtrace_limit_command): Added command to set a limit to the
3543 number of frames for a backtrace to print by default.
3544 (backtrace_limit_info): To print the current limit.
3545 (backtrace_command): To use the limit.
3546 (_initialize_stack): To initialize the limit to its default value
3547 (30), and add the set and info commands onto the appropriate
3550 * gdb.texinfo: Documented changes to "backtrace" and "commands"
3553 * stack.c (backtrace_command): Altered so that a negative argument
3554 would show the last few frames on the stack instead of the first
3556 (_initialize_stack): Modified help documentation.
3558 * breakpoint.c (commands_command): Altered so that "commands" with
3559 no argument would refer to the last breakpoint set.
3560 (_initialize_breakpoint): Modified help documentation.
3562 * infrun.c (wait_for_inferior): Removed ifdef on Sun4; now you can
3563 single step through compiler generated sub calls and will die if
3564 you next off of the end of a function.
3566 * sparc-dep.c (single_step): Fixed typo; "break_insn" ==> "sizeof
3569 * m-sparc.h (INIT_EXTRA_FRAME_INFO): Set the bottom of a stack
3570 frame to be the bottom of the stack frame inner from this, if that
3571 inner one is a leaf node.
3573 * dbxread.c (read_dbx_symtab): Check to make sure we don't add a
3574 psymtab to it's own dependency list.
3576 * dbxread.c (read_dbx_symtab): Modified check for duplicate
3577 dependencies to catch them correctly.
3579 Tue Dec 27 17:02:09 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3581 * m-*.h (FRAME_SAVED_PC): Modified macro to take frame info
3582 pointer as argument.
3583 * stack.c (frame_info), blockframe.c (get_prev_frame_info),
3584 gld-pinsn.c (findframe), m-*.h (SAVED_PC_AFTER_CALL,
3585 FRAME_CHAIN_VALID, FRAME_NUM_ARGS): Changed usage of macros to
3587 * m-sparc.h (FRAME_SAVED_PC), sparc-dep.c (frame_saved_pc):
3588 Changed frame_saved_pc to have a frame info pointer as an
3591 * m-vax.h, m-umax.h, m-npl.h, infrun.c (wait_for_inferior),
3592 blockframe.c (get_prev_frame_info): Modified SAVED_PC_AFTER_CALL
3593 to take a frame info pointer as an argument.
3595 * blockframe.c (get_prev_frame_info): Altered the use of the
3596 macros FRAME_CHAIN, FRAME_CHAIN_VALID, and FRAME_CHAIN_COMBINE to
3597 use frame info pointers as arguments instead of frame addresses.
3598 * m-vax.h, m-umax.h, m-sun3.h, m-sun3.h, m-sparc.h, m-pn.h,
3599 m-npl.h, m-news.h, m-merlin.h, m-isi.h, m-hp9k320.h, m-i386.h:
3600 Modified definitions of the above macros to suit.
3601 * m-pn.h, m-npl.h, gould-dep.c (findframe): Modified findframe to
3602 use a frame info argument; also fixed internals (wouldn't work
3605 * m-sparc.h: Cosmetic changes; reordered some macros and made sure
3606 that nothing went over 80 lines.
3608 Thu Dec 22 11:49:15 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3610 * Version 3.0 released.
3612 * README: Deleted note about changing -lobstack to obstack.o.
3614 Wed Dec 21 11:12:47 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3616 * m-vax.h (SKIP_PROLOGUE): Now recognizes gcc prologue also.
3618 * blockframe.c (get_prev_frame_info): Added FUNCTION_START_OFFSET
3619 to result of get_pc_function_start.
3620 * infrun.c (wait_for_inferior): Same.
3622 * gdb.texinfo: Documented new "step" and "next" behavior in
3623 functions without line number information.
3625 Tue Dec 20 18:00:45 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3627 * infcmd.c (step_1): Changed behavior of "step" or "next" in a
3628 function witout line number information. It now sets the step
3629 range around the function (to single step out of it) using the
3630 misc function vector, warns the user, and continues.
3632 * symtab.c (find_pc_line): Zero "end" subsection of returned
3633 symtab_and_line if no symtab found.
3635 Mon Dec 19 17:44:35 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3637 * i386-pinsn.c (OP_REG): Added code from pace to streamline
3638 disassembly and corrected types.
3640 (i386_follow_jump): Code added to follow byte and word offset
3642 (i386_get_frame_setup): Expanded to deal with more wide ranging
3644 (i386_frame_find_saved_regs, i386_skip_prologue): Changed to use
3645 i386_get_frame_setup.
3648 Sun Dec 18 11:15:03 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3650 * m-sparc.h: Deleted definition of SUN4_COMPILER_BUG; was designed
3651 to avoid something that I consider a bug in our code, not theirs,
3652 and which I fixed earlier. Also deleted definition of
3653 CANNOT_USE_ARBITRARY_FRAME; no longer used anywhere.
3654 FRAME_SPECIFICATION_DYADIC used instead.
3656 * infrun.c (wait_for_inferior): On the sun 4, if a function
3657 doesn't have a prologue, a next over it single steps into it.
3658 This gets around the problem of a "call .stret4" at the end of
3659 functions returning structures.
3660 * m-sparc.h: Defined SUN4_COMPILER_FEATURE.
3662 * main.c (copying_info): Seperated the last printf into two
3663 printfs. The 386 compiler will now handle it.
3665 * i386-pinsn.c, i386-dep.c: Moved print_387_control_word,
3666 print_387_status_word, print_387_status, and i386_float_info to
3667 dep.c Also included reg.h in dep.c.
3669 Sat Dec 17 15:31:38 1988 Randall Smith (randy at gluteus.ai.mit.edu)
3671 * main.c (source_command): Don't close instream if it's null
3672 (indicating execution of a user-defined command).
3673 (execute_command): Set instream to null before executing
3674 commands and setup clean stuff to put it back on error.
3676 * inflow.c (terminal_inferior): Went back to not checking the
3677 ioctl returns; there are some systems when this will simply fail.
3678 It seems that, on most of these systems, nothing bad will happen
3681 * values.c (value_static_field): Fixed dereferencing of null
3684 * i386-dep.c (i386_follow_jump): Modified to deal with
3685 unconditional byte offsets also.
3687 * dbxread.c (read_type): Fixed typo in function type case of switch.
3689 * infcmd.c (run_command): Does not prompt to restart if command is
3692 Fri Dec 16 15:21:58 1988 Randy Smith (randy at calvin)
3694 * gdb.texinfo: Added a third option under the "Cannot Insert
3695 Breakpoints" workarounds.
3697 * printcmd.c (display_command): Don't do the display unless there
3698 is an active inferior; only set it.
3700 * findvar.c (value_of_register): Added an error check for calling
3701 this when the inferior isn't active and a core file isn't being
3704 * config.gdb: Added reminder about modifying REGEX in the
3705 makefile for the 386.
3707 * i386-pinsn.c, i386-dep.c: Moved m-i386.h helper functions over
3710 Thu Dec 15 14:04:25 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3712 * README: Added a couple of notes about compiling gdb with itself.
3714 * breakpoint.c (set_momentary_breakpoint): Only takes FRAME_FP of
3715 frame if frame is non-zero.
3717 * printcmd.c (print_scalar_formatted): Implemented /g size for
3718 hexadecimal format on machines without an 8 byte integer type. It
3719 seems to be non-trivial to implement /g for other formats.
3720 (decode_format): Allowed hexadecimal format to make it through /g
3723 Wed Dec 14 13:27:04 1988 Randall Smith (randy at gluteus.ai.mit.edu)
3725 * expread.y: Converted all calls to write_exp_elt from the parser
3726 to calls to one of write_exp_elt_{opcode, sym, longcst, dblcst,
3727 char, type, intern}. Created all of these routines. This gets
3728 around possible problems in passing one of these things in one ear
3729 and getting something different out the other. Eliminated
3730 SUN4_COMPILER_BUG ifdef's; they are now superfluous.
3732 * symmisc.c (free_all_psymtabs): Reinited partial_symtab_list to 0.
3733 (_initialize_symmisc): Initialized both symtab_list and
3734 partial_symtab_list.
3736 * dbxread.c (start_psymtab): Didn't allocate anything on
3738 (end_psymtab): Allocate dependency list on psymbol obstack from
3740 (add_psymtab_dependency): Deleted.
3741 (read_dbx_symtab): Put dependency on local list if it isn't on it
3744 * symtab.c: Added definition of psymbol_obstack.
3745 * symtab.h: Added declaration of psymbol_obstack.
3746 * symmisc.c (free_all_psymtabs): Added freeing and
3747 reinitionaliztion of psymbol_obstack.
3748 * dbxread.c (free_all_psymbols): Deleted.
3749 (start_psymtab, end_psymtab,
3750 process_symbol_for_psymtab): Changed most allocation
3751 of partial symbol stuff to be off of psymbol_obstack.
3753 * symmisc.c (free_psymtab, free_all_psymtabs): Deleted
3754 free_psymtab subroutine.
3756 * symtab.h: Removed num_includes and includes from partial_symtab
3757 structure; no longer needed now that all include files have their
3759 * dbxread.c (start_psymtab): Eliminated initialization of above.
3760 (end_psymtab): Eliminated finalization of above; get
3761 includes from seperate list.
3762 (read_dbx_symtab): Moved includes from psymtab list to
3763 their own list; included in call to end_psymtab.
3764 * symmisc.c (free_psymtab): Don't free includes.
3766 Tue Dec 13 14:48:14 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3768 * i386-pinsn.c: Reformatted entire file to correspond to gnu
3769 software indentation conventions.
3771 * sparc-dep.c (skip_prologue): Added capability of recognizign
3772 stores of input register parameters into stack slots.
3774 * sparc-dep.c: Added an include of sparc-opcode.h.
3775 * sparc-pinsn.c, sparc-opcode.h: Moved insn_fmt structures and
3776 unions from pinsn.c to opcode.h.
3777 * sparc-pinsn.c, sparc-dep.c (isabranch, skip_prologue): Moved
3778 this function from pinsn.c to dep.c.
3780 * Makefile: Put in warnings about compiling with gcc (non-ansi
3781 include files) and compiling with shared libs on Sunos 4.0 (can't
3782 debug something that's been compiled that way).
3784 * sparc-pinsn.c: Put in a completely new file (provided by
3785 Tiemann) to handle floating point disassembly, load and store
3786 instructions, and etc. better. Made the modifications this file
3787 (ChangeLog) list for sparc-pinsn.c again.
3789 * symtab.c (output_source_filename): Included "more" emulation hack.
3791 * symtab.c (output_source_filename): Initialized COLUMN to 0.
3792 (sources_info): Modified to not print out a line for
3793 all of the include files within a partial symtab (since
3794 they have pst's of their own now). Also modified to
3795 make a distinction between those pst's read in and
3798 * infrun.c: Included void declaration of single_step() if it's
3800 * sparc-dep.c (single_step): Moved function previous to use of it.
3802 * Makefile: Took removal of expread.tab.c out of make clean entry
3803 and put it into a new "squeakyclean" entry.
3805 Mon Dec 12 13:21:02 1988 Randall Smith (randy at gluteus.ai.mit.edu)
3807 * sparc-pinsn.c (skip_prologue): Changed a struct insn_fmt to a
3810 * inflow.c (terminal_inferior): Checked *all* return codes from
3811 ioctl's and fcntl's in routine.
3813 * inflow.c (terminal_inferior): Added check for sucess of
3814 TIOCSPGRP ioctl call. Just notifies if bad.
3816 * dbxread.c (symbol_file_command): Close was getting called twice;
3817 once directly and once through cleanup. Killed the direct call.
3819 Sun Dec 11 19:40:40 1988 & Smith (randy at hobbes.ai.mit.edu)
3821 * valprint.c (val_print): Deleted spurious printing of "=" from
3824 Sat Dec 10 16:41:07 1988 Randall Smith (randy at gluteus.ai.mit.edu)
3826 * dbxread.c: Changed allocation of psymbols from using malloc and
3827 realloc to using obstacks. This means they aren't realloc'd out
3828 from under the pointers to them.
3830 Fri Dec 9 10:33:24 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3832 * sparc-dep.c inflow.c core.c expread.y command.c infrun.c
3833 infcmd.c dbxread.c symmisc.c symtab.c printcmd.c valprint.c
3834 values.c source.c stack.c findvar.c breakpoint.c blockframe.c
3835 main.c: Various cleanups inspired by "gcc -Wall" (without checking
3836 for implicit declarations).
3838 * Makefile: Cleaned up some more.
3840 * valops.c, m-*.h (FIX_CALL_DUMMY): Modified to take 5 arguments
3841 as per what sparc needs (programming for a superset of needed
3844 * dbxread.c (process_symbol_for_psymtab): Modified to be slightly
3845 more picky about what it puts on the list of things *not* to be
3846 put on the misc function list. When/if I shift everything over to
3847 being placed on the misc_function_list, this will go away.
3849 * inferior.h, infrun.c: Added fields to save in inferior_status
3852 * maketarfile: Deleted; functionality is in Makefile now.
3854 * infrun.c (wait_for_inferior): Modified algorithm for determining
3855 whether or not a single-step was through a subroutine call. See
3856 comments at top of file.
3858 * dbxread.c (read_dbx_symtab): Made sure that the IGNORE_SYMBOL
3859 macro would be checked during initial readin.
3861 * dbxread.c (read_ofile_symtab): Added macro GCC_COMPILED_FLAG_SYMBOL
3862 into dbxread.c to indicate what string in a local text symbol will
3863 indicate a file compiled with gcc. Defaults to "gcc_compiled.".
3865 Thu Dec 8 11:46:22 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3867 * m-sparc.h (FRAME_FIND_SAVED_REGS): Cleaned up a little to take
3868 advantage of the new frame cache system.
3870 * inferior.h, infrun.c, valops.c, valops.c, infcmd.c: Changed
3871 mechanism to save inferior status over calls to inferior (eg.
3872 call_function); implemented save_inferior_info and
3873 restore_inferior_info.
3875 * blockframe.c (get_prev_frame): Simplified this by a direct call
3876 to get_prev_frame_info.
3878 * frame.h, stack.c, printcmd.c, m-sparc.h, sparc-dep.c: Removed
3879 all uses of frame_id_from_addr. There are short routines like it
3880 still in frame_saved_pc (m-sparc.h) and parse_frame_spec
3881 (stack.c). Eventually the one in frame_saved_pc will go away.
3883 * infcmd.c, sparc-dep.c: Implemented a new mechanism for
3884 re-selecting the selected frame on return from a call.
3886 * blockframe.c, stack.c, findvar.c, printcmd.c, m-*.h: Changed
3887 all routines and macros that took a "struct frame_info" as an
3888 argument to take a "struct frame_info *". Routines: findarg,
3889 framechain, print_frame_args, FRAME_ARGS_ADDRESS,
3890 FRAME_STRUCT_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
3891 FRAME_FIND_SAVED_REGS.
3893 * frame.h, stack.c, printcmd.c, infcmd.c, findvar.c, breakpoint.c,
3894 blockframe.c, xgdb.c, i386-pinsn.c, gld-pinsn.c, m-umax.h,
3895 m-sun2.h, m-sun3.h, m-sparc.h, m-pn.h, m-npl.h, m-news.h,
3896 m-merlin.h, m-isi.h, m-i386.h, m-hp9k320.h: Changed routines to
3897 use "struct frame_info *" internally.
3899 Wed Dec 7 12:07:54 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3901 * frame.h, blockframe.c, m-sparc.h, sparc-dep.c: Changed all calls
3902 to get_[prev_]frame_cache_item to get_[prev_]frame_info.
3904 * blockframe.c: Elminated get_frame_cache_item and
3905 get_prev_frame_cache_item; functionality now taken care of by
3906 get_frame_info and get_prev_frame_info.
3908 * blockframe.c: Put allocation on an obstack and eliminated fancy
3909 reallocation routines, several variables, and various nasty
3912 * frame.h, stack.c, infrun.c, blockframe.c, sparc-dep.c: Changed
3913 type FRAME to be a typedef to "struct frame_info *". Had to also
3914 change routines that returned frame id's to return the pointer
3915 instead of the cache index.
3917 * infcmd.c (finish_command): Used proper method of getting from
3918 function symbol to start of function. Was treating a symbol as a
3921 * blockframe.c, breakpoint.c, findvar.c, infcmd.c, stack.c,
3922 xgdb.c, i386-pinsn.c, frame.h, m-hp9k320.h, m-i386.h, m-isi.h,
3923 m-merlin.h, m-news.h, m-npl.h, m-pn.h, m-sparc.h, m-sun2.h,
3924 m-sun3.h, m-umax.h: Changed get_frame_info and get_prev_frame_info
3925 to return pointers instead of structures.
3927 * blockframe.c (get_pc_function_start): Modified to go to misc
3928 function table instead of bombing if pc was in a block without a
3929 containing function.
3931 * coffread.c: Dup'd descriptor passed to read_coff_symtab and
3932 fdopen'd it so that there wouldn't be multiple closes on the same
3933 fd. Also put (fclose, stream) on the cleanup list.
3935 * printcmd.c, stack.c: Changed print_frame_args to take a
3936 frame_info struct as argument instead of the address of the args
3939 * m-i386.h (STORE_STRUCT_RETURN): Decremented sp by sizeof object
3940 to store (an address) rather than 1.
3942 * dbxread.c (read_dbx_symtab): Set first_object_file_end in
3943 read_dbx_symtab (oops).
3945 * coffread.c (fill_in_vptr_fieldno): Rewrote TYPE_BASECLASS as
3948 Tue Dec 6 13:03:43 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3950 * coffread.c: Added fake support for partial_symtabs to allow
3951 compilation and execution without there use.
3952 * inflow.c: Added a couple of minor USG mods.
3953 * munch: Put in appropriate conditionals so that it would work on
3955 * Makefile: Made regex.* handled same as obstack.*; made sure tar
3956 file included everything I wanted it to include (including
3959 * dbxread.c (end_psymtab): Create an entry in the
3960 partial_symtab_list for each subfile of the .o file just read in.
3961 This allows a "list expread.y:10" to work when we haven't read in
3962 expread.o's symbol stuff yet.
3964 * symtab.h, dbxread.c (psymtab_to_symtab): Recognize pst->ldsymlen
3965 == 0 as indicating a dummy psymtab, only in existence to cause the
3966 dependency list to be read in.
3968 * dbxread.c (sort_symtab_syms): Elminated reversal of symbols to
3969 make sure that register debug symbol decls always come before
3970 parameter symbols. After mod below, this is not needed.
3972 * symtab.c (lookup_block_symbol): Take parameter type symbols
3973 (LOC_ARG or LOC_REGPARM) after any other symbols which match.
3975 * dbxread.c (read_type): When defining a type in terms of some
3976 other type and the other type is supposed to have a pointer back
3977 to this specific kind of type (pointer, reference, or function),
3978 check to see if *that* type has been created yet. If it has, use
3979 it and fill in the appropriate slot with a pointer to it.
3981 Mon Dec 5 11:25:04 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
3983 * symmisc.c: Eliminated existence of free_inclink_symtabs and
3984 init_free_inclink_symtabs; they aren't called from anywhere, and
3985 if they were they could disrupt gdb's data structure badly
3986 (elimination of struct type's which values that stick around past
3987 elimination of inclink symtabs).
3989 * dbxread.c (symbol_file_command): Fixed a return pathway out of
3990 the routine to do_cleanups before it left.
3992 * infcmd.c (set_environment_command), gdb.texinfo: Added
3993 capability to set environmental variable values to null.
3995 * gdb.texinfo: Modified doc on "break" without args slightly.
3997 Sun Dec 4 17:03:16 1988 Randall Smith (randy at gluteus.ai.mit.edu)
3999 * dbxread.c (symbol_file_command): Added check; if there weren't
4000 any debugging symbols in the file just read, the user is warned.
4002 * infcmd.c: Commented set_environment_command (a little).
4004 * createtags: Cleaned up and commented.
4006 * Makefile: Updated depen_memory and write_inferior_memory in that errno is
4007 checked after each ptrace and returned to the caller. Used in
4008 value_at to detect references to addresses which are out of
4009 bounds. Also core.c (xfer_core_file): return 1 if invalid
4010 address, 0 otherwise.
4012 * inflow.c, <machine>-infdep.c: removed all calls to ptrace from
4013 inflo, m-sun3.h: Cleaned up dealings with
4014 functions returning structu0 19:19:36 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
4016 * symmisc.c: (read_symsegs) Accept only format number 2. Since
4017 the size of the type structure changed when C++ support was added,
4018 format 1 can no longer be used.
4020 * core.c, m-sunos4.h: (core_file_command) support for SunOS 4.0.
4021 Slight change in the core structure. #ifdef SUNOS4. New file
4022 m-sunos4.h. May want to change config.gdb also.
4024 Fri Jul 8 19:59:49 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
4026 * breakpoint.c: (break_command_1) Allow `break if condition'
4027 rather than parsing `if' as a function name and returning an
4030 Thu Jul 7 22:22:47 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
4032 * C++: valops.c, valprint.c, value.h, values.c: merged code to deal
4033 with C++ expressions.
4035 Wed Jul 6 03:28:18 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
4037 * C++: dbxread.c: (read_dbx_symtab, condense_misc_bunches,
4038 add_file_command) Merged code to read symbol information from
4039 an incrementally linked file. symmisc.c:
4040 (init_free_inclink_symtabs, free_inclink_symtabs) Cleanup
4043 Tue Jul 5 02:50:41 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
4045 * C++: symtab.c, breakpoint.c, source.c: Merged code to deal with
4046 ambiguous line specifications. In C++ one can have overloaded
4047 function names, so that `list classname::overloadedfuncname'
4048 refers to several different lines, possibly sure currently configured machine
4049 dependent files come first in e at corn-chex.ai.mit.edu)
4051 * C++: symtab.c: replaced lookup_symtab_1 and lookup_symtab_2 with
4052 a modified lookup_symbol which checks for fields of the current
4053 implied argument `this'. printcmd.c, source.c, symtab.c,
4054 valops.c: Need to change callers once callers are
4057 Wed Jun 29 01:26:56 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu)
4059 * C++: eval.c, expprint.c, expread.y, expression.h, valarith.c,
4060 Merged code to deal with evaluation of user-defined operators,
4061 member functions, and virtual functions.
4062 binop_must_be_user_defined tests for user-defined binops,
4063 value_x_binop calls the appropriate operator function.
4065 Tue Jun 28 02:56:42 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu)
4067 * C++: Makefile: changed the echo: expect 101 shift/reduce conflicts
4068 and 1 reduce/reduce conflict.
4073 eval: (auto-fill-mode 1)
4076 version-control: never