gdb-3.1
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Jan 31 12:56:01 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
2
3 * values.c (modify_field): Changed test for endianness to assign
4 to integer and reference character (so that all bits would be
5 defined).
6
7 Mon Jan 30 11:41:21 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
8
9 * news-dep.c: Deleted inclusion of fcntl.h; just duplicates stuff
10 found in sys/file.h.
11
12 * i386-dep.c: Included default definition of N_SET_MAGIC for
13 COFF_FORMAT.
14
15 * config.gdb: Added checks for several different operating
16 systems.
17
18 * coffread.c (read_struct_type): Put in a flag variable so that
19 one could tell when you got to the end of a structure.
20
21 * sun3-dep.c (core_file_command): Changed #ifdef based on SUNOS4
22 to ifdef based on FPU.
23
24 * infrun.c (restore_inferior_status): Changed error message to
25 "unable to restore previously selected frame".
26
27 * dbxread.c (read_dbx_symtab): Used intermediate variable in error
28 message reporting a bad symbol type. (scan_file_globals,
29 read_ofile_symtab, read_addl_syms): Data type of "type" changed to
30 unsigned char (which is what it is).
31 * i386-dep.c: Removed define of COFF_FORMAT if AOUTHDR is defined.
32 Removed define of a_magic to magic (taken care of by N_MAGIC).
33 (core_file_command): Zero'd core_aouthdr instead of setting magic
34 to zero.
35 * i386-pinsn.c: Changed jcxz == jCcxz in jump table.
36 (putop): Added a case for 'C'.
37 (OP_J): Added code to handle possible masking of PC value on
38 certain kinds of data.
39 m-i386gas.h: Moved COFF_ENCAPSULATE to before inclusion of
40 m-i386.h and defined NAMES_HAVE_UNDERSCORE.
41
42 * coffread.c (unrecrod_misc_function, read_coff_symtab): Added
43 symbol number on which error occured to error output.
44
45 Fri Jan 27 11:55:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
46
47 * Makefile: Removed init.c in make clean. Removed it without -f
48 and with leading - in make ?gdb.
49
50 Thu Jan 26 15:08:03 1989 Randall Smith (randy at gluteus.ai.mit.edu)
51
52 Changes to get it to work on gould NP1.
53 * dbxread.c (read_dbx_symtab): Included cases for N_NBDATA and
54 N_NBBSS.
55 (psymtab_to_symtab): Changed declaration of hdr to
56 DECLARE_FILE_HEADERS. Changed access to use STRING_TABLE_SIZE and
57 SYMBOL_TABLE_SIZE.
58 * gld-pinsn.c (findframe): Added declaration of framechain() as
59 FRAME_ADDR.
60
61 * coffread.c (read_coff_symtab): Avoided treating typedefs as
62 external symbol definitions.
63
64 Wed Jan 25 14:45:43 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
65
66 * Makefile: Removed reference to alloca.c. If they need it, they
67 can pull alloca.o from the gnu-emacs directory.
68
69 * version.c, gdb.texinfo: Updated version to 3.1 (jumping the gun
70 a bit so that I won't forget when I release).
71
72 * m-sun2.h, m-sun2os2.h, m-sun3os4.h, config.gdb: Modified code so
73 that default includes new sun core, ptrace, and attach-detach.
74 Added defaults for sun 2 os 2.
75
76 Modifications to reset stack limit back to what it used to be just
77 before exec. All mods inside of #ifdef SET_STACK_LIMIT_HUGE.
78 * main.c: Added global variable original_stack_limit.
79 (main): Set original_stack_limit to original stack limit.
80 * inflow.c: Added inclusion of necessary files and external
81 reference to original_stack_limit.
82 (create_inferior): Reset stack limit to original_stack_limit.
83
84 * dbxread.c (read_dbx_symtab): Killed PROFILE_SYMBOLS ifdef.
85
86 * sparc-dep.c (isabranch): Multiplied offset by 4 before adding it
87 to addr to get target.
88
89 * Makefile: Added definition of SHELL to Makefile.
90
91 * m-sun2os4.h: Added code to define NEW_SUN_PTRACE, NEW_SUN_CORE,
92 and ATTACH_DETACH.
93 * sun3-dep.c: Added code to avoid fp regs if we are on a sun2.
94
95 Tue Jan 24 17:59:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
96
97 * dbxread.c (read_array_type): Added function.
98 (read_type): Added call to above instead of inline code.
99
100 * Makefile: Added ${GNU_MALLOC} to the list of dependencies for
101 the executables.
102
103 Mon Jan 23 15:08:51 1989 Randall Smith (randy at plantaris.ai.mit.edu)
104
105 * gdb.texinfo: Added paragraph to summary describing languages
106 with which gdb can be run. Also added descriptions of the
107 "info-methods" and "add-file" commands.
108
109 * symseg.h: Commented a range type as having TYPE_TARGET_TYPE
110 pointing at the containing type for the range (often int).
111 * dbxread.c (read_range_type): Added code to do actual range types
112 if they are defined. Assumed that the length of a range type is
113 the length of the target type; this is a lie, but will do until
114 somebody gets back to me as to what these silly dbx symbols mean.
115
116 * dbxread.c (read_range_type): Added code to be more picky about
117 recognizing builtins as range types, to treat types defined as
118 subranges of themselves to be subranges of int, and to recognize
119 the char type idiom from dbx as a special case.
120
121 Sun Jan 22 01:00:13 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
122
123 * m-vax.h: Removed definition of FUNCTION_HAS_FRAME_POINTER.
124 * blockframe.c (get_prev_frame_info): Removed default definition
125 and use of above. Instead conditionalized checking for leaf nodes
126 on FUNCTION_START_OFFSET (see comment in code).
127
128 Sat Jan 21 16:59:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
129
130 * dbxread.c (read_range_type): Fixed assumption that integer was
131 always type 1.
132
133 * gdb.texinfo: Fixed spelling mistake and added a note in the
134 running section making it clear that users may invoke subroutines
135 directly from gdb.
136
137 * blockframe.c: Setup a default definition for the macro
138 FUNCTION_HAS_FRAME_POINTER.
139 (get_prev_frame_info): Used this macro instead of checking
140 SKIP_PROLOGUE directly.
141 * m-vax.h: Overroad definition; all functions on the vax have
142 frame pointers.
143
144 Fri Jan 20 12:25:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
145
146 * core.c: Added default definition of N_MAGIC for COFF_FORMAT.
147
148 * xgdb.c: Installed a fix to keep the thing from dying when there
149 isn't any frame selected.
150
151 * core.c: Made a change for the UMAX system; needs a different
152 file included if using that core format.
153
154 * Makefile: Deleted duplicate obstack.h in dbxread.c dependency.
155
156 * munch: Modified (much simpler) to cover (I hope) all cases.
157
158 * utils.c (save_cleanups, restore_cleanups): Added functions to
159 allow you to push and pop the chain of cleanups to be done.
160 * defs.h: Declared the new functions.
161 * main.c (catch_errors): Made sure that the only cleanups which
162 would be done were the ones put on the chain *after* the current
163 location.
164
165 * m-*.h (FRAME_CHAIN_VALID): Removed check on pc in the current
166 frame being valid.
167 * blockframe.c (get_prev_frame_info): Made the assumption that if
168 a frame's pc value was within the first object file (presumed to
169 be /lib/crt0.o), that we shouldn't go any higher.
170
171 * infrun.c (wait_for_inferior): Do *not* execute check for stop pc
172 at step_resume_break if we are proceeding over a breakpoint (ie.
173 if trap_expected != 0).
174
175 * Makefile: Added -g to LDFLAGS.
176
177 * m-news.h (POP_FRAME) Fixed typo.
178
179 * printcmd.c (print_frame_args): Modified to print out register
180 params in order by .stabs entry, not by register number.
181
182 * sparc-opcode.h: Changed declaration of (struct
183 arith_imm_fmt).simm to be signed (as per architecture manual).
184 * sparc-pinsn.c (fprint_addr1, print_insn): Forced a cast to an
185 int, so that we really would get signed behaivior (default for sun
186 cc is unsigned).
187
188 * i386-dep.c (i386_get_frame_setup): Replace function with new
189 function provided by pace to fix bug in recognizing prologue.
190
191 Thu Jan 19 11:01:22 1989 Randall Smith (randy at plantaris.ai.mit.edu)
192
193 * infcmd.c (run_command): Changed error message to "Program not
194 restarted."
195
196 * value.h: Changed "frame" field in value structure to be a
197 FRAME_ADDR (actually CORE_ADDR) so that it could survive across
198 calls.
199
200 * m-sun.h (FRAME_FIND_SAVED_REGS): Fixed a typo.
201
202 * value.h: Added lval: "lval_reg_frame_relative" to indicate a
203 register that must be interpeted relative to a frame. Added
204 single entry to value structure: "frame", used to indicate which
205 frame a relative regnum is relative to.
206 * findvar.c (value_from_register): Modified to correctly setup
207 these fields when needed. Deleted section to fiddle with last
208 register copied on little endian machine; multi register
209 structures will always occupy an integral number of registers.
210 (find_saved_register): Made extern.
211 * values.c (allocate_value, allocate_repeat_value): Zero frame
212 field on creation.
213 * valops.c (value_assign): Added case for lval_reg_frame_relative;
214 copy value out, modify it, and copy it back. Desclared
215 find_saved_register as being external.
216 * value.h: Removed addition of kludgy structure; thoroughly
217 commented file.
218 * values.c (free_value, free_all_values, clear_value_history,
219 set_internalvar, clear_internavars): Killed free_value.
220
221 Wed Jan 18 20:09:39 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
222
223 * value.h: Deleted struct partial_storage; left over from
224 yesterday.
225
226 * findvar.c (value_from_register): Added code to create a value of
227 type lval_reg_partsaved if a value is in seperate registers and
228 saved in different places.
229
230 Tue Jan 17 13:50:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
231
232 * value.h: Added lval_reg_partsaved to enum lval_type and
233 commented enum lval_type. Commented value structure.
234 Added "struct partial_register_saved" to value struct; added
235 macros to deal with structure to value.h.
236 * values.c (free_value): Created; special cases lval_reg_partsaved
237 (which has a pointer to an array which also needs to be free).
238 (free_all_values, clear_value_history, set_internalvar,
239 clear_internalvars): Modified to use free_values.
240
241 * m-sunos4.h: Changed name to sun3os4.h.
242 * m-sun2os4.h, m-sun4os4.h: Created.
243 * config.gdb: Added configuration entries for each of the above.
244 * Makefile: Added into correct lists.
245
246 * Makefile: Added dependencies on a.out.encap.h. Made
247 a.out.encap.h dependent on a.out.gnu.h and dbxread.c dependent on
248 stab.gnu.h.
249
250 * infrun.c, remote.c: Removed inclusion of any a.out.h files in
251 these files; they aren't needed.
252
253 * README: Added comment about bug reporting and comment about
254 xgdb.
255
256 * Makefile: Added note to HPUX dependent section warning about
257 problems if compiled with gcc and mentioning the need to add
258 -Ihp-include to CFLAGS if you compile on those systems. Added a
259 note about needing the GNU nm with compilers *of gdb* that use the
260 coff encapsulate feature also. * hp-include: Made symbolic link
261 over to /gp/gnu/binutils.
262
263 * Makefile: Added TSOBS NTSOBS OBSTACK and REGEX to list of things
264 to delete in "make clean". Also changed "squeakyclean" target as
265 "realclean".
266
267 * findvar.c (value_from_register): Added assignment of VALUE_LVAL
268 to be lval_memory when that is appropriate (original code didn't
269 bother because it assumed that it was working with a pre lval
270 memoried value).
271
272 * expread.y (yylex): Changed to only return type THIS if the
273 symbol "$this" is defined in some block superior or equal to the
274 current expression context block.
275
276 Mon Jan 16 13:56:44 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
277
278 * m-*.h (FRAME_CHAIN_VALID): On machines which check the relation
279 of FRAME_SAVED_PC (thisframe) to first_object_file_end (all except
280 gould), make sure that the pc of the current frame also passes (in
281 case someone stops in _start).
282
283 * findvar.c (value_of_register): Changed error message in case of
284 no inferior or core file.
285
286 * infcmd.c (registers_info): Added a check for inferior or core
287 file; error message if not.
288
289 * main.c (gdb_read_line): Modified to take prompt as argument and
290 output it to stdout.
291 * infcmd.c (registers_info, signals_info), main.c (command_loop,
292 read_command_lines, copying_info), symtab.c (decode_line_2,
293 output_source_filename, MORE, list_symbols): Changed calling
294 convention used to call gdb_read_line.
295
296 * infcmd.c, infrun.c, main.c, symtab.c: Changed the name of the
297 function "read_line" to "gdb_read_line".
298 * breakpoint.c: Deleted external referenced to function
299 "read_line" (not needed by code).
300
301 Fri Jan 13 12:22:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
302
303 * i386-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE.
304 (N_SET_MAGIC): Defined if not defined by include file.
305 (core_file_command): Used N_SET_MAGIC instead of assignment to
306 a_magic.
307 (exec_file_command): Stuck in a HEADER_SEEK_FD.
308
309 * config.gdb: Added i386-dep.c as depfile for i386gas choice.
310
311 * munch: Added -I. to cc to pick up things included by the param
312 file.
313
314 * stab.gnu.def: Changed name to stab.def (stab.gnu.h needs this name).
315 * Makefile: Changed name here also.
316 * dbxread.c: Changed name of gnu-stab.h to stab.gnu.h.
317
318 * gnu-stab.h: Changed name to stab.gnu.h.
319 * stab.gnu.def: Added as link to binutils.
320 * Makefile: Put both in in the distribution.
321
322 Thu Jan 12 11:33:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
323
324 * dbxread.c: Made which stab.h is included dependent on
325 COFF_ENCAPSULATE; either <stab.h> or "gnu-stab.h".
326 * Makefile: Included gnu-stab.h in the list of files to include in
327 the distribution.
328 * gnu-stab.h: Made a link to /gp/gnu/binutils/stab.h
329
330 * Makefile: Included a.out.gnu.h and m-i386gas.h in list of
331 distribution files.
332 * m-i386gas.h: Changed to include m-i386.h and fiddle with it
333 instead of being a whole new file.
334 * a.out.gnu.h: Made a link to /gp/gnu/binutils/a.out.gnu.h.
335
336 Chris Hanson's changes to gdb for hp Unix.
337 * Makefile: Modified comments on hpux.
338 * hp9k320-dep.c: #define'd WOPR & moved inclusion of signal.h
339 * inflow.c: Moved around declaratiosn of <sys/fcntl.h> and
340 <sys/ioctl.h> inside of USG depends and deleted all SYSV ifdef's
341 (use USG instead).
342 * munch: Modified to accept any number of spaces between the T and
343 the symbol name.
344
345 Pace's changes to gdb to work with COFF_ENCAPSULATE (robotussin):
346 * config.gdb: Added i386gas to targets.
347 * default-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE.
348 (N_SET_MAGIC): Defined if not defined by include file.
349 (core_file_command): Used N_SET_MAGIC instead of assignment to a_magic.
350 (exec_file_command): Stuck in a HEADER_SEEK_FD.
351 * infrun.c, remote.c: Added an include of a.out.encap.h if
352 COFF_ENCAPSULATE defined. This is commented out in these two
353 files, I presume because the definitions aren't used.
354 * m-i386gas.h: Created.
355 * dbxread.c: Included defintions for USG.
356 (READ_FILE_HEADERS): Now uses HEADER_SEEK_FD if it exists.
357 (symbol_file_command): Deleted use of HEADER_SEEK_FD.
358 * core.c: Deleted extra definition of COFF_FORMAT.
359 (N_MAGIC): Defined to be a_magic if not already defined.
360 (validate_files): USed N_MAGIC instead of reading a_magic.
361
362 Wed Jan 11 12:51:00 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
363
364 * remote.c: Upped PBUFSIZ.
365 (getpkt): Added zeroing of c inside loop in case of error retry.
366
367 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Removed
368 code to not put stuff with debugging symbols in the misc function
369 list. Had been ifdef'd out.
370
371 * gdb.texinfo: Added the fact that the return value for a function
372 is printed if you use return.
373
374 * infrun.c (wait_for_inferior): Removed test in "Have we hit
375 step_resume_breakpoint" for sp values in proper orientation. Was
376 in there for recursive calls in functions without frame pointers
377 and it was screwing up calls to alloca.
378
379 * dbxread.c: Added #ifdef COFF_ENCAPSULATE to include
380 a.out.encap.h.
381 (symbol_file_command): Do HEADER_SEEK_FD when defined.
382 * dbxread.c, core.c: Deleted #ifdef ROBOTUSSIN stuff.
383 * robotussin.h: Deleted local copy (was symlink).
384 * a.out.encap.h: Created symlink to
385 /gp/gnu/binutils/a.out.encap.h.
386 * Makefile: Removed robotussin.h and included a.out.encap.h in
387 list of files.
388
389 * valprint.c (val_print, print_scalar_formatted): Changed default
390 precision of printing float value; now 6 for a float and 16 for a
391 double.
392
393 * findvar.c (value_from_register): Added code to deal with the
394 case where a value is spread over several registers. Still don't
395 deal with the case when some registers are saved in memory and
396 some aren't.
397
398 Tue Jan 10 17:04:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
399
400 * xgdb.c (xgdb_create_window): Removed third arg (XtDepth) to
401 frameArgs.
402
403 * infrun.c (handle_command): Error if signal number is less or
404 equal to 0 or greater or equal to NSIG or a signal number is not
405 provided.
406
407 * command.c (lookup_cmd): Modified to not convert command section
408 of command line to lower case in place (in case it isn't a
409 subcommand, but an argument to a command).
410
411 Fri Jan 6 17:57:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
412
413 * dbxread.c: Changed "text area" to "data area" in comments on
414 N_SETV.
415
416 Wed Jan 4 12:29:54 1989 Randall Smith (randy at gluteus.ai.mit.edu)
417
418 * dbxread.c: Added definitions of gnu symbol types after inclusion
419 of a.out.h and stab.h.
420
421 Mon Jan 2 20:38:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
422
423 * eval.c (evaluate_subexp): Binary logical operations needed to
424 know type to determine whether second value should be evaluated.
425 Modified to discover type before binup_user_defined_p branch.
426 Also commented "enum noside".
427
428 * Makefile: Changed invocations of munch to be "./munch".
429
430 * gdb.texinfo: Updated to refer to current version of gdb with
431 January 1989 last update.
432
433 * coffread.c (end_symtab): Zero context stack when finishing
434 lexical contexts.
435 (read_coff_symtab): error if context stack 0 in ".ef" else case.
436
437 * m-*.h (FRAME_SAVED_PC): Changed name of argument from "frame" to
438 "FRAME" to avoid problems with replacement of "->frame" part of
439 macro.
440
441 * i386-dep.c (i386_get_frame_setup): Added codestream_get() to
442 move codestream pointer up to the correct location in "subl $X,
443 %esp" case.
444
445 Sun Jan 1 14:24:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
446
447 * valprint.c (val_print): Rewrote routine to print string pointed
448 to by char pointer; was producing incorrect results when print_max
449 was 0.
450
451 Fri Dec 30 12:13:35 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
452
453 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put
454 everything on the misc function list.
455
456 * Checkpointed distribution.
457
458 * Makefile: Added expread.tab.c to the list of things slated for
459 distribution.
460
461 Thu Dec 29 10:06:41 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
462
463 * stack.c (set_backtrace_limit_command, backtrace_limit_info,
464 bactrace_command, _initialize_stack): Removed modifications for
465 limit on backtrace. Piping the backtrace through an interuptable
466 "more" emulation is a better way to do it.
467
468 Wed Dec 28 11:43:09 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
469
470 * stack.c
471 (set_backtrace_limit_command): Added command to set a limit to the
472 number of frames for a backtrace to print by default.
473 (backtrace_limit_info): To print the current limit.
474 (backtrace_command): To use the limit.
475 (_initialize_stack): To initialize the limit to its default value
476 (30), and add the set and info commands onto the appropriate
477 command lists.
478
479 * gdb.texinfo: Documented changes to "backtrace" and "commands"
480 commands.
481
482 * stack.c (backtrace_command): Altered so that a negative argument
483 would show the last few frames on the stack instead of the first
484 few.
485 (_initialize_stack): Modified help documentation.
486
487 * breakpoint.c (commands_command): Altered so that "commands" with
488 no argument would refer to the last breakpoint set.
489 (_initialize_breakpoint): Modified help documentation.
490
491 * infrun.c (wait_for_inferior): Removed ifdef on Sun4; now you can
492 single step through compiler generated sub calls and will die if
493 you next off of the end of a function.
494
495 * sparc-dep.c (single_step): Fixed typo; "break_insn" ==> "sizeof
496 break_insn".
497
498 * m-sparc.h (INIT_EXTRA_FRAME_INFO): Set the bottom of a stack
499 frame to be the bottom of the stack frame inner from this, if that
500 inner one is a leaf node.
501
502 * dbxread.c (read_dbx_symtab): Check to make sure we don't add a
503 psymtab to it's own dependency list.
504
505 * dbxread.c (read_dbx_symtab): Modified check for duplicate
506 dependencies to catch them correctly.
507
508 Tue Dec 27 17:02:09 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
509
510 * m-*.h (FRAME_SAVED_PC): Modified macro to take frame info
511 pointer as argument.
512 * stack.c (frame_info), blockframe.c (get_prev_frame_info),
513 gld-pinsn.c (findframe), m-*.h (SAVED_PC_AFTER_CALL,
514 FRAME_CHAIN_VALID, FRAME_NUM_ARGS): Changed usage of macros to
515 conform to above.
516 * m-sparc.h (FRAME_SAVED_PC), sparc-dep.c (frame_saved_pc):
517 Changed frame_saved_pc to have a frame info pointer as an
518 argument.
519
520 * m-vax.h, m-umax.h, m-npl.h, infrun.c (wait_for_inferior),
521 blockframe.c (get_prev_frame_info): Modified SAVED_PC_AFTER_CALL
522 to take a frame info pointer as an argument.
523
524 * blockframe.c (get_prev_frame_info): Altered the use of the
525 macros FRAME_CHAIN, FRAME_CHAIN_VALID, and FRAME_CHAIN_COMBINE to
526 use frame info pointers as arguments instead of frame addresses.
527 * m-vax.h, m-umax.h, m-sun3.h, m-sun3.h, m-sparc.h, m-pn.h,
528 m-npl.h, m-news.h, m-merlin.h, m-isi.h, m-hp9k320.h, m-i386.h:
529 Modified definitions of the above macros to suit.
530 * m-pn.h, m-npl.h, gould-dep.c (findframe): Modified findframe to
531 use a frame info argument; also fixed internals (wouldn't work
532 before).
533
534 * m-sparc.h: Cosmetic changes; reordered some macros and made sure
535 that nothing went over 80 lines.
536
537 Thu Dec 22 11:49:15 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
538
539 * Version 3.0 released.
540
541 * README: Deleted note about changing -lobstack to obstack.o.
542
543 Wed Dec 21 11:12:47 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
544
545 * m-vax.h (SKIP_PROLOGUE): Now recognizes gcc prologue also.
546
547 * blockframe.c (get_prev_frame_info): Added FUNCTION_START_OFFSET
548 to result of get_pc_function_start.
549 * infrun.c (wait_for_inferior): Same.
550
551 * gdb.texinfo: Documented new "step" and "next" behavior in
552 functions without line number information.
553
554 Tue Dec 20 18:00:45 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
555
556 * infcmd.c (step_1): Changed behavior of "step" or "next" in a
557 function witout line number information. It now sets the step
558 range around the function (to single step out of it) using the
559 misc function vector, warns the user, and continues.
560
561 * symtab.c (find_pc_line): Zero "end" subsection of returned
562 symtab_and_line if no symtab found.
563
564 Mon Dec 19 17:44:35 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
565
566 * i386-pinsn.c (OP_REG): Added code from pace to streamline
567 disassembly and corrected types.
568 * i386-dep.c
569 (i386_follow_jump): Code added to follow byte and word offset
570 branches.
571 (i386_get_frame_setup): Expanded to deal with more wide ranging
572 function prologue.
573 (i386_frame_find_saved_regs, i386_skip_prologue): Changed to use
574 i386_get_frame_setup.
575
576
577 Sun Dec 18 11:15:03 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
578
579 * m-sparc.h: Deleted definition of SUN4_COMPILER_BUG; was designed
580 to avoid something that I consider a bug in our code, not theirs,
581 and which I fixed earlier. Also deleted definition of
582 CANNOT_USE_ARBITRARY_FRAME; no longer used anywhere.
583 FRAME_SPECIFICATION_DYADIC used instead.
584
585 * infrun.c (wait_for_inferior): On the sun 4, if a function
586 doesn't have a prologue, a next over it single steps into it.
587 This gets around the problem of a "call .stret4" at the end of
588 functions returning structures.
589 * m-sparc.h: Defined SUN4_COMPILER_FEATURE.
590
591 * main.c (copying_info): Seperated the last printf into two
592 printfs. The 386 compiler will now handle it.
593
594 * i386-pinsn.c, i386-dep.c: Moved print_387_control_word,
595 print_387_status_word, print_387_status, and i386_float_info to
596 dep.c Also included reg.h in dep.c.
597
598 Sat Dec 17 15:31:38 1988 Randall Smith (randy at gluteus.ai.mit.edu)
599
600 * main.c (source_command): Don't close instream if it's null
601 (indicating execution of a user-defined command).
602 (execute_command): Set instream to null before executing
603 commands and setup clean stuff to put it back on error.
604
605 * inflow.c (terminal_inferior): Went back to not checking the
606 ioctl returns; there are some systems when this will simply fail.
607 It seems that, on most of these systems, nothing bad will happen
608 by that failure.
609
610 * values.c (value_static_field): Fixed dereferencing of null
611 pointer.
612
613 * i386-dep.c (i386_follow_jump): Modified to deal with
614 unconditional byte offsets also.
615
616 * dbxread.c (read_type): Fixed typo in function type case of switch.
617
618 * infcmd.c (run_command): Does not prompt to restart if command is
619 not from a tty.
620
621 Fri Dec 16 15:21:58 1988 Randy Smith (randy at calvin)
622
623 * gdb.texinfo: Added a third option under the "Cannot Insert
624 Breakpoints" workarounds.
625
626 * printcmd.c (display_command): Don't do the display unless there
627 is an active inferior; only set it.
628
629 * findvar.c (value_of_register): Added an error check for calling
630 this when the inferior isn't active and a core file isn't being
631 read.
632
633 * config.gdb: Added reminder about modifying REGEX in the
634 makefile for the 386.
635
636 * i386-pinsn.c, i386-dep.c: Moved m-i386.h helper functions over
637 to i386-dep.c.b
638
639 Thu Dec 15 14:04:25 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
640
641 * README: Added a couple of notes about compiling gdb with itself.
642
643 * breakpoint.c (set_momentary_breakpoint): Only takes FRAME_FP of
644 frame if frame is non-zero.
645
646 * printcmd.c (print_scalar_formatted): Implemented /g size for
647 hexadecimal format on machines without an 8 byte integer type. It
648 seems to be non-trivial to implement /g for other formats.
649 (decode_format): Allowed hexadecimal format to make it through /g
650 fileter.
651
652 Wed Dec 14 13:27:04 1988 Randall Smith (randy at gluteus.ai.mit.edu)
653
654 * expread.y: Converted all calls to write_exp_elt from the parser
655 to calls to one of write_exp_elt_{opcode, sym, longcst, dblcst,
656 char, type, intern}. Created all of these routines. This gets
657 around possible problems in passing one of these things in one ear
658 and getting something different out the other. Eliminated
659 SUN4_COMPILER_BUG ifdef's; they are now superfluous.
660
661 * symmisc.c (free_all_psymtabs): Reinited partial_symtab_list to 0.
662 (_initialize_symmisc): Initialized both symtab_list and
663 partial_symtab_list.
664
665 * dbxread.c (start_psymtab): Didn't allocate anything on
666 dependency list.
667 (end_psymtab): Allocate dependency list on psymbol obstack from
668 local list.
669 (add_psymtab_dependency): Deleted.
670 (read_dbx_symtab): Put dependency on local list if it isn't on it
671 already.
672
673 * symtab.c: Added definition of psymbol_obstack.
674 * symtab.h: Added declaration of psymbol_obstack.
675 * symmisc.c (free_all_psymtabs): Added freeing and
676 reinitionaliztion of psymbol_obstack.
677 * dbxread.c (free_all_psymbols): Deleted.
678 (start_psymtab, end_psymtab,
679 process_symbol_for_psymtab): Changed most allocation
680 of partial symbol stuff to be off of psymbol_obstack.
681
682 * symmisc.c (free_psymtab, free_all_psymtabs): Deleted
683 free_psymtab subroutine.
684
685 * symtab.h: Removed num_includes and includes from partial_symtab
686 structure; no longer needed now that all include files have their
687 own psymtab.
688 * dbxread.c (start_psymtab): Eliminated initialization of above.
689 (end_psymtab): Eliminated finalization of above; get
690 includes from seperate list.
691 (read_dbx_symtab): Moved includes from psymtab list to
692 their own list; included in call to end_psymtab.
693 * symmisc.c (free_psymtab): Don't free includes.
694
695 Tue Dec 13 14:48:14 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
696
697 * i386-pinsn.c: Reformatted entire file to correspond to gnu
698 software indentation conventions.
699
700 * sparc-dep.c (skip_prologue): Added capability of recognizign
701 stores of input register parameters into stack slots.
702
703 * sparc-dep.c: Added an include of sparc-opcode.h.
704 * sparc-pinsn.c, sparc-opcode.h: Moved insn_fmt structures and
705 unions from pinsn.c to opcode.h.
706 * sparc-pinsn.c, sparc-dep.c (isabranch, skip_prologue): Moved
707 this function from pinsn.c to dep.c.
708
709 * Makefile: Put in warnings about compiling with gcc (non-ansi
710 include files) and compiling with shared libs on Sunos 4.0 (can't
711 debug something that's been compiled that way).
712
713 * sparc-pinsn.c: Put in a completely new file (provided by
714 Tiemann) to handle floating point disassembly, load and store
715 instructions, and etc. better. Made the modifications this file
716 (ChangeLog) list for sparc-pinsn.c again.
717
718 * symtab.c (output_source_filename): Included "more" emulation hack.
719
720 * symtab.c (output_source_filename): Initialized COLUMN to 0.
721 (sources_info): Modified to not print out a line for
722 all of the include files within a partial symtab (since
723 they have pst's of their own now). Also modified to
724 make a distinction between those pst's read in and
725 those not.
726
727 * infrun.c: Included void declaration of single_step() if it's
728 going to be used.
729 * sparc-dep.c (single_step): Moved function previous to use of it.
730
731 * Makefile: Took removal of expread.tab.c out of make clean entry
732 and put it into a new "squeakyclean" entry.
733
734 Mon Dec 12 13:21:02 1988 Randall Smith (randy at gluteus.ai.mit.edu)
735
736 * sparc-pinsn.c (skip_prologue): Changed a struct insn_fmt to a
737 union insn_fmt.
738
739 * inflow.c (terminal_inferior): Checked *all* return codes from
740 ioctl's and fcntl's in routine.
741
742 * inflow.c (terminal_inferior): Added check for sucess of
743 TIOCSPGRP ioctl call. Just notifies if bad.
744
745 * dbxread.c (symbol_file_command): Close was getting called twice;
746 once directly and once through cleanup. Killed the direct call.
747
748 Sun Dec 11 19:40:40 1988 & Smith (randy at hobbes.ai.mit.edu)
749
750 * valprint.c (val_print): Deleted spurious printing of "=" from
751 TYPE_CODE_REF case.
752
753 Sat Dec 10 16:41:07 1988 Randall Smith (randy at gluteus.ai.mit.edu)
754
755 * dbxread.c: Changed allocation of psymbols from using malloc and
756 realloc to using obstacks. This means they aren't realloc'd out
757 from under the pointers to them.
758
759 Fri Dec 9 10:33:24 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
760
761 * sparc-dep.c inflow.c core.c expread.y command.c infrun.c
762 infcmd.c dbxread.c symmisc.c symtab.c printcmd.c valprint.c
763 values.c source.c stack.c findvar.c breakpoint.c blockframe.c
764 main.c: Various cleanups inspired by "gcc -Wall" (without checking
765 for implicit declarations).
766
767 * Makefile: Cleaned up some more.
768
769 * valops.c, m-*.h (FIX_CALL_DUMMY): Modified to take 5 arguments
770 as per what sparc needs (programming for a superset of needed
771 args).
772
773 * dbxread.c (process_symbol_for_psymtab): Modified to be slightly
774 more picky about what it puts on the list of things *not* to be
775 put on the misc function list. When/if I shift everything over to
776 being placed on the misc_function_list, this will go away.
777
778 * inferior.h, infrun.c: Added fields to save in inferior_status
779 structure.
780
781 * maketarfile: Deleted; functionality is in Makefile now.
782
783 * infrun.c (wait_for_inferior): Modified algorithm for determining
784 whether or not a single-step was through a subroutine call. See
785 comments at top of file.
786
787 * dbxread.c (read_dbx_symtab): Made sure that the IGNORE_SYMBOL
788 macro would be checked during initial readin.
789
790 * dbxread.c (read_ofile_symtab): Added macro GCC_COMPILED_FLAG_SYMBOL
791 into dbxread.c to indicate what string in a local text symbol will
792 indicate a file compiled with gcc. Defaults to "gcc_compiled.".
793
794 Thu Dec 8 11:46:22 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
795
796 * m-sparc.h (FRAME_FIND_SAVED_REGS): Cleaned up a little to take
797 advantage of the new frame cache system.
798
799 * inferior.h, infrun.c, valops.c, valops.c, infcmd.c: Changed
800 mechanism to save inferior status over calls to inferior (eg.
801 call_function); implemented save_inferior_info and
802 restore_inferior_info.
803
804 * blockframe.c (get_prev_frame): Simplified this by a direct call
805 to get_prev_frame_info.
806
807 * frame.h, stack.c, printcmd.c, m-sparc.h, sparc-dep.c: Removed
808 all uses of frame_id_from_addr. There are short routines like it
809 still in frame_saved_pc (m-sparc.h) and parse_frame_spec
810 (stack.c). Eventually the one in frame_saved_pc will go away.
811
812 * infcmd.c, sparc-dep.c: Implemented a new mechanism for
813 re-selecting the selected frame on return from a call.
814
815 * blockframe.c, stack.c, findvar.c, printcmd.c, m-*.h: Changed
816 all routines and macros that took a "struct frame_info" as an
817 argument to take a "struct frame_info *". Routines: findarg,
818 framechain, print_frame_args, FRAME_ARGS_ADDRESS,
819 FRAME_STRUCT_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
820 FRAME_FIND_SAVED_REGS.
821
822 * frame.h, stack.c, printcmd.c, infcmd.c, findvar.c, breakpoint.c,
823 blockframe.c, xgdb.c, i386-pinsn.c, gld-pinsn.c, m-umax.h,
824 m-sun2.h, m-sun3.h, m-sparc.h, m-pn.h, m-npl.h, m-news.h,
825 m-merlin.h, m-isi.h, m-i386.h, m-hp9k320.h: Changed routines to
826 use "struct frame_info *" internally.
827
828 Wed Dec 7 12:07:54 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
829
830 * frame.h, blockframe.c, m-sparc.h, sparc-dep.c: Changed all calls
831 to get_[prev_]frame_cache_item to get_[prev_]frame_info.
832
833 * blockframe.c: Elminated get_frame_cache_item and
834 get_prev_frame_cache_item; functionality now taken care of by
835 get_frame_info and get_prev_frame_info.
836
837 * blockframe.c: Put allocation on an obstack and eliminated fancy
838 reallocation routines, several variables, and various nasty
839 things.
840
841 * frame.h, stack.c, infrun.c, blockframe.c, sparc-dep.c: Changed
842 type FRAME to be a typedef to "struct frame_info *". Had to also
843 change routines that returned frame id's to return the pointer
844 instead of the cache index.
845
846 * infcmd.c (finish_command): Used proper method of getting from
847 function symbol to start of function. Was treating a symbol as a
848 value.
849
850 * blockframe.c, breakpoint.c, findvar.c, infcmd.c, stack.c,
851 xgdb.c, i386-pinsn.c, frame.h, m-hp9k320.h, m-i386.h, m-isi.h,
852 m-merlin.h, m-news.h, m-npl.h, m-pn.h, m-sparc.h, m-sun2.h,
853 m-sun3.h, m-umax.h: Changed get_frame_info and get_prev_frame_info
854 to return pointers instead of structures.
855
856 * blockframe.c (get_pc_function_start): Modified to go to misc
857 function table instead of bombing if pc was in a block without a
858 containing function.
859
860 * coffread.c: Dup'd descriptor passed to read_coff_symtab and
861 fdopen'd it so that there wouldn't be multiple closes on the same
862 fd. Also put (fclose, stream) on the cleanup list.
863
864 * printcmd.c, stack.c: Changed print_frame_args to take a
865 frame_info struct as argument instead of the address of the args
866 to the frame.
867
868 * m-i386.h (STORE_STRUCT_RETURN): Decremented sp by sizeof object
869 to store (an address) rather than 1.
870
871 * dbxread.c (read_dbx_symtab): Set first_object_file_end in
872 read_dbx_symtab (oops).
873
874 * coffread.c (fill_in_vptr_fieldno): Rewrote TYPE_BASECLASS as
875 necessary.
876
877 Tue Dec 6 13:03:43 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
878
879 * coffread.c: Added fake support for partial_symtabs to allow
880 compilation and execution without there use.
881 * inflow.c: Added a couple of minor USG mods.
882 * munch: Put in appropriate conditionals so that it would work on
883 USG systems.
884 * Makefile: Made regex.* handled same as obstack.*; made sure tar
885 file included everything I wanted it to include (including
886 malloc.c).
887
888 * dbxread.c (end_psymtab): Create an entry in the
889 partial_symtab_list for each subfile of the .o file just read in.
890 This allows a "list expread.y:10" to work when we haven't read in
891 expread.o's symbol stuff yet.
892
893 * symtab.h, dbxread.c (psymtab_to_symtab): Recognize pst->ldsymlen
894 == 0 as indicating a dummy psymtab, only in existence to cause the
895 dependency list to be read in.
896
897 * dbxread.c (sort_symtab_syms): Elminated reversal of symbols to
898 make sure that register debug symbol decls always come before
899 parameter symbols. After mod below, this is not needed.
900
901 * symtab.c (lookup_block_symbol): Take parameter type symbols
902 (LOC_ARG or LOC_REGPARM) after any other symbols which match.
903
904 * dbxread.c (read_type): When defining a type in terms of some
905 other type and the other type is supposed to have a pointer back
906 to this specific kind of type (pointer, reference, or function),
907 check to see if *that* type has been created yet. If it has, use
908 it and fill in the appropriate slot with a pointer to it.
909
910 Mon Dec 5 11:25:04 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
911
912 * symmisc.c: Eliminated existence of free_inclink_symtabs and
913 init_free_inclink_symtabs; they aren't called from anywhere, and
914 if they were they could disrupt gdb's data structure badly
915 (elimination of struct type's which values that stick around past
916 elimination of inclink symtabs).
917
918 * dbxread.c (symbol_file_command): Fixed a return pathway out of
919 the routine to do_cleanups before it left.
920
921 * infcmd.c (set_environment_command), gdb.texinfo: Added
922 capability to set environmental variable values to null.
923
924 * gdb.texinfo: Modified doc on "break" without args slightly.
925
926 Sun Dec 4 17:03:16 1988 Randall Smith (randy at gluteus.ai.mit.edu)
927
928 * dbxread.c (symbol_file_command): Added check; if there weren't
929 any debugging symbols in the file just read, the user is warned.
930
931 * infcmd.c: Commented set_environment_command (a little).
932
933 * createtags: Cleaned up and commented.
934
935 * Makefile: Updated dependency list and cleaned it up somewhat
936 (used macros, didn't make .o files depend on .c files, etc.)
937
938 Fri Dec 2 11:44:46 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
939
940 * value.h, values.c, infcmd.c, valops.c, m-i386.h, m-sparc.h,
941 m-merlin.h, m-npl.h, m-pn.h, m-umax.h, m-vax.h, m-hp9k320.h,
942 m-isi.h, m-news.h, m-sun2.h, m-sun3.h: Cleaned up dealings with
943 functions returning structures. Specifically: Added a function
944 called using_struct_return which indicates whether the function
945 being called is using the structure returning conventions or it is
946 using the value returning conventions on that machine. Added a
947 macro, STORE_STRUCT_RETURN to store the address of the structure
948 to be copied into wherever it's supposed to go, and changed
949 call_function to handle all of this correctly.
950
951 * symseg.h, symtab.h, dbxread.c: Added hooks to recognize an
952 N_TEXT symbol with name "*gcc-compiled*" as being a flag
953 indicating that a file had been compiled with gcc and setting a
954 flag in all blocks produced during processing of that file.
955
956 Thu Dec 1 13:54:29 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
957
958 * m-sparc.h (PUSH_DUMMY_FRAME): Saved 8 less than the current pc,
959 as POP_FRAME and sparc return convention restore the pc to 8 more
960 than the value saved.
961
962 * valops.c, printcmd.c, findvar.c, value.h: Added the routine
963 value_from_register, to access a specific register of a specific
964 frame as containing a specific type, and used it in read_var_value
965 and print_frame_args.
966
967 Wed Nov 30 17:39:50 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
968
969 * dbxread.c (read_number): Will accept either the argument passed
970 as an ending character, or a null byte as an ending character.
971
972 * Makefile, createtags: Added entry to create tags for gdb
973 distribution which will make sure currently configured machine
974 dependent files come first in the list.
975
976 Wed Nov 23 13:27:34 1988 Randall Smith (randy at gluteus.ai.mit.edu)
977
978 * stack.c, infcmd.c, sparc-dep.c: Modified record_selected_frame
979 to work off of frame address.
980
981 * blockframe.c (create_new_frame, get_prev_frame_cache_item):
982 Added code to reset pointers within frame cache if it must be
983 realloc'd.
984
985 * dbxread.c (read_dbx_symtab): Added in optimization comparing
986 last couple of characters instead of first couple to avoid
987 strcmp's in read_dbx_symtab (recording extern syms in misc
988 functions or not). 1 call to strlen is balanced out by many fewer
989 calls to strcmp.
990
991 Tue Nov 22 16:40:14 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu)
992
993 * dbxread.c (read_dbx_symtab): Took out optimization for ignoring
994 LSYM's; was disallowing typedefs. Silly me.
995
996 * Checkpointed distribution (mostly for sending to Tiemann).
997
998 * expression.h: Added BINOP_MIN and BINOP_MAX operators for C++.
999 * symseg.h: Included flags for types having destructors and
1000 constructors, and flags being defined via public and via
1001 virtual paths. Added fields NEXT_VARIANT, N_BASECLASSES,
1002 and BASECLASSES to this type (tr: Changed types from
1003 having to be derived from a single baseclass to a multiple
1004 base class).
1005 * symtab.h: Added macros to access new fields defined in symseg.h.
1006 Added decl for lookup_basetype_type.
1007 * dbxread.c
1008 (condense_addl_misc_bunches): Function added to condense the misc
1009 function bunches added by reading in a new .o file.
1010 (read_addl_syms): Function added to read in symbols
1011 from a new .o file (incremental linking).
1012 (add_file_command): Command interface function to indicate
1013 incrmental linking of a new .o file; this now calls
1014 read_addl_syms and condense_addl_misc_bunches.
1015 (define_symbol): Modified code to handle types defined from base
1016 types which were not known when the derived class was
1017 output.
1018 (read_struct_type): Modified to better handle description of
1019 struct types as derived types. Possibly derived from
1020 several different base classes. Also added new code to
1021 mark definitions via virtual paths or via public paths.
1022 Killed seperate code to handle classes with destructors
1023 but without constructors and improved marking of classes
1024 as having destructors and constructors.
1025 * infcmd.c: Modified call to val_print (one more argument).
1026 * symtab.c (lookup_member_type): Modified to deal with new
1027 structure in symseg.h.
1028 (lookup_basetype_type): Function added to find or construct a type
1029 ?derived? from the given type.
1030 (decode_line_1): Modified to deal with new type data structures.
1031 Modified to deal with new number of args for
1032 decode_line_2.
1033 (decode_line_2): Changed number of args (?why?).
1034 (init_type): Added inits for new C++ fields from
1035 symseg.h.
1036 *valarith.c
1037 (value_x_binop, value_binop): Added cases for BINOP_MIN &
1038 BINOP_MAX.
1039 * valops.c
1040 (value_struct_elt, check_field, value_struct_elt_for_address):
1041 Changed to deal with multiple possible baseclasses.
1042 (value_of_this): Made SELECTED_FRAME an extern variable.
1043 * valprint.c
1044 (val_print): Added an argument DEREF_REF to dereference references
1045 automatically, instead of printing them like pointers.
1046 Changed number of arguments in recursive calls to itself.
1047 Changed to deal with varibale numbers of base classes.
1048 (value_print): Changed number of arguments to val_print. Print
1049 type of value also if value is a reference.
1050 (type_print_derivation_info): Added function to print out
1051 derivation info a a type.
1052 (type_print_base): Modified to use type_print_derivation_info and
1053 to handle multiple baseclasses.
1054
1055 Mon Nov 21 10:32:07 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1056
1057 * inflow.c (term_status_command): Add trailing newline to output.
1058
1059 * sparc-dep.c (do_save_insn, do_restore_insn): Saved
1060 "stop_registers" over the call for the sake of normal_stop and
1061 run_stack_dummy.
1062
1063 * m-sparc.h (EXTRACT_RETURN_VALUE): Put in parenthesis to force
1064 addition of 8 to the int pointer, not the char pointer.
1065
1066 * sparc-pinsn.c (print_addr1): Believe that I have gotten the
1067 syntax right for loads and stores as adb does it.
1068
1069 * symtab.c (list_symbols): Turned search for match on rexegp into
1070 a single loop.
1071
1072 * dbxread.c (psymtab_to_symtab): Don't read it in if it's already
1073 been read in.
1074
1075 * dbxread.c (psymtab_to_symtab): Changed error to fatal in
1076 psymtab_to_symtab.
1077
1078 * expread.y (parse_number): Fixed bug which treated 'l' at end of
1079 number as '0'.
1080
1081 Fri Nov 18 13:57:33 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1082
1083 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Was
1084 being foolish and using pointers into an array I could realloc.
1085 Converted these pointers into integers.
1086
1087 Wed Nov 16 11:43:10 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1088
1089 * m-sparc.h (POP_FRAME): Made the new frame be PC_ADJUST of the
1090 old frame.
1091
1092 * i386-pinsn.c, m-hp9k320.h, m-isi.h, m-merlin.h, m-news.h,
1093 m-npl.h, m-pn.h, m-sparc.h, m-sun2.h, m-sun3.h, m-umax.h, m-vax.h:
1094 Modified POP_FRAME to use the current frame instead of
1095 read_register (FP_REGNUM) and to flush_cached_frames before
1096 setting the current frame. Also added a call to set the current
1097 frame in those POP_FRAMEs that didn't have it.
1098
1099 * infrun.c (wait_for_inferior): Moved call to set_current_frame up
1100 to guarrantee that the current frame will always be set when a
1101 POP_FRAME is done.
1102
1103 * infrun.c (normal_stop): Added something to reset the pc of the
1104 current frame (was incorrect because of DECR_PC_AFTER_BREAK).
1105
1106 * valprint.c (val_print): Changed to check to see if a string was
1107 out of bounds when being printed and to indicate this if so.
1108
1109 * convex-dep.c (read_inferior_memory): Changed to return the value
1110 of errno if the call failed (which will be 0 if the call
1111 suceeded).
1112
1113 Tue Nov 15 10:17:15 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1114
1115 * infrun.c (wait_for_inferior): Two changes: 1) Added code to
1116 not trigger the step breakpoint on recursive calls to functions
1117 without frame info, and 2) Added calls to distinguish recursive
1118 calls within a function without a frame (which next/nexti might
1119 wish to step over) from jumps to the beginning of a function
1120 (which it generally doesn't).
1121
1122 * m-sparc.h (INIT_EXTRA_FRAME_INFO): Bottom set correctly for leaf
1123 parents.
1124
1125 * blockframe.c (get_prev_frame_cache_item): Put in mod to check
1126 for a leaf node (by presence or lack of function prologue). If
1127 there is a leaf node, it is assumed that SAVED_PC_AFTER_CALL is
1128 valid. Otherwise, FRAME_SAVED_PC or read_pc is used.
1129
1130 * blockframe.c, frame.h: Did final deletion of unused routines and
1131 commented problems with getting a pointer into the frame cache in
1132 the frame_info structure comment.
1133
1134 * blockframe.c, frame.h, stack.c: Killed use of
1135 frame_id_from_frame_info; used frame_id_from_addr instead.
1136
1137 * blockframe.c, frame.h, stack.c, others (oops): Combined stack
1138 cache and frame info structures.
1139
1140 * blockframe.c, sparc-dep.c, stack.c: Created the function
1141 create_new_frame and used it in place of bad calls to
1142 frame_id_from_addr.
1143
1144 * blockframe.c, inflow.c, infrun.c, i386-pinsn.c, m-hp9k320.h,
1145 m-npl.h, m-pn.h, m-sparc.h, m-sun3.h, m-vax.h, default-dep.c,
1146 convex-dep.c, gould-dep.c, hp9k320-dep.c, news-dep.c, sparc-dep.c,
1147 sun3-dep.c, umax-dep.c: Killed use of
1148 set_current_Frame_by_address. Used set_current_frame
1149 (create_new_frame...) instead.
1150
1151 * frame.h: Killed use of FRAME_FP_ID.
1152
1153 * infrun.c, blockframe.c: Killed select_frame_by_address. Used
1154 select_frame (get_current_frame (), 0) (which was correct in all
1155 cases that we need to worry about.
1156
1157 Mon Nov 14 14:19:32 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1158
1159 * frame.h, blockframe.c, stack.c, m-sparc.h, sparc-dep.c: Added
1160 mechanisms to deal with possible specification of frames
1161 dyadically.
1162
1163 Sun Nov 13 16:03:32 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1164
1165 * ns32k-opcode.h: Add insns acbw, acbd.
1166
1167 Sun Nov 13 15:09:58 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1168
1169 * breakpoint.c: Changed breakpoint structure to use the address of
1170 a given frame (constant across inferior runs) as the criteria for
1171 stopping instead of the frame ident (which varies across inferior
1172 calls).
1173
1174 Fri Nov 11 13:00:22 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1175
1176 * gld-pinsn.c (findframe): Modified to work with the new frame
1177 id's. Actually, it looks as if this routine should be called with
1178 an address anyway.
1179
1180 * findvar.c (find_saved_register): Altered bactrace loop to work
1181 off of frames and not frame infos.
1182
1183 * frame.h, blockframe.c, stack.c, sparc-dep.c, m-sparc.h: Changed
1184 FRAME from being the address of the frame to being a simple ident
1185 which is an index into the frame_cache_item list.
1186 * convex-dep.c, default-dep.c, gould-dep.c, hp9k320-dep.c,
1187 i386-pinsn.c, inflow.c, infrun.c, news-dep.c, sparc-dep.c,
1188 sun3-dep.c, umax-dep.c, m-hp9k320.h, m-npl.h, m-pn.h, m-sparc.h,
1189 m-sun3.h, m-vax.h: Changed calls of the form set_current_frame
1190 (read_register (FP_REGNUM)) to set_current_frame_by_address (...).
1191
1192 Thu Nov 10 16:57:57 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1193
1194 * frame.h, blockframe.c, gld-pinsn.c, sparc-dep.c, stack.c,
1195 infrun.c, findvar.c, m-sparc.h: Changed the FRAME type to be
1196 purely an identifier, using FRAME_FP and FRAME_FP_ID to convert
1197 back and forth between the two. The identifier is *currently*
1198 still the frame pointer value for that frame.
1199
1200 Wed Nov 9 17:28:14 1988 Chris Hanson (cph at kleph)
1201
1202 * m-hp9k320.h (FP_REGISTER_ADDR): Redefine this to return
1203 difference between address of given FP register, and beginning of
1204 `struct user' that it occurs in.
1205
1206 * hp9k320-dep.c (core_file_command): Fix sign error in size
1207 argument to myread. Change buffer argument to pointer; was
1208 copying entire structure.
1209 (fetch_inferior_registers, store_inferior_registers): Replace
1210 occurrences of `FP_REGISTER_ADDR_DIFF' with `FP_REGISTER_ADDR'.
1211 Flush former definition.
1212
1213 Wed Nov 9 12:11:37 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1214
1215 * xgdb.c: Killed include of initialize.h.
1216
1217 * Pulled in xgdb.c from the net.
1218
1219 * Checkpointed distribution (to provide to 3b2 guy).
1220
1221 * coffread.c, dbxread.c, symmisc.c, symtab.c, symseg.h: Changed
1222 format of table of line number--pc mapping information. Can
1223 handle negative pc's now.
1224
1225 * command.c: Deleted local copy of savestring; code in utils.c is
1226 identical.
1227
1228 Tue Nov 8 11:12:16 1988 Randall Smith (randy at plantaris.ai.mit.edu)
1229
1230 * gdb.texinfo: Added documentation for shell escape.
1231
1232 Mon Nov 7 12:27:16 1988 Randall Smith (randy at sugar-bombs.ai.mit.edu)
1233
1234 * command.c: Added commands for shell escape.
1235
1236 * core.c, dbxread.c: Added ROBOTUSSIN mods.
1237
1238 * Checkpointed distribution.
1239
1240 * printcmd.c (x_command): Yanked error if there is no memory to
1241 examine (could be looking at executable straight).
1242
1243 * sparc-pinsn.c (print_insn): Amount to leftshift sethi imm by is
1244 now 10 (matches adb in output).
1245
1246 * printcmd.c (x_command): Don't attempt to set $_ & $__ if there
1247 is no last_examine_value (can happen if you did an x/0).
1248
1249 Fri Nov 4 13:44:49 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1250
1251 * printcmd.c (x_command): Error if there is no memory to examine.
1252
1253 * gdb.texinfo: Added "cont" to the command index.
1254
1255 * sparc-dep.c (do_save_insn): Fixed typo in shift amount.
1256
1257 * m68k-opcode.h: Fixed opcodes for 68881.
1258
1259 * breakpoint.c, infcmd.c, source.c: Changed defaults in several
1260 places for decode_line_1 to work off of the default_breakpoint_*
1261 values instead of current_source_* values (the current_source_*
1262 values are off by 5 or so because of listing defaults).
1263
1264 * stack.c (frame_info): ifdef'd out FRAME_SPECIFCATION_DYADIC in
1265 the stack.c module. If I can't do this right, I don't want to do
1266 it at all. Read the comment there for more info.
1267
1268 Mon Oct 31 16:23:06 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1269
1270 * gdb.texinfo: Added documentation on the "until" command.
1271
1272 Sat Oct 29 17:47:10 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1273
1274 * breakpoint.c, infcmd.c: Added UNTIL_COMMAND and subroutines of
1275 it.
1276
1277 * breakpoint.c, infcmd.c, infrun.c: Added new field to breakpoint
1278 structure (silent, indicating a silent breakpoint), and modified
1279 breakpoint_stop_status and things that read it's return value to
1280 understand it.
1281
1282 Fri Oct 28 17:45:33 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1283
1284 * dbxread.c, symmisc.c: Assorted speedups for readin, including
1285 special casing most common symbols, and doing buffering instead of
1286 calling malloc.
1287
1288 Thu Oct 27 11:11:15 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1289
1290 * stack.c, sparc-dep.c, m-sparc.h: Modified to allow "info frame"
1291 to take two arguments on the sparc and do the right thing with
1292 them.
1293
1294 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put
1295 stuff to put only symbols that didn't have debugging info on the
1296 misc functions list back in.
1297
1298 Wed Oct 26 10:10:32 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1299
1300 * valprint.c (type_print_varspec_suffix): Added check for
1301 TYPE_LENGTH(TYPE_TARGET_TYPE(type)) > 0 to prevent divide by 0.
1302
1303 * printcmd.c (print_formatted): Added check for VALUE_REPEATED;
1304 value_print needs to be called for that.
1305
1306 * infrun.c (wait_for_inferior): Added break when you decide to
1307 stop on a null function prologue rather than continue stepping.
1308
1309 * m-sun3.h: Added explanatory comment to REGISTER_RAW_SIZE.
1310
1311 * expread.y (parse_c_1): Initialized paren_depth for each parse.
1312
1313 Tue Oct 25 14:19:38 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1314
1315 * valprint.c, coffread.c, dbxread.c: Enum constant values in enum
1316 type now accessed through TYPE_FIELD_BITPOS.
1317
1318 * dbxread.c (process_symbol_for_psymtab): Added code to deal with
1319 possible lack of a ":" in a debugging symbol (do nothing).
1320
1321 * symtab.c (decode_line_1): Added check in case of all numbers for
1322 complete lack of symbols.
1323
1324 * source.c (select_source_symtab): Made sure that this wouldn't
1325 bomb on complete lack of symbols.
1326
1327 Mon Oct 24 12:28:29 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1328
1329 * m-sparc.h, findvar.c: Ditched REGISTER_SAVED_UNIQUELY and based
1330 code on REGISTER_IN_WINDOW_P and HAVE_REGISTER_WINDOWS. This will
1331 break when we find a register window machine which saves the
1332 window registers within the context of an inferior frame.
1333
1334 * sparc-dep.c (frame_saved_pc): Put PC_ADJUST return back in for
1335 frame_saved_pc. Seems correct.
1336
1337 * findvar.c, m-sparc.h: Created the macro REGISTER_SAVED_UNIQUELY
1338 to handle register window issues (ie. that find_saved_register
1339 wasn't checking the selected frame itself for shit).
1340
1341 * sparc-dep.c (core_file_command): Offset target of o & g register
1342 bcopy by 1 to hit correct registers.
1343
1344 * m-sparc.h: Changed STACK_END_ADDR.
1345
1346 Sun Oct 23 19:41:51 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1347
1348 * sparc-dep.c (core_file_command): Added in code to get the i & l
1349 registers from the stack in the corefile, and blew away some wrong
1350 code to get i & l from inferior.
1351
1352 Fri Oct 21 15:09:19 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1353
1354 * m-sparc.h (PUSH_DUMMY_FRAME): Saved the value of the RP register
1355 in the location reserved for i7 (in the created frame); this way
1356 the rp value won't get lost. The pc (what we put into the rp in
1357 this routine) gets saved seperately, so we loose no information.
1358
1359 * sparc-dep.c (do_save_insn & do_restore_insn): Added a wrapper to
1360 preserve the proceed status state variables around each call to
1361 proceed (the current frame was getting munged because this wasn't
1362 being done).
1363
1364 * m-sparc.h (FRAME_FIND_SAVED_REGS): Fix bug: saved registers
1365 addresses were being computed using absolute registers number,
1366 rather than numbers relative to each group of regs.
1367
1368 * m-sparc.h (POP_FRAME): Fixed a bug (I hope) in the context
1369 within which saved reg numbers were being interpetted. The
1370 values to be restored were being gotten in the inferior frame, and
1371 the restoring was done in the superior frame. This means that i
1372 registers must be restored into o registers.
1373
1374 * sparc-dep.c (do_restore_insn): Modified to take a pc as an
1375 argument, instead of a raw_buffer. This matches (at least it
1376 appears to match) usage from POP_FRAME, which is the only place
1377 from which do_restore_insn is called.
1378
1379 * sparc-dep.c (do_save_insn and do_restore_insn): Added comments.
1380
1381 * m-sparc.h (FRAME_FIND_SAVED_REGS): Modified my code to find the
1382 save addresses of out registers to use the in regs off the stack
1383 pointer when the current frame is 1 from the innermost.
1384
1385 Thu Oct 20 13:56:15 1988 & Smith (randy at hobbes.ai.mit.edu)
1386
1387 * blockframe.c, m-sparc.h: Removed code associated with
1388 GET_PREV_FRAME_FROM_CACHE_ITEM. This code was not needed for the
1389 sparc; you can always find the previous frames fp from the fp of
1390 the current frame (which is the sp of the previous). It's getting
1391 the information associated with a given frame (ie. saved
1392 registers) that's a bitch, because that stuff is saved relative to
1393 the stack pointer rather than the frame pointer.
1394
1395 * m-sparc.h (GET_PREV_FRAME_FROM_CACHE_ITEM): Modified to return
1396 the frame pointer of the previous frame instead of the stack
1397 pointer of same.
1398
1399 * blockframe.c (flush_cached_frames): Modified call to
1400 obstack_free to free back to frame_cache instead of back to zero.
1401 This leaves the obstack control structure in finite state (and
1402 still frees the entry allocated at frame_cache).
1403
1404 Sat Oct 15 16:30:47 1988 & Smith (randy at tartarus.uchicago.edu)
1405
1406 * valops.c (call_function): Suicide material here. Fixed a typo;
1407 CALL_DUMMY_STACK_ADJUST was spelled CAll_DUMMY_STACK_ADJUST on
1408 line 530 of the file. This cost me three days. I'm giving up
1409 typing for lent.
1410
1411 Fri Oct 14 15:10:43 1988 & Smith (randy at tartarus.uchicago.edu)
1412
1413 * m-sparc.h: Corrected a minor mistake in the dummy frame code
1414 that was getting the 5th argument and the first argument from the
1415 same place.
1416
1417 Tue Oct 11 11:49:33 1988 & Smith (randy at tartarus.uchicago.edu)
1418
1419 * infrun.c: Made stop_after_trap and stop_after_attach extern
1420 instead of static so that code which used proceed from machine
1421 dependent files could fiddle with them.
1422
1423 * blockframe.c, frame.h, sparc-dep.c, m-sparc.h: Changed sense of
1424 ->prev and ->next in struct frame_cache_item to fit usage in rest
1425 of gdb (oops).
1426
1427 Mon Oct 10 15:32:42 1988 Randy Smith (randy at gargoyle.uchicago.edu)
1428
1429 * m-sparc.h, sparc-dep.c, blockframe.c, frame.h: Wrote
1430 get_frame_cache_item. Modified FRAME_SAVED_PC and frame_saved_pc
1431 to take only one argument and do the correct thing with it. Added
1432 the two macros I recently defined in blockframe.c to m-sparc.h.
1433 Have yet to compile this thing on a sparc, but I've now merged in
1434 everything that I received from tiemann, either exactly, or simply
1435 effectively.
1436
1437 * source.c: Added code to allocated space to sals.sals in the case
1438 where no line was specified.
1439
1440 * blockframe.c, infrun.c: Modified to cache stack frames requested
1441 to minimize accesses to subprocess.
1442
1443 Tue Oct 4 15:10:39 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu)
1444
1445 * config.gdb: Added sparc.
1446
1447 Mon Oct 3 23:01:22 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu)
1448
1449 * Makefile, blockframe.c, command.c, core.c, dbxread.c, defs.h,
1450 expread.y, findvar.c, infcmd.c, inflow.c, infrun.c, sparc-pinsn.c,
1451 m-sparc.h, sparc-def.c, printcmd.c, stack.c, symmisc.c, symseg.h,
1452 valops.c, values.c: Did initial merge of sparc port. This will
1453 not compile; have to do stack frame caching and finish port.
1454
1455 * inflow.c, gdb.texinfo: `tty' now resets the controling terminal.
1456
1457 Fri Sep 30 11:31:16 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1458
1459 * inferior.h, infcmd.c, infrun.c: Changed the variable
1460 stop_random_signal to stopped_by_random signal to fit in better
1461 with name conventions (variable is not a direction to the
1462 proceed/resume set; it is information from it).
1463
1464 Thu Sep 29 13:30:46 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu)
1465
1466 * infcmd.c (finish_command): Value type of return value is now
1467 whatever the function returns, not the type of the function (fixed
1468 a bug in printing said value).
1469
1470 * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab):
1471 Put *all* global symbols into misc_functions. This is what was
1472 happening anyway, and we need it for find_pc_misc_function.
1473
1474 ** This was eventually taken out, but I didn't mark it in the
1475 ChangeLog. Oops.
1476
1477 * dbxread.c (process_symbol_for_psymtab): Put every debugger
1478 symbol which survives the top case except for constants on the
1479 symchain. This means that all of these *won't* show up in misc
1480 functions (this will be fixed once I make sure it's broken the way
1481 it's supposed to be).
1482
1483 * dbxread.c: Modified placement of debugger globals onto the hash
1484 list; now we exclude the stuff after the colon and don't skip the
1485 first character (debugger symbols don't have underscores).
1486
1487 * dbxread.c: Killed debuginfo stuff with ifdef's.
1488
1489 Wed Sep 28 14:31:51 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu)
1490
1491 * symtab.h, dbxread.c: Modified to deal with BINCL, EINCL, and
1492 EXCL symbols produced by the sun loader by adding a list of
1493 pre-requisite partial_symtabs that each partial symtab needs.
1494
1495 * symtab.h, dbxread.c, symtab.c, symmisc.c: Modified to avoid
1496 doing a qsort on the local (static) psymbols for each file to
1497 speed startup. This feature is not completely debugged, but it's
1498 inclusion has forced the inclusion of another feature (dealing
1499 with EINCL's, BINCL's and EXCL's) and so I'm going to go in and
1500 deal with them.
1501
1502 * dbxread.c (process_symbol_for_psymtab): Made sure that the class
1503 of the symbol made it into the partial_symbol entry.
1504
1505 Tue Sep 27 15:10:26 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1506
1507 * dbxread.c: Fixed bug; init_psymbol_list was not being called
1508 with the right number of arguments (1).
1509
1510 * dbxread.c: Put ifdef's around N_MAIN, N_M2C, and N_SCOPE to
1511 allow compilation on a microvax.
1512
1513 * config.gdb: Modified so that "config.gdb vax" would work.
1514
1515 * dbxread.c, symtab.h, symmisc.h, symtab.c, source.c: Put in many
1516 and varied hacks to speed up gdb startup including: A complete
1517 rewrite of read_dbx_symtab, a modification of the partial_symtab
1518 data type, deletion of select_source_symtab from
1519 symbol_file_command, and optimiztion of the call to strcmp in
1520 compare_psymbols.
1521
1522 Thu Sep 22 11:08:54 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1523
1524 * dbxread.c (psymtab_to_symtab): Removed call to
1525 init_misc_functions.
1526
1527 * dbxread.c: Fixed enumeration type clash (used enum instead of
1528 integer constant).
1529
1530 * breakpoint.c: Fixed typo; lack of \ at end of line in middle of
1531 string constant.
1532
1533 * symseg.h: Fixed typo; lack of semicolon after structure
1534 definition.
1535
1536 * command.c, breakpoint.c, printcmd.c: Added cmdlist editing
1537 functions to add commands with the abbrev flag set. Changed
1538 help_cmd_list to recognize this flag and modified unset,
1539 undisplay, and enable, disable, and delete breakpoints to have
1540 this flag set.
1541
1542 Wed Sep 21 13:34:19 1988 Randall Smith (randy at plantaris.ai.mit.edu)
1543
1544 * breakpoint.c, infcmd.c, gdb.texinfo: Created "unset" as an alias
1545 for delete, and changed "unset-environment" to be the
1546 "environment" subcommand of "delete".
1547
1548 * gdb.texinfo, valprint.c: Added documentation in the manual for
1549 breaking the set-* commands into subcommands of set. Changed "set
1550 maximum" to "set array-max".
1551
1552 * main.c, printcmd.c, breakpoint.c: Moved the declaration of
1553 command lists into main and setup a function in main initializing
1554 them to guarrantee that they would be initialized before calling
1555 any of the individual files initialize routines.
1556
1557 * command.c (lookup_cmd): A null string subcommand is treated as
1558 an unknown subcommand rather than an ambiguous one (eg. "set $x =
1559 1" will now work).
1560
1561 * infrun.c (wait_for_inferior): Put in ifdef for Sony News in
1562 check for trap by INNER_THAN macro.
1563
1564 * eval.c (evaluate_subexp): Put in catch to keep the user from
1565 attempting to call a non function as a function.
1566
1567 Tue Sep 20 10:35:53 1988 Randall Smith (randy at oatmeal.ai.mit.edu)
1568
1569 * dbxread.c (read_dbx_symtab): Installed code to keep track of
1570 which global symbols did not have debugger symbols refering to
1571 them, and recording these via record_misc_function.
1572
1573 * dbxread.c: Killed code to check for extra global symbols in the
1574 debugger symbol table.
1575
1576 * printcmd.c, breakpoint.c: Modified help entries for several
1577 commands to make sure that abbreviations were clearly marked and
1578 that the right commands showed up in the help listings.
1579
1580 * main.c, command.c, breakpoint.c, infcmd.c, printcmd.c,
1581 valprint.c, defs.h: Modified help system to allow help on a class
1582 name to show subcommands as well as commands and help on a command
1583 to show *all* subcommands of that command.
1584
1585 Fri Sep 16 16:51:19 1988 Randall Smith (randy at gluteus.ai.mit.edu)
1586
1587 * breakpoint.c (_initialize_breakpoint): Made "breakpoints"
1588 subcommands of enable, disable, and delete use class 0 (ie. they
1589 show up when you do a help xxx now).
1590
1591 * infcmd.c,printcmd,c,main.c,valprint.c: Changed the set-*
1592 commands into subcommands of set. Created "set variable" for use
1593 with variables whose names might conflict with other subcommands.
1594
1595 * blockframe.c, dbxread.c, coffread.c, expread.y, source.c:
1596 Fixed mostly minor (and one major one in block_for_pc) bugs
1597 involving checking the partial_symtab_list when a scan through the
1598 symtab_list fails.
1599
1600 Wed Sep 14 12:02:05 1988 Randall Smith (randy at sugar-smacks.ai.mit.edu)
1601
1602 * breakpoint.c, gdb.texinfo: Added enable breakpoints, disable
1603 breakpoints and delete breakpoints as synonyms for enable,
1604 disable, and delete. This seemed reasonable because of the
1605 immeninent arrival of watchpoints & etc.
1606
1607 * gdb.texinfo: Added enable display, disable display, and delete
1608 display to manual.
1609
1610 Tue Sep 13 16:53:56 1988 Randall Smith (randy at sugar-smacks.ai.mit.edu)
1611
1612 * inferior.h, infrun.c, infcmd.c: Added variable
1613 stop_random_signal to indicate when a proceed had been stopped by
1614 an unexpected signal. Used this to determine (in normal_stop)
1615 whether the current display point should be deleted.
1616
1617 * valops.c: Fix to value_ind to check for reference before doing a
1618 COERCE_ARRAY.
1619
1620 Sun Jul 31 11:42:36 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1621
1622 * breakpoint.c (_initialize_breakpoint): Clean up doc for commands
1623 that can now apply also to auto-displays.
1624
1625 * coffread.c (record_line): Corrected a spazz in editing.
1626 Also removed the two lines that assume line-numbers appear
1627 only in increasing order.
1628
1629 Tue Jul 26 22:19:06 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1630
1631 * expression.h, eval.c, expprint.c, printcmd.c, valarith.c,
1632 valops.c, valprint.c, values.c, m-*.h: Changes for evaluating and
1633 displaying 64-bit `long long' integers. Each machine must define
1634 a LONGEST type, and a BUILTIN_TYPE_LONGEST.
1635
1636 * symmisc.c: (print_symtab) check the status of the fopen and call
1637 perror_with_name if needed.
1638
1639 Thu Jul 21 00:56:11 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1640
1641 * Convex: core.c: changes required by Convex's SOFF format were
1642 isolated in convex-dep.c.
1643
1644 Wed Jul 20 21:26:10 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1645
1646 * coffread.c, core.c, expread.y, i386-pinsn.c, infcmd.c, inflow.c,
1647 infrun.c, m-i386.h, main.c, remote.c, source.c, valops.c:
1648 Improvements for the handling of the i386 and other machines
1649 running USG. (Several of these files just needed extra header files
1650 such as types.h.) utils.c: added bcopy, bcmp, bzero, getwd, list
1651 of signals, and queue routines for USG systems. Added vfork macro
1652 to i386
1653
1654 * printcmd.c, breakpoint.c: New commands to enable/disable
1655 auto-displays. Also `delete display displaynumber' works like
1656 `undisplay displaynumber'.
1657
1658 Tue Jul 19 02:17:18 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1659
1660 * coffread.c: (coff_lookup_type) Wrong portion of type_vector was
1661 being bzero'd after type_vector was reallocated.
1662
1663 * printcmd.c: (delete_display) Check for a display chain before
1664 attempting to delete a display.
1665
1666 * core.c, *-dep.c (*-infdep moved to *-dep): machine-dependent
1667 parts of core.c (core_file_command, exec_file_command) moved to
1668 *-dep.c.
1669
1670 Mon Jul 18 19:45:51 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1671
1672 * dbxread.c: typo in read_struct_type (missing '=') was causing a
1673 C struct to be parsed as a C++ struct, resulting in a `invalid
1674 character' message.
1675
1676 Sun Jul 17 22:27:32 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1677
1678 * printcmd.c, symtab.c, valops.c, expread.y: When an expression is
1679 read, the innermost block required to evaluate the expression is
1680 saved in the global variable `innermost_block'. This information
1681 is saved in the `block' field of an auto-display so that
1682 expressions with inactive variables can be skipped. `info display'
1683 tells the user which displays are active and which are not. New
1684 fn `contained_in' returns nonzero if one block is contained within
1685 another.
1686
1687 Fri Jul 15 01:53:14 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1688
1689 * infrun.c, m-i386.h: Use macro TRAPS_EXPECTED to set number of
1690 traps to skip when sh execs the program. Default is 2, m-i386.h
1691 overrides this and sets to 4.
1692
1693 * coffread.c, infrun.c: minor changes for the i386. May be able
1694 to eliminate them with more general code.
1695
1696 * default-infdep.c: #ifdef SYSTEMV, include header file types.h.
1697 Also switched the order of signal.h and user.h, since System 5
1698 requires signal.h to come first.
1699
1700 * core.c main.c, remote,c, source.c, inflow.c: #ifdef SYSTEMV,
1701 include various header files. Usually types.h and fcntl.h.
1702
1703 * utils.c: added queue routines needed by the i386 (and other sys
1704 5 machines).
1705
1706 * sys5.c, regex.c, regex.h: new files for sys 5 systems. (The
1707 regex files are simply links to /gp/gnu/lib.)
1708
1709 Thu Jul 14 01:47:14 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1710
1711 * config.gdb, README: Provide a list of known machines when user
1712 enters an invalid machine. New second arg is operating system,
1713 currently only used with `sunos4' or `os4'. Entry for i386 added.
1714
1715 * news-infdep.c: new file.
1716
1717 * m-news.h: new version which deals with new bugs in news800's OS.
1718
1719 Tue Jul 12 19:52:16 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1720
1721 * Makefile, *.c, munch, config.gdb, README: New initialization
1722 scheme uses nm to find functions whose names begin with
1723 `_initialize_'. Files `initialize.h', `firstfile.c',
1724 `lastfile.c', `m-*init.h' no longer needed.
1725
1726 * eval.c, symtab.c, valarith.c, valops.c, value.h, values.c: Bug
1727 fixes from gdb+ 2.5.4. evaluate_subexp takes a new arg, type
1728 expected. New fn value_virtual_fn_field.
1729
1730 Mon Jul 11 00:48:49 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1731
1732 * core.c (read_memory): xfer_core_file was being called with an
1733 extra argument (0) by read_memory.
1734
1735 * core.c (read_memory), *-infdep.c (read_inferior_memory),
1736 valops.c (value_at): read_memory and read_inferior_memory now work
1737 like write_memory and write_inferior_memory in that errno is
1738 checked after each ptrace and returned to the caller. Used in
1739 value_at to detect references to addresses which are out of
1740 bounds. Also core.c (xfer_core_file): return 1 if invalid
1741 address, 0 otherwise.
1742
1743 * inflow.c, <machine>-infdep.c: removed all calls to ptrace from
1744 inflow.c and put them in machine-dependent files *-infdep.c.
1745
1746 Sun Jul 10 19:19:36 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1747
1748 * symmisc.c: (read_symsegs) Accept only format number 2. Since
1749 the size of the type structure changed when C++ support was added,
1750 format 1 can no longer be used.
1751
1752 * core.c, m-sunos4.h: (core_file_command) support for SunOS 4.0.
1753 Slight change in the core structure. #ifdef SUNOS4. New file
1754 m-sunos4.h. May want to change config.gdb also.
1755
1756 Fri Jul 8 19:59:49 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1757
1758 * breakpoint.c: (break_command_1) Allow `break if condition'
1759 rather than parsing `if' as a function name and returning an
1760 error.
1761
1762 Thu Jul 7 22:22:47 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1763
1764 * C++: valops.c, valprint.c, value.h, values.c: merged code to deal
1765 with C++ expressions.
1766
1767 Wed Jul 6 03:28:18 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1768
1769 * C++: dbxread.c: (read_dbx_symtab, condense_misc_bunches,
1770 add_file_command) Merged code to read symbol information from
1771 an incrementally linked file. symmisc.c:
1772 (init_free_inclink_symtabs, free_inclink_symtabs) Cleanup
1773 routines.
1774
1775 Tue Jul 5 02:50:41 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1776
1777 * C++: symtab.c, breakpoint.c, source.c: Merged code to deal with
1778 ambiguous line specifications. In C++ one can have overloaded
1779 function names, so that `list classname::overloadedfuncname'
1780 refers to several different lines, possibly in different files.
1781
1782 Fri Jul 1 02:44:20 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
1783
1784 * C++: symtab.c: replaced lookup_symtab_1 and lookup_symtab_2 with
1785 a modified lookup_symbol which checks for fields of the current
1786 implied argument `this'. printcmd.c, source.c, symtab.c,
1787 valops.c: Need to change callers once callers are
1788 installed.
1789
1790 Wed Jun 29 01:26:56 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu)
1791
1792 * C++: eval.c, expprint.c, expread.y, expression.h, valarith.c,
1793 Merged code to deal with evaluation of user-defined operators,
1794 member functions, and virtual functions.
1795 binop_must_be_user_defined tests for user-defined binops,
1796 value_x_binop calls the appropriate operator function.
1797
1798 Tue Jun 28 02:56:42 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu)
1799
1800 * C++: Makefile: changed the echo: expect 101 shift/reduce conflicts
1801 and 1 reduce/reduce conflict.
1802
1803 \f
1804 Local Variables:
1805 mode: indented-text
1806 eval: (auto-fill-mode 1)
1807 left-margin: 8
1808 fill-column: 74
1809 version-control: never
1810 End:
This page took 0.117512 seconds and 5 git commands to generate.