|
|
1.1 root 1: Sat Sep 3 12:05:36 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
2:
3: * Version 2.8 released.
4:
5: * valprint.c: include param.h.
6:
7: * inflow.c (store_inferior_registers): Fix typo and missing decl.
8:
9: Thu Sep 1 13:18:22 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
10:
11: * Version 2.7 released.
12:
13: * m-hp9k320bsd.h: New file supports BSD on hp9000 series 300.
14:
15: Tue Aug 30 17:54:50 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
16:
17: * m-news.h ({EXTRACT,STORE}_RETURN_VALUE): Handle floating pt values.
18:
19: * inflow.c (store_inferior_registers) [usual case]:
20: Handle registers longer than one word.
21:
22: Sat Aug 27 00:19:32 1988 Richard Stallman (rms at spiff)
23:
24: * inflow.c (create_inferior): Use execve to avoid NEWSOS bug in execle.
25:
26: Wed Aug 10 20:36:36 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
27:
28: * m-news.h: Define READ_DBX_FORMAT, {EXTRACT,STORE}_RETURN_VALUE.
29: (INVALID_FLOAT): Add 2nd argument.
30: (vprintf): Define to call _doprnt.
31:
32: Tue Jul 26 03:05:28 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
33:
34: * symmisc.c: (print_symtabs) Check the status of the fopen and
35: call perror_with_name if needed.
36:
37: Sat Jul 23 00:14:20 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
38:
39: * printcmd.c: (delete_display) Check for existence of display
40: chain before deleting anything.
41:
42: Thu Jul 7 08:47:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
43:
44: * main.c: New vars win_argv, win_argc, win_prgm to talk to xgdb.
45:
46: Thu Jul 7 02:05:29 1988 Pete TerMaat (pete at frosted-flakes.ai.mit.edu)
47:
48: * dbxread.c: (define_symbol) store static functions ('f') in the
49: same way as global functions ('F') -- that is, as `function of
50: type X' rather than as `X'.
51:
52: Mon Jul 4 17:07:31 1988 Pete TerMaat (pete at frosted-flakes.ai.mit.edu)
53:
54: * dbxread.c: (read_dbx_symtab) Avoid reading symbol tables of
55: libraries by checking for symbols which begin with "-l" (in
56: addition to those which end with ".o").
57:
58: Mon Jun 27 23:27:51 1988 Pete TerMaat (pete at frosted-flakes.ai.mit.edu)
59:
60: * dbxread.c: (define_symbol) and coffread.c: (process_coff_symbol)
61: If the current symbol is a function, assign its type to be
62: `function of type X' rather than `X'. TYPE_TARGET_TYPE (symbol)
63: is `X'
64:
65: * findvar.c: (locate_var_value, read_var_value) got rid of checks
66: for LOC_BLOCK which called `lookup_function_type'. These checks
67: are no longer needed because of the change to dbxread.c.
68:
69: * infcmd.c: (finish_command) Now uses target_type instead of type
70: for functions, in keeping with the change to dbxread.c.
71:
72: Sat Jun 25 00:24:09 1988 Pete TerMaat (pete at corn-chex.ai.mit.edu)
73:
74: * infrun.c: (normal_stop) Added a check for permissions on the
75: exec file before printing the "You have encountered a bug in sh"
76: message. Apparently on some systems an attempt by the shell to
77: exec an unexecutable file had resulted in the "You have
78: encountered" message.
79:
80: Wed Jun 22 00:00:02 1988 Pete TerMaat (pete at corn-chex.ai.mit.edu)
81:
82: * config.gdb: installed shell script to make the proper links to
83: param.h, m-init.h, opcode.h, and pinsn.c, given a machine name.
84:
85: Tue Jun 21 23:55:09 1988 Pete TerMaat (pete at corn-chex.ai.mit.edu)
86:
87: * m-suninit.h, m-isi-ov.h, m-news800.h: moved to m-sun3init.h,
88: m-isi.h, m-news.h for consistency.
89:
90: Fri Jun 17 21:24:48 1988 Pete TerMaat (pete at lucky-charms.ai.mit.edu)
91:
92: * m-umax.h: (FIX_CALL_DUMMY): fixed typo (the last `flipped' was
93: `fliped')
94:
95: * m-pn.h, m-npl.h: added #define gould, since this is needed in
96: core.c.
97:
98: Tue Jun 14 04:07:50 1988 Pete TerMaat (pete at lucky-charms.ai.mit.edu)
99:
100: * Removed unused variables from m-pn.h, m-npl.h in
101: FRAME_FIND_SAVED_REGS, PUSH_DUMMY_FRAME, and POP_FRAME.
102:
103: Mon Jun 13 05:57:47 1988 Richard Stallman (rms at corn-chex.ai.mit.edu)
104:
105: * inflow.c (create_inferior): Allow two macros SHELL_FILE and
106: SHELL_COMMAND_CONCAT, if defined, to customize how the shell is run.
107:
108: Thu Jun 9 05:42:20 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
109:
110: * breakpoint.c (ignore_command): P was used before initialized.
111:
112: Fri Jun 3 06:52:25 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
113:
114: * dbxread.c (read_dbx_symtab): Change handling of N_NBTEXT (Gould).
115:
116: Mon May 30 22:48:48 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
117:
118: * main.c (main, disconnect): Handle SIGHUP by killing inferior.
119: * inflow.c (kill_inferior_fast): New function used to do that.
120:
121: * utils.c (printchar): New 3rd arg is the string's delimiter,
122: which is the char that needs backslashing.
123: * valprint.c (value_print, val_print): Pass new arg.
124: * expprint.c (print_subexp): Pass new arg.
125:
126: Mon May 23 14:54:54 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
127:
128: * source.c (print_source_lines): New arg NOERROR nonzero means
129: if file is not found just print message and return (don't throw).
130: Callers changed here and in stack.c.
131:
132: Sun May 22 14:22:54 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
133:
134: * source.c (identify_source_line): Set defaults for `list' command.
135:
136: * dbxread.c (sort_syms): If not sorting the block, reverse it, so
137: that for a parm declared register the register comes before the parm.
138:
139: * defs.h: declare alloca.
140:
141: Fri May 20 15:02:50 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
142:
143: * values.c (value_of_internalvar): `return' stmt was missing.
144:
145: Tue May 10 23:03:29 1988 Richard Stallman (rms at corn-chex.ai.mit.edu)
146:
147: * source.c ({forward,reverse}_search_command, print_source_lines):
148: Line number symtab->nlines is just barely in range.
149: (find_source_lines): Newline as last char in file doesn't start a line.
150:
151: Thu May 5 15:04:40 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
152:
153: * Version 2.6.
154:
155: * printcmd.c (do_one_display): New fn, display one auto-display.
156: (do_displays): Use that fn.
157: (display_command): If cmd is from tty, display the new display now.
158:
159: * printcmd.c (do_display): Record # of display being displayed.
160: (delete_current_display): New fn: delete that display (if any).
161: * main.c (return_to_top_level): Call delete_current_display.
162: * infrun.c (normal_stop): Likewise.
163:
164: * main.c (catch_error): New fn: like list `errset'.
165: * breakpoint.c (breakpoint_cond_eval): Eval an expression and
166: return 1 if the expression is zero.
167: (breakpoint_stop_status): Use those two fcns; avoid lossage on error
168: in evalling a breakpoint condition.
169:
170: * infcmd.c (jump_command): Typo in call to `query'.
171:
172: Tue May 3 10:52:08 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
173:
174: * core.c (exec_file_command): If no file, pass 0 to display-hook.
175:
176: * core.c (get_exec_file): New arg ERR says whether to err if no file.
177: All callers changed.
178:
179: * main.c (print_prompt): New fn to print the prompt string.
180:
181: * xgdb.c: Numerous changes. It now semi-works but the text display
182: often gets messed up.
183:
184: Sun May 1 12:12:43 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
185:
186: * wait.h [HAVE_WAIT_STRUCT] (WSETSTOP): Fix typos.
187:
188: Sat Apr 30 10:18:56 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
189:
190: * expread.y: BLOCK::NAME action called copy_name in wrong place.
191:
192: Fri Apr 15 01:01:40 1988 Chris Hanson (cph at kleph)
193:
194: * inflow.c [! TIOCGPGRP]: Do not call `setpgrp' for inferior.
195: Instead, disable SIGINT and SIGQUIT while the inferior is running.
196: Unfortunately this means that C-c typed while GDB is running will
197: cause the inferior to receive SIGINT when it is resumed.
198: * utils.c (quit) [! TIOCGPGRP]: Cause quit message to remind user
199: that the inferior will see SIGINT.
200:
201: Thu Apr 14 23:38:02 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
202:
203: * infrun.c (wait_for_inferior): If step into a function, and
204: immediately arrive at start of first line of user code,
205: don't step: stop immediately.
206: Set prev_pc before, not after, calling `resume'.
207:
208: * source.c (identify_source_line): New 3rd arg controls additional
209: output datum: `beg' or `middle', saying whether pc is at beg of line.
210: * stack.c (print_frame_info): Pass that argument.
211:
212: * main.c (cd_command): Convert any relative pathname to absolute.
213: Simplify if `.' or `..' appear.
214:
215: Thu Apr 14 21:17:11 1988 Chris Hanson (cph at kleph)
216:
217: * infrun.c: Add new flag `trap_expected_after_continue' to
218: compensate for spurious trace trap generated by HP-UX after
219: running a stack dummy.
220:
221: * inflow.c (term_status_command) [HAVE_TERMIO]: Show all available
222: terminal status information.
223:
224: Tue Apr 12 19:11:00 1988 Chris Hanson (cph at kleph)
225:
226: * stack.c (print_frame_info): When -fullname is given and
227: `identify_source_line' succeeds, do not print real pc even if it
228: differs from the start pc for the source line. This information
229: is not very useful and tends to screw up gdb-mode in emacs.
230:
231: Mon Apr 11 14:22:10 1988 Chris Hanson (cph at kleph)
232:
233: * dbxread.c (define_symbol): Don't forget to terminate
234: SYMBOL_NAME.
235:
236: * m-hp9k320.h (CALL_DUMMY): Fix bug -- breakpoint instruction is
237: TRAP #1 not TRAP #15.
238:
239: * inflow.c (store_inferior_register_1) [HP9K320]: Ignore `errno',
240: as there is a bug in HP-UX which (mistakenly) causes errno to be
241: non-zero when writing fp7.
242:
243: Sat Apr 9 01:04:23 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
244:
245: * dbxread.c (symbol_file_command): Check stringtab size by doing `stat'
246: and, if it is ridiculous, complain and don't call alloca.
247: Don't discard existing symtab until after that check.
248:
249: Fri Apr 8 16:39:11 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
250:
251: * Makefile: Delete `-lg' entirely; not needed now that linking is done
252: with $(CC).
253:
254: Fri Apr 8 13:41:46 1988 Chris Hanson (cph at kleph)
255:
256: * m68k-opcode.h: Fix operand-string of fmovel insns.
257:
258: * Makefile: Put "-lg" in CLIBS because there is no such library in
259: HPUX. Update the comment for HPUX.
260:
261: Fri Apr 8 03:30:23 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
262:
263: * findvar.c (locate_var_value): For &FCN, do lookup_function_type.
264:
265: * valprint.c (val_print): Fix typo testing whether ptr is a string.
266:
267: Thu Apr 7 21:11:00 1988 Chris Hanson (cph at frosted-flakes.ai.mit.edu)
268:
269: * m-hp9k320.h: New file.
270:
271: * main.c (stop_sig, read_line): #ifdef SIGTSTP around uses of SIGTSTP.
272:
273: * wait.h: Fix bug in WSETEXIT.
274:
275: * remote.c: If HAVE_TERMIO, use termio and fake it to look like stty.
276: Include wait.h
277: (remote_wait): Use the wait.h interface.
278:
279: * utils.c (quit): Need HAVE_TERMIO conditional. Also include param.h.
280:
281: * inflow.c: If HAVE_TERMIO, use termio and fake it to look like stty.
282: Define TERMINAL for data type of terminal data.
283: Use of tchars, ltchars, pgrp conditional on existence of the
284: ioctls that handle them.
285: (terminal_init_inferior, terminal_inferior, terminal_ours,
286: term_status_command, initialize):
287: Conditionals for HAVE_TERMIO and existence of various ioctls.
288: ({fetch,store}_inferior_registers): Separate versions for HP9K320.
289:
290: * m68k-pinsn.c (convert_{to,from}_68881): Alternate asms for HPUX_ASM.
291:
292: * core.c (register_addr): Change #ifdef to REGISTER_U_ADDR
293: (core_file_command) [HP9K320]: Special code to get regs from HPUX
294: core file.
295:
296: Thu Apr 7 01:15:56 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
297:
298: * dbxread.c (add_symbol_to_list, finish_block, read_enum_type):
299: Symbol-lists now hold up to 20 symbols in each `struct pending'
300: to save time in malloc. When a `struct pending' becomes free,
301: don't call `free'; put it on a free-list `free_pendings'.
302: (really_free_pendings): Call `free' for each `struct pending'
303: on the free-list, and others that are easily found.
304: (symbol_file_command): Set up `really_free_pendings' as a cleanup.
305:
306: * dbxread.c (start_symtab, end_symtab, process_one_symbol):
307: Context_stack is now contiguous, to save malloc-time.
308:
309: * dbxread.c (read_enum_type): Allocate the enum const syms
310: in the symbol_obstack.
311: (obsavestring): New fn, like savestring but alloc in symbol_obstack.
312: (obconcat): New fn, like concat but etc.
313: Most calls to savestring and concat changed to call these fns.
314: (define_symbol): Open-code bcopy; don't bother to zero the symbol.
315: (compare_symbols): Compare 1st char of name before calling strcmp.
316:
317: * Do explicit buffering to read symtab--don't use stdio.
318: Variables symbuf... hold the buffer and indices.
319: * dbxread.c (fill_symbuf): Fill the buffer, record how much was read.
320: (read_dbx_symbols, next_symbol_text): Fetch data direct from buffer;
321: call fill_symbuf when necessary.
322:
323: * dbxread.c (sort_syms): Don't sort blocks with < 40 syms.
324: * symtab.c (lookup_block_symbol): Don't binary search such blocks.
325: Compare 1st char of name before calling strcmp, and other speedups.
326:
327: * symtab.c (sort_block_syms): New fn, sort one block's syms.
328: (list_symbols): If block not normally sorted, sort it here.
329:
330: * dbxread.c (define_symbol): Ignore sym if name is empty.
331: (process_one_symbol): Ignore N_ENTRY sym if no N_SO seen yet.
332: (read_dbx_symtab): Recognize N_NBTEXT like N_TEXT (if it's defined).
333: Set end_of_text_addr from END_OF_TEXT_DEFAULT (if it's defined).
334: (NUMBER_OF_SYMBOLS): New macro for # entries in symtab.
335: (SYMBOL_TABLE_OFFSET): New macro for file-offset of symtab.
336: (STRING_TABLE_OFFSET): New macro for file-offset of string tab.
337: (READ_STRING_TABLE_SIZE): New macro to store size of string tab.
338: (DECLARE_FILE_HEADERS): New macro to declare vars to hold header info.
339: (READ_FILE_HEADERS): New macro to read that info from a descriptor.
340: All these macros can be overriden by the m-....h file.
341: (symbol_file_command): These macros replace open code.
342:
343: * values.c (unpack_double): When fetching `double' from memory,
344: make it double-aligned, since some machines need that.
345:
346: * core.c (exec_file_command): Insert conditionals for `gould'.
347:
348: * m-sun[23].h, m-isi-ov.h, m-news800.h (ABOUT_TO_RETURN):
349: Fix typo in opcode number.
350:
351: * main.c (read_line): Ignore backslash-newline.
352:
353: Fri Apr 1 17:37:25 1988 Richard M. Stallman (rms at frosted-flakes.ai.mit.edu)
354:
355: * main.c (main): New -c switch specifies current directory.
356: Discard trailing slash from arg.
357: (pwd_command): Call getwd. Print its result as well as
358: current_directory if they differ.
359: (cd_command): Leave user's form of path in current_directory.
360: Discard trailing slash from arg.
361:
362: * source.c (init_source_path, directory_command):
363: Use current_directory rather than calling getwd.
364:
365: Fri Mar 25 14:51:39 1988 Richard M. Stallman (rms at frosted-flakes.ai.mit.edu)
366:
367: * dbxread.c (read_struct_type): Only ints and enums can be bit-fields.
368:
369: * command.c (lookup_command): Allow 0 in command name.
370:
371: * valprint.c (value_print): New arg FORMAT. Most callers pass 0.
372: Pass FORMAT to val_print.
373: (val_print): New arg FORMAT. Most callers pass 0.
374: When FORMAT is nonzero, use `print_scalar_formatted' to print a scalar
375: and inhibit special treatment of char-pointers and arrays.
376:
377: * printcmd.c (print_scalar_formatted): Guts of `print_formatted'
378: broken out, except for `i', `s' and 0 formats.
379: Type and data-address passed separately.
380:
381: * valprint.c (val_print): Any array of 1-byte ints is a string;
382: any 1-byte int is a character.
383:
384: Thu Mar 24 23:01:24 1988 Richard M. Stallman (rms at frosted-flakes.ai.mit.edu)
385:
386: * coffread.c:
387: Make read_coff_symtab interruptible.
388: Use obstack rather than xmalloc for blocks, blockvectors and symbols.
389: Fix error checking for reading the stringtab.
390:
391: * ns32k-pinsn.c (fbit_extract): New function.
392: (print_insn_arg): Use it for immediate floating args.
393: Also print float reg args as `f<digit>', not `r<digit>'.
394:
395: * m68k-opcode.h: mulu and muluw had wrong arg-format-string.
396:
397: * valprint.c (value_print): Any pointer to 1-byte ints
398: is printed as a string.
399:
400: * inflow.c (attach, detach): Change conditional on these to
401: ATTACH_DETACH. In a UMAX_PTRACE conditional, define the Sun
402: attach/detach names in terms of the Umax ones.
403:
404: * m-umax.h: Define ATTACH_DETACH.
405:
406: * infcmd.c (attach_command): `remote' was not being initialized.
407:
408: * m-umax.h: Include defs.h if nec so that CORE_ADDR is defined.
409:
410: * m-umax.h, m-vax.h: Define vprintf to use _doprnt.
411: * m-isi-ov.h, m-merlin.h: Likewise.
412:
413: * inflow.c [UMAX_PTRACE]: Don't include user.h; do include sys/ptrace.h
414:
415: * m-umax.h: Rename `n32k...' to `ns32k...'.
416: * ns32k-pinsn.c: Likewise.
417:
418: * stack.c (print_block_frame_locals): Mention static locals as well.
419:
420: * main.c (validate_comname): Allow 0 in a command name.
421:
422: * core.c (myread): If successful, return # chars read.
423:
424: * blockframe.c (find_pc_misc_function): Don't die due to index -1
425: if there are no misc functions.
426:
427: Sun Mar 20 17:52:00 1988 Richard M. Stallman (rms at frosted-flakes.ai.mit.edu)
428:
429: * m-isiinit.h: New file needed on ISI machines.
430: Symbol BSD43_ISI40D controls choice of system version.
431:
432: * m-isi-ov.h: BSD43_ISI40D affects REGISTER_U_ADDR.
433:
434: Sat Mar 19 17:56:02 1988 Richard M. Stallman (rms at frosted-flakes.ai.mit.edu)
435:
436: * dbxread.c (symbol_file_command): Clear global_sym_chain here
437: before read_symsegs
438: (read_dbx_symtab): instead of clearing it here.
439:
440: * valprint.c (type_print_base): Handle if TYPE is 0.
441: (type_print_varspec_{prefix,suffix}): Do nothing if TYPE is 0.
442:
443: * main.c (copyright_info): Fix typo in string.
444: * symseg.h: Fix typo in struct.
445:
446: Fri Mar 18 01:07:10 1988 Chris Hanson (cph at kleph)
447:
448: * breakpoint.c (commands_command): Flush stdout after printing
449: message for benefit of terminals which are pipes.
450:
451: Tue Feb 16 18:28:24 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
452:
453: * dbxread.c (process_one_symbol): Ignore some Fortran symbol types.
454:
455: Wed Feb 10 15:48:30 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
456:
457: * Version 2.5.
458:
459: * symtab.h: Delete free_explicit.
460: * symmisc.c (free_all_symtabs): Delete free_explicit case.
461:
462: * symseg.h (struct source): It contains a linetable. Define linetable.
463: * symtab.h: Don't define linetable here.
464:
465: * symmisc.c (relocate_source): Relocate the linetable it contains.
466: * dbxread.c (symbol_file_command): Convert each symseg to one or
467: more symtabs according to its sourcevector. Give each symtab
468: a linetable that comes from the sourcevector.
469:
470: Free old symtabs and Print "Reading..." before reading symsegs.
471:
472: * dbxread.c (start_symtab): If find a current_symseg, return
473: doing nothing more.
474: * dbxread.c (end_symtab): If have a current_symseg,
475: just zero a couple of variables and return. Delete the rest
476: of the if-statement for current_symseg != 0.
477:
478: Sat Feb 6 12:59:29 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
479:
480: * findvar.c (locate_var_value): Remove space from middle of `+ ='.
481:
482: * symtab.h (struct symtab): New field `fullname'.
483: * source.c: Callers of `openp' store the `fullname' field.
484:
485: * source.c (identify_source_line): New function prints
486: ^z^zFILENAME:LINENUM:CHARPOS\n. For Emacs interface (gdb.el).
487:
488: * main.c (main): `-fullname' option sets `frame_file_full_name'.
489: * stack.c (print_stack_frame): After printing source line,
490: if `frame_file_full_name', call `identify_source_line'.
491:
492: Fri Feb 5 00:07:44 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
493:
494: * core.c (core_file_command): For UMAX, print the core file's
495: program name. For UMAX and Sun, print the signal number.
496:
497: * printcmd.c (decode_format): Don't let size `g' be used for integers.
498:
499: * coffread.c (read_coff_symtab): Don't lose a file
500: just because it contains only data and types (no text).
501:
502: * source.c: Rename line_info_default_line to last_line_listed.
503: * source.c (*_search_command): Use that as default place to start.
504: Set current_source_line so that `list' with no args is centered
505: on that line.
506:
507: Thu Feb 4 19:32:31 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
508:
509: * dbxread.c (end_symtab): Always initialize symtab->free_ptr.
510:
511: * main.c (main, cd_command): Set up `dirbuf' and `current_directory'
512: * main.c (pwd_command): Use `current_directory'.
513:
514: Wed Feb 3 11:49:10 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
515:
516: * remote.c: New file, for communication to remote debugger.
517:
518: * defs.h (current_directory): New variable.
519:
520: * core.c (core_file_command): Use current_directory instead of getwd.
521:
522: * inflow.c (callers of ptrace): If remote_debugging, call another
523: function named remote_... instead of ptrace.
524:
525: * infcmd.c (start_inferior): Special things if remote_debugging.
526:
527: * infcmd.c (attach_command): If arg starts with a slash,
528: call `remote_open' and `start_remote'.
529:
530: * infcmd.c (run_command): if remote_debugging,
531: don't hassle the args and don't fork.
532:
533: * infrun.c, inferior.h (remote_debugging): New variable.
534: * infrun.c (wait_for_inferior): If remote_debugging, use remote_wait.
535: * infrun.c (start_remote): New function.
536:
537: * symtab.c (find_line_common): Find the linetable entry
538: for a specified source line, of the first following line that has one.
539: No longer assumes lines are in increasing order.
540:
541: * symtab.c (find_line_pc, find_line_pc_range): Use find_line_common.
542:
543: * symtab.c (lookup_misc_func): New function to return the index
544: in misc_function_vector of a specified name.
545:
546: * symtab.c (decode_line_1): Use `lookup_misc_func'.
547:
548: * source.c (forward_search_command, reverse_search_command):
549: New functions to search a source file.
550:
551: * source.c (openp): Get dir from `current_directory', not getwd.
552:
553: * source.c (line_info): 2nd arg to decode_line_spec was missing.
554:
555: * printcmd.c (printf_command): New command to do printf
556: with specified string and arguments. Thoroughly rewritten from
557: Next's version.
558:
559: * eval.c (parse_to_comma_and_eval): New function.
560:
561: * expread.y (parse_c_1): New arg COMMA means stop parsing at a comma.
562: * breakpoint.c (condition_command, break_command): Pass 0 for COMMA.
563: * eval.c (parse_and_eval_address_1): Pass 0 for COMMA.
564:
565: * printcmd.c (print_formatted): New arg SIZE so hex nums line up.
566: Changed all callers (all in this file).
567:
568: * dbxread.c (symbol_file_command): Error-check result of alloca.
569: On some systems it seems it can return zero.
570:
571: * dbxread.c (read_dbx_symtab): Make this interruptable.
572:
573: * blockframe.c (find_pc_misc_function): Use binary search.
574:
575: Thu Jan 28 08:48:00 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
576:
577: * m68k-pinsn.c (print_insn_arg): For operand type 'd',
578: operand value is a register-name.
579:
580: Sat Jan 23 01:04:51 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
581:
582: * symseg.h: Add `struct sourcevector', etc., for describing
583: line number info.
584:
585: Fri Jan 15 05:09:18 1988 Richard Stallman (rms at frosted-flakes)
586:
587: * valprint.c [IEEE_FLOAT]: New function `is_nan' checks
588: whether a double is a nan.
589:
590: * printcmd.c (print_formatted) [IEEE_FLOAT]:
591: Detect nans and print specially.
592: * valprint.c (val_print) [IEEE_FLOAT]: Same thing.
593:
594: * m68k-pinsn.c (convert_{to,from}_68881): Hand-assemble
595: all the assembler code.
596:
597: * m-newsinit.h, m-news800.h: Two new files.
598:
599: Thu Jan 7 22:25:16 1988 Richard Stallman (rms at frosted-flakes)
600:
601: * valops.c (value_assign): Don't coerce the arg being stored in.
602: Coercion is not right either for an array or for an enum.
603:
604: Tue Jan 5 00:59:29 1988 Richard Stallman (rms at frosted-flakes)
605:
606: * symtab.c (decode_line_1): Don't complain about no symtabs loaded
607: until after trying the misc function table.
608:
609: Sat Jan 2 13:16:08 1988 Richard Stallman (rms at frosted-flakes)
610:
611: * stack.c (record_selected_frame): New fn to access
612: the selected frame and its level.
613: * infcmd.c (run_stack_dummy): Save and restore the selected
614: frame and its level.
615:
616: Wed Dec 30 18:44:41 1987 Richard Stallman (rms at frosted-flakes)
617:
618: * valprint.c (type_print_varspec_prefix):
619: Treat arrays just like functions.
620: * valprint.c (type_print_varspec_{prefix,suffix}):
621: When passed_a_ptr is handled, pass 0 for it in the recursive call.
622:
623: Fri Dec 18 10:24:14 1987 Richard Stallman (rms at frosted-flakes)
624:
625: * findvar.c (read_var_value): Share code between values really
626: in registers and values in saved registers.
627: Register short on a big-endian machine needs a VALUE_OFFSET.
628:
629: * findvar.c (locate_var_value): Offset the address of a
630: saved register variable that's shorter than the register.
631:
632: Thu Dec 17 08:26:31 1987 Richard Stallman (rms at lucky-charms)
633:
634: * valprint.c (type_print_base): Print nameless bit fields
635: to indicate gaps before bit fields.
636:
637: * source.c (select_source_symtab): Ignore .h files.
638: Also, if a function `main' exists, make the default listing line
639: the beginning of `main'.
640:
641: * breakpoint.c ({get,set}_breakpoint_commands):
642: Commands to examine or set the pending breakpoint-commands.
643:
644: * infcmd.c (run_stack_dummy): Save and restore the breakpoint
645: commands around the function call.
646:
647: * stack.c (return_command): Don't query or print if not interactive.
648:
649: * value.h (COERCE_ENUM): New macro: if arg is enum, convert to int.
650: * value.h (COERCE_ARRAY): Do that, as well as old job.
651:
652: * valarith.c (value_binop, value_neg, value_lognot):
653: Use COERCE_ENUM on the arguments.
654: * valops.c (value_arg_coerce): Likewise.
655: * valops.c (value_cast): AVOID coercing enums when arrays are.
656:
657: * eval.c (evaluate_subexp): In the BINOP_SUB case,
658: use evaluate_subexp_with_coercion.
659:
660: * inflow.c (terminal_ours_1, terminal_inferior):
661: Ignore inferior_thisrun_terminal since our terminal
662: is the inferior's controlling terminal regardless.
663:
664: * m-sun3.h: Fix assembler syntax for kdb macros.
665:
666: * infcmd.c ({attach,detach}_command): New functions from Dave Taylor.
667: * inflow.c (attach, detach): New functions from Dave Taylor.
668: * infrun.c (attach_process): New function, middle-level.
669: Does all the work of attaching a process, assuming there is no
670: inferior yet, except for printing and querying.
671:
672: * infrun.c (clear_proceed_status): Clear `stop_after_attach'.
673: * infrun.c (wait_for_inferior): Handle `stop_after_attach'.
674:
675: Sat Dec 12 04:36:39 1987 Richard Stallman (rms at corn-chex)
676:
677: * dbxread.c (end_symtab): The free_code for a symseg got
678: from a file should be free_linetable.
679:
680: * dbxread.c: Allocate blockvector, blocks, symbols and symbol names
681: from the symbol-obstack, and use free_linetable for all files.
682: The typevector is still malloc'd, so put it in the free_ptr
683: to get it freed.
684:
685: * symmisc.c (free_symtab): Always free the `free_ptr' if nonzero.
686: `free_explicit' therefore now the same as `free_nothing'.
687:
688: * dbxread.c (define_symbol): Handle defn code 'c', used by
689: fortran, which defines integer and real constant symbols.
690:
691: * symseg.h: Define LOC_CONST_BYTES for constants longer than a
692: word. New `bytes' alternative for the value of a symbol.
693:
694: * symtab.h (SYMBOL_VALUE_BYTES): Macro to access `bytes'.
695:
696: * findvar.c ({read,locate}_var_value): Handle LOC_CONST_BYTES.
697: * printcmd.c (address_info): Handle LOC_CONST_BYTES.
698: * symmisc.c (print_symbol): Handle LOC_CONST_BYTES.
699:
700: Tue Dec 8 20:26:37 1987 Richard Stallman (rms at frosted-flakes)
701:
702: * symtab.c (find_line_pc_range): Detection of last line in file
703: was erroneous.
704:
705: Fri Dec 4 21:52:52 1987 Richard Stallman (rms at frosted-flakes)
706:
707: * dbxread.c (read_range_type): Accept the typenums as argument.
708: Use read_type_number to read the subrange-of type.
709: A type defined as a subrange of itself is void.
710:
711: Thu Dec 3 12:45:10 1987 Richard Stallman (rms at frosted-flakes)
712:
713: * inflow.c ({fetch,store}_inferior_registers): Support UMAX_PTRACE.
714:
715: * m-umax.h: New file, for Encore machines.
716:
717: * core.c (exec_file_command, etc): Decode COFF files.
718: * core.c (core_file_command): Support UMAX_CORE format.
719: * core.c (validate_files, exec_file_command):
720: Set exec_mtime in exec_file_command so that COFF vs non-COFF
721: differences appear all in one place.
722:
723: * coffread.c: New file from Dave Johnson.
724:
725: * core.c (specify_exec_file_hook): New function to specify
726: a hook to be called by exec_file_command. Last #ifdef X_WINDOWS gone.
727: * xgdb.c (initialize): Specify a hook.
728:
729: * infrun.c, inferior.h: Replace stop_r0 and stop_r1 with an array
730: `stop_registers' that will hold ALL the registers.
731: * infcmd.c (run_stack_dummy): Get the value from `stop_registers'
732: and copy all of that into BUFFER.
733: * infcmd.c (finish_command): Specify `stop_registers'
734: to `value_being_returned'.
735: * values.c (value_being_returned): Use the new EXTRACT... macros.
736: * values.c (set_return_value): Use new STORE_RETURN_VALUE macro.
737: * valops.c (call_function): Allocate retbuf long enough for all regs.
738: * m-*.h: New macros EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE and
739: EXTRACT_STRUCT_VALUE_ADDRESS that express machine-dependencies
740: in where return values are stored.
741:
742: * valops.c (call_function): Flush default for CALL_DUMMY_START_OFFSET.
743: Assume it is defined.
744: * m-vax.h: Define CALL_DUMMY_START_OFFSET.
745:
746: * ns32k-pinsn.c (ns32k-localcount): Fix decoding of `enter' insn.
747: * ns32k-pinsn.c (n32k_get_enter_addr): New fn used from m-umax.h.
748:
749: * m-*.h: Change INVALID_FLOAT to accept 2nd arg which is length
750: of the float.
751: * values.c (unpack_double): Pass the 2nd arg.
752: * vax-pinsn.c (print_insn_arg): Pass the 2nd arg.
753: * infcmd.c (registers_info): Pass the 2nd arg.
754:
755: Wed Nov 25 15:06:55 1987 Richard Stallman (rms at frosted-flakes)
756:
757: * Bug fixes by David Johnson (ddj%[email protected]).
758:
759: * symtab.c (list_symbols): Print typedef names, and don't call
760: them `static'.
761:
762: * symmisc.c (print_symtabs): Allow immediate quit, and close the
763: output file if that happens.
764:
765: * stack.c (frame_command): Declare args `unsigned' so a negative
766: number is a frame address, not a level number.
767:
768: * source.c: Check for error-return from calls to `getwd'.
769:
770: * printcmd.c (address_info): Fix error in case of a function name.
771:
772: * inflow.c (create_inferior): Return the inferior pid properly.
773:
774: * inferior.h: Define `inferior_io_terminal'.
775: * infrun.c (tty_command): New command to specify inferior_io_terminal.
776: * inflow.c (new_tty): Open specified terminal for the inferior.
777: * inflow.c (terminal_{ours,inferior}): Do nothing if inferior was
778: started with its own terminal.
779: * main.c (main): -t switch calls `tty_command'.
780:
781: * expread.y (rule for `block'): `copy_name' was called in wrong
782: place and with wrong args.
783:
784: * dbxread.c: Entire file #ifdef READ_DBX_FORMAT.
785: * m-*.h: Define READ_DBX_FORMAT.
786:
787: * breakpoint.c (initialize): Error in doc string of `info breakpoints'.
788:
789: Wed Nov 11 12:57:28 1987 Richard Stallman (rms at frosted-flakes)
790:
791: * ns32k-opcode.h, ns32k-pinsn.c: Two new files.
792: * m-merlin.h: New file, for one 32000 box.
793:
794: Mon Nov 9 10:31:42 1987 Brian Fox (bfox at sugar-smacks)
795:
796: * eval.c (evaluate_subexp): Made the case of OP_FUNCALL use
797: evaluate_subexp_with_coercion, so that array references would
798: get converted into pointer references.
799:
800: Mon Nov 9 05:50:24 1987 Richard Stallman (rms at sugar-smacks)
801:
802: * breakpoint.c (ignore_command): Error if no arg.
803:
804: Sat Nov 7 13:57:40 1987 Richard Stallman (rms at frosted-flakes)
805:
806: * main.c (quit_command): Get rid of execfile before the kill_inferior.
807:
808: * xgdb.c: New file, interface to X windows.
809:
810: * main.c (main): Look for flag arguments before
811: calling the initialization functions. -nw switch sets
812: `inhibit_windows' which xgdb.c looks at.
813: * main.c (command_loop): Call the window hook function, if any.
814:
815: * source.c (get_filename_and_charpos): New function
816: that interfaces to find_source_lines.
817: * source.c (source_line_charpos, source_charpos_line):
818: New functions translate source line number to char pos and vice versa.
819:
820: * breakpoint.c (describe_other_breakpoints): New subroutine
821: to list all breakpoints at PC in a message about "other
822: breakpoints".
823: * breakpoint.c (break_command_1): Use describe_other_breakpoints.
824: * breakpoint.c (set_breakpoint): Like break_command_1
825: but takes arg predecoded into symtab and line.
826:
827: * core.c (exec_file_command): Call xgdb_display_exec_file.
828:
829: * valprint.c (type_print_base): For struct bitfields,
830: print the bit size.
831:
832: Thu Aug 20 02:46:47 1987 Richard M. Stallman (rms at prep)
833:
834: * Version 2.4.
835:
836: * m68k-pinsn.c (print_insn_arg): Implement place = '3'.
837:
838: * findvar.c (write_register_bytes): Arg to
839: store_inferior_registers should be -1: write all registers.
840:
841: * dbxread.c (symbol_file_command): If no arg,
842: just discard all symbols.
843:
844: * core.c (myread): Flush the 4th arg (filename).
845: * source.c (find_source_lines): Don't pass 4th arg.
846: * symmisc.c (read_symsegs): Ditto.
847:
848: * dbxread.c (process_one_symbol): One call to `define_symbol'
849: lacked 3rd arg.
850:
851: * inflow.c (write_inferior_memory): On failure, return the errno value.
852: * core.c (write_memory): ditto.
853: * breakpoint.c ({insert,remove}_breakpoints): ditto.
854: * utils.c (print_sys_errmsg): Like perror_with_name but don't
855: signal an error; also, the error code is an arg instead of from
856: `errno'.
857: * infrun.c : Save the value from insert_breakpoints and pass it to
858: print_sys_errmsg.
859:
860: * main.c (input_from_terminal_p): Put in omitted `return'.
861:
862: * Makefile (expread.o): Use $(CC).
863:
864: Sun Jun 7 04:42:51 1987 Richard M. Stallman (rms at prep)
865:
866: * version.c: Version 2.3.
867:
868: * inflow.c (terminal_ours): Save fcntl flags correctly.
869: * inflow.c (term_status_command):
870: Print the tchars and ltchars structures, byte by byte.
871:
872: Mon May 25 14:37:14 1987 Richard M. Stallman (rms at prep)
873:
874: * version.c: Version 2.2.
875:
876: * breakpoint.c (do_breakpoint_commands):
877: Advance breakpoint_commands before executing the command,
878: in case command is `cont' and it hits another bpt with commands.
879:
880: Sun May 24 20:45:04 1987 Richard M. Stallman (rms at prep)
881:
882: * value.h: Declare `contents' long and cast its address to char *.
883:
884: * expread.y (prefixify_expression): Don't call alloca among the decls.
885:
886: * printcmd.c (print_variable_value): Flush unused local `space'.
887:
888: * main.c (execute_command): Barf on "user" like other class names.
889:
890: Fri May 22 01:34:37 1987 Richard M. Stallman (rms at prep)
891:
892: * m68k-pinsn.c (fetch_arg): New arg position 'j', for movec.
893: (print_insn_arg): New arg syntax 'J', for movec.
894: * m68k-opcode.h: movec uses 'Jj'. Everything reformatted.
895: bf... and cas... insns were corrected.
896:
897: * inflow.c (create_inferior): Fork and exec with given args and env.
898: Call close_exec_file.
899: (inferior_died): Record the fact that the inferior no longer exists.
900: Call reopen_exec_file.
901:
902: * core.c (close_exec_file): New fn: Close the execchan if it's open.
903: (reopen_exec_file): New fn: Reopen execchan if not currently open.
904:
905: * infrun.c (wait_for_inferior): Call inferior_died if it exits.
906:
907: * infcmd.c (run_command): Don't fork and exec; call create_inferior.
908:
909: * findvar.c (read_var_value): For reg var in a convertable reg,
910: fetch reg in its own virtual type and then cast to variable's type.
911:
912: * symtab.h: Declare xmalloc to return char *.
913:
914: * dbxread.c (read_dbx_symtab): Record static text syms as
915: misc-functions. But if an assembler symbol supplies the address
916: for a debugger symbol, don't record it as a misc-function.
917:
918: * utils.c (query): Do clearerr (stdin) frequently in case of C-d.
919:
920: * dbxread.c (process_one_symbol, define_symbol):
921: Pass the stab's DESC down to define_symbol.
922: DESC = 0 means GCC output: if type is "short", believe it.
923:
924: * dbxread.c (read_enum_type): Don't allocate the type here;
925: take it as an argument. (Like read_struct_type.)
926: (read_type)): Before call to read_enum_type, allocate the type
927: or get the one already allocated.
928:
929: * printcmd.c (print_frame_args): Print a comma before
930: every arg except the first.
931:
932: Wed May 13 00:36:00 1987 Richard M. Stallman (rms at prep)
933:
934: * m68k-pinsn.c (convert_{to,from}_68881):
935: Hand-assemble the fmoved and fmovex insns.
936:
937: * dbxread.c (define_symbol): For case 'p', a parameter,
938: if specified type is short or char, change it to int.
939: This is for how PCC handles arguments.
940: Define new case 'P' that does what 'p' used to do.
941: Maybe GCC will use this.
942:
943: Mon May 4 21:52:44 1987 Richard M. Stallman (rms at prep)
944:
945: * main.c (main): If SET_STACK_LIMIT_HUGE, set the
946: run-time stack limit as high as it can go.
947: * m-sun3.h, m-vax.h: define SET_STACK_LIMIT_HUGE.
948:
949: Sun May 3 08:46:23 1987 Richard Mlynarik (mly at prep)
950:
951: * command.c, expread.y, findvar.c, infcmd.c, inflow.c, utils.c,
952: values.c, defs.h: Various ANSI C compatibility changes
953: ([email protected] <[email protected]>)
954:
955: * core.c, inflow.c: Fix calls to supply_register.
956: * findvar.c (supply_register): Instead of register value as int,
957: pass address of buffer in core containing contents in raw form.
958:
959: Sat Apr 18 17:09:42 1987 Richard Mlynarik (mly at prep)
960:
961: * main.c (command_loop):
962: Do any cleanups made by a executing a command each time around.
963:
964: * source.c (directory_command):
965: make_cleanup (free, dirname), not
966: make_cleanup (free_current_contents, &dirname)
967: (rlk <[email protected]>)
968:
969: Mon Apr 13 20:28:26 1987 Leonard H. Tower Jr. (tower at prep)
970:
971: * gdb.1: fixed typo and italicization errors.
972: (<kgk%[email protected]> id AA16470;Sun,12 Apr 87 14:30:07 EST)
973:
974: Sat Apr 11 15:41:01 1987 Richard Mlynarik (mly at prep)
975:
976: * dbxread.c (read_dbx_symtab):
977: No name for symbol => "" not 0 (avoid referencing memory 0)
978: (tower <[email protected]>)
979:
980: Mon Mar 30 22:24:07 1987 Leonard H. Tower Jr. (tower at prep)
981:
982: * gdb.1: Unix style manual page pointing at internal gdb
983: documentation, and info sub-system in GNU Emacs.
984:
985: Fri Mar 20 12:07:15 1987 Richard M. Stallman (rms at prep)
986:
987: * COPYING: Clarifications about distribution fees and mixing.
988: * main.c (copying_info): Same changes.
989:
990: Tue Mar 17 17:40:14 1987 Richard M. Stallman (rms at prep)
991:
992: * values.c (unpack_field_as_long): Avoid >>= operator
993: since ISI compiler has a bug.
994:
995: Sat Mar 7 12:19:35 1987 Richard M. Stallman (rms at prep)
996:
997: * GDB version 2.1.
998:
999: * values.c (unpack-field-as-long): Tests for endianness were broken.
1000: * findvar.c (read_var_value):
1001: Now we initialize the union as an int and test it as a char.
1002:
1003: Sun Mar 1 16:16:20 1987 Richard M. Stallman (rms at prep)
1004:
1005: * main.c (define_command): Command class symbols
1006: must be cast to int.
1007:
1008: Mon Feb 23 02:47:44 1987 Richard M. Stallman (rms at prep)
1009:
1010: * source.c (list_command): Reword error messages.
1011: New message for case of first arg not just a line-number
1012: and no symtab specified by it.
1013:
1014: Sun Feb 22 21:15:19 1987 Richard M. Stallman (rms at prep)
1015:
1016: * dbxread.c (compare_misc_functions):
1017: Compare the addresses as unsigned numbers.
1018:
1019: Sun Feb 22 13:11:45 1987 Richard Mlynarik (mly at prep)
1020:
1021: * main.c (define_command, document_command):
1022: Stuff was being unnecessarily malloced (-and- not freed!)
1023:
1024: * main.c (execute_command):
1025: User-defined commands don't take args.
1026: Don't confuse empty user command with no command.
1027: Replace bogus `etext' test with a comparison against
1028: class_user.
1029:
1030: * main.c (define_command):
1031: If the command of the specified name is built-in, note that when
1032: asking whether to redefine it (this is suppressed for class_alias
1033: -- should it not be?)
1034:
1035: * main.c (define_command):
1036: If command was previously built-in, don't preserve its
1037: documentation (otherwise could get error later when trying to free
1038: the non-malloced text of built-in documentation strings)
1039:
1040: Tue Feb 17 16:23:57 1987 Richard Mlynarik (mly at prep)
1041:
1042: * main.c (echo_command): Don't die if not given any arg.
1043: * main.c (cd_command): Echo new cwd if interactive.
1044:
1045: Thu Feb 12 11:22:56 1987 Richard M. Stallman (rms at prep)
1046:
1047: * stack.c (initialize): "bt" now appears in help aliases.
1048:
1049: * Version 2.0 released.
1050:
1051: Wed Feb 11 17:45:45 1987 Richard M. Stallman (rms at prep)
1052:
1053: * m68k-opcode.h: Errors corrected in several instructions
1054: and reordering done for assembler's sake.
1055:
1056: * m-vax.h (POP_FRAME): End with call to set_current_frame.
1057:
1058: Tue Feb 10 15:06:07 1987 Richard M. Stallman (rms at prep)
1059:
1060: * infrun.c (wait_for_inferior): Set stop_print_frame to 1
1061: after checking breakpoint condition.
1062:
1063: * infcmd.c (run_stack_dummy): Save many flags.
1064:
1065: Thu Feb 5 07:12:20 1987 Richard Mlynarik (mly at prep)
1066:
1067: * source.c (directory_command):
1068: Step over `:'
1069:
1070: Mon Feb 2 23:40:32 1987 Richard M. Stallman (rms at prep)
1071:
1072: * infcmd.c (set_environment_command): Fix stupid error
1073: for case where no "=" appears in the string.
1074:
1075: Mon Jan 26 13:46:52 1987 Richard M. Stallman (rms at prep)
1076:
1077: * printcmd.c (print_frame_args): Round end-of-arg offset
1078: up rather than down to multiple of int.
1079:
1080: Fri Jan 23 15:11:50 1987 Richard M. Stallman (rms at prep)
1081:
1082: * source.c (directory_command): If dir is not added cause already
1083: present, print explanation.
1084:
1085: * infrun.c (proceed): Use read_pc (), not stop_pc,
1086: to get current pc to think about. stop_pc could have been
1087: clobbered by call_function.
1088:
1089: Fri Jan 23 15:00:55 1987 Richard Mlynarik (mly at prep)
1090:
1091: * source.c (directory_command):
1092: If dir is already in source_path, don't append another copy of it.
1093:
1094: Thu Jan 22 00:31:03 1987 Richard M. Stallman (rms at prep)
1095:
1096: * Version 2.0.
1097:
1098: * blockframe.c (get_pc_function_start):
1099: Understand misc functions.
1100:
1101: * core.c (core_file_command):
1102: Copy all register contents into the array `registers'
1103: Save a.out header of executable file in core_aouthdr.
1104: Print name of executable file that was running, if we know
1105: where to find it.
1106:
1107: * core.c (exec_file_command):
1108: Save a.out header in exec_aouthdr and file's mtime
1109: in exec_mtime.
1110:
1111: * core.c (validate_files): Check that core file's a.out hdr
1112: matches exec file's.
1113:
1114: * New handling of registers:
1115: Now all registers are fetched once when the program stops or
1116: when a core file is selected. Their contents are kept in
1117: `registers', an array of bytes. This is done by
1118: `fetch_inferior_registers'. `read_register', etc., just look
1119: there. Writing a register works through
1120: `store_inferior_registers' which writes one or all registers
1121: from `registers' back to the inferior.
1122:
1123: A register now can have a "raw" data format and a "virtual"
1124: data format, which may require conversion or even be different sizes.
1125: The conversion can be different for different registers.
1126: For example, the 68000 cpu registers need no conversion
1127: and both raw and virtual size is 4, but the 68881 floating point
1128: registers have raw size 12 (for extended fmt) and virtual size 8
1129: (for double). Macros in the m- file such as REGISTER_BYTES,
1130: REGISTER_BYTE, REGISTER_{RAW,VIRTUAL}_SIZE, and
1131: REGISTER_CONVERT_TO_{RAW,VIRTUAL} control these things.
1132:
1133: `read_register' and `write_register' are usable only on registers
1134: which hold an int and need no conversion (raw fmt = virtual fmt).
1135: For other registers, `read_register_bytes' is used, or
1136: `read_relative_register_raw_bytes'.
1137:
1138: * m-sun3.h: Define the 68881 fp registers.
1139: Know how to recognize insns that save them.
1140: Make dummy frames save them.
1141:
1142: * core.c (read_register, write_registers): Functions deleted.
1143: * findvar.c (read_register, write_registers): New functions,
1144: not the same as the old ones of the same name.
1145:
1146: * findvar.c (supply_register): Function used by
1147: fetch_inferior_registers, etc., to install the register
1148: values fetched from the inferior.
1149:
1150: * findvar.c (read_register_bytes, write_register_bytes):
1151: Read spec'd number of bytes from the byte-array `registers'.
1152:
1153: * findvar.c (read_relative_register_raw_bytes):
1154: Replaces old function `read_relative_register'; accepts
1155: address of where to store the contents; # bytes stored is size
1156: of the specified register in raw format.
1157:
1158: * findvar.c (value_of_register, read_var_value):
1159: Convert register values and values of register variables
1160: from raw format to virtual format.
1161:
1162: * findvar.c (locate_var_value): Like `read_var_value' but
1163: returns value for variable's address.
1164:
1165: * value.h: Add new field VALUE_REGNO to each value. It holds
1166: register number to control virtual-to-raw conversion
1167: for assignments to the value.
1168:
1169: * valops.c (value_assign): Convert data from virtual to raw format
1170: if value came from a register variable.
1171: Use read_register_bytes and write_register_bytes.
1172:
1173:
1174: * infcmd.c (continue_command): Subtract 1 from arg
1175: before setting breakpoint's ignore-count.
1176:
1177: * infcmd.c (jump_command): Query if spec'd line is outside
1178: of the current function.
1179:
1180: * infcmd.c (finish_command): Now finish the selected frame,
1181: and no arg required.
1182:
1183: * infcmd.c (set_environment_command): Allow space to separate
1184: varname and value.
1185:
1186: * infcmd.c (registers_info): Print both raw and virtual data
1187: format if they differ. Allow register name as arg.
1188: Ask for a Newline each 16 registers.
1189:
1190: * inflow.c (kill_inferior): call mark_breakpoints_out.
1191: * inflow.c ({fetch,store}_inferior_registers for Sun):
1192: Get the fp registers and store them in right places in
1193: `registers'.
1194: * inflow.c ({read,write}_inferior_register): Deleted.
1195:
1196: * infrun.c (wait_for_inferior): Single-stepping is not considered
1197: to have hit a breakpoint unless the pc before the step matches the
1198: address of the breakpoint. Necessary on machines where
1199: breakpoints leave the pc incremented.
1200:
1201: If shell gets SIGSEGV, pass the signal silently to it.
1202:
1203: * m68k-pinsn.c, m68k-opcode.h:
1204: Add the 68881 instructions. New operand codes `F', `I', `s'
1205: and `k' are needed for them. New place codes `78tcik'.
1206: NEXTBYTE now skips a word but fetches just a byte.
1207: Explicit sign-extension removed from NEXTBYTE and NEXTWORD.
1208: NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND and NEXTPACKED defined.
1209: Various changes to implement the new operand and place codes.
1210: print_index changed because displacement-size codes for
1211: word and long displacement were interchanged.
1212:
1213: * m68k-pinsn.c (convert_{from,to}_68881): Functions added
1214: to support REGISTER_CONVERT_TO_{RAW,VIRTUAL} on 68000.
1215:
1216: * main.c (main): Move around calls to setjmp.
1217: * main.c (define_command, document_command):
1218: Accept a from_tty argument instead of calling input_from_terminal_p.
1219:
1220: * printcmd.c (address_info): Print info on class and address
1221: of a specified symbol. For register symbols, gives name of register.
1222:
1223: * printcmd.c (print_command): Remember explicitly whether
1224: `make_cleanup' was called.
1225:
1226: * printcmd.c (print_frame_args): Know how arg-addresses vary with
1227: data type on big-endian machines.
1228:
1229: * source.c (directory_command): Detect `:' in arg and reject it.
1230: Free the old directory-path. Simplify things like `/.' in
1231: dirname.
1232:
1233: * source.c (openp): Simplify `./' in specified name.
1234:
1235: * source.c (find_source_lines): Compare source mtime against
1236: `exec_mtime' and warn if source is newer.
1237:
1238: * source.c (line_info): No arg means use last line listed
1239: or line following last one this command was used on.
1240: If from tty, clear out argument so Return is like `i li' without
1241: arg.
1242:
1243: * stack.c (frame_info): Print addresses registers are saved at.
1244:
1245: * stack.c (return_command): When asking for confirmation, give
1246: name of function that will be made to return.
1247:
1248: * valops.c (call_function): If function type is
1249: pointer-to-function, dereference it to compute return type.
1250: If pointer-to-object, assume function returns int.
1251: If char, assume that the value's address is the function address
1252: (because it's a misc functon). If int, the value itself is the
1253: function address.
1254:
1255: * dbxread.c (compare_symbols): Sort register symbols
1256: before all others.
1257:
1258: * eval.c (evaluate_subexp_for_address): New function like
1259: `evaluate_subexp' but returns a value for the address where
1260: the subexpression's value would be located.
1261:
1262: * eval.c (evaluate_subexp_for_sizeof): New function like
1263: `evaluate_subexp' but returns a value for the size of the subexp.
1264:
1265: * eval.c (evaluate_subexp_with_coercion): Like `evaluate_subexp'
1266: but coerces arrays to pointers (without taking the time to
1267: read the array contents).
1268:
1269: * eval.c (evaluate_subexp): Use the three new functions above
1270: when appropriate instead of calling self recursively.
1271:
1272: Wed Jan 14 17:00:03 1987 Richard Mlynarik (mly at prep)
1273:
1274: * core.c (core_file_command):
1275: Use correct file in calls to perror_with_name
1276:
1277: Mon Jan 12 03:34:35 1987 Richard Mlynarik (mly at prep)
1278:
1279: * breakpoint.c (map_breakpoint_numbers):
1280: Err if no args not supplied, otherwise would get mpv.
1281:
1282: * main.c (main):
1283: Command-line arg "-d dir" adds dir to source-file directory
1284: search-list.
1285:
1286: Sun Jan 11 19:19:52 1987 Richard Mlynarik (mly at prep)
1287:
1288: * symmisc.c (free_all_symtabs):
1289: Don't call free on 0.
1290:
1291: * core.c (exec_file_command):
1292: Use correct name in call to perror_with_name.
1293: Record absolute pathname.
1294: Don't savestring an arg to concat.
1295:
1296: * dbxread.c (symbol_file_command):
1297: Record absolute name of pathname opened.
1298: Print a message if file doesn't have a symbol-table.
1299: Don't savestring an arg to concat.
1300:
1301: * source.c (openp):
1302: Add new arg filename_opened, which if non-zero will be set to a
1303: malloced string of the absolute name of the actual filename opened.
1304:
1305: * breakpoint.c (clear_command):
1306: If from_tty or cleared more than one breakpoint at location,
1307: print which bpts were deleted.
1308:
1309: * breakpoint.c (break_command_1, break_command, tbreak_command):
1310: If from_tty, mention any other breakpoints set at same location.
1311:
1312: * symtab.c (decode_line_1):
1313: If no symtabs, err mentioning `symbol-file' command rather than
1314: saying "function foo not defined"
1315:
1316: Fri Jan 9 01:25:19 1987 Richard Mlynarik (mly at prep)
1317:
1318: * main.c (set_prompt_command):
1319: Add support command "set-prompt"
1320:
1321: * printcmd.c (undisplay_command):
1322: Fix paren error to make "undisplay <number>" work.
1323:
1324: Wed Jan 7 12:06:09 1987 Richard Mlynarik (mly at prep)
1325:
1326: * main.c (print_gdb_version, gdb_version_info):
1327: Add command "info version" to report the version
1328: of gdb for use in bug reports.
1329:
1330: * infcmd.c:
1331: Ensure inferior_args always points to string starting with a space
1332: and is never 0.
1333:
1334: * printcmd.c: (clear_displays, undisplay_command):
1335: Fix bug in clear_displays which led to looping.
1336: Make undisplay_command call it instead of wrong-looking code which
1337: looked at (display->number == 0) instead of (display == 0) to
1338: determine if it were at the end of the chain.
1339:
1340: Mon Dec 15 20:57:06 1986 Richard M. Stallman (rms at prep)
1341:
1342: * utils.c (query): Don't ignore a second line if given a null line.
1343:
1344: * infrun.c (normal_stop): Print "bug in shell" message
1345: only for a segmentation fault.
1346:
1347: * main.c (main): Read init file from home directory if any,
1348: before init file from current directory.
1349:
1350: Thu Dec 4 09:05:35 1986 Richard M. Stallman (rms at prep)
1351:
1352: * source.c (select_source_symtab): Don't ref thru arg if null.
1353:
1354: * m68k.opcode.h: For trap instruction code, use type T.
1355: * m68k-pinsn.c (print_insn_arg): Recognize new arg-code T
1356: and print the trap vector properly.
1357:
1358: * m-sun[23].h (FRAME_FIND_SAVED_REGS): Recognize a movl REG,-(sp)
1359: as a way to save one register. Recognize clrw -(sp); movw -(sp)
1360: after saving regs as a way to save the PS register. Adjust the
1361: way to find the starting pc of a stack dummy frame for the fact
1362: that these frames now save the PS.
1363:
1364: * m-sun[23].h (POP_FRAME): Restore PS register if frame saved it.
1365:
1366: * m-sun[23].h (PUSH_DUMMY_FRAME): Push the old PS register.
1367:
1368: * m-sun[23].h (CALL_DUMMY, etc.): Fix erroneous binary code for
1369: the addl #nnn,sp instruction. Insert clrw -(sp); movw -(sp)
1370: to indicate that the PS has been saved.
1371:
1372: * infrun.c (wait_for_inferior): If inferior exits, call
1373: mark_breakpoints_out so it works to delete breakpoints afterward.
1374:
1375: * infrun.c (normal_stop): After popping a stack dummy frame,
1376: select the frame that we get to.
1377:
1378: * dbxread.c (process_one_symbol): Store new `depth' field
1379: in all context_stack elements created. For N_RBRAC, test
1380: that depth matches that in the context_stack; if not, error.
1381:
1382: * dbxread.c (all callers of error): Make all error messages
1383: start "Invalid symbol data: " and end with value of symnum.
1384: Also change a few aborts to errors.
1385:
1386: Mon Dec 1 20:20:37 1986 Richard M. Stallman (rms at prep)
1387:
1388: * version.c: Version 1.11.
1389:
1390: * breakpoint.c (condition_command): If no condition spec'd,
1391: print "breakpoint N now unconditional".
1392:
1393: * breakpoint.c (commands_command): Give different error messages
1394: for cases of args not containing a breakpoint number
1395: and args containing anything after the breakpoint number.
1396:
1397: * commands.c (lookup_command): Don't store a zero in *p
1398: if have an undefined subcommand that is not an error.
1399:
1400: * commands.c (lookup_command): For recursive call,
1401: pass subcommand list properly. Was passing the address
1402: of the word containing the list.
1403:
1404: * core.c ({core,exec}_file_name): If no arg, tell user
1405: what the effect is.
1406:
1407: * dbxread.c (define_symbol): Accept class code 'v'
1408: for static variable within a function.
1409:
1410: * dbxread.c (read_type): Now allow any plain number or
1411: pair of numbers in parens, with no code letter. This means
1412: define new type same as type with specified number, or define
1413: it as void if specified number's type is not yet mentioned.
1414:
1415: * m68k-pinsn.c (print_insn_arg): Case of general operand
1416: in byte insn that happened to be immediate used wrong arg-size.
1417:
1418: * printcmd.c (set_next_address): Set next_address from arg
1419: and also set value of `$_' from it.
1420:
1421: * printcmd.c (do_examine): Save address in last_examine_address
1422: and value fetched to examine in last_examine_value.
1423:
1424: * printcmd.c (x_command): Copy last_examine_{address,value}
1425: into values of `$_' and `$__'. Change `x' documentation string.
1426:
1427: * source.c (directory_command): Query when no args now says
1428: what new value it wants use for the path.
1429:
1430: * source.c (list_command): Don't die in cases like `list ,+30'.
1431:
1432: * source.c (line_info): Call `set_next_address' to make `x'
1433: display the text of the line. Change `info list' doc string.
1434:
1435: Sat Nov 29 07:59:29 1986 Richard M. Stallman (rms at prep)
1436:
1437: * printcmd.c (undisplay_command): If get no arg,
1438: rather than crashing, query and then delete undisplay everything.
1439:
1440: Fri Nov 28 15:43:52 1986 Richard M. Stallman (rms at prep)
1441:
1442: * dbxread.c (process_one_symbol): If N_LBRAC sym
1443: has a greater value that N_RBRAC, ignore the
1444: N_LBRAC value and give the block zero length.
1445:
1446: Tue Nov 25 03:10:12 1986 Richard M. Stallman (rms at prep)
1447:
1448: * dbxread.c (process_one_symbol): Ignore N_NSYMS symbols
1449: that appear in Ultrix.
1450:
1451: Sat Nov 22 22:49:06 1986 Richard M. Stallman (rms at prep)
1452:
1453: * version.c: version 1.10.
1454:
1455: * valprint.c (type_print*):
1456: SHOW < 0 now means abbreviate struct/union members
1457: or enum values with `...'. SHOW now decremented on
1458: each recursion in type_print_base. Several places
1459: that used to check !show now check show <= 0.
1460:
1461: * valprint.c (val_print): Pass -1 for SHOW to type_print
1462: when printing typename inside parens or braces.
1463:
1464: * printcmd.c (print_command): If no value specified to print,
1465: print the value of $.
1466:
1467: * expression.h, expread.y, eval.c, expprint.c:
1468: OP_MEMVAL renamed UNOP_MEMVAL
1469: and now allows any expression, not just an integer address.
1470: It now has same format as UNOP_CAST and works almost like it.
1471: Each place that referred to it has been rewritten
1472: starting with a copy of the code that handles UNOP_CAST.
1473: Doc for `print' command changed for this.
1474:
1475: * source.c (init_source_path):
1476: Free and zero out any line_charpos's saved in source symtabs.
1477:
1478: * breakpoint.c (condition_command):
1479: Parse the condition in the environment of the code where the
1480: breakpoint is set. This requires finding the breakpoint
1481: before parsing, so code is rearranged.
1482:
1483: * dbxread.c (dbx_alloc_type):
1484: New function given typenums returns the type for those typenums
1485: or allocates a new, empty type for those typenums and returns it.
1486:
1487: * symtab.c (smash_type_to_{pointer,function}):
1488: New functions modify an already-allocated type object
1489: to be a pointer to or function returning some given type.
1490:
1491: * dbxread.c (read_type): Uses dbx_alloc_type in many cases.
1492: Reading a pointer or function type now works by doing that,
1493: then reading the value type or type pointed to, then smashing
1494: it into the type already allocated. This makes some fwd refs win.
1495: Likewise for structs and unions.
1496:
1497: * dbxread.c (read_struct_type): Now receives the type object
1498: as args. Used to get typenums as args and look up the type
1499: itself.
1500:
1501: * dbxread.c (symbol_file_command):
1502: At very end, clear out any type name that `char *' has received.
1503:
1504: Thu Nov 20 16:43:53 1986 Richard M. Stallman (rms at prep)
1505:
1506: * m-sun2.h, m-sun3.h (FIND_FRAME_SAVED_REGS):
1507: Was incrementing address even for regs not saved.
1508:
1509: Sun Nov 16 14:59:07 1986 Richard M. Stallman (rms at prep)
1510:
1511: * values.c (value_field): Was adding in byte offset
1512: before calling unpack_field_as_long, which itself
1513: adds in the offset. Now pass addr of start of structure.
1514:
1515: * infrun.c (normal_stop): Clean up inferior_pid conditionals:
1516: just return early if no inferior.
1517:
1518: Thu Nov 13 15:45:50 1986 Richard M. Stallman (rms at prep)
1519:
1520: * dbxread.c (struct header_file): add new field .instance
1521: to distinguish the various entries for one header file.
1522:
1523: * dbxread.c (process_one_symbol): Use the `value' of
1524: a N_BINCL or N_EXCL as the instance code for the header file.
1525:
1526: * dbxread.c (add_{new,old}_header_file):
1527: Accept an instance code as arg and treat it as if it were
1528: part of the file name for distinguishing and finding entries.
1529:
1530: * dbxread.c (add_new_header_file, read_type):
1531: Turn off the header_file_prev_index feature with #if 0.
1532:
1533: * values.c (unpack_field_as_long, modify_field):
1534: Run-time test to distinguish big and little endian machines
1535: and do shifting accordingly.
1536:
1537: Tue Nov 11 00:31:18 1986 Richard M. Stallman (rms at prep)
1538:
1539: * version.c: version 1.9.
1540:
1541: * breakpoint.c (delete_command):
1542: Don't query if 2nd arg is zero.
1543:
1544: * breakpoint.c (clear_breakpoints):
1545: Pass 2nd arg of zero to delete_command.
1546:
1547: Sat Nov 8 23:29:19 1986 Richard M. Stallman (rms at prep)
1548:
1549: * breakpoint.c (delete_command):
1550: Ask for confirmation when used with no arg (delete all).
1551:
1552: Fri Nov 7 11:23:09 1986 Richard M. Stallman (rms at prep)
1553:
1554: * infrun.c (start_inferior, wait_for_inferior):
1555: Eliminate `stop_in_shell' which was not being maintained right.
1556: New variable `running_in_shell' is set to 1 or 0 when the
1557: expected SIGTRAPs happen, and is simply examined at other times.
1558:
1559: * infrun.c (wait_for_inferior):
1560: If get SIGSEGV with running_in_shell == 1, it is sh
1561: allocating memory. Pass the signal silently to the shell.
1562:
1563: * core.c (exec_file_command):
1564: data_{start,end} are adjusted unconditionally when an
1565: exec file is opened, so closing counter-adjustment is
1566: now unconditional as well.
1567:
1568: * printcmd.c (x_command):
1569: Don't erase the expression from the calling args
1570: if cllaed noninteractively (used to be clobbering
1571: definitions of user-defined commands).
1572:
1573: * source.c (list_command): likewise.
1574:
1575: Wed Nov 5 09:41:00 1986 Richard M. Stallman (rms at prep)
1576:
1577: * Makefile: New variable OBSTACK1 that people can use
1578: to make obstack.o a dependency of gdb.
1579:
1580: * breakpoint.c (initialize):
1581: Define new aliases "br", "bre" and "brea" for "break".
1582:
1583: Sun Nov 2 21:16:06 1986 Richard Mlynarik (mly at prep)
1584:
1585: * symmisc.c (read_symsegs):
1586: Add an extra protection against invalid symbol-file
1587:
1588: * m-vax.h:
1589: Set KERNEL_U_ADDR and STACK_END_ADDR non-4.2-specifically
1590:
1591: Tue Oct 21 13:34:14 1986 Richard Mlynarik (mly at prep)
1592:
1593: * breakpoints.c (initialize):
1594: Delet reference to non-existent command "tenable" from doc of "enable"
1595:
1596: Tue Oct 14 19:58:27 1986 Richard Mlynarik (mly at prep)
1597:
1598: * printcmd.c (display_command, undisplay_command):
1599: * infcmd.c (run_command):
1600: Call dont_repeat.
1601:
1602:
1603: Local Variables:
1604: mode: indented-text
1605: eval: (auto-fill-mode 1)
1606: left-margin: 8
1607: fill-column: 74
1608: version-control: never
1609: End:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.