7a67dd45 |
1 | Thu Feb 8 01:11:55 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
2 | |
3 | * GDB 3.5 released. |
4 | |
5 | * version.c: Change version number to 3.5 |
6 | |
7 | Tue Feb 6 15:58:06 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
8 | |
9 | * m-hp9k320.h: define ATTACH_DETACH. |
10 | hp9k320-dep.c [ATTACH_DETACH]: New code. |
11 | |
12 | Thu Feb 1 17:43:00 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
13 | |
14 | * valprint.c (is_nan, val_print): Use char * not void *. |
15 | |
16 | * symmisc.c (print_symbol): Print newline after label. |
17 | |
18 | Tue Jan 30 15:35:52 1990 Jim Kingdon (kingdon at albert.ai.mit.edu) |
19 | |
20 | * Makefile.dist (READLINE): Add {readline,history}.texinfo. |
21 | |
22 | * m-merlin.h: Put in clarifying comments about SHELL_FILE. |
23 | config.gdb (merlin): Explain about /usr/local/lib/gdb-sh. |
24 | |
25 | Sat Jan 27 02:30:27 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
26 | |
27 | * version.c: Change version number to 3.5alpha.1. |
28 | |
29 | * dbxread.c (process_one_symbol): Compare context_stack_depth |
30 | with !VARIABLES_INSIDE_BLOCK, not VARIABLES_INSIDE_BLOCK. |
31 | |
32 | Fri Jan 26 01:21:51 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
33 | |
34 | * main.c [ALIGN_STACK_ON_STARTUP]: New code. |
35 | m-i386.h: Define ALIGN_STACK_ON_STARTUP. |
36 | |
37 | * m-merlin.h (NO_SIGINTERRUPT, SHELL_FILE): Define. |
38 | |
39 | * umax-dep.c (exec_file_command): Add commas to call to |
40 | read_section_hdr. |
41 | |
42 | Tue Jan 23 15:49:47 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) |
43 | |
44 | * dbxread.c (define_symbol): Deal with deftype 'X'. |
45 | |
46 | * convex-dep.c (wait): Make it pid_t. |
47 | |
48 | * convex-dep.c (comm_registers_info): accept decimal comm register |
49 | specification, as "i comm 32768". |
50 | |
51 | * dbxread.c (process_one_symbol): Make VARIABLES_INSIDE_BLOCK |
52 | macro say by itself where variables are. Pass it desc. |
53 | m-convex.h (VARIABLES_INSIDE_BLOCK): Nonzero for native compiler. |
54 | |
55 | * m-convex.h (SET_STACK_LIMIT_HUGE): Define. |
56 | (IGNORE_SYMBOL): Take out #ifdef N_MONPT and put in 0xc4. |
57 | |
58 | Fri Jan 19 20:04:15 1990 Jim Kingdon (kingdon at albert.ai.mit.edu) |
59 | |
60 | * printcmd.c (print_frame_args): Always set highest_offset to |
61 | current_offset when former is -1. |
62 | |
63 | * dbxread.c (read_struct_type): Print nice error message |
64 | when encountering multiple inheritance. |
65 | |
66 | Thu Jan 18 13:43:30 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) |
67 | |
68 | * dbxread.c (read_dbx_symtab): Always treat N_FN as a potential |
69 | source for a x.o or -lx symbol, ignoring OFILE_FN_FLAGGED. |
70 | |
71 | * printcmd.c (print_frame_args): Cast -1 to (CORE_ADDR). |
72 | |
73 | * hp300bsd-dep.c (_initialize_hp300_dep): Get kernel_u_addr. |
74 | m-hp300bsd.h (KERNEL_U_ADDR): Use kernel_u_addr. |
75 | |
76 | * infcmd.c (run_command): #if 0 out call to |
77 | breakpoint_clear_ignore_counts. |
78 | |
79 | Thu Jan 11 12:58:12 1990 Jim Kingdon (kingdon at mole) |
80 | |
81 | * printcmd.c (print_frame_args) [STRUCT_ARG_SYM_GARBAGE]: |
82 | Try looking up name of var before giving up & printing '?'. |
83 | |
84 | Wed Jan 10 14:00:14 1990 Jim Kingdon (kingdon at pogo) |
85 | |
86 | * many files: Move stdio.h before param.h. |
87 | |
88 | * sun3-dep.c (store_inferior_registers): Only try to write FP |
89 | regs #ifdef FP0_REGNUM. |
90 | |
91 | Mon Jan 8 17:56:15 1990 Jim Kingdon (kingdon at pogo) |
92 | |
93 | * symtab.c: #if 0 out "info methods" code. |
94 | |
95 | Sat Jan 6 12:33:04 1990 Jim Kingdon (kingdon at pogo) |
96 | |
97 | * dbxread.c (read_struct_type): Set TYPE_NFN_FIELDS_TOTAL |
98 | from all baseclasses; remove vestigial variable baseclass. |
99 | |
100 | * findvar.c (read_var_value): Check REG_STRUCT_HAS_ADDR. |
101 | printcmd.c (print_frame_args): Check STRUCT_ARG_SYM_GARBAGE. |
102 | m-sparc.h: Define REG_STRUCT_HAS_ADDR and STRUCT_ARG_SYM_GARBAGE. |
103 | |
104 | * blockframe.c (get_frame_block): Subtract one from pc if not |
105 | innermost frame. |
106 | |
107 | Fri Dec 29 15:26:33 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
108 | |
109 | * printcmd.c (print_frame_args): check highest_offset != -1, not i. |
110 | |
111 | Thu Dec 28 16:21:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
112 | |
113 | * valops.c (value_struct_elt): Clean up error msg. |
114 | |
115 | * breakpoint.c (describe_other_breakpoints): |
116 | Delete extra space before "also set at" and add period at end. |
117 | |
118 | Tue Dec 19 10:28:42 1989 Jim Kingdon (kingdon at pogo) |
119 | |
120 | * source.c (print_source_lines): Tell user which line number |
121 | was out of range when printing error message. |
122 | |
123 | Sun Dec 17 14:14:09 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
124 | |
125 | * blockframe.c (find_pc_partial_function): Use |
126 | BLOCK_START (SYMBOL_BLOCK_VALUE (f)) instead of |
127 | SYMBOL_VALUE (f) to get start of function. |
128 | |
129 | * dbxread.c: Make xxmalloc just a #define for xmalloc. |
130 | |
131 | Thu Dec 14 16:13:16 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
132 | |
133 | * m68k-opcode.h (fseq & following fp instructions): |
134 | Change @ to $. |
135 | |
136 | Fri Dec 8 19:06:44 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
137 | |
138 | * breakpoint.c (breakpoint_clear_ignore_counts): New function. |
139 | infcmd.c (run_command): Call it. |
140 | |
141 | Wed Dec 6 15:03:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
142 | |
143 | * valprint.c: Change it so "array-max 0" means there is |
144 | no limit. |
145 | |
146 | * expread.y (yylex): Change error message "invalid token in |
147 | expression" to "invalid character '%c' in expression". |
148 | |
149 | Mon Dec 4 16:12:54 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
150 | |
151 | * blockframe.c (find_pc_partial_function): Always return 1 |
152 | for success, 0 for failure, and set *NAME and *ADDRESS to |
153 | match the return value. |
154 | |
155 | * dbxread.c (symbol_file_command): Use perror_with_name on |
156 | error from stat. |
157 | (psymtab_to_symtab, add_file_command), |
158 | core.c (validate_files), source.c (find_source_lines), |
159 | default-dep.c (exec_file_command): Check for errors from stat, |
160 | fstat, and myread. |
161 | |
162 | Fri Dec 1 05:16:42 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
163 | |
164 | * valops.c (check_field): When following pointers, just get |
165 | their types; don't call value_ind. |
166 | |
167 | Thu Nov 30 14:45:29 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
168 | |
169 | * config.gdb (pyr): New machine. |
170 | core.c [REG_STACK_SEGMENT]: New code. |
171 | dbxread.c (process_one_symbol): Cast return from copy_pending |
172 | to long before casting to enum namespace. |
173 | infrun.c: Split registers_info into DO_REGISTERS_INFO |
174 | and registers_info. |
175 | m-pyr.h, pyr-{dep.c,opcode.h,pinsn.c}: New files. |
176 | |
177 | * hp300bsd-dep.c: Stay in sync with default-dep.c. |
178 | |
179 | * m-hp300bsd.h (IN_SIGTRAMP): Define. |
180 | |
181 | Mon Nov 27 23:48:21 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
182 | |
183 | * m-sparc.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): |
184 | Return floating point values in %f0. |
185 | |
186 | Tue Nov 21 00:34:46 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
187 | |
188 | * dbxread.c (read_type): #if 0 out code which skips to |
189 | comma following x-ref. |
190 | |
191 | Sat Nov 18 20:10:54 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
192 | |
193 | * valprint.c (val_print): Undo changes of Nov 11 & 16. |
194 | (print_string): Add parameter force_ellipses. |
195 | (val_print): Pass force_ellipses true when we stop fetching string |
196 | before we get to the end, else pass false. |
197 | |
198 | Thu Nov 16 11:59:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
199 | |
200 | * infrun.c (restore_inferior_status): Don't try to restore |
201 | selected frame if the inferior no longer exists. |
202 | |
203 | * valprint.c (val_print): Rewrite string printing code not to |
204 | call print_string. |
205 | |
206 | * Makefile.dist (clean): Remove xgdb and xgdb.o. |
207 | |
208 | Tue Nov 14 12:41:47 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
209 | |
210 | * Makefile.dist (XGDB, bindir, xbindir, install, all): New stuff. |
211 | |
212 | Sat Nov 11 15:29:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
213 | |
214 | * valprint.c (val_print): chars_to_get: New variable. |
215 | |
216 | Thu Nov 9 12:31:47 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
217 | |
218 | * main.c (main): Process "-help" as a switch that doesn't |
219 | take an argument. |
220 | |
221 | Wed Nov 8 13:07:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
222 | |
223 | * Makefile.dist (gdb.tar.Z): Add "else true". |
224 | |
225 | Tue Nov 7 12:25:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
226 | |
227 | * infrun.c (restore_inferior_status): Don't dereference fid if NULL. |
228 | |
229 | * config.gdb (sun3, sun4): Accept "sun3" and "sun4". |
230 | |
231 | Mon Nov 6 09:49:23 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
232 | |
233 | * Makefile.dist (Makefile): Move comments after commands. |
234 | |
235 | * *-dep.c [READ_COFF_SYMTAB]: Pass optional header size to |
236 | read_section_hdr(). |
237 | |
238 | * inflow.c: Include <fcntl.h> regardless of USG. |
239 | |
240 | * coffread.c (read_section_hdr): Add optional_header_size. |
241 | (symbol_file_command): Pass optional header size to |
242 | read_section_hdr(). |
243 | (read_coff_symtab): Initialize filestring. |
244 | |
245 | * version.c: Change version to 3.4.xxx. |
246 | |
247 | * GDB 3.4 released. |
248 | |
1c997a4a |
249 | Sun Nov 5 11:39:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
250 | |
7a67dd45 |
251 | * version.c: Change version to 3.4. |
1c997a4a |
252 | |
253 | * symtab.c (decode_line_1): Only skip past "struct" if it |
254 | is there. |
255 | |
256 | * valops.c (value_ind), eval.c (evaluate_subexp, case UNOP_IND): |
257 | Have "*" <int-valued-exp> return an int, not a LONGEST. |
258 | |
259 | * utils.c (fprintf_filtered): Pass arg{4,5,6} to sprintf. |
260 | |
261 | * printcmd.c (x_command): Use variable itself rather |
262 | than treating it as a pointer only if it is a function. |
263 | (See comment "this makes x/i main work"). |
264 | |
265 | * coffread.c (symbol_file_command): Use error for |
266 | "%s does not have a symbol-table.\n". |
267 | |
268 | Wed Nov 1 19:56:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
269 | |
270 | * dbxread.c [BELIEVE_PCC_PROMOTION_TYPE]: New code. |
271 | m-sparc.h: Define BELIEVE_PCC_PROMOTION_TYPE. |
272 | |
273 | Thu Oct 26 12:45:00 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
274 | |
275 | * infrun.c: Include <sys/dir.h>. |
276 | |
277 | * dbxread.c (read_dbx_symtab, case N_LSYM, case 'T'): |
278 | Check for enum types and put constants in psymtab. |
279 | |
280 | Mon Oct 23 15:02:25 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
281 | |
282 | * dbxread.c (define_symbol, read_dbx_symtab): Handle enum |
283 | constants (e.g. "b:c=e6,0"). |
284 | |
285 | Thu Oct 19 14:57:26 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
286 | |
287 | * stack.c (frame_info): Use FRAME_ARGS_ADDRESS_CORRECT |
288 | m-vax.h (FRAME_ARGS_ADDRESS_CORRECT): New macro. |
289 | (FRAME_ARGS_ADDRESS): Restore old meaning. |
290 | |
291 | * frame.h (Frame_unknown): New macro. |
292 | stack.c (frame_info): Check for Frame_unknown return from |
293 | FRAME_ARGS_ADDRESS. |
294 | m-vax.h (FRAME_ARGS_ADDRESS): Sometimes return Frame_unknown. |
295 | |
296 | * utils.c (fatal_dump_core): Add "internal error" to message. |
297 | |
298 | * infrun.c (IN_SIGTRAMP): New macro. |
299 | (wait_for_inferior): Use IN_SIGTRAMP. |
300 | m-vax.h (IN_SIGTRAMP): New macro. |
301 | |
302 | Wed Oct 18 15:09:22 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
303 | |
304 | * config.gdb, Makefile.dist: Shorten m-i386-sv32.h. |
305 | |
306 | * coffread.c (symbol_file_command): Pass 0 to select_source_symtab. |
307 | |
308 | Tue Oct 17 12:24:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
309 | |
310 | * i386-dep.c (i386_frame_num_args): Take function from m-i386.h |
311 | file. Check for pfi null. |
312 | m-i386.h (FRAME_NUM_ARGS): Use i386_frame_num_args. |
313 | |
314 | * infrun.c (wait_for_inferior): set stop_func_name to 0 |
315 | before calling find_pc_partial_function. |
316 | |
317 | Thu Oct 12 01:08:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
318 | |
319 | * breakpoint.c (_initialize_breakpoint): Add "disa". |
320 | |
321 | * Makefile.dist: Add GLOBAL_CFLAGS and pass to readline. |
322 | |
323 | * config.gdb (various): "$machine =" -> "machine =". |
324 | |
325 | Wed Oct 11 11:54:31 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
326 | |
327 | * inflow.c (try_writing_regs): #if 0 out this function. |
328 | |
329 | * main.c (main): Add "-help" option. |
330 | |
331 | * dbxread.c (read_dbx_symtab): Merge code for N_FUN with |
332 | N_STSYM, etc. |
333 | |
334 | Mon Oct 9 14:21:55 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
335 | |
336 | * inflow.c (try_writing_regs_command): Don't write past end |
337 | of struct user. |
338 | |
339 | * dbxread.c (read_struct_type): #if 0 out code which checks for |
340 | bitpos and bitsize 0. |
341 | |
342 | * config.gdb: Accept sequent-i386 (not seq386). |
343 | (symmetry): Set depfile and paramfile. |
344 | |
345 | * m-convex.h (IGNORE_SYMBOL): Check for N_MONPT if defined. |
346 | |
347 | Thu Oct 5 10:14:26 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
348 | |
349 | * default-dep.c (read_inferior_memory): Put #if 0'd out comment |
350 | within /* */. |
351 | |
352 | Wed Oct 4 18:44:41 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
353 | |
354 | * config.gdb: Change /dev/null to m-i386.h for various |
355 | 386 machine "opcodefile" entries. |
356 | |
357 | * config.gdb: Accept seq386 for sequent symmetry. |
358 | |
359 | Mon Oct 2 09:59:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
360 | |
361 | * hp300bsd-dep.c: Fix copyright notice. |
362 | |
363 | Sun Oct 1 16:25:30 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
364 | |
365 | * Makefile.dist (DEPFILES): Add isi-dep.c. |
366 | |
367 | * default-dep.c (read_inferior_memory): Move #endif after else. |
368 | |
4187119d |
369 | Sat Sep 30 12:50:16 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
370 | |
1c997a4a |
371 | * version.c: Change version number to 3.3.xxx. |
372 | |
373 | * GDB 3.3 released. |
374 | |
4187119d |
375 | * version.c: Change version number to 3.3. |
376 | |
377 | * Makefile.dist (READLINE): Add vi_mode.c |
378 | |
379 | * config.gdb (i386): Change /dev/null to m-i386.h |
380 | |
381 | * config.gdb: Add ';;' before 'esac'. |
382 | |
383 | * Makefile.dist (gdb.tar.Z): Move comment above dependency. |
384 | |
385 | * dbxread.c (read_ofile_symtab): Check symbol before start |
386 | of source file for GCC_COMPILED_FLAG_SYMBOL. |
387 | (start_symtab): Don't clear processing_gcc_compilation. |
388 | |
389 | Thu Sep 28 22:30:23 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
390 | |
391 | * valprint.c (print_string): If LENGTH is zero, print "". |
392 | |
393 | Wed Sep 27 10:15:10 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
394 | |
395 | * config.gdb: "rm tmp.c" -> "rm -f tmp.c". |
396 | |
397 | Tue Sep 26 13:02:10 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
398 | |
399 | * utils.c (_initialize_utils): Use termcap to set lines_per_page |
400 | and chars_per_line. |
401 | |
402 | Mon Sep 25 10:06:43 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
403 | |
404 | * dbxread.c (read_dbx_symtab, N_SOL): Do not add the same file |
405 | more than once. |
406 | |
407 | Thu Sep 21 12:43:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
408 | |
409 | * infcmd.c (unset_environment_command): Delete all variables |
410 | if called with no arg. |
411 | |
412 | * remote.c, inferior.h (remote_{read,write}_inferior_memory): |
413 | New functions. |
414 | core.c ({read,write}_memory): Use remote_{read,write}_inferior_memory. |
415 | |
416 | * valops.c (call_function): When reserving stack space for |
417 | arguments, call value_arg_coerce. |
418 | |
419 | * m-hp9k320.h: define BROKEN_LARGE_ALLOCA. |
420 | |
421 | * breakpoint.c (delete_command): Ask for confirmation only |
422 | when there are breakpoints. |
423 | |
424 | * dbxread.c (read_struct_type): If lookup_basetype_type has |
425 | copied a stub type, call add_undefined_type. |
426 | |
427 | * sparc_pinsn.c (compare_opcodes): Check for "1+i" anywhere |
428 | in args. |
429 | |
430 | * val_print.c (type_print_base): Print stub types as |
431 | "<incomplete type>". |
432 | |
433 | Wed Sep 20 07:32:00 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
434 | |
435 | * sparc-opcode.h (swapa): Remove i bit from match. |
436 | (all alternate space instructions): Delete surplus "foo rs1+0" |
437 | patterns. |
438 | |
439 | * Makefile.dist (LDFLAGS): Set to $(CFLAGS). |
440 | |
441 | * remote-multi.shar (remote_utils.c, putpkt): Change csum to unsigned. |
442 | |
443 | Tue Sep 19 14:15:16 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
444 | |
445 | * sparc-opcode.h: Set i bit in lose for many instructions which |
446 | aren't immediate. |
447 | |
448 | * stack.c (print_frame_info): add "func = 0". |
449 | |
450 | Mon Sep 18 16:19:48 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
451 | |
452 | * sparc-opcode.h (mov): Add mov to/from %tbr, %psr, %wim. |
453 | |
454 | * sparc-opcode.h (rett): Fix notation to use suggested assembler |
455 | syntax from architecture manual. |
456 | |
457 | * symmetry-dep.c (I386_REGNO_TO_SYMMETRY): New macro. |
458 | (i386_frame_find_saved_regs): Use I386_REGNO_TO_SYMMETRY. |
459 | |
460 | Sat Sep 16 22:21:17 1989 Jim Kingdon (kingdon at spiff) |
461 | |
462 | * remote.c (remote_close): Set remote_desc to -1. |
463 | |
464 | * gdb.texinfo (Output): Fix description of echo to match |
465 | reality and ANSI C. |
466 | |
467 | Fri Sep 15 14:28:59 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
468 | |
469 | * symtab.c (lookup_symbol): Add comment about "asm". |
470 | |
471 | * sparc-pinsn.c: Use NUMOPCODES. |
472 | |
473 | * sparc-opcode.h (NUMOPCODES): Use sparc_opcodes[0] not *sparc_opcodes. |
474 | |
475 | Thu Sep 14 15:25:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
476 | |
477 | * dbxread.c (xxmalloc): Print error message before calling abort(). |
478 | |
479 | * infrun.c (wait_for_inferior): Check for {stop,prev}_func_name |
480 | null before passing to strcmp. |
481 | |
482 | Wed Sep 13 12:34:15 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
483 | |
484 | * sparc-opcode.h: New field delayed. |
485 | sparc-pinsn.c (is_delayed_branch): New function. |
486 | (print_insn): Check for delayed branches. |
487 | |
488 | * stack.c (print_frame_info): Use misc_function_vector in |
489 | case where ar truncates file names. |
490 | |
491 | Tue Sep 12 00:16:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
492 | |
493 | * convex-dep.c (psw_info): Move "struct pswbit *p" with declarations. |
494 | |
495 | Mon Sep 11 14:59:57 1989 Jim Kingdon (kingdon at spiff) |
496 | |
497 | * convex-dep.c (core_file_command): Delete redundant printing |
498 | of "Program %s". |
499 | |
500 | * m-convex.h (ENTRY_POINT): New macro. |
501 | |
502 | * m-convex.h (FRAME_CHAIN_VALID): Change outside_first_object_file |
503 | to outside_startup_file |
504 | |
505 | * main.c: #if 0 out catch_termination and related code. |
506 | |
507 | * command.c (lookup_cmd_1): Consider underscores part of |
508 | command names. |
509 | |
510 | Sun Sep 10 09:20:12 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
511 | |
512 | * printcmd.c: Change asdump_command to disassemble_command |
513 | (_initialize_printcmd): Change asdump to diassemble. |
514 | |
515 | * main.c (main): Exit with code 0 if we hit the end of a batch |
516 | file. |
517 | |
518 | * Makefile.dist (libreadline.a): Fix syntax of "CC=${CC}". |
519 | |
520 | Sat Sep 9 01:07:18 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
521 | |
522 | * values.c (history_info): Renamed to value_history_info. |
523 | Command renamed to "info value" (with "info history" still |
524 | accepted). |
525 | |
526 | * sparc-pinsn.c (print_insn): Extend symbolic address printing |
527 | to cover "sethi" following by an insn which uses 1+i. |
528 | |
529 | Fri Sep 8 14:24:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
530 | |
531 | * m-hp9k320.h, m-hp300bsd.h, m-altos.h, m-sparc.h, m-sun3.h |
532 | (READ_GDB_SYMSEGS): Remove. |
533 | dbxread.c [READ_GDB_SYMSEGS]: Remove code to read symsegs. |
534 | |
535 | * sparc-pinsn.c (print_insn): Detect "sethi-or" pairs and |
536 | print symbolic address. |
537 | |
538 | * sparc-opcode.h (sethi, set): Change lose from 0xc0000000 to |
539 | 0xc0c00000000. |
540 | |
541 | * remote.c (remote_desc): Initialize to -1. |
542 | |
543 | * Makefile.dist (libreadline.a): Pass CC='${CC}' to readline makefile. |
544 | |
545 | Thu Sep 7 00:07:17 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
546 | |
547 | * dbxread.c (read_struct_type): Check for static member functions. |
548 | values.c, eval.c, valarith.c, valprint.c, valops.c: Merge changes |
549 | from Tiemann for static member functions. |
550 | |
551 | * sparc-opcode.h (tst): Fix all 3 patterns. |
552 | |
553 | * Makefile.dist (gdb1): New rule. |
554 | |
555 | * sparc-opcode.h: Change comment about what the disassembler |
556 | does with the order of the opcodes. |
557 | |
558 | * sparc-pinsn.c (compare_opcodes): Put 1+i before i+1. |
559 | Also fix mistaken comment about preserving order of original table. |
560 | |
561 | * sparc-opcode.h (clr, mov): Fix incorrect lose entries. |
562 | |
563 | * m-symmetry.h (FRAME_NUM_ARGS): Add check to deal with code that |
564 | GCC sometimes generates. |
565 | |
566 | * config.gdb: Change all occurances of "skip" to "/dev/null". |
567 | |
568 | * README (about languages other than C): Update comments about |
569 | Pascal and FORTRAN. |
570 | |
571 | * sparc-opcode.h (nop): Change lose from 0xae3fffff to 0xfe3fffff. |
572 | |
573 | * values.c (value_virtual_fn_field): #if 0-out assignment to |
574 | VALUE_TYPE(vtbl). |
575 | |
576 | Wed Sep 6 12:19:22 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
577 | |
578 | * utils.c (fatal_dump_core): New function. |
579 | Makefile.dist (MALLOC_FLAGS): use -Dbotch=fatal_dump_core |
580 | |
581 | Tue Sep 5 15:47:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
582 | |
583 | * breakpoint.c (enable_command): With no arg, enable all bkpts. |
584 | |
585 | * Makefile.dist (Makefile): Remove \"'s around $(MD). |
586 | |
587 | * Makefile.dist: In "cd readline; make . . ." change first |
588 | SYSV_DEFINE to SYSV. |
589 | |
590 | * m68k-pinsn.c (_initialize_pinsn): Use alternate assembler |
591 | syntax #ifdef HPUX_ASM |
592 | |
593 | Sat Sep 2 23:24:43 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
594 | |
595 | * values.c (history_info): Don't check num_exp[0] if num_exp |
596 | is nil (just like recent editing_info change). |
597 | |
598 | Fri Sep 1 19:19:01 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
599 | |
600 | * gdb.texinfo (inc-history, inc-readline): Copy in the inc-* files |
601 | because people might not have makeinfo. |
602 | |
603 | * README (xgdb): Strengthen nasty comments. |
604 | |
605 | * gdb.texinfo: Change @setfilename to "gdb.info". |
606 | |
607 | Thu Aug 31 17:23:50 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
608 | |
609 | * main.c (editing_info): Don't check arg[0] if arg is null. |
610 | |
611 | * m-vax.h: Add comment about known sigtramp bug. |
612 | |
613 | * sun3-dep.c, sparc-dep.c (IS_OBJECT_FILE, exec_file_command): |
614 | Get right text & data addresses for .o files. |
615 | |
616 | Wed Aug 30 13:54:19 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
617 | |
618 | * utils.c (tilde_expand): Remove function (it's in readline). |
619 | |
620 | * sparc-opcode.h (call): Change "8" to "9" in first two |
621 | patterns (%g7->%o7). |
622 | |
623 | Tue Aug 29 16:44:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
624 | |
625 | * printcmd.c (whatis_command): Change 4th arg to type_print |
626 | from 1 to -1. |
627 | |
628 | Mon Aug 28 12:22:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
629 | |
630 | * dbxread.c (psymtab_to_symtab_1): In "and %s ..." change |
631 | pst->filename to pst->dependencies[i]->filename. |
632 | |
633 | * blockframe.c (FRAMELESS_LOOK_FOR_PROLOGUE): New macro |
634 | made from FRAMELESS_FUNCTION_INVOCATION from m-sun3.h except |
635 | that it checks for zero return from get_pc_function_start. |
636 | m-hp9k320.h, m-hp300bsd.h, m-i386.h, m-isi.h, m-altos.h, |
637 | m-news.h, m-sparc.h, m-sun2.h, m-sun3.h, m-symmetry.h |
638 | (FRAMELESS_FUNCTION_INVOCATION): Use FRAMELESS_LOOK_FOR_PROLOGUE. |
639 | |
640 | * dbxread.c (read_struct_type): Give warning and ignore field |
641 | if bitpos and bitsize are zero. |
642 | |
643 | Sun Aug 27 04:55:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
644 | |
645 | * dbxread.c (psymtab_to_symtab{,_1}): Print message about |
646 | reading in symbols before reading stringtab, not after. |
647 | |
648 | Sat Aug 26 02:01:53 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
649 | |
650 | * dbxread.c (IS_OBJECT_FILE, ADDR_OF_TEXT_SEGMENT): New macros. |
651 | (read_dbx_symtab): Use text_addr & text_size to set end_of_text_addr. |
652 | (symbol_file_command): pass text_addr & text_size to read_dbx_symtab. |
653 | |
654 | Fri Aug 25 23:08:13 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
655 | |
656 | * valprint.c (value_print): Try to give the name of function |
657 | pointed to when printing a function pointer. |
658 | |
659 | Thu Aug 24 23:18:40 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
660 | |
661 | * core.c (xfer_core_file): In cases where MEMADDR is above the |
662 | largest address that makes sense, set i to len. |
663 | |
664 | Thu Aug 24 16:04:17 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
665 | |
666 | * valprint.c (print_string): New function to print a character |
667 | string, doing array-max limiting and repeat count processing. |
668 | (val_print, value_print): Use print_string. |
669 | (REPEAT_COUNT_THRESHOLD): New #define, the max number of elts to print |
670 | without using a repeat count. Set to ten. |
671 | (value_print, val_print): Use REPEAT_COUNT_THRESHOLD. |
672 | |
673 | * utils.c (printchar): Use {fputs,fprintf}_filtered. |
674 | |
675 | * valprint.c (val_print): Pass the repeat count arg to the |
676 | fprintf_filtered call for "<repeats N times>" messages. |
677 | |
678 | Wed Aug 23 22:53:47 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
679 | |
680 | * utils.c: Include <pwd.h>. |
681 | |
682 | * main.c: Declare free. |
683 | |
684 | Wed Aug 23 05:05:59 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
685 | |
686 | * utils.c, defs.h: Add tilde_expand. |
687 | source.c (directory_command), |
688 | main.c (cd_command), |
689 | main.c (set_history_filename), |
690 | dbxread.c (symbol_file_command), |
691 | coffread.c (symbol_file_command), |
692 | dbxread.c (add_file_command), |
693 | symmisc.c (print_symtabs), |
694 | *-dep.c (exec_file_command, core_file_command), |
695 | main.c (source_command): Use tilde_expand. |
696 | |
697 | * dbxread.c (read_type): When we get a cross-reference, resolve |
698 | it immediately if possible, only calling add_undefined_type if |
699 | necessary. |
700 | |
701 | * gdb.texinfo: Uncomment @includes and put comment at start |
702 | of file telling people to use makeinfo. |
703 | |
704 | * valprint.c (type_print_base): Print the right thing for |
705 | bitfields. |
706 | |
707 | * config.gdb (sun3os3): Set paramfile and depfile. |
708 | |
709 | Tue Aug 22 05:38:36 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
710 | |
711 | * dbxread.c (symbol_file_command): Pass string table size to |
712 | read_dbx_symtab(). |
713 | (read_dbx_symtab): Before indexing into string table, check |
714 | string table index for reasonableness. |
715 | (psymtab_to_symtab{,_1}, read_ofile_symtab): Same. |
716 | |
717 | Tue Aug 22 04:04:39 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
718 | |
719 | * m68k-pinsn.c: Replaced many calls to fprintf and fputs with |
720 | calls to fprintf_filtered and fputs_filtered. |
721 | (print_insn_arg): Use normal MIT 68k syntax for postincrement, |
722 | predecrement, and register indirect addressing modes. |
723 | |
724 | Mon Aug 21 10:08:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
725 | |
726 | * main.c (initialize_signals): Set signal handler for SIGQUIT |
727 | and SIGHUP to do_nothing. |
728 | |
729 | * ns32k-opcode.h (ord): Change 1D1D to 1D2D. |
730 | |
731 | * ns32k-pinsn.c (print_insn_arg, print_insn): Handle index |
732 | bytes correctly. |
733 | |
734 | * ns32k-opcode.h: Add comments. |
735 | |
736 | * dbxread.c (read_type): Put enum fields in type.fields in order |
737 | that they were found in the debugging symbols (not reverse order). |
738 | |
739 | Sun Aug 20 21:17:13 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
740 | |
741 | * main.c (source_command): Read .gdbinit if run without argument. |
742 | |
743 | * source.c (directory_command): Only print "foo already in path" |
744 | if from_tty. |
745 | |
746 | * version.c: Change version number to 3.2.xxx |
747 | |
748 | Sat Aug 19 00:24:08 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
749 | |
750 | * m-news.h: Define HAVE_WAIT_STRUCT. |
751 | |
752 | * m-isi.h, isi-dep.c: Replace with new version from Adam de Boor. |
753 | config.gdb: Remove isibsd43. |
754 | |
755 | * main.c (catch_termination): Don't say we have written |
756 | .gdb_history until after we really have. |
757 | |
758 | * convex-dep.c (attach): Add "sleep (1)". |
759 | (write_vector_register): Use "LL" with long long constant. |
760 | (wait): Close comment. |
761 | (wait): Change "unix 7.1 bug" to "unix 7.1 feature" & related |
762 | changes in comment. |
763 | (scan_stack): And fp with 0x80000000 in while loop test. |
764 | (core_file_command): Move code to set COREFILE. |
765 | (many places): Change printf to printf_filtered. |
766 | (psw_info): Allow argument giving value to print as a psw. |
767 | (_initialize_convex_dep): Update docstrings. |
768 | |
769 | * m-convex.h (WORDS_BIG_ENDIAN): Correct typo ("WRODS") |
770 | define NO_SIGINTERRUPT. |
771 | define SET_STACK_LIMIT_HUGE. |
772 | add "undef BUILTIN_TYPE_LONGEST" before defining it. |
773 | Use "LL" after constants in CALL_DUMMY. |
774 | |
775 | * dbxread.c: In the 3 places it says error "ridiculous string |
776 | table size"... delete extra parameter to error. |
777 | |
778 | * dbxread.c (scan_file_globals): Check for FORTRAN common block. |
779 | Allow multiple references for the sake of common blocks. |
780 | |
781 | * main.c (initialize_main): Set history_filename to include |
782 | current directory. |
783 | |
784 | * valprint.c (decode_format): Don't return a defaulted size |
785 | field if osize is zero. |
786 | |
787 | * gdb.texinfo (Compilation): Update information on -gg symbols. |
788 | Document problem with ar. |
789 | |
790 | Fri Aug 18 19:45:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
791 | |
792 | * valprint.c (val_print, value_print): Add "<repeats %d times>" code. |
793 | Also put "..." outside quotes for strings. |
794 | |
795 | * main.c (initialize_main): Add comment about history output file |
796 | being different from history input file. |
797 | |
798 | * m-newsos3.h: Undefine NO_SIGINTERRUPT. Rearrange a few comments. |
799 | |
800 | * m-newsos3.h (REGISTER_U_ADDR): Use new version from Hikichi. |
801 | |
802 | * sparc-opcode.h: Add comment clarifying meaning of the order of |
803 | the entries in sparc_opcodes. |
804 | |
805 | * eval.c (evaluate_subexp, case UNOP_IND): Deal with deferencing |
806 | things that are not pointers. |
807 | |
808 | * valops.c (value_ind): Make dereferencing an int give a LONGEST. |
809 | |
810 | * expprint.c (print_subexp): Add (int) cast in OP_LAST case. |
811 | |
812 | * dbxread.c (read_array_type): Set lower and upper if adjustable. |
813 | |
814 | * symtab.c (lookup_symbol): Don't abort if symbol found in psymtab |
815 | but not in symtab. |
816 | |
817 | Thu Aug 17 15:51:20 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
818 | |
819 | * config.gdb: Changed "Makefile.c" to "Makefile.dist". |
820 | |
821 | Thu Aug 17 01:58:04 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) |
822 | |
823 | * sparc-opcode.h (or): Removed incorrect lose bit 0x08000000. |
824 | [many]: Changed many `lose' entries to have the 0x10 bit set, so |
825 | they don't think %l0 is %g0. |
826 | |
827 | Wed Aug 16 00:30:44 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
828 | |
829 | * m-symmetry.h (STORE_STRUCT_RETURN): Also write reg 0. |
830 | (EXTRACT_RETURN_VALUE): Call symmetry_extract_return_value. |
831 | symmetry-dep.c (symmetry_extract_return_value): New fn. |
832 | |
833 | * main.c (symbol_completion_function): Deal with changed |
834 | result_list from lookup_cmd_1 for ambiguous return. |
835 | command.c (lookup_cmd): Same. |
836 | |
837 | * inflow.c [TIOCGETC]: Move #include "param.h" back before |
838 | system #includes. Change all #ifdef TIOCGETC to |
839 | #if defined(TIOCGETC) && !defined(TIOCGETC_BROKEN) |
840 | m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: Remove "#undef TIOCGETC" |
841 | and add "#define TIOCGETC_BROKEN". |
842 | |
843 | * command.c (lookup_cmd_1): Give the correct result_list in the |
844 | case of an ambiguous return where there is a partial match |
845 | (e.g. "info a"). Add comment clarifying what is the correct |
846 | result_list. |
847 | |
848 | * gdb.texinfo (GDB History): Document the two changes below. |
849 | |
850 | * main.c (command_line_input): Make history expansion not |
851 | just occur at the beginning of a line. |
852 | |
853 | * main.c (initialize_main): Make history expansion off by default. |
854 | |
855 | * inflow.c: Move #include "param.h" after system #includes. |
856 | |
857 | * i386-dep.c (i386_float_info): Use U_FPSTATE macro. |
858 | |
859 | * m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: New files. |
860 | Makefile.dist, config.gdb: Know about these new files. |
861 | |
862 | Tue Aug 15 21:36:11 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
863 | |
864 | * symtab.c (lookup_struct_elt_type): Use type_print rather |
865 | than assuming type has a name. |
866 | |
867 | Tue Aug 15 02:25:43 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) |
868 | |
869 | * sparc-opcode.h (mov): Removed bogus "or i,0,d" pattern. |
870 | |
871 | * sparc-opcode.h (mov, or): Fixed incorrect `lose' members. |
872 | |
873 | * sparc-dep.c: Don't include "sparc-opcode.h". |
874 | (skip_prologue, isanulled): Declare special types to recognize |
875 | instructions, and use them. |
876 | |
877 | * sparc-pinsn.c (print_insn): Sign-extend 13-bit immediate args. |
878 | If they are less than +9, print them in signed decimal instead |
879 | of unsigned hex. |
880 | |
881 | * sparc-opcode.h, sparc-pinsn.c: Completely rewritten to share an |
882 | opcode table with gas, and thus produce disassembly that looks |
883 | like what the assembler accepts. |
884 | |
885 | Tue Aug 15 16:20:52 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
886 | |
887 | * symtab.c (find_pc_psymbol): Move best_pc=psymtab->textlow-1 |
888 | after test for psymtab null. |
889 | |
890 | * main.c (editing_info): Remove variable retval. |
891 | |
892 | * config.gdb (sun3, isi): Comment out obsolete message about telling |
893 | it whether you have an FPU (now that it detects it). |
894 | |
895 | * config.gdb (sun3): Accept sun3os3. |
896 | |
897 | * m68k-insn.h: Include <signal.h>. |
898 | |
899 | * m68k-pinsn.h (convert_{to,from}_68881): Add have_fpu code |
900 | |
901 | * m-newsos3.h: Undefine USE_PCB. That code didn't seem to work. |
902 | |
903 | * sparc-dep.c: Put in insn_fmt and other stuff from the old |
904 | sparc-opcode.h. |
905 | |
906 | * sparc-opcode.h, sparc-pinsn.c: Correct copyright notice. |
907 | |
908 | * sparc-opcode.h, sparc-pinsn.c: Replace the old ones with the new |
909 | ones by roland. |
910 | |
911 | Tue Aug 15 02:25:43 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) |
912 | |
913 | * Makefile.dist: Don't define CC at all. |
914 | |
915 | * Makefile.dist (Makefile): Remove tmp.c after preprocessing. |
916 | Use $(MD) instead of M_MAKEDEFINE in the cc command. |
917 | |
918 | * Makefile.dist: Don't define RL_LIB as |
919 | "${READLINE}/libreadline.a", since READLINE is a list of files. |
920 | |
921 | Mon Aug 14 23:49:29 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
922 | |
923 | * main.c (print_version): Change 1988 to 1989. |
924 | |
925 | * main.c (copying_info, initialize_main): Remove #if 0'd code. |
926 | |
927 | Tue Aug 1 14:44:56 1989 Hikichi (hikichi at sran203) |
928 | |
929 | * m-newsos3.h |
930 | (NO_SIGINTERRUPT): have SIGINTERRUPT on NEWS os 3. |
931 | |
932 | * m-news.h(FRAME_FIND_SAVED_REGS): use the sun3's instead of old |
933 | one. |
934 | |
935 | Mon Aug 14 15:27:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
936 | |
937 | * m-news.h, m-newsos3.h, news-dep.c: Merge additional changes |
938 | by Hikichi (ChangeLog entries above). |
939 | |
940 | * Makefile.dist (READLINE): List readline files individually |
941 | so we don't accidently get random files from the readline |
942 | directory. |
943 | |
944 | * m-news.h (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE): |
945 | Expect floating point returns to be in fp0. |
946 | |
947 | * gdb.texinfo (Format options): New node. |
948 | |
949 | * gdb.texinfo: Comment out "@include"s until bfox fixes the |
950 | readline & history docs. |
951 | |
952 | * dbxread.c (read_addl_syms): Set startup_file_* if necessary at |
953 | the end (as well as when we hit ".o"). |
954 | |
955 | * printcmd.c (decode_format): Set val.format & val.size to '?' at |
956 | start and set defaults at end. |
957 | |
958 | * symtab.c (decode_line_1): Check for class_name null. |
959 | |
960 | * valops.c: Each place where it compares against field names, |
961 | check for null field names. (new t_field_name variables). |
962 | |
963 | * utils.c (fputs_filtered): Check for linebuffer null before |
964 | checking whether to call fputs. Remove later check for linebuffer |
965 | null. |
966 | |
967 | Sun Aug 13 15:56:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
968 | |
969 | * m-isi.h, m-sun3.h ({PUSH,POP}_FP_REGS): New macros. |
970 | m-sun3.h (NUM_REGS): Conditionalize on FPU. |
971 | config.gdb (sun3, isi): Add message about support for machines |
972 | without FPU. |
973 | |
974 | * main.c (catch_termination, initialize_signals): new functions. |
975 | |
976 | * main.c (editing_info): Add "info editing n" and "info editing +". |
977 | Rewrite much of this function. |
978 | gdb.texinfo (GDB Readline): Document it. |
979 | |
980 | * values.c (history_info): Add "info history +". Also add code to |
981 | do "info history +" when command is repeated. |
982 | gdb.texinfo (Value History): Document "info history +". |
983 | |
984 | * expprint.c (print_subexp): Add OP_THIS to case stmt. |
985 | |
986 | * config.gdb (sun4os4): Put quotes around make define. |
987 | |
988 | * config.gdb: Canonicalize machine name at beginning. |
989 | |
990 | Sat Aug 12 00:50:59 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
991 | |
992 | * config.gdb: define M_MAKEDEFINE |
993 | Makefile (Makefile, MD): Be able to re-make Makefile. |
994 | |
995 | * main.c (command_line_input): Add comments to |
996 | the command history. |
997 | |
998 | * Makefile.dist (Makefile): Add /bin/false. |
999 | |
1000 | Fri Aug 11 14:35:33 1989 Jim Kingdon (kingdon at spiff) |
1001 | |
1002 | * Makefile.dist: Comment out .c.o rule and add TARGET_ARCH. |
1003 | |
1004 | * m-altos.h: Include sys/page.h & sys/net.h |
1005 | |
1006 | * m-altos.h (FRAME_CHAIN{,_VALID}): Use outside_startup_file. |
1007 | |
1008 | * config.gdb (altos, altosgas): Add M_SYSV & M_BSD_NM and remove |
1009 | M_ALLOCA=alloca.o from makedefine. |
1010 | |
1011 | * coffread.c (complete_symtab): Change a_entry to entry. |
1012 | |
1013 | * m-altosgas.h: New file. |
1014 | |
1015 | * m-symmetry (REGISTER_BYTE): Fix dumb mistake. |
1016 | |
1017 | Fri Aug 11 06:39:49 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
1018 | |
1019 | * utils.c (set_screensize_command): Check for ARG being nil, since |
1020 | that's what execute_command will pass if there's no argument. |
1021 | |
1022 | * expread.y (yylex): Recognize "0x" or "0X" as the beginning of a |
1023 | number. |
1024 | |
1025 | Thu Aug 10 15:43:12 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1026 | |
1027 | * config.gdb, Makefile.dist: Rename Makefile.c to Makefile.dist. |
1028 | |
1029 | * m-altos.h: Add comment about porting to USGR2. |
1030 | |
1031 | * config.gdb (sparc): Add -Usparc. |
1032 | |
1033 | Wed Aug 9 14:20:39 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1034 | |
1035 | * m-sun3os4.h: Define BROKEN_LARGE_ALLOCA. |
1036 | |
1037 | * values.c (modify_field): Check for value too large to fit in |
1038 | bitfield. |
1039 | |
1040 | * utils.c (fputs_filtered): Allow LINEBUFFER to be NULL. |
1041 | |
1042 | * breakpoint.c (condition_command): Check for attempt to specify |
1043 | non-numeric breakpoint number. |
1044 | |
1045 | * config.gdb, Makefile, m-altos.h, altos-dep.c: Merge Altos |
1046 | port. |
1047 | |
1048 | * README: Change message about editing Makefile. |
1049 | |
1050 | * config.gdb: Edit Makefile. |
1051 | Copied Makefile to Makefile.c and changed to let config.gdb |
1052 | run us through the C preprocessor. |
1053 | |
1054 | * expread.y (yylex): Test correctly for definition of number. |
1055 | |
1056 | Wed Aug 9 11:56:05 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1057 | |
1058 | * dbxread.c (read_dbx_symtab): Put bracketing of entry point in |
1059 | test case for .o symbols so that it will be correct even without |
1060 | debugging symbols. |
1061 | (end_psymtab): Took bracketing out. |
1062 | |
1063 | * blockframe.c (outside_startup_file): Reverse the sense of the |
1064 | return value to make the functionality implied by the name |
1065 | correct. |
1066 | |
1067 | Tue Aug 8 11:48:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1068 | |
1069 | * coffread.c (symbol_file_command): Do not assume presence of a.out |
1070 | header. |
1071 | |
1072 | * blockframe.c: Replace first_object_file_end with |
1073 | startup_file_{start,end} |
1074 | (outside_startup_file): New function. |
1075 | dbxread.c (read_addl_syms, read_dbx_symtab, end_psymbol): set |
1076 | startup_file_*. Delete first_object_file_end code. |
1077 | Add entry_point and ENTRY_POINT |
1078 | coffread.c (complete_symtab): Set startup_file_*. |
1079 | (first_object_file_end): Add as static. |
1080 | m-*.h (FRAME_CHAIN, FRAME_CHAIN_VALID): Call outside_startup_file |
1081 | instead of comparing with first_object_file_end. |
1082 | |
1083 | * breakpoint.c (breakpoint_1): Change -1 to (CORE_ADDR)-1. |
1084 | |
1085 | * config.gdb (i386, i386gas): Add missing quotes at end of "echo" |
1086 | |
1087 | * source.c (directory_command): Add dont_repeat (); |
1088 | |
1089 | Mon Aug 7 18:03:51 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1090 | |
1091 | * dbxread.c (read_addl_syms): Change strcmp to strncmp and put 3rd |
1092 | arg back. |
1093 | |
1094 | * command.h (struct cmd_list_element): Add comment clarifying |
1095 | purpose of abbrev_flag. |
1096 | |
1097 | Mon Aug 7 12:51:03 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1098 | |
1099 | * printcmd.c (_initialize_printcmd): Changed "undisplay" not to |
1100 | have abbrev flag set; it isn't an abbreviation of "delete |
1101 | display", it's an alias. |
1102 | |
1103 | Mon Aug 7 00:25:15 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1104 | |
1105 | * symtab.c (lookup_symtab_1): Remove filematch (never used). |
1106 | |
1107 | * expread.y [type]: Add second argument to 2 calls to |
1108 | lookup_member_type which were missing them. |
1109 | |
1110 | * dbxread.c (symbol_file_command): Add from_tty arg. |
1111 | Check it before calling query. |
1112 | |
1113 | * infcmd.c (tty_command): Add from_tty arg. |
1114 | |
1115 | * eval.c (evaluate_subexp): Remove 3rd argument from |
1116 | calls to value_x_unop. |
1117 | |
1118 | * dbxread.c (read_addl_syms): Remove 3rd argument from |
1119 | call to strcmp. |
1120 | |
1121 | * gdb.texinfo (Command editing): @include inc-readline.texinfo |
1122 | and inc-history.texinfo and reorganize GDB-specific stuff. |
1123 | |
1124 | * Makefile: Add line MAKE=make. |
1125 | |
1126 | * README (second paragraph): Fix trivial errors. |
1127 | |
1128 | * dbxread.c (read_struct_type): Make sure p is initialized. |
1129 | |
1130 | * main.c (symbol_completion_function): Complete correctly |
1131 | on the empty string. |
1132 | |
1133 | Sun Aug 6 21:01:59 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1134 | |
1135 | * symmetry-dep.c: Remove "long" from definition of i386_follow_jump. |
1136 | |
1137 | * gdb.texinfo (Backtrace): Document "where" and "info stack". |
1138 | |
1139 | * dbxread.c (cleanup_undefined_types): Strip off "struct " |
1140 | or "union " from type names before doing comparison |
1141 | |
1142 | Sat Aug 5 02:05:36 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1143 | |
1144 | * config.gdb (i386, i386gas): Improve makefile editing instructions. |
1145 | |
1146 | * Makefile: Fix typo in CLIBS for SYSV. |
1147 | |
1148 | * dbxread.c (read_dbx_symtab): Deal with N_GSYM typedefs. |
1149 | |
1150 | * dbxread.c (add_file_command): Do not free name. We didn't |
1151 | allocate it; it just points into arg_string. |
1152 | |
1153 | * Makefile, m-*.h: Change LACK_VPRINTF to HAVE_VPRINTF. |
1154 | |
1155 | Fri Jul 28 00:07:48 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1156 | |
1157 | * valprint.c (val_print): Made sure that all returns returned a |
1158 | value (usually 0, indicating no memory printed). |
1159 | |
1160 | * core.c (read_memory): Changed "return" to "return 0". |
1161 | |
1162 | * expread.y (parse_number): Handle scientific notation when the |
1163 | string does not contain a '.'. |
1164 | |
1165 | Thu Jul 27 15:14:03 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1166 | |
1167 | * infrun.c (signals_info): Error if signal number passed is out of |
1168 | bounds. |
1169 | |
1170 | * defs.h: Define alloca to be __builtin_alloca if compiling with |
1171 | gcc and localized inclusion of alloca.h on the sparc with the |
1172 | other alloca stuff. |
1173 | * command.c: Doesn't need to include alloca.h on the sparc; defs.h |
1174 | does it for you. |
1175 | |
1176 | * printcmd.c (print_frame_args): Changed test for call to |
1177 | print_frame_nameless_args to check i to tell if any args had been |
1178 | printed. |
1179 | |
1180 | Thu Jul 27 04:40:56 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
1181 | |
1182 | * blockframe.c (find_pc_partial_function): Always check that NAME |
1183 | and/or ADDRESS are not nil before storing into them. |
1184 | |
1185 | Wed Jul 26 23:41:21 1989 Roland McGrath (roland at hobbes.ai.mit.edu) |
1186 | |
1187 | * m-newsos3.h: Define BROKEN_LARGE_ALLOCA. |
1188 | * dbxread.c (symbol_file_command, psymtab_to_symtab): |
1189 | Use xmalloc #ifdef BROKEN_LARGE_ALLOCA. |
1190 | |
1191 | Tue Jul 25 16:28:18 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) |
1192 | |
1193 | * m68k-opcode.h: moved some of the fmovem entries so they're |
1194 | all consecutive. This way the assembler doesn't bomb. |
1195 | |
1196 | Mon Jul 24 22:45:54 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1197 | |
1198 | * symtab.c (lookup_symbol): Changed error to an informational (if |
1199 | not very comforting) message about internal problems. This will |
1200 | get a null symbol returned to decode_line_1, which should force |
1201 | things to be looked up in the misc function vector. |
1202 | |
1203 | Wed Jul 19 13:47:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1204 | |
1205 | * symtab.c (lookup_symbol): Changed "fatal" to "error" in |
1206 | external symbol not found in symtab in which it was supposed to be |
1207 | found. This can be reached because of a bug in ar. |
1208 | |
1209 | Tue Jul 18 22:57:43 1989 Randy Smith (roland at hobbes.ai.mit.edu) |
1210 | |
1211 | * m-news.h [REGISTER_U_ADDR]: Decreased the assumed offset of fp0 |
1212 | by 4 to bring it into (apparently) appropriate alignment with |
1213 | reality. |
1214 | |
1215 | Tue Jul 18 18:14:42 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1216 | |
1217 | * Makefile: pinsn.o should depend on opcode.h |
1218 | |
1219 | * m68k-opcode.h: Moved fmovemx with register lists to before other |
1220 | fmovemx. |
1221 | |
1222 | Tue Jul 18 11:21:42 1989 Jim Kingdon (kingdon at susie) |
1223 | |
1224 | * Makefile, m*.h: Only #define vprintf (to _doprnt or printf, |
1225 | depends on the system) if the library lacks it (controlled by |
1226 | LACK_VPRINTF_DEFINE in makefile). Unpleasant, but necessary to |
1227 | make this work with the GNU C library. |
1228 | |
1229 | Mon Jul 17 15:17:48 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1230 | |
1231 | * breakpoint.c (breakpoint_1): Change addr-b->address to |
1232 | b->address-addr. |
1233 | |
1234 | Sun Jul 16 16:23:39 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1235 | |
1236 | * eval.c (evaluate_subexp): Change error message printed when |
1237 | right operand of '@' is not an integer to English. |
1238 | |
1239 | * infcmd.c (registers_info): Fix call to print_spaces_filtered |
1240 | to specify right # of arguments. |
1241 | |
1242 | * gdb.texinfo (Command Editing): Document info editing command. |
1243 | |
1244 | * coffread.c (read_file_hdr): Add MC68MAGIC. |
1245 | |
1246 | * source.c (select_source_symtab): Change MAX to max. |
1247 | |
1248 | Fri Jul 14 21:19:11 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1249 | |
1250 | * infcmd.c (registers_info): Clean up display to look good with long |
1251 | register names, to say "register" instead of "reg", and to put the |
1252 | "relative to selected stack frame" bit at the top. |
1253 | |
1254 | Fri Jul 14 18:23:09 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1255 | |
1256 | * dbxread.c (record_misc_function): Put parens around | to force |
1257 | correct evaluation. |
1258 | |
1259 | Wed Jul 12 12:25:53 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1260 | |
1261 | * m-newsos3, m-news, infrun.c, Makefile, config.gdb, news-dep.c: |
1262 | Merge in Hikichi's changes for Sony/News-OS 3 support. |
1263 | |
1264 | Tue Jul 11 21:41:32 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1265 | |
1266 | * utils.c (fputs_filtered): Don't do any filtering if output is |
1267 | not to stdout, or if stdout is not a tty. |
1268 | (fprintf_filtered): Rely on fputs_filtered's check for whether to |
1269 | do filtering. |
1270 | |
1271 | Tue Jul 11 00:33:58 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1272 | |
1273 | * GDB 3.2 Released. |
1274 | |
1275 | * valprint.h: Deleted. |
1276 | |
1277 | * utils.c (fputs_filtered): Don't do any filtering if filtering is |
1278 | disabled (lines_per_page == 0). |
1279 | |
1280 | Mon Jul 10 22:27:53 1989 Randy Smith (roland at hobbes.ai.mit.edu) |
1281 | |
1282 | * expread.y [typebase]: Added "unsigned long int" and "unsigned |
1283 | short int" to specs. |
1284 | |
1285 | Mon Jul 10 21:44:55 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1286 | |
1287 | * main.c (main): Make -cd use cd_command to avoid |
1288 | current_directory with non-absolute pathname. |
1289 | |
1290 | Mon Jul 10 00:34:29 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1291 | |
1292 | * dbxread.c (symbol_file_command): Catch errors from stat (even |
1293 | though they should never happen). |
1294 | |
1295 | * source.c (openp): If the path is null, use the current |
1296 | directory. |
1297 | |
1298 | * dbxread.c (read_dbx_symtab): Put N_SETV symbols into the misc |
1299 | function vector ... |
1300 | (record_misc_function): ... as data symbols. |
1301 | |
1302 | * utils.c (fprintf_filtered): Return after printing if we aren't |
1303 | going to do filtering. |
1304 | |
1305 | * Makefile: Added several things for make clean to take care of. |
1306 | |
1307 | * expread.y: Lowered "@" in precedence below +,-,*,/,%. |
1308 | |
1309 | * eval.c (evaluate_subexp): Return an error if the rhs of "@" |
1310 | isn't integral. |
1311 | |
1312 | * Makefile: Added removal of core and gdb[0-9] files to clean |
1313 | target. |
1314 | |
1315 | * Makefile: Made a new target "distclean", which cleans things up |
1316 | correctly for making a distribution. |
1317 | |
1318 | Sun Jul 9 23:21:27 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1319 | |
1320 | * dbxread.c: Surrounded define of gnu symbols with an #ifndef |
1321 | NO_GNU_STABS in case you don't want them on some machines. |
1322 | * m-npl.h, m-pn.h: Defined NO_GNU_STABS. |
1323 | |
1324 | Sun Jul 9 19:25:22 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1325 | |
1326 | * utils.c (fputs_filtered): New function. |
1327 | (fprintf_filtered): Use fputs_filtered. |
1328 | utils.c (print_spaces_filtered), |
1329 | command.c (help_cmd,help_cmd_list), |
1330 | printcmd.c (print_frame_args), |
1331 | stack.c (print_block_frame_locals, print_frame_arg_vars), |
1332 | valprint.c (many functions): Use fputs_filtered instead of |
1333 | fprintf_filtered to avoid arbitrary limit. |
1334 | |
1335 | * utils.c (fprintf_filtered): Fix incorrect comment. |
1336 | |
1337 | Sat Jul 8 18:12:01 1989 Randy Smith (randy at hobbes.ai.mit.edu) |
1338 | |
1339 | * valprint.c (val_print): Changed assignment of pretty to use |
1340 | prettyprint as a conditional rather than rely on values of the |
1341 | enum. |
1342 | |
1343 | * Projects: Cleaned up a little for release. |
1344 | |
1345 | * main.c (initialize_main): Initialize |
1346 | rl_completion_entry_function instead of completion_entry_function. |
1347 | |
1348 | * Makefile: Modified to use the new readline library setup. |
1349 | |
1350 | * breakpoint.c (break_command_1, delete_breakpoint, |
1351 | enable_breakpoint, disable_breakpoint): Put in new printouts for |
1352 | xgdb usage triggered off of xgdb_verbose. |
1353 | * main.c (main): Added check for flag to set xgdb_verbose. |
1354 | * stack.c (frame_command): Set frame_changed when frame command |
1355 | used. |
1356 | |
1357 | Fri Jul 7 16:20:58 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1358 | |
1359 | * Remove valprint.h and move contents to value.h (more logical). |
1360 | |
1361 | Fri Jul 7 02:28:06 1989 Randall Smith (randy at rice-chex) |
1362 | |
1363 | * m68k-pinsn.c (print_insn): Included a check for register list; |
1364 | if there is one, make sure to start p after it. |
1365 | |
1366 | * breakpoint.c (break_command_1, delete_breakpoint, |
1367 | enable_breakpoint, disable_breakpoint): #ifdef'd out changes |
1368 | below; they produce unwanted output in gdb mode in gnu-emacs. |
1369 | |
1370 | * gdb.texinfo: Spelled. Also removed index references from |
1371 | command editing section; the relevance/volume ratio was too low. |
1372 | Removed all references to the function index. |
1373 | |
1374 | * ns32k-opcode.h, ns32k-pinsn.c: Backed out changes of June 24th; |
1375 | haven't yet received legal papers. |
1376 | |
1377 | * .gdbinit: Included message telling the user what it is doing. |
1378 | |
1379 | * symmetry-dep.c: Added static decls for i386_get_frame_setup, |
1380 | i386_follow_jump. |
1381 | * values.c (unpack_double): Added a return (double)0 at the end to |
1382 | silence a compiler warning. |
1383 | |
1384 | * printcmd.c (containing_function_bounds, asdump_command): Created |
1385 | to dump the assembly code of a function (support for xgdb and a |
1386 | useful hack). |
1387 | (_initialize_printcmd): Added this to command list. |
1388 | * gdb.texinfo [Memory]: Added documentation for the asdump |
1389 | command. |
1390 | * breakpoint.c (break_command_1, delete_breakpoint, |
1391 | enable_breakpoint, disable_breakpoint): Added extra verbosity for |
1392 | xgdb conditionalized on the new external frame_full_file_name. |
1393 | * source.c (identify_source_line): Increase verbosity of fullname |
1394 | prointout to include pc value. |
1395 | * stack.c: Added a new variable; "frame_changed" to indicate when |
1396 | a frame has been changed so that gdb can print out a frame change |
1397 | message when the frame only changes implicitly. |
1398 | (print_frame_info): Check the new variable in determining when to |
1399 | print out a new message and set it to zero when done. |
1400 | (up_command): Increment it. |
1401 | (down_command): Decrement it. |
1402 | |
1403 | * m68k-pinsn.c (print_insn_arg [lL]): Modified cases for register |
1404 | lists to reset the point to point to after the word from which the |
1405 | list is grabbed *if* that would cause point to point farther than |
1406 | it currently is. |
1407 | |
1408 | Thu Jul 6 14:28:11 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1409 | |
1410 | * valprint.c (val_print, value_print): Add parameter to control |
1411 | prettyprinting. |
1412 | valprint.h: New file containing constants used for passing |
1413 | prettyprinting parameter to val{,ue}_print. |
1414 | expprint.c, infcmd.c, printcmd.c, valprint.c, values.c: |
1415 | Change all calls to val{,ue}_print to use new parameter. |
1416 | |
1417 | Mon Jul 3 22:38:11 1989 Randy Smith (randy at apple-gunkies.ai.mit.edu) |
1418 | |
1419 | * dbxread.c (,process_one_symbol): Moved extern declaration for |
1420 | index out of function to beginning of file. |
1421 | |
1422 | Mon Jul 3 18:40:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) |
1423 | |
1424 | * gdb.texinfo (Registers): Add "ps" to list of standard registers. |
1425 | |
1426 | Sun Jul 2 23:13:03 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1427 | |
1428 | * printcmd.c (enable_display): Change d->next to d = d->next so |
1429 | that "enable display" without args works. |
1430 | |
1431 | Fri Jun 30 23:42:04 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1432 | |
1433 | * source.c (list_command): Made error message given when no |
1434 | symtab is loaded clearer. |
1435 | |
1436 | * valops.c (value_assign): Make it so that when assigning to an |
1437 | internal variable, the type of the assignment exp is the type of |
1438 | the value being assigned. |
1439 | |
1440 | Fri Jun 30 12:12:43 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1441 | |
1442 | * main.c (verbose_info): Created. |
1443 | (initialize_main): Put "info verbose" into command list. |
1444 | |
1445 | * utils.c (screensize_info): Created. |
1446 | (_initialize_utils): Defined "info screensize" as a normal command. |
1447 | |
1448 | * valprint.c (format_info): Added information about maximum number |
1449 | of array elements to function. |
1450 | |
1451 | * blockframe.c (find_pc_partial_function): Again. |
1452 | |
1453 | * blockframe.c (find_pc_partial_function): Replaced a "shouldn't |
1454 | happen" (which does) with a zero return. |
1455 | |
1456 | * main.c (dont_repeat): Moved ahead of first use. |
1457 | |
1458 | Thu Jun 29 19:15:08 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1459 | |
1460 | * vax-opcode.h: Made minor modifications (moved an instruction and |
1461 | removed a typo) to bring this into accord with gas' table; also |
1462 | changed copyright to reflect it being part of both gdb and gas. |
1463 | |
1464 | * m68k-opcode.h: Added whole scads and bunches of new stuff for |
1465 | the m68851 and changed the coptyrightto recognize that the file |
1466 | was shared between gdb and gas. |
1467 | |
1468 | * main.c (stop_sig): Use "dont_repeat ()" instead of *line = 0; |
1469 | |
1470 | * core.c (read_memory): Don't do anything if length is 0. |
1471 | |
1472 | * Makefile: Added readline.c to the list of files screwed by |
1473 | having the ansi ioctl.h compilation with gcc. |
1474 | |
1475 | * config.gdb: Added sun4os3 & sun4-os3 as availible options. |
1476 | |
1477 | Wed Jun 28 02:01:26 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu) |
1478 | |
1479 | * command.c (lookup_cmd): Add ignore_help_classes argument. |
1480 | (lookup_cmd_1): Add ignore_help_classes argument. |
1481 | command.c, main.c: Change callers of lookup_cmd{,_1} to supply |
1482 | value for ignore_help_classes. |
1483 | |
1484 | Tue Jun 27 18:01:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1485 | |
1486 | * utils.c (print_spaces_filtered): Made more efficient. |
1487 | * defs.h: Declaration. |
1488 | * valprint.c (val_print): Used in a couple of new places. |
1489 | |
1490 | Mon Jun 26 18:27:28 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
1491 | |
1492 | * m68k-pinsn.c (print_insn_arg ['#', '^']): Combined them into one |
1493 | case which always gets the argument from the word immediately |
1494 | following the instruction. |
1495 | (print_insn_arg ["[lL]w"]): Make sure to always get the register |
1496 | mask from the word immediately following the instruction. |
1497 | |
1498 | Sun Jun 25 19:14:56 1989 Randall Smith (randy at galapas.ai.mit.edu) |
1499 | |
1500 | * Makefile: Added hp-include back in as something to distribute. |
1501 | |
1502 | * stack.c (print_block_frame_locals): Return value changed from |
1503 | void to int; return 1 if values printed. Use _filtered. |
1504 | (print_frame_local_vars): Use return value from |
1505 | print_block_frame_locals to mention if nothing printed; mention |
1506 | lack of symbol table, use _filtered. |
1507 | (print_frame_arg_vars): Tell the user if no symbol table |
1508 | or no values printed. Use fprintf_filtered instead of fprintf. |
1509 | * blockframe.c (get_prev_frame_info): Check for no inferior or |
1510 | core file before crashing. |
1511 | |
1512 | * inflow.c (inferior_died): Set current frame to zero to keep from |
1513 | looking like we're in start. |
1514 | |
1515 | Sat Jun 24 15:50:53 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
1516 | |
1517 | * stack.c (frame_command): Added a check to make sure that there |
1518 | was an inferior or a core file. |
1519 | |
1520 | * expread.y (yylex): Allow floating point numbers of the form ".5" |
1521 | to be parsed. |
1522 | |
1523 | Changes by David Taylor at TMC: |
1524 | * ns32k-pinsn.c: Added define for ?floating point coprocessor? and |
1525 | tables for register names to be used for each of the possibilities. |
1526 | (list_search): Created; searches a list of options for a specific |
1527 | value. |
1528 | (print_insn_arg): Added 'Q', 'b', 'M', 'P', 'g', and 'G' options |
1529 | to the value location switch. |
1530 | * ns32k-opcode.h: Added several new location flags. |
1531 | [addr, enter, exit, ext[bwd], exts[bwd], lmr, lpr[bwd], restore, |
1532 | rett, spr[bwd], smr]: Improved insn format output. |
1533 | |
1534 | * symtab.c (list_symbols): Rearrange printing to produce readable |
1535 | output for "info types". |
1536 | |
1537 | * eval.c (evaluate_subexp_for_address): Fixed typo. |
1538 | |
1539 | * dbxread.c (read_type): Don't output an error message when |
1540 | there isn't a ',' after a cross-reference. |
1541 | |
1542 | * dbxread.c (read_dbx_symtab): #if'd out N_FN case in |
1543 | read_dbx_symtab if it has the EXT bit set (otherwise multiple |
1544 | cases with the same value). |
1545 | |
1546 | Fri Jun 23 13:12:08 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
1547 | |
1548 | * symmisc.c: Changed decl of print_spaces from static to extern |
1549 | (since it's defined in utils.c). |
1550 | |
1551 | * remote.c (remote_open): Close remote_desc if it's already been |
1552 | opened. |
1553 | |
1554 | * Remote_Makefile, remote_gutils.c, remote_inflow.c, |
1555 | remote_server.c, remote_utils.c: Combined into remote-multi.shar. |
1556 | * remote-multi.shar: Created (Vikram Koka's remote stub). |
1557 | * remote-sa.m68k.shar: Created (Glenn Engel's remcom.c). |
1558 | * README: Updated to reflect new organization of remote stubs. |
1559 | |
1560 | * dbxread.c (read_dbx_symtab): Put an N_FN in with N_FN | N_EXT to |
1561 | account for those machines which don't use the external bit here. |
1562 | Sigh. |
1563 | |
1564 | * m-symmetry.h: Defined NO_SIGINTERRUPT. |
1565 | |
1566 | Thu Jun 22 12:51:37 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1567 | |
1568 | * printcmd.c (decode_format): Make sure characters are printed |
1569 | using a byte size. |
1570 | |
1571 | * utils.c (error): Added a terminal_ours here. |
1572 | |
1573 | * stack.c (locals_info): Added check for selected frame. |
1574 | |
1575 | * dbxread.c (read_type): Checked to make sure that a "," was |
1576 | actually found in the symbol to end a cross reference. |
1577 | |
1578 | Wed Jun 21 10:30:01 1989 Randy Smith (randy at tartarus.uchicago.edu) |
1579 | |
1580 | * expread.y (parse_number, [exp]): Allowed for the return of a |
1581 | number marked as unsigned; this will allow inclusion of unsigned |
1582 | constants. |
1583 | |
1584 | * symtab.h: Put in default definitions for BUILTIN_TYPE_LONGEST |
1585 | and BUILTIN_TYPE_UNSIGNED_LONGEST. |
1586 | |
1587 | * expread.y (parse_number): Will now accept integers suffixed with |
1588 | a 'u' (though does nothing special with it). |
1589 | |
1590 | * valarith.c (value_binop): Added cases to deal with unsigned |
1591 | arithmetic correctly. |
1592 | |
1593 | Tue Jun 20 14:25:54 1989 Randy Smith (randy at tartarus.uchicago.edu) |
1594 | |
1595 | * dbxread.c (psymtab_to_symtab_1): Changed reading in info message |
1596 | to go through printf_filtered. |
1597 | |
1598 | * symtab.c (list_symbols): Placed header message after all calls |
1599 | to psymtab_to_symtab. |
1600 | |
1601 | * symtab.c (smash_to_{function, reference, pointer}_type): Carried |
1602 | attribute of permanence for the type being smashed over the bzero |
1603 | and allowed any type to point at this one if it is permanent. |
1604 | |
1605 | * symtab.c (smash_to_{function, reference, pointer}_type): Fix |
1606 | typo: check flags of to_type instead of type. |
1607 | |
1608 | * m-hp9k320.h: Changed check on __GNU__ predefine to __GNUC__. |
1609 | |
1610 | * Makefile: Made MUNCH_DEFINE seperate and based on SYSV_DEFINE; |
1611 | they aren't the same on hp's. |
1612 | |
1613 | Mon Jun 19 17:10:16 1989 Randy Smith (randy at tartarus.uchicago.edu) |
1614 | |
1615 | * Makefile: Fixed typo. |
1616 | |
1617 | * valops.c (call_function): Error if the inferior has not been |
1618 | started. |
1619 | |
1620 | * ns32k-opcode.h [check[wc], cmpm[bwd], movm[bwd], skpsb]: Fixed |
1621 | typos. |
1622 | |
1623 | Fri Jun 9 16:23:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1624 | |
1625 | * m-news.h [NO_SIGINTERRUPT]: Defined. |
1626 | |
1627 | * dbxread.c (read_type): Start copy of undefined structure name |
1628 | past [sue] defining type of cross ref. |
1629 | |
1630 | * dbxread.c (process_one_symbol): Changed strchr to index. |
1631 | |
1632 | * ns32k-opcode.h, ns32k-pinsn.c: More changes to number of |
1633 | operands, addition of all of the set condition opcodes, addition |
1634 | of several flag letters, all patterned after the gas code. |
1635 | |
1636 | * ns32k-opcode.h [mov{su,us}[bwd], or[bwd]]: Changed number of |
1637 | operands from 1 to 2. |
1638 | |
1639 | Wed Jun 7 15:04:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1640 | |
1641 | * symseg.h [TYPE_FLAG_STUB]: Created. |
1642 | * dbxread.c (read_type): Set flag bit if type is stub. |
1643 | (cleanup_undefined_types): Don't mark it as a stub if it's been |
1644 | defined since we first learned about it. |
1645 | * valprint.c (val_print): Print out a message to that effect if |
1646 | this type is encountered. |
1647 | |
1648 | * symseg.h, symtab.h: Moved the definition of TYPE_FLAG_PERM over |
1649 | to symseg.h so that all such definitions would be in the same place. |
1650 | |
1651 | * valprint.c (val_print): Print out <No data fields> for a |
1652 | structure if there aren't any. |
1653 | |
1654 | * dbxread.c (read_type): Set type name of a cross reference type |
1655 | to "struct whatever" or something. |
1656 | |
1657 | Tue Jun 6 19:40:52 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1658 | |
1659 | * breakpoint.c (breakpoint_1): Print out symbolic location of |
1660 | breakpoints for which there are no debugging symbols. |
1661 | |
1662 | Mon Jun 5 15:14:51 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1663 | |
1664 | * command.c (help_cmd_list): Made line_size static. |
1665 | |
1666 | Sat Jun 3 17:33:45 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1667 | |
1668 | * Makefile: Don't include the binutils hp-include directory in the |
1669 | distribution anymore; refer the users to the binutils distribution. |
1670 | |
1671 | Thu Jun 1 16:33:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1672 | |
1673 | * printcmd.c (disable_display_command): Fixed loop iteration for |
1674 | no arg case. |
1675 | |
1676 | * printcmd.c (disable_display_command): Added from_tty parameter |
1677 | to function. |
1678 | |
1679 | * valops.c (value_of_variable): Call read_var_value with 0 cast to |
1680 | FRAME instead of CORE_ADDR. |
1681 | |
1682 | * eval.c (evaluate_subexp): Corrected number of args passed to |
1683 | value_subscript (to 2). |
1684 | |
1685 | * infrun.c (wait_for_inferior), symtab.c (decode_line_1), |
1686 | m-convex.h: Changed name of FIRSTLINE_DEBUG_BROKEN to |
1687 | PROLOGUE_FIRSTLINE_OVERLAP. |
1688 | |
1689 | * m-merlin.h: Fixed typo. |
1690 | * ns32k-opcode.h: Added ns32381 opcodes and "cinv" insn, and fixed |
1691 | errors in movm[wd], rett, and sfsr. |
1692 | |
1693 | * eval.c (evaluate_subexp, evaluate_subexp_for_address), valops.c |
1694 | (value_zero): Change value_zero over to taking two arguments |
1695 | instead of three. |
1696 | |
1697 | * eval.c (evaluate_subexp) |
1698 | [OP_VAR_VALUE]: Get correct lval type for AVOID_SIDE_EFFECTS for |
1699 | all types of symbols. |
1700 | [BINOP_DIV]: Don't divide if avoiding side effects; just return |
1701 | an object of the correct type. |
1702 | [BINOP_REPEAT]: Don't call value_repeat, just allocate a |
1703 | repeated value. |
1704 | (evaluete_subexp_for_address) [OP_VAR_VALUE]: Just return a thing |
1705 | of the right type (after checking to make sure that we are allowed |
1706 | to take the address of whatever variable has been passed). |
1707 | |
1708 | Mon May 29 11:01:02 1989 Randall Smith (randy at galapas.ai.mit.edu) |
1709 | |
1710 | * breakpoint.c (until_break_command): Set the breakpoint with a |
1711 | frame specification so that it won't trip in inferior calls to the |
1712 | function. Also set things up so that it works based on selected |
1713 | frame, not current one. |
1714 | |
1715 | Sun May 28 15:05:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1716 | |
1717 | * eval.c (evalue_subexp): Change subscript case to use value_zero |
1718 | in EVAL_AVOID_SIDE_EFFECTS case. |
1719 | |
1720 | Fri May 26 12:03:56 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1721 | |
1722 | * dbxread.c (read_addl_syms, psymtab_to_symtab): Removed |
1723 | cleanup_undefined_types; this needs to be done on a symtab basis. |
1724 | (end_symtab): Called cleanup_undefined_types from here. |
1725 | (cleanup_undefined_types): No longer uses lookup_symbol (brain |
1726 | dead idea; oh, well), now it searches through file_symbols. |
1727 | |
1728 | Wed May 24 15:52:43 1989 Randall Smith (randy at galapas) |
1729 | |
1730 | * source.c (select_source_symtab): Only run through |
1731 | partial_symtab_list if it exists. |
1732 | |
1733 | * coffread.c (read_coff_symtab): Don't unrecord a misc function |
1734 | when a function symbol is seen for it. |
1735 | |
1736 | * expread.y [variable]: Make sure to write a type for memvals if |
1737 | you don't get a mft you recognize. |
1738 | |
1739 | Tue May 23 12:15:57 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
1740 | |
1741 | * dbxread.c (read_ofile_symtab, psymtab_to_symtab): Moved cleanup |
1742 | of undefined types to psymtab_to_symtab. That way it will be |
1743 | called once for all readins (which will, among other things, |
1744 | help reduce infinite loops). |
1745 | |
1746 | * symtab.h [misc_function_type]: Forced mf_unknown to 0. |
1747 | * dbxread.c (record_misc_function): Cast enum to unsigned char (to |
1748 | fit). |
1749 | * expread.y [variable]: Cast unsigned char back to enum to test. |
1750 | |
1751 | Mon May 22 13:08:25 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
1752 | |
1753 | Patches by John Gilmore for dealing well with floating point: |
1754 | * findvar.c (value_from_register, locate_var_value): Used |
1755 | BYTES_BIG_ENDIAN instead of an inline test. |
1756 | * m-sparc.h [IEEE_FLOAT]: Created to indicate that the sparc is |
1757 | IEEE compatible. |
1758 | * printcmd.c (print_scalar_formatted): Use BYTES_BIG_ENDIAN and |
1759 | the stream argument for printing; also modify default type for |
1760 | 'f'. Change handling of invalid floats; changed call syntax for |
1761 | is_nan. |
1762 | (print_command): Don't print out anything indicating that |
1763 | something was recorded on the history list if it wasn't. |
1764 | * valprint.c (val_print): Fixed to deal properley with new format |
1765 | of is_nan and unpacking doubles without errors occuring. |
1766 | (is_nan): Changed argument list and how it figures big endianness |
1767 | (uses macros). |
1768 | * values.c (record_latest_value): Return -1 and don't record if |
1769 | it's an invalid float. |
1770 | (value_as_double): Changed to use new unpack_double calling |
1771 | convention. |
1772 | (unpack_double): Changed not to call error if the float was |
1773 | invalid; simply to set invp and return. Changed calling syntax. |
1774 | (unpack_field_as_long, modify_field): Changed to use |
1775 | BITS_BIG_ENDIAN to determine correct action. |
1776 | |
1777 | * m-hp9k320.h [HP_OS_BUG]: Created; deals with problem where a |
1778 | trap happens after a continue. |
1779 | * infrun.c (wait_for_inferior): Used. |
1780 | |
1781 | * m-convex.h [FIRSTLINE_DEBUG_BROKEN]: Defined a flag to indicate |
1782 | that the debugging symbols output by the compiler for the first |
1783 | line of a function were broken. |
1784 | * infrun.c (wait_for_inferior), symtab.c (decode_line_1): Used. |
1785 | |
1786 | * gdb.texinfo [Data, Memory]: Minor cleanups of phrasing. |
1787 | |
1788 | Fri May 19 00:16:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1789 | |
1790 | * dbxread.c (add_undefined_type, cleanup_undefined_types): Created |
1791 | to keep a list of cross references to as yet undefined types. |
1792 | (read_type): Call add_undefined_type when we run into such a case. |
1793 | (read_addl_syms, read_ofile_symtab): Call cleanup_undefined_types |
1794 | when we're done. |
1795 | |
1796 | * dbxread.c (psymtab_to_symtab, psymtab_to_symtab_1): Broke |
1797 | psymtab_to_symtab out into two routines; made sure the string |
1798 | table was only readin once and the globals were only scanned once, |
1799 | for any number of dependencies. |
1800 | |
1801 | Thu May 18 19:59:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1802 | |
1803 | * m-*.h: Defined (or not, as appropriate per machine) |
1804 | BITS_BIG_ENDIAN, BYTES_BIG_ENDIAN, and WORDS_BIG_ENDIAN. |
1805 | |
1806 | Wed May 17 13:37:45 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1807 | |
1808 | * main.c (symbol_completion_function): Always complete on result |
1809 | command list, even if exact match found. If it's really an exact |
1810 | match, it'll find it again; if there's something longer than it, |
1811 | it'll get the right result. |
1812 | |
1813 | * symtab.c (make_symbol_completion_function): Fixed typo; strcmp |
1814 | ==> strncmp. |
1815 | |
1816 | * dbxread.c (read_dbx_symtab): Change 'G' case to mark symbols as |
1817 | LOC_EXTERNAL. |
1818 | |
1819 | * expread.y [variables]: Changed default type of text symbols to |
1820 | function returning int so that one can use, eg. strcmp. |
1821 | |
1822 | * infrun.c (wait_for_inferior): Include a special flag indicating |
1823 | that one shouldn't insert the breakpoints on the next step for |
1824 | returning from a sigtramp and forcing at least one move forward. |
1825 | |
1826 | * infrun.c (wait_for_inferior): Change test for nexting into a |
1827 | function to check for current stack pointer inner than previous |
1828 | stack pointer. |
1829 | |
1830 | * infrun.c (wait_for_inferior): Check for step resume break |
1831 | address before dealing with normal breakpoints. |
1832 | |
1833 | * infrun.c (wait_for_inferior): Added a case to deal with taking |
1834 | and passing along a signal when single stepping past breakpoints |
1835 | before inserting breakpoints. |
1836 | |
1837 | * infrun.c (wait_for_inferior): Inserted special case to keep |
1838 | going after taking a signal we are supposed to be taking. |
1839 | |
1840 | Tue May 16 12:49:55 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
1841 | |
1842 | * inflow.c (terminal_ours_1): Cast result of signal to (int |
1843 | (*)()). |
1844 | |
1845 | * gdb.texinfo: Made sure that references to the program were in |
1846 | upper case. Modify description of the "set prompt" command. |
1847 | [Running]: Cleaned up introduction. |
1848 | [Attach]: Cleaned up. |
1849 | [Stepping]: Change "Proceed" to "Continue running" or "Execute". |
1850 | Minor cleanup. |
1851 | [Source Path]: Cleaned up intro. Cleared up distinction between |
1852 | the executable search path and the source path. Restated effect |
1853 | of the "directory" command with no arguments. |
1854 | [Data]: Fixed typos and trivial details. |
1855 | [Stepping]: Fixed up explanation of "until". |
1856 | |
1857 | * source.c (print_source_lines): Print through filter. |
1858 | |
1859 | * printcmd.c (x_command): If the format with which to print is |
1860 | "i", use the address of anything that isn't a pointer instead of |
1861 | the value. This is for, eg. "x/10i main". |
1862 | |
1863 | * gdb.texinfo: Updated last modification date on manual. |
1864 | |
1865 | Mon May 15 12:11:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1866 | |
1867 | * symtab.c (lookup_symtab): Fixed typo (name ==> copy) in call to |
1868 | lookup_symtab_1. |
1869 | |
1870 | * gdb.texinfo: Added documentation for "break [+-]n" and for new |
1871 | actions of "directory" command (taking multiple directory names at |
1872 | the same time). |
1873 | |
1874 | * m68k-opcode.h: Replaced the version in gdb with an up-to-date |
1875 | version from the assembler directory. |
1876 | * m68k-pinsn.c (print_insn_arg): Added cases 'l' & 'L' to switch |
1877 | to print register lists for movem instructions. |
1878 | |
1879 | * dbxread.c, m-convex.h: Moved convex dependent include files over |
1880 | from dbxread.c to m-convex.h. |
1881 | |
1882 | * printcmd.c (disable_display, disable_display_command): Changed |
1883 | name of first to second, and created first which takes an int as |
1884 | arg rather than a char pointer. Changed second to use first. |
1885 | (_initialize_printcmd): Changed to use second as command to call. |
1886 | (delete_current_display, disable_current_display): Changed name of |
1887 | first to second, and changed functionality to match. |
1888 | * infrun.c (normal_stop), main.c (return_to_top_level): Changed to |
1889 | call disable_current_display. |
1890 | |
1891 | * dbxread.c (process_one_symbol, read_dbx_symtab): Changed N_FN to |
1892 | be N_FN | N_EXT to deal with new Berkeley define; this works with |
1893 | either the old or the new. |
1894 | |
1895 | * Remote_Makefile, remote_gutils.c, remote_inflow.c, |
1896 | remote_server.c, remote_utils.c: Created. |
1897 | * Makefile: Included in tag and tar files. |
1898 | * README: Included a note about them. |
1899 | |
1900 | * printcmd.c (print_address): Use find_pc_partial_function to |
1901 | remove need to readin symtabs for symbolic addresses. |
1902 | |
1903 | * source.c (directory_command): Replaced function with new one |
1904 | that can accept lists of directories seperated by spaces or :'s. |
1905 | |
1906 | * inflow.c (new_tty): Replaced calls to dup2 with calls to dup. |
1907 | |
1908 | Sun May 14 12:33:16 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1909 | |
1910 | * stack.c (args_info): Make sure that you have an inferior or core |
1911 | file before taking action. |
1912 | |
1913 | * ns32k-opcode.h [deiw, deid]: Fixed machine code values for these |
1914 | opcodes. |
1915 | |
1916 | * dbxread.c (scan_file_globals): Modified to use misc function |
1917 | vector instead of file itself. Killed all arguments to the |
1918 | funciton; no longer needed. |
1919 | (psymtab_to_symtab): Changed call for above to reflect new (void) |
1920 | argument list. |
1921 | |
1922 | * dbxread.c (read_dbx_symtab, ): Moved HASH_OFFSET define out of |
1923 | read_dbx_symtab. |
1924 | |
1925 | * expread.y [variable]: Changed default type of misc function in |
1926 | text space to be (void ()). |
1927 | |
1928 | * Makefile: Modified for proper number of s/r conflicts (order is |
1929 | confusing; the mod that necessitated this change was on May 12th, |
1930 | not today). |
1931 | |
1932 | * expread.y (yylex): Added SIGNED, LONG, SHORT, and INT keywords. |
1933 | [typename]: Created. |
1934 | [typebase]: Added rules for LONG, LONG INT, SHORT, SHORT INT, |
1935 | SIGNED name, and UNSIGNED name (a good approximation of ansi |
1936 | standard). |
1937 | |
1938 | * Makefile: Included .c.o rule to avoid sun's make from throwing |
1939 | any curves at us. |
1940 | |
1941 | * blockframe.c: Included <obstack.h> |
1942 | |
1943 | * command.c (lookup_cmd): Clear out trailing whitespace. |
1944 | |
1945 | * command.c (lookup_cmd_1): Changed malloc to alloca. |
1946 | |
1947 | Fri May 12 12:13:12 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1948 | |
1949 | * printcmd.c (print_frame_args): Only print nameless args when you |
1950 | know how many args there are supposed to be and when you've |
1951 | printed fewer than them. Don't print nameless args between |
1952 | printed args. |
1953 | |
1954 | * symtab.c (make_symbol_completion_function): Fixed typo (= ==> |
1955 | ==). |
1956 | |
1957 | * remote.c (remote_open): ifdef'd out siginterrupt call by #ifndef |
1958 | NO_SIGINTERRUPT. |
1959 | * m-umax.h: Defined NO_SIGINTERRUPT. |
1960 | |
1961 | * expread.y [ptype, array_mod, func_mod, direct_abs_decl, |
1962 | abs_decl]: Added rules for parsing and creating arbitrarily |
1963 | strange types for casts and sizeofs. |
1964 | |
1965 | * symtab.c, symtab.h (create_array_type): Created. Some minor |
1966 | misfeatures; see comments for details (main one being that you |
1967 | might end up creating two arrays when you only needed one). |
1968 | |
1969 | Thu May 11 13:11:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1970 | |
1971 | * valops.c (value_zero): Add an argument for type of lval. |
1972 | * eval.c (evaluate_subexp_for_address): Take address properly in |
1973 | the avoid side affects case (ie. keep track of whether we have an |
1974 | lval in memory and we can take the address). |
1975 | (evaluate_subexp): Set the lval type of expressions created with |
1976 | value_zero properley. |
1977 | |
1978 | * valops.c, value.h (value_zero): Created--will return a value of |
1979 | any type with contents filled with zero. |
1980 | * symtab.c, symtab.h (lookup_struct_elt_type): Created. |
1981 | * eval.c (evaluate_subexp): Modified to not read memory when |
1982 | called with EVAL_AVOID_SIDE_EFFECTS. |
1983 | |
1984 | * Makefile: Moved dbxread.c ahead of coffread.c in the list of |
1985 | source files. |
1986 | |
1987 | Wed May 10 11:29:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
1988 | |
1989 | * munch: Make sure that sysv version substitutes for the whole |
1990 | line. |
1991 | |
1992 | * symtab.h: Created an enum misc_function_type to hold the type of |
1993 | the misc function being recorded. |
1994 | * dbxread.c (record_misc_function): Branched on dbx symbols to |
1995 | decide which type to assign to a misc function. |
1996 | * coffread.c (record_misc_function): Always assign type unknown. |
1997 | * expread.y [variable]: Now tests based on new values. |
1998 | |
1999 | Tue May 9 13:03:54 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2000 | |
2001 | * symtab.c: Changed inclusion of <strings.h> (doesn't work on |
2002 | SYSV) to declaration of index. |
2003 | |
2004 | * Makefile: Changed last couple of READLINE_FLAGS SYSV_DEFINE |
2005 | |
2006 | * source.c ({forward, reverse}_search_command): Made a default |
2007 | search file similar to for the list command. |
2008 | |
2009 | Mon May 8 18:07:51 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2010 | |
2011 | * printcmd.c (print_frame_args): If we don't know how many |
2012 | arguments there are to this function, don't print the nameless |
2013 | arguments. We don't know enough to find them. |
2014 | |
2015 | * printcmd.c (print_frame_args): Call print_frame_nameless_args |
2016 | with proper arguments (start & end as offsets from addr). |
2017 | |
2018 | * dbxread.c (read_addl_syms): Removed cases to deal with global |
2019 | symbols; this should all be done in scan_global_symbols. |
2020 | |
2021 | Sun May 7 11:36:23 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2022 | |
2023 | * Makefile: Added copying.awk to ${OTHERS}. |
2024 | |
2025 | Fri May 5 16:49:01 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2026 | |
2027 | * valprint.c (type_print_varspec_prefix): Don't pass |
2028 | passed_a_pointer onto children. |
2029 | |
2030 | * valprint.c (type_print_varspec_suffix): Print "array of" with |
2031 | whatever the "of" is after tha array brackets. |
2032 | |
2033 | * valprint.c (type_print_varspec_{prefix,suffix}): Arrange to |
2034 | parenthesisze pointers to arrays as well as pointers to other |
2035 | objects. |
2036 | |
2037 | * valprint.c (type_print_varspec_suffix): Make sure to print |
2038 | subscripts of multi-dimensional arrays in the right order. |
2039 | |
2040 | * infcmd.c (run_command): Fixed improper usages of variables |
2041 | within remote debugging branch. |
2042 | |
2043 | * Makefile: Added Convex.notes to the list of extra files to carry |
2044 | around. |
2045 | |
2046 | * dbxread.c (symbol_file_command): Made use of alloca or malloc |
2047 | dependent on macro define. |
2048 | |
2049 | Thu May 4 15:47:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2050 | |
2051 | * Makefile: Changed READLINE_FLAGS to SYSV_DEFINE and called munch |
2052 | with it also. |
2053 | * munch: Check first argument for -DSYSV and be looser about |
2054 | picking up init routines if you find it. |
2055 | |
2056 | * coffread.c: Made fclose be of type int. |
2057 | |
2058 | * breakpoint.c (_initialize_breakpoint): Put "unset" into class |
2059 | alias. |
2060 | |
2061 | Wed May 3 14:09:12 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2062 | |
2063 | * m-sparc.h [STACK_END_ADDR]: Parameterized off of |
2064 | machine/vmparam.h (as per John Gilmore's suggestion). |
2065 | |
2066 | * blockframe.c (get_prev_frame_info): Changed this function back |
2067 | to checking frameless invocation first before checking frame |
2068 | chain. This means that a backtrace up from start will produce the |
2069 | wrong value, but that a backtrace from a frameless function called |
2070 | in main will show up correctly. |
2071 | |
2072 | * breakpoint.c (_initialize_breakpoint): Added entry in help for |
2073 | delete that indicates that unset is an alias for it. |
2074 | |
2075 | * main.c (symbol_completion_function): Modified recognition of |
2076 | being within a single command. |
2077 | |
2078 | Tue May 2 15:13:45 1989 Randy Smith (randy at gnu) |
2079 | |
2080 | * expread.y [variable]: Add some parens to get checking of the |
2081 | misc function vector right. |
2082 | |
2083 | Mon May 1 13:07:03 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2084 | |
2085 | * default-dep.c (core_file_command): Made reg_offset unsigned. |
2086 | |
2087 | * default-dep.c (core_file_command): Improved error messages for |
2088 | reading in registers. |
2089 | |
2090 | * expread.y: Allowed a BLOCKNAME to be ok for a variable name (as |
2091 | per C syntax). |
2092 | |
2093 | * dbxread.c (psymtab_to_symtab): Flushed stdout after printing |
2094 | starting message about reading in symbols. |
2095 | |
2096 | * printcmd.c (print_frame_args): Switched starting place for |
2097 | printing of frameless args to be sizeof int above last real arg |
2098 | printed. |
2099 | |
2100 | * printcmd.c (print_frame_args): Modified final call to |
2101 | print_nameless_args to not use frame slots used array if none had |
2102 | been used. |
2103 | |
2104 | * infrun.c (wait_for_inferior): Take FUNCTION_START_OFFSET into |
2105 | account when dealing with comparison of pc values to function |
2106 | addresses. |
2107 | |
2108 | * Makefile: Added note about compiling gdb on a Vax running 4.3. |
2109 | |
2110 | Sun Apr 30 12:59:46 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2111 | |
2112 | * command.c (lookup_cmd): Got correct error message on bad |
2113 | command. |
2114 | |
2115 | * m-sun3.h [ABOUT_TO_RETURN]: Modified to allow any of the return |
2116 | instructions, including trapv and return from interupt. |
2117 | |
2118 | * command.c (lookup_cmd): If a command is found, use it's values |
2119 | for error reporting and determination of needed subcommands. |
2120 | |
2121 | * command.c (lookup_cmd): Use null string for error if cmdtype is |
2122 | null; pass *line to error instead of **. |
2123 | |
2124 | * command.c (lookup_cmd_1): End of command marked by anything but |
2125 | alpha numeric or '-'. Included ctype.h. |
2126 | |
2127 | Fri Apr 28 18:30:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2128 | |
2129 | * source.c (select_source_symtab): Kept line number from ever |
2130 | being less than 1 in main decode. |
2131 | |
2132 | Wed Apr 26 13:03:20 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2133 | |
2134 | * default-dep.c (core_file_command): Fixed typo. |
2135 | |
2136 | * utils.c (fprintf_filtered): Don't use return value from |
2137 | numchars. |
2138 | |
2139 | * main.c, command.c (complete_on_cmdlist): Moved function to |
2140 | command.c. |
2141 | |
2142 | * command.c (lookup_cmd): Modified to use my new routine. Old |
2143 | version is still there, ifdef'd out. |
2144 | |
2145 | * command.c, command.h (lookup_cmd_1): Added a routine to do all |
2146 | of the work of lookup_cmd with no error reporting and full return |
2147 | of information garnered in search. |
2148 | |
2149 | Tue Apr 25 12:37:54 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2150 | |
2151 | * breakpoint.c (_initialize_breakpoint): Change "delete |
2152 | breakpionts" to be in class alias and not have the abbrev flag |
2153 | set. |
2154 | |
2155 | * main.c (symbol_completion_function): Fix to correctly complete |
2156 | things that correspond to multiword aliases. |
2157 | |
2158 | * main.c (complete_on_cmdlist): Don't complete on something if it |
2159 | isn't a command or prefix (ie. if it's just a help topic). |
2160 | |
2161 | * main.c (symbol_completion_function): Set list index to be 0 if |
2162 | creating a list with just one element. |
2163 | |
2164 | * main.c (complete_on_cmdlist): Don't allow things with |
2165 | abbrev_flag set to be completion values. |
2166 | (symbol_completion_function): Don't accept an exact match if the |
2167 | abbrev flag is set. |
2168 | |
2169 | * dbxread.c (read_type): Fixed typo in comparision to check if |
2170 | type number existed. |
2171 | |
2172 | * dbxread.c (read_type): Made sure to only call dbx_lookup_type on |
2173 | typenums if typenums were not -1. |
2174 | |
2175 | Mon Apr 24 17:52:12 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2176 | |
2177 | * symtab.c: Added strings.h as an include file. |
2178 | |
2179 | Fri Apr 21 15:28:38 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2180 | |
2181 | * symtab.c (lookup_partial_symtab): Changed to only return a match |
2182 | if the name match is exact (which is what I want in all cases in |
2183 | which this is currently used. |
2184 | |
2185 | Thu Apr 20 11:12:34 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2186 | |
2187 | * m-isi.h [REGISTER_U_ADDR]: Installed new version from net. |
2188 | * default-dep.c: Deleted inclusion of fcntl.h; apparently not |
2189 | necessary. |
2190 | * Makefile: Added comment about compiling on isi under 4.3. |
2191 | |
2192 | * breakpoint.c (break_command_1): Only give decode_line_1 the |
2193 | default_breakpoint_defaults if there's nothing better (ie. make |
2194 | the default be off of the current_source notes if at all |
2195 | possible). |
2196 | |
2197 | * blockframe.c (get_prev_frame_info): Clean up comments and |
2198 | delete code ifdefed out around FRAMELESS_FUNCTION_INVOCATION test. |
2199 | |
2200 | * remote.c: Added a "?" message to protocol. |
2201 | (remote_open): Used at startup. |
2202 | (putpkt): Read whatever garbage comes over the line until we see a |
2203 | '+' (ie. don't treat garbage as a timeout). |
2204 | |
2205 | * valops.c (call_function): Eliminated no longer appropriate |
2206 | comment. |
2207 | |
2208 | * infrun.c (wait_for_inferior): Changed several convex conditional |
2209 | compilations to be conditional on CANNOT_EXECUTE_STACK. |
2210 | |
2211 | Wed Apr 19 10:18:17 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2212 | |
2213 | * printcmd.c (print_frame_args): Added code to attempt to deal |
2214 | with arguments that are bigger than an int. |
2215 | |
2216 | Continuation of Convex/Fortran changes: |
2217 | * printcmd.c (print_scalar_formatted): Added leading zeros to |
2218 | printing of large integers. |
2219 | (address_info, print_frame_args): Added code to deal with |
2220 | LOC_REF_ARG. |
2221 | (print_nameless_args): Allow param file to specify a routine with |
2222 | which to print typeless integers. |
2223 | (printf_command): Deal with long long values well. |
2224 | * stack.c (print_frame_arg_vars): Change to deal with LOC_REF_ARG. |
2225 | * symmisc.c (print_symbol): Change to deal with LOC_REF_ARG. |
2226 | * symseg.h: Added LOC_REF_ARG to enum address_class. |
2227 | * symtab.c (lookup_block_symbol): Changed to deal with |
2228 | LOC_REF_ARG. |
2229 | * valarith.c (value_subscripted_rvalue): Created. |
2230 | (value_subscript): Used above when app. |
2231 | (value_less, value_equal): Change to cast to (char *) before doing |
2232 | comparison, for machines where that casting does something. |
2233 | * valops.c (call_function): Setup to deal with machines where you |
2234 | cannot execute code on the stack segment. |
2235 | * valprint.c (val_print): Make sure that array element size isn't |
2236 | zero before printing. Set address of default array to address of |
2237 | first element. Put in a couple of int cast. Removed some convex |
2238 | specific code. Added check for endianness of machine in case of a |
2239 | packed structure. Added code for printing typeless integers and |
2240 | for LONG LONG's. |
2241 | (set_maximum_command): Change to use parse_and_eval_address to get |
2242 | argument (so can use expressions there). |
2243 | * values.c (value_of_internalvar, set_internalvar_component, |
2244 | set_internalvar, convenience_info): Add in hooks for trapped |
2245 | internal vars. |
2246 | (unpack_long): Deal with LONG_LONG. |
2247 | (value_field): Remove LONGEST cast. |
2248 | (using_struct_return): Fixed typo ENUM ==> UNION. |
2249 | * xgdb.c (_initialize_xgdb): Make sure that specify_exec_file_hook |
2250 | is not called unless we are setting up a windowing environ. |
2251 | |
2252 | Tue Apr 18 13:43:37 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2253 | |
2254 | Various changes involved in 1) getting gdb to work on the convex, |
2255 | and 2) Getting gdb to work with fortran (due to convex!csmith): |
2256 | * convex-dep.c, convex-opcode.h, m-convex.h, convex-pinsn.c: |
2257 | Created (or replaced with new files). |
2258 | * Makefile: Add convex dependent files. Changed default flags to |
2259 | gnu malloc to be CFLAGS. |
2260 | * config.gdb: Added convex to list of machines. |
2261 | * core.c (files_info): Added a FILES_INFO_HOOK to be used if |
2262 | defined. |
2263 | (xfer_core_file): Conditionalized compilation of xfer_core_file on |
2264 | the macro XFER_CORE_FILE. |
2265 | * coffread.c (record_misc_function): Made sure it zerod type field |
2266 | (which is now being used; see next). |
2267 | * dbxread.c: Included some convex dependent include files. |
2268 | (copy_pending, fix_common_blocks): Created. |
2269 | [STAB_REG_REGNUM, BELIEVE_PCC_PROMOTION]: Created default values; |
2270 | may be overridden in m-*.h. |
2271 | Included data structures for keeping track of common blocks. |
2272 | (dbx_alloc_type): Modified; if called with negative 1's will |
2273 | create a type without putting it into the type vector. |
2274 | (read_dbx_symtab, read_addl_syms): Modified calls to |
2275 | record_misc_function to include the new information. |
2276 | (symbol_file_command, psymtab_to_symtab, add_file_command): |
2277 | Modified reading in of string table to adapt to machines which |
2278 | *don't* store the size of the string table in the first four bytes |
2279 | of the string table. |
2280 | (read_dbx_symtab, scan_file_globals, read_ofile_symtab, |
2281 | read_addl_syms): Modified assignment of namestring to accept null |
2282 | index into symtab as ok. |
2283 | (read_addl_syms): Modified readin of a new object file to fiddle |
2284 | with common blocks correctly. |
2285 | (process_one_symbol): Fixed incorrect comment about convex. Get |
2286 | symbols local to a lexical context from correct spot on a per |
2287 | machine basis. Catch a bug in pcc which occaisionally puts an SO |
2288 | where there should be an SOL. Seperate sections for N_BCOMM & |
2289 | N_ECOMM. |
2290 | (define_symbol): Ignore symbols with no ":". Use |
2291 | STAB_REG_TO_REGNUM. Added support for function args calling by |
2292 | reference. |
2293 | (read_type): Only read type number if one is there. Remove old |
2294 | (#if 0'd out) array code. |
2295 | (read_array_type): Added code for dealing with adjustable (by |
2296 | parameter) arrays half-heartedly. |
2297 | (read_enum_type): Allow a ',' to end a list of values. |
2298 | (read_range_type): Added code to check for long long. |
2299 | * expread.y: Modified to use LONGEST instead of long where |
2300 | necessary. Modified to use a default type of int for objects that |
2301 | weren't in text space. |
2302 | * findvar.c (locate_var_value, read_var_value): Modified to deal |
2303 | with args passed by reference. |
2304 | * inflow.c (create_inferior): Used CREATE_INFERIOR_HOOK if it |
2305 | exists. |
2306 | * infrun.c (attach_program): Run terminal inferior when attaching. |
2307 | (wait_for_inferior): Removed several convex dependencies. |
2308 | * main.c (float_handler): Created. |
2309 | Made whatever signal indicates a stop configurable (via macro |
2310 | STOP_SIGNAL). |
2311 | (main): Setup use of above as a signal handler. Added check for |
2312 | "-nw" in args already processed. |
2313 | (command_line_input): SIGTSTP ==>STOP_SIGNAL. |
2314 | |
2315 | * expread.y: Added token BLOCKNAME to remove reduce/reduce |
2316 | conflict. |
2317 | * Makefile: Change message to reflect new grammar. |
2318 | |
2319 | Mon Apr 17 13:24:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2320 | |
2321 | * printcmd.c (compare_ints): Created. |
2322 | (print_frame_args): Modified to always print arguments in the |
2323 | order in which they were found in the symbol table. Figure out |
2324 | what apots are missing on the fly. |
2325 | |
2326 | * stack.c (up_command): Error if no inferior or core file. |
2327 | |
2328 | * m-i386.h, m-symmetry.h [FRAMELESS_FUNCTION_INVOCATION]: Created; |
2329 | same as m68k. |
2330 | |
2331 | * dbxread.c (define_symbol): Changed "desc==0" test to |
2332 | "processing_gcc_compilation", which is the correct way to do it. |
2333 | |
2334 | Sat Apr 15 17:18:38 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2335 | |
2336 | * expread.y: Added precedence rules for arglists, ?:, and sizeof |
2337 | to eliminate some shift-reduce conflicts. |
2338 | * Makefile: Modified "Expect" message to conform to new results. |
2339 | |
2340 | Thu Apr 13 12:29:26 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
2341 | |
2342 | * inflow.c (terminal_init_inferior): Fixed typo in recent diff |
2343 | installation; TIOGETC ==> TIOCGETC. |
2344 | |
2345 | * m-vax.h, m-sun2.h, m-sun3.h, m-sparc.h, m-hp*.h, m-isi.h, |
2346 | m-news.h [FRAMELESS_FUNCTION_INVOCATION]: Created macro with |
2347 | appropriate definition. |
2348 | |
2349 | Wed Apr 12 15:30:29 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
2350 | |
2351 | * blockframe.c (get_prev_frame_info): Added in a macro to specify |
2352 | when a "frame" is called without a frame pointer being setup. |
2353 | |
2354 | * Makefile [clean]: Made sure to delete gnu malloc if it was being |
2355 | used. |
2356 | |
2357 | Mon Apr 10 12:43:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2358 | |
2359 | * dbxread.c (process_one_symbol): Reset within_function to 0 after |
2360 | last RBRAC of a function. |
2361 | |
2362 | * dbxread.c (read_struct_type): Changed check for filling in of |
2363 | TYPE_MAIN_VARIANT of type. |
2364 | |
2365 | * inflow.c (create_inferior): Conditionalized fork so that it |
2366 | would be used if USG was defined and HAVE_VFORK was not defined. |
2367 | |
2368 | * defs.h: Added comment about enum command_class element |
2369 | class_alias. |
2370 | |
2371 | * dbxread.c (process_one_symbol): Fixed a typo with interesting |
2372 | implications for associative processing in the brain (':' ==> 'c'). |
2373 | |
2374 | * sparc-dep.c (isabranch): Changed name to isannulled, modified to |
2375 | deal with coprocessor branches, and improved comment. |
2376 | (single_step): Changed to trap at npc + 4 instead of pc +8 on |
2377 | annulled branches. Changed name in call to isabranch as above. |
2378 | |
2379 | * m-sun4os4.h (STACK_END_ADDRESS): Changed it to 0xf8000000 under |
2380 | os 4.0. |
2381 | |
2382 | Sat Apr 8 17:04:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2383 | |
2384 | * dbxread.c (process_one_symbol): In the case N_FUN or N_FNAME the |
2385 | value being refered to is sometimes just a text segment variable. |
2386 | Catch this case. |
2387 | |
2388 | * infrun.c (wait_for_inferior), breakpoint.c |
2389 | (breakpoint_stop_status): Move the selection of the frame to |
2390 | inside breakpoint_stop_status so that the frame only gets selected |
2391 | (and the symbols potentially read in) if the symbols are needed. |
2392 | |
2393 | * symtab.c (find_pc_psymbol): Fixed minor misthough (pc >= |
2394 | fucntion start, not >). |
2395 | |
2396 | * breakpoint.c (_initialize_breakpoint): Change "delete" internal |
2397 | help entry to simply refer to it being a prefix command (since the |
2398 | list of subcommands is right there on a "help delete"). |
2399 | |
2400 | Fri Apr 7 15:22:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2401 | |
2402 | * blockframe.c (find_pc_partial_function): Created; figures out |
2403 | what function pc is in (name and address) without reading in any |
2404 | new symbols. |
2405 | * symtab.h: Added decl for above. |
2406 | * infrun.c (wait_for_inferior): Used instead of |
2407 | find_pc_function_start. |
2408 | * stack.c (print_frame_info): Used instead of hand coding for same |
2409 | thing. |
2410 | |
2411 | * dbxread.c (psymtab_to_symtab): No longer patch readin pst's out |
2412 | of the partial_symtab_list; need them there for some checks. |
2413 | * blockframe.c (block_for_pc), source.c (select_source_symtab), |
2414 | symtab.c (lookup_symbol, find_pc_symtab, list_symbols): Made extra |
2415 | sure not to call psymtab_to_symtab with ->readin == 1, since these |
2416 | psymtab now stay on the list. |
2417 | * symtab.c (sources_info): Now distinguishes between psymtabs with |
2418 | readin set and those with it not set. |
2419 | |
2420 | * symtab.c (lookup_symtab): Added check through partial symtabs |
2421 | for name with .c appended. |
2422 | |
2423 | * source.c (select_source_symtab): Changed semantics a little so |
2424 | that the argument means something. |
2425 | * source.c (list_command), symtab.c (decode_line_1): Changed call |
2426 | to select_source_symtab to match new conventions. |
2427 | |
2428 | * dbxread.c (add_file_command): This command no longer selects a |
2429 | symbol table to list from. |
2430 | |
2431 | * infrun.c (wait_for_inferior): Only call find_pc_function (to |
2432 | find out if we have debugging symbols for a function and hence if |
2433 | we should step over or into it) if we are doing a "step". |
2434 | |
2435 | Thu Apr 6 12:42:28 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2436 | |
2437 | * main.c (command_line_input): Added a local buffer and only |
2438 | copied information into the global main.c buffer when it is |
2439 | appropriate for it to be saved (and repeated). |
2440 | (dont_repeat): Only nail line when we are reading from stdin |
2441 | (otherwise null lines won't repeat and what's in line needs to be |
2442 | saved). |
2443 | (read_command_lines): Fixed typo; you don't what to repeat when |
2444 | reading command lines from the input stream unless it's standard |
2445 | input. |
2446 | |
2447 | John Gilmore's (gnu@toad.com) mods for USG gdb: |
2448 | * inflow.c: Removed inclusion of sys/user.h; no longer necessary. |
2449 | (, terminal_init_inferior, terminal_inferior, terminal_ours_1, |
2450 | term_status_command, _initialize_inflow) Seperated out declaration |
2451 | and usage of terminal mode structures based on the existence of |
2452 | the individual ioctls. |
2453 | * utils.c (request_quit): Restore signal handler under USG. If |
2454 | running under USG initialize sys_siglist at run time (too much |
2455 | variation between systems). |
2456 | |
2457 | Wed Apr 5 13:47:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2458 | |
2459 | John Gilmore's (gnu@toad.com) mods for USG gdb: |
2460 | * default-dep.c: Moved include of sys/user.h to after include of |
2461 | a.out.h. |
2462 | (store_inferior_registers): Fixed error message. |
2463 | (core_file_command): Improved error messages from reading in of |
2464 | u area in core file. Changed calculation of offset of registers |
2465 | to account for some machines putting it in as an offset rather |
2466 | than an absolute address. Changed error messages for reading of |
2467 | registers from core file. |
2468 | |
2469 | * coffread.c (read_file_hdr): Added final check for BADMAG macro |
2470 | to use if couldn't recognize magic number. |
2471 | * Makefile: Added explicit directions for alloca addition. |
2472 | Included alloca.c in list of possible library files. Cleaned up |
2473 | possible library usage. Included additional information on gcc |
2474 | and include files. |
2475 | |
2476 | * source.c, remote.c, inflow.c, dbxread.c, core.c, coffread.c: |
2477 | Changed include of sys/fcntl.h to an include of fcntl.h (as per |
2478 | posix; presumably this will break fewer machines. I hopw). |
2479 | * README: Added a pointer to comments at top of Makefile. |
2480 | * Makefile: Added a comment about machines which need fcntl.h in |
2481 | sys. |
2482 | |
2483 | Tue Apr 4 11:29:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2484 | |
2485 | * valprint.c (set_prettyprint_command, set_unionprint_command, |
2486 | format_info): Created. |
2487 | (_initialize_valprint): Added to lists of commands. |
2488 | |
2489 | * gdb.texinfo [Backtrace]: Added a section describing the format |
2490 | if symbols have not yet been read in. |
2491 | |
2492 | * valprint.c (val_print): Added code to prettyprint structures if |
2493 | "prettyprint" is set and only to print unions below the top level |
2494 | if "unionprint" is set. |
2495 | |
2496 | * infcmd.c (registers_info), valprint.c (value_print, val_print): |
2497 | Added argument to call to val_print indicating deptch of recursion. |
2498 | |
2499 | * symtab.[ch] (find_pc_psymbol): Created; finds static function |
2500 | psymbol with value nearest to but under value passed. |
2501 | * stack.c (print_frame_info): Used above to make sure I have best |
2502 | fit to pc value. |
2503 | |
2504 | * symseg.h (struct partial_symbol): Added value field. |
2505 | * dbxread.c (read_dbx_symtab): Set value field for partial symbols |
2506 | saved (so that we can lookup static symbols). |
2507 | |
2508 | * symtab.[ch] (find_pc_symtab): Changed to external. |
2509 | * stack.c (select_frame): Call above to make sure that symbols for |
2510 | a selected frame is readin. |
2511 | |
2512 | Mon Apr 3 12:48:16 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
2513 | |
2514 | * stack.c (print_frame_info): Modified to only print out full |
2515 | stack frame info on symbols whose tables have been read in. |
2516 | * symtab.c, symtab.h (find_pc_psymtab): Made function external; |
2517 | above needed it. |
2518 | |
2519 | * main.c (,set_verbose_command, initialize_main): Created a |
2520 | variable "info_verbose" which says to talk it up in various and |
2521 | sundry places. Added command to set this variable. |
2522 | * gdb.texinfo (GDB Output): Added documentation on "set verbose" |
2523 | and changed the name of the "Screen Output" section to "GDB |
2524 | Output". |
2525 | * dbxread.c (psymtab_to_symtab): Added information message about |
2526 | symbol readin. Conditionalized on above. |
2527 | |
2528 | * dbxread.c (define_symbol): Made an "i" constant be of class |
2529 | LOC_CONST and an "r" constant be of class LOC_CONST_BYTES. |
2530 | |
2531 | * README: Made a note about modifications which may be necessary |
2532 | to the manual for this version of gdb. |
2533 | |
2534 | * blockframe.c (get_prev_frame_info): Now we get saved address and |
2535 | check for validity before we check for leafism. This means that |
2536 | we will catch the fact that we are in start, but we will miss any |
2537 | fns that start calls without an fp. This should be fine. |
2538 | |
2539 | * m-*.h (FRAME_CHAIN): Modified to return 0 if we are in start. |
2540 | This is usually a test for within the first object file. |
2541 | * m-sparc.h (FRAME_CHAIN): The test here is simply if the fp saved |
2542 | off the the start sp is 0. |
2543 | |
2544 | * blockframe.c (get_prev_frame_info): Removed check to see if we |
2545 | were in start. Screws up sparc. |
2546 | |
2547 | * m-sparc.h (FRAME_FIND_SAVED_REGISTERS): Changed test for dummy |
2548 | frame to not need frame to be innermost. |
2549 | |
2550 | * gdb.texinfo: Added section on frameless invocations of functions |
2551 | and when gdb can and can't deal with this. |
2552 | |
2553 | * stack.c (frame_info): Disallowed call if no inferior or core |
2554 | file; fails gracefully if truely bad stack specfication has been |
2555 | given (ie. parse_frame_specification returns 0). |
2556 | |
2557 | Fri Mar 31 13:59:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2558 | |
2559 | * infrun.c (normal_stop): Changed references to "unset-env" to |
2560 | "delete env". |
2561 | |
2562 | * infcmd.c (_initialize_infcmd): Change reference to set-args in |
2563 | help run to "set args". |
2564 | |
2565 | * remote.c (getpkt): Allow immediate quit when reading from |
2566 | device; it could be hung. |
2567 | |
2568 | * coffread.c (process_coff_symbol): Modify handling of REG |
2569 | parameter symbols. |
2570 | |
2571 | Thu Mar 30 15:27:23 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2572 | |
2573 | * dbxread.c (symbol_file_command): Use malloc to allocate the |
2574 | space for the string table in symbol_file_command (and setup a |
2575 | cleanup for this). This allows a more graceful error failure if |
2576 | there isn't any memory availible (and probably allows more memory |
2577 | to be avail, depending on the machine). |
2578 | |
2579 | Additional mods for handling GNU C++ (from Tiemann): |
2580 | * dbxread.c (read_type): Added case for '#' type (method type, I |
2581 | believe). |
2582 | (read_struct_type): If type code is undefined, make the main |
2583 | variant for the type be itself. Allow recognition of bad format |
2584 | in reading of structure fields. |
2585 | * eval.c (evaluate_subexp): Modify evaluation of a member of a |
2586 | structure and pointer to same to make sure that the syntax is |
2587 | being used correctly and that the member is being accessed correctly. |
2588 | * symseg.h: Added TYPE_CODE_METHOD to enum type_code. Add a |
2589 | pointer to an array of argument types to the type structure. |
2590 | * symtab.c (lookout_method_type, smash_to_method_type): Created. |
2591 | * symtab.h (TYPE_ARG_TYPES): Created. |
2592 | * valops.c (call_function): Modified handling of methods to be the |
2593 | same as handling of functions; no longer check for members. |
2594 | * valprint.c (val_print, type_print_varspec_{prefix,suffix}, |
2595 | type_print_base): Added code to print method args correctly. |
2596 | * values.c (value_virtual_fn_field): Modify access to virtual |
2597 | function table. |
2598 | |
2599 | Wed Mar 29 13:19:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2600 | |
2601 | * findvar.c: Special cases for REGISTER_WINDOWS: 1) Return 0 if we |
2602 | are the innermost frame, and 2) return the next frame in's value |
2603 | if the SP is being looked for. |
2604 | |
2605 | * blockframe.c (get_next_frame): Created; returns the next (inner) |
2606 | frame of the called frame. |
2607 | * frame.h: Extern delcaration for above. |
2608 | |
2609 | * main.c (command_line_input): Stick null at end before doing |
2610 | history expansion. |
2611 | |
2612 | Tue Mar 28 17:35:50 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2613 | |
2614 | * dbxread.c (read_dbx_symtab): Added namestring assignment to |
2615 | N_DATA/BSS/ABS case. Sigh. |
2616 | |
2617 | Sat Mar 25 17:49:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2618 | |
2619 | * expread.y: Defined YYDEBUG. |
2620 | |
2621 | Fri Mar 24 20:46:55 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2622 | |
2623 | * symtab.c (make_symbol_completion_list): Completely rewrote to |
2624 | never call psymtab_to_symtab, to do a correct search (no |
2625 | duplicates) through the visible symbols, and to include structure |
2626 | and union fields in the things that it can match. |
2627 | |
2628 | Thu Mar 23 15:27:44 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2629 | |
2630 | * dbxread.c (dbx_create_type): Created; allocates and inits space |
2631 | for a type without putting it on the type vector lists. |
2632 | (dbx_alloc_type): Uses above. |
2633 | |
2634 | * Makefile: xgdb.o now produced by default rules for .o.c. |
2635 | |
2636 | Fri Mar 17 14:27:50 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2637 | |
2638 | * infrun.c: Fixed up inclusion of aouthdr.h on UMAX_PTRACE. |
2639 | |
2640 | * Makefile, config.gdb: Added hp300bsd to potential |
2641 | configurations. |
2642 | * hp300bsd-dep.c, m-hp300bsd.h: Created. |
2643 | |
2644 | * infrun.c (wait_for_inferior): Rewrote to do no access to |
2645 | inferior until we make sure it's still there. |
2646 | |
2647 | * inflow.c (inferior_died): Added a select to force the selected |
2648 | frame to null when inferior dies. |
2649 | |
2650 | * dbxread.c (symbol_file_command): free and zero symfile when |
2651 | discarding symbols. |
2652 | |
2653 | * core.c (xfer_core_file): Extended and cleaned up logic in |
2654 | interpeting memory address. |
2655 | |
2656 | * core.c (xfer_core_file): Extended opening comment. |
2657 | |
2658 | Thu Mar 16 15:39:42 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2659 | |
2660 | * coffread.c (symbol_file_command): Free symfile name when freeing |
2661 | contents. |
2662 | |
2663 | * blockframe.c (get_prev_frame_info): Added to fatal error message |
2664 | to indicate that it should never happen. |
2665 | |
2666 | * stack.c (frame_info): Printed out value of "saved" sp seperately |
2667 | to call attention to the fact that it isn't stored in memory |
2668 | anywhere; the actual previous frames address is printed. |
2669 | |
2670 | * m-sparc.h (FRAME_FIND_SAVED_REGS): Set address of sp saved in |
2671 | frame to value of fp (rather than value of sp in current frame). |
2672 | |
2673 | * expread.y: Allow "unsigned" as a type itself, as well as a type |
2674 | modifier. |
2675 | |
2676 | * coffread.c: Added declaration for fclose |
2677 | |
2678 | Fri Mar 10 17:22:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2679 | |
2680 | * main.c (command_line_input): Checked for -1 return from |
2681 | readline; indicates EOF. |
2682 | |
2683 | Fri Mar 3 00:31:27 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2684 | |
2685 | * remote.c (remote_open): Cast return from signal to (void (*)) to |
2686 | avoid problems on machines where the return type of signal is (int |
2687 | (*)). |
2688 | |
2689 | * Makefile: Removed deletion of version control from it (users |
2690 | will need it for their changes). |
2691 | |
2692 | Thu Mar 2 15:32:21 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2693 | |
2694 | * symmetry-dep.c (print_1167_regs): Print out effective doubles on |
2695 | even number regs. |
2696 | (fetch_inferior_registers): Get the floating point regs also. |
2697 | |
2698 | * xgdb.c (do_command): Copied command before calling execute |
2699 | command (so that execute_command wouldn't write into text space). |
2700 | |
2701 | * copying.awk: Created (will produce copying.c as output when |
2702 | given COPYING as input). |
2703 | * Makefile: Used above to create copying.c. |
2704 | * main.c: Took out info_warranty and info_copying. |
2705 | |
2706 | * *.*: Changed copyright notice to use new GNU General Public |
2707 | License (includes necessary changes to manual). |
2708 | |
2709 | * xgdb.c (create_text_widget): Created text_widget before I create |
2710 | the source and sink. |
2711 | (print_prompt): Added fflush (stdout). |
2712 | |
2713 | * Makefile: Added -lXmu to the compilation line for xgdb. Left |
2714 | the old one there incase people still had R2. |
2715 | |
2716 | * README: Added note about -gg format. |
2717 | |
2718 | * remote.c (getpkt): Fixed typo; && ==> &. |
2719 | |
2720 | * Makefile: Added new variable READLINE_FLAGS so that I could |
2721 | force compilation of readline.c and history.c with -DSYSV on |
2722 | system V machines. Mentioned in Makefile comments at top. |
2723 | |
2724 | Wed Mar 1 17:01:01 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2725 | |
2726 | * hp9k320-dep.c (store_inferior_registers): Fixed typo. |
2727 | |
2728 | Fri Feb 24 14:58:45 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2729 | |
2730 | * hp9k320-dep.c (store_inferior_registers, |
2731 | fetch_inferior_registers): Added support for remote debugging. |
2732 | |
2733 | * remote.c (remote_timer): Created. |
2734 | (remote_open, readchar): Setup to timeout reads if they take |
2735 | longer than "timeout". This allows one to debug how long such |
2736 | things take. |
2737 | (putpkt): Modified to print a debugging message (if such things |
2738 | are enabled) each time it resends a packet. |
2739 | (getpkt): Modified to make the variable CSUM unsigned and read it |
2740 | CSUM with an & 0xff (presumably to deal with poor sign extension |
2741 | on some machines). Also made c1 and c2 unsigned. |
2742 | (remote_wait): Changed buffer to unsigned status. |
2743 | (remote_store_registers, remote_write_bytes): Puts a null byte at |
2744 | the end of the control string. |
2745 | |
2746 | * infcmd.c (attach_command, detach_command, _initialize_infcmd): |
2747 | Made attach_command and detach_command always availible, but |
2748 | modified them to only allow device file attaches if ATTACH_DETACH |
2749 | is not defined. |
2750 | |
2751 | * gdb.texinfo: Added cross reference from attach command to remote |
2752 | debugging. |
2753 | |
2754 | Thu Feb 23 12:37:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2755 | |
2756 | * remote.c (remote_close): Created to close the remote connection |
2757 | and set the remote_debugging flag to 0. |
2758 | * infcmd.c (detach_command): Now calls the above when appropriate. |
2759 | |
2760 | * gdb.texinfo: Removed references to the ``Distribution'' section |
2761 | in the copyright. |
2762 | |
2763 | * main.c, utils.c (ISATTY): Created default defintions of this |
2764 | macro which use isatty and fileno. |
2765 | * utils.c (fprintf_filtered, print_spaces_filtered), main.c |
2766 | (command_loop, command_line_input): Used this macro. |
2767 | * m-news.h: Created a definition to override this one. |
2768 | |
2769 | * utils.c (fprintf_filtered): Made line_size static (clueless). |
2770 | |
2771 | * utils.c (fprintf_filtered): Changed max length of line printed |
2772 | to be 255 chars or twice the format length. |
2773 | |
2774 | * symmetry-dep.c, m-symmetry: Fixed typo (^L ==> \f). |
2775 | |
2776 | * printcmd.c (do_examine): Fixed typo (\n ==> \t). |
2777 | |
2778 | Wed Feb 22 16:00:33 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2779 | |
2780 | Contributed by Jay Vosburgh (jay@mentor.cc.purdue.edu) |
2781 | * m-symmetry.h, symmetry-dep.c: Created. |
2782 | * Makefile: Added above in appropriate lists. |
2783 | * config.gdb: Added "symmetry" target. |
2784 | |
2785 | * utils.c (prompt_for_continue): Zero'd chars_printed also. |
2786 | |
2787 | * utils.c (fprintf_filtered): Call prompt for continue instead of |
2788 | doing it yourself. |
2789 | |
2790 | * dbxread.c (read_dbx_symtab): Added code to conditionalize what |
2791 | symbol type holds to "x.o" or "-lx" symbol that indicates the |
2792 | beginning of a new file. |
2793 | |
2794 | Tue Feb 21 16:22:13 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2795 | |
2796 | * gdb.texinfo: Deleted @ignore block at end of file. |
2797 | |
2798 | * findvar.c, stack.c: Changed comments that refered to "frame |
2799 | address" to "frame id". |
2800 | |
2801 | * findvar.c (locate_var_value): Modified so that taking the |
2802 | address of an array generates an object whose type is a pointer to |
2803 | the elements of the array. |
2804 | |
2805 | Sat Feb 18 16:35:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2806 | |
2807 | * gdb.texinfo: Removed reference to "!" as a shell escape |
2808 | character. Added a section on controling screen output |
2809 | (pagination); changing "Input" section to "User Interface" |
2810 | section. Changed many inappropriate subsubsection nodes into |
2811 | subsections nodes (in the readline and history expansion |
2812 | sections). |
2813 | |
2814 | Fri Feb 17 11:10:54 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2815 | |
2816 | * utils.c (set_screensize_command): Created. |
2817 | (_initialize_utils): Added above to setlist. |
2818 | |
2819 | * main.c (main): Added check to see if ~/.gdbinit and .gdbinit |
2820 | were the same file; only one gets read if so. Had to include |
2821 | sys/stat.h for this. |
2822 | |
2823 | * valprint.c (type_print_base): Changed calls to print_spaces to |
2824 | print_spaces_filtered. |
2825 | |
2826 | * main.c (command_line_input): Chaned test for command line |
2827 | editing to check for stdin and isatty. |
2828 | |
2829 | * main.c (command_loop): Call reinitialize_more_filter before each |
2830 | command (if reading from stdin and it's a tty). |
2831 | utils.c (initialize_more_filter): Changed name to |
2832 | reinitialize_more_filter; killed arguments. |
2833 | utils.c (_initialize_utils): Created; initialized lines_per_page |
2834 | and chars_per_line here. |
2835 | |
2836 | * utils.c (fprintf_filtered): Removed printing of "\\\n" after |
2837 | printing linesize - 1 chars; assume that the screen display will |
2838 | take care of that. Still watching that overflow. |
2839 | |
2840 | * main.c: Created the global variables linesize and pagesize to |
2841 | describe the number of chars per line and lines per page. |
2842 | |
2843 | Thu Feb 16 17:27:43 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2844 | |
2845 | * printcmd.c (do_examine, print_scalar_formatted, print_address, |
2846 | whatis_command, do_one_display, ptype_command), valprint.c |
2847 | (value_print, val_print, type_print_method_args, type_print_1, |
2848 | type_print_derivation_info, type_print_varspec_suffix, |
2849 | type_print_base), breakpoint.c (breakpoints_info, breakpoint_1), |
2850 | values.c (history_info), main.c (editing_info, warranty_info, |
2851 | copying_info), infcmd.c (registers_info), inflow.c |
2852 | (term_status_command), infrun.c (signals_info), stack.c |
2853 | (backtrace_command, print_frame_info), symtab.c (list_symbols, |
2854 | output_source_filename), command.c (help_cmd, help_list, |
2855 | help_command_list): Replaced calls to printf, fprintf, and putc |
2856 | with calls to [f]printf_filtered to handle more processing. |
2857 | Killed local more emulations where I noticed them. |
2858 | |
2859 | Wed Feb 15 15:27:36 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2860 | |
2861 | * defs.h, utils.c (initialize_more_filter, fprintf_filtered, |
2862 | printf_filtered): Created a printf that will also act as a more |
2863 | filter, prompting the user for a <return> whenever the page length |
2864 | is overflowed. |
2865 | |
2866 | * symtab.c (list_symbols): Elminated some code inside of an #if 0. |
2867 | |
2868 | Tue Feb 14 11:11:24 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2869 | |
2870 | * Makefile: Turned off backup versions for this file; it changes |
2871 | too often. |
2872 | |
2873 | * command.c (lookup_cmd, _initialize_command): Changed '!' so that |
2874 | it was no longer a shell escape. "sh" must be used. |
2875 | |
2876 | * main.c (command_line_input, set_history_expansion, |
2877 | initialize_main): Turned history expansion on, made it the |
2878 | default, and only execute it if the first character in the line is |
2879 | a '!'. |
2880 | |
2881 | * version.c, gdb.texinfo: Moved version to 3.2 (as usual, jumping |
2882 | the gun some time before release). |
2883 | |
2884 | * gdb.texinfo: Added sections (adapted from Brian's notes) on |
2885 | command line editing and history expansion. |
2886 | |
2887 | * main.c (set_command_editing, initialize_main): Modified name to |
2888 | set_editing and modified command to "set editing". |
2889 | |
2890 | * Makefile: Put in dependencies for READLINEOBJS. |
2891 | |
2892 | * main.c (history_info, command_info): Combined into new command |
2893 | info; deleted history_info. |
2894 | (initialize_main): Deleted "info history" command; it was |
2895 | interfering with the value history. |
2896 | |
2897 | * coffread.c (enter_linenos): Modified to do bit copy instead of |
2898 | pointer dereference, since the clipper machine can't handle having |
2899 | longs on short boundaries. |
2900 | (read_file_hdr): Added code to get number of syms for clipper. |
2901 | |
2902 | * stack.c (return_command): Fixed method for checking when all of |
2903 | the necessary frames had been popped. |
2904 | |
2905 | * dbxread.c (read_dbx_symtab (ADD_PSYMBOL_TO_LIST)): Fixed typo in |
2906 | allocation length. |
2907 | |
2908 | Mon Feb 13 10:03:27 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
2909 | |
2910 | * dbxread.c (read_dbx_symtab): Split assignment to namestring into |
2911 | several different assignments (so that it wouldn't be done except |
2912 | when it had to be). Shortened switches and duplicated code to |
2913 | produce the lowest possible execution time. Commented (at top of |
2914 | switch) which code I duplicated. |
2915 | |
2916 | * dbxread.c (read_dbx_symtab): Modified which variables were |
2917 | register and deleted several variables which weren't used. Also |
2918 | eliminated 'F' choice from subswitch, broke out strcmp's, reversed |
2919 | compare on line 1986, and elminated test for !namestring[0]; it is |
2920 | caught by following test for null index of ':'. |
2921 | |
2922 | Sun Feb 12 12:57:56 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
2923 | |
2924 | * main.c (gdb_completer_word_break_characters): Turned \~ into ~. |
2925 | |
2926 | Sat Feb 11 15:39:06 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
2927 | |
2928 | * symtab.c (find_pc_psymtab): Created; checks all psymtab's till |
2929 | it finds pc. |
2930 | (find_pc_symtab): Used; fatal error if psymtab found is readin |
2931 | (should have been caught in symtab loop). |
2932 | (lookup_symbol): Added check before scan through partial symtab |
2933 | list for symbol name to be on the misc function vector (only if in |
2934 | VAR_NAMESPACE). Also made sure that psymtab's weren't fooled with |
2935 | if they had already been read in. |
2936 | (list_symbols): Checked through misc_function_vector for matching |
2937 | names if we were looking for functions. |
2938 | (make_symbol_completion_list): Checked through |
2939 | misc_function_vector for matching names. |
2940 | * dbxread.c (read_dbx_symtab): Don't bother to do processing on |
2941 | global function types; this will be taken care of by the |
2942 | misc_function hack. |
2943 | |
2944 | * symtab.h: Modified comment on misc_function structure. |
2945 | |
2946 | Fri Feb 10 18:09:33 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
2947 | |
2948 | * symseg.h, dbxread.c (read_dbx_symtab, init_psymbol_list, |
2949 | start_psymtab, end_psymtab), coffread.c (_initialize_coff), |
2950 | symtab.c (lookup_partial_symbol, list_symbols, |
2951 | make_symbol_completion_list): Changed separate variables for |
2952 | description of partial symbol allocation into a specific kind of |
2953 | structure. |
2954 | |
2955 | (read_dbx_symtab, process_symbol_for_psymtab): Moved most of |
2956 | process_symbol_for_psymtab up into read_dbx_symtab, moved a couple |
2957 | of symbol types down to the ingore section, streamlined (I hope) |
2958 | code some, modularized access to psymbol lists. |
2959 | |
2960 | Thu Feb 9 13:21:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2961 | |
2962 | * main.c (command_line_input): Made sure that it could recognize |
2963 | newlines as indications to repeat the last line. |
2964 | |
2965 | * symtab.c (_initialize_symtab): Changed size of builtin_type_void |
2966 | to be 1 for compatibility with gcc. |
2967 | |
2968 | * main.c (initialize_main): Made history_expansion the default |
2969 | when gdb is compiled with HISTORY_EXPANSION. |
2970 | |
2971 | * readline.c, readline.h, history.c, history.h, general.h, |
2972 | emacs_keymap.c, vi_keymap.c, keymaps.c, funmap.c: Made all of |
2973 | these links to /gp/gnu/bash/* to keep them updated. |
2974 | * main.c (initialize_main): Made default be command editing on. |
2975 | |
2976 | Wed Feb 8 13:32:04 1989 & Smith (randy at hobbes) |
2977 | |
2978 | * dbxread.c (read_dbx_symtab): Ignore N_BSLINE on first |
2979 | readthrough. |
2980 | |
2981 | * Makefile: Removed convex-dep.c from list of distribution files. |
2982 | |
2983 | Tue Feb 7 14:06:25 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
2984 | |
2985 | * main.c: Added command lists sethistlist and unsethistlist to |
2986 | accesible command lists. |
2987 | (parse_binary_operation): Created to parse a on/1/yes vs. off/0/no |
2988 | spec. |
2989 | (set_command_edit, set_history, set_history_expansion, |
2990 | set_history_write, set_history_size, set_history_filename, |
2991 | command_info, history_info): Created to allow users to control |
2992 | various aspects of command line editing. |
2993 | |
2994 | * main.c (symbol_creation_function): Created. |
2995 | (command_line_input, initialize_main): Added rest of stuff |
2996 | necessary for calling bfox' command editing routines under |
2997 | run-time control. |
2998 | * Makefile: Included readline and history source files for command |
2999 | editing; also made arrangements to make sure that the termcap |
3000 | library was available. |
3001 | * symtab.c (make_symbol_completion_list): Created. |
3002 | |
3003 | Mon Feb 6 16:25:25 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3004 | |
3005 | * main.c: Invented variables to control command editing. |
3006 | command_editing_p, history_expansion_p, history_size, |
3007 | write_history_p, history_filename. Initialized them to default |
3008 | values in initialize_main. |
3009 | |
3010 | * infcmd.c (registers_info), infrun.c (signals_info), |
3011 | * main.c (gdb_read_line): Changed name to command_line_input. |
3012 | (readline): Changed name to gdb_readline; added second argument |
3013 | indicating that the read value shouldn't be saved (via malloc). |
3014 | * infcmd.c (registers_info), infrun.c (signals_info), main.c |
3015 | (copying_info), symtab.c (output_source_filename, MORE, |
3016 | list_symbols): Converted to use gdb_readline in place of |
3017 | gdb_read_line. |
3018 | |
3019 | |
3020 | Sun Feb 5 17:34:38 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3021 | |
3022 | * blockframe.c (get_frame_saved_regs): Removed macro expansion |
3023 | that had accidentally been left in the code. |
3024 | |
3025 | Sat Feb 4 17:54:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3026 | |
3027 | * main.c (gdb_read_line, readline): Added function readline and |
3028 | converted gdb_read_line to use it. This was a conversion to the |
3029 | line at a time style of input, in preparation for full command |
3030 | editing. |
3031 | |
3032 | Fri Feb 3 12:39:03 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3033 | |
3034 | * dbxread.c (read_dbx_symtab): Call end_psymtab at the end of |
3035 | read_dbx_symtab if any psymtab still needs to be completed. |
3036 | |
3037 | * config.gdb, sun3-dep.c: Brought these into accord with the |
3038 | actual sun2 status (no floating point period; sun3-dep.c unless |
3039 | has os > 3.0). |
3040 | * m-sun2os2.h: Deleted; not needed. |
3041 | |
3042 | * config.gdb: Added a couple of aliases for machines in the |
3043 | script. |
3044 | |
3045 | * infrun.c: Added inclusion of aouthdr.h inside of #ifdef UMAX |
3046 | because ptrace needs to know about the a.out header. |
3047 | |
3048 | * Makefile: Made dep.o depend on dep.c and config.status only. |
3049 | |
3050 | * expread.y: Added declarations of all of the new write_exp_elt |
3051 | functions at the include section in the top. |
3052 | |
3053 | * Makefile: Added a YACC definition so that people can use bison |
3054 | if they wish. |
3055 | |
3056 | * Makefile: Added rms' XGDB-README to the distribution. |
3057 | |
3058 | * Makefile: Added removal of init.o on a "make clean". |
3059 | |
3060 | Thu Feb 2 16:27:06 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3061 | |
3062 | * *-dep.c: Deleted definition of COFF_FORMAT if AOUTHDR was |
3063 | defined since 1) We *may* (recent mail message) want to define |
3064 | AOUTHDR under a basically BSD system, and 2) AOUTHDR is sometimes |
3065 | a typedef in coff encapsulation setups. Also removed #define's of |
3066 | AOUTHDR if AOUTHDR is already defined (inside of coff format). |
3067 | * core.c, dbxread.c: Removed #define's of AOUTHDR if AOUTHDR is |
3068 | already defined (inside of coff format). |
3069 | |
e91b87a3 |
3070 | Tue Jan 31 12:56:01 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3071 | |
4187119d |
3072 | * GDB 3.1 released. |
3073 | |
e91b87a3 |
3074 | * values.c (modify_field): Changed test for endianness to assign |
3075 | to integer and reference character (so that all bits would be |
3076 | defined). |
3bf57d21 |
3077 | |
e91b87a3 |
3078 | Mon Jan 30 11:41:21 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3079 | |
e91b87a3 |
3080 | * news-dep.c: Deleted inclusion of fcntl.h; just duplicates stuff |
3081 | found in sys/file.h. |
3bf57d21 |
3082 | |
e91b87a3 |
3083 | * i386-dep.c: Included default definition of N_SET_MAGIC for |
3084 | COFF_FORMAT. |
3bf57d21 |
3085 | |
e91b87a3 |
3086 | * config.gdb: Added checks for several different operating |
3087 | systems. |
3bf57d21 |
3088 | |
e91b87a3 |
3089 | * coffread.c (read_struct_type): Put in a flag variable so that |
3090 | one could tell when you got to the end of a structure. |
3bf57d21 |
3091 | |
e91b87a3 |
3092 | * sun3-dep.c (core_file_command): Changed #ifdef based on SUNOS4 |
3093 | to ifdef based on FPU. |
3bf57d21 |
3094 | |
e91b87a3 |
3095 | * infrun.c (restore_inferior_status): Changed error message to |
3096 | "unable to restore previously selected frame". |
3bf57d21 |
3097 | |
e91b87a3 |
3098 | * dbxread.c (read_dbx_symtab): Used intermediate variable in error |
3099 | message reporting a bad symbol type. (scan_file_globals, |
3100 | read_ofile_symtab, read_addl_syms): Data type of "type" changed to |
3101 | unsigned char (which is what it is). |
3102 | * i386-dep.c: Removed define of COFF_FORMAT if AOUTHDR is defined. |
3103 | Removed define of a_magic to magic (taken care of by N_MAGIC). |
3104 | (core_file_command): Zero'd core_aouthdr instead of setting magic |
3105 | to zero. |
3106 | * i386-pinsn.c: Changed jcxz == jCcxz in jump table. |
3107 | (putop): Added a case for 'C'. |
3108 | (OP_J): Added code to handle possible masking of PC value on |
3109 | certain kinds of data. |
3110 | m-i386gas.h: Moved COFF_ENCAPSULATE to before inclusion of |
3111 | m-i386.h and defined NAMES_HAVE_UNDERSCORE. |
3bf57d21 |
3112 | |
e91b87a3 |
3113 | * coffread.c (unrecrod_misc_function, read_coff_symtab): Added |
3114 | symbol number on which error occured to error output. |
3bf57d21 |
3115 | |
e91b87a3 |
3116 | Fri Jan 27 11:55:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3117 | |
e91b87a3 |
3118 | * Makefile: Removed init.c in make clean. Removed it without -f |
3119 | and with leading - in make ?gdb. |
3bf57d21 |
3120 | |
e91b87a3 |
3121 | Thu Jan 26 15:08:03 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
3122 | |
e91b87a3 |
3123 | Changes to get it to work on gould NP1. |
3124 | * dbxread.c (read_dbx_symtab): Included cases for N_NBDATA and |
3125 | N_NBBSS. |
3126 | (psymtab_to_symtab): Changed declaration of hdr to |
3127 | DECLARE_FILE_HEADERS. Changed access to use STRING_TABLE_SIZE and |
3128 | SYMBOL_TABLE_SIZE. |
3129 | * gld-pinsn.c (findframe): Added declaration of framechain() as |
3130 | FRAME_ADDR. |
3bf57d21 |
3131 | |
e91b87a3 |
3132 | * coffread.c (read_coff_symtab): Avoided treating typedefs as |
3133 | external symbol definitions. |
3bf57d21 |
3134 | |
e91b87a3 |
3135 | Wed Jan 25 14:45:43 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3136 | |
e91b87a3 |
3137 | * Makefile: Removed reference to alloca.c. If they need it, they |
3138 | can pull alloca.o from the gnu-emacs directory. |
3bf57d21 |
3139 | |
e91b87a3 |
3140 | * version.c, gdb.texinfo: Updated version to 3.1 (jumping the gun |
3141 | a bit so that I won't forget when I release). |
3bf57d21 |
3142 | |
e91b87a3 |
3143 | * m-sun2.h, m-sun2os2.h, m-sun3os4.h, config.gdb: Modified code so |
3144 | that default includes new sun core, ptrace, and attach-detach. |
3145 | Added defaults for sun 2 os 2. |
3bf57d21 |
3146 | |
e91b87a3 |
3147 | Modifications to reset stack limit back to what it used to be just |
3148 | before exec. All mods inside of #ifdef SET_STACK_LIMIT_HUGE. |
3149 | * main.c: Added global variable original_stack_limit. |
3150 | (main): Set original_stack_limit to original stack limit. |
3151 | * inflow.c: Added inclusion of necessary files and external |
3152 | reference to original_stack_limit. |
3153 | (create_inferior): Reset stack limit to original_stack_limit. |
3bf57d21 |
3154 | |
e91b87a3 |
3155 | * dbxread.c (read_dbx_symtab): Killed PROFILE_SYMBOLS ifdef. |
3bf57d21 |
3156 | |
e91b87a3 |
3157 | * sparc-dep.c (isabranch): Multiplied offset by 4 before adding it |
3158 | to addr to get target. |
3bf57d21 |
3159 | |
e91b87a3 |
3160 | * Makefile: Added definition of SHELL to Makefile. |
3bf57d21 |
3161 | |
e91b87a3 |
3162 | * m-sun2os4.h: Added code to define NEW_SUN_PTRACE, NEW_SUN_CORE, |
3163 | and ATTACH_DETACH. |
3164 | * sun3-dep.c: Added code to avoid fp regs if we are on a sun2. |
3bf57d21 |
3165 | |
e91b87a3 |
3166 | Tue Jan 24 17:59:14 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3167 | |
e91b87a3 |
3168 | * dbxread.c (read_array_type): Added function. |
3169 | (read_type): Added call to above instead of inline code. |
3bf57d21 |
3170 | |
e91b87a3 |
3171 | * Makefile: Added ${GNU_MALLOC} to the list of dependencies for |
3172 | the executables. |
3bf57d21 |
3173 | |
e91b87a3 |
3174 | Mon Jan 23 15:08:51 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
3bf57d21 |
3175 | |
e91b87a3 |
3176 | * gdb.texinfo: Added paragraph to summary describing languages |
3177 | with which gdb can be run. Also added descriptions of the |
3178 | "info-methods" and "add-file" commands. |
3bf57d21 |
3179 | |
e91b87a3 |
3180 | * symseg.h: Commented a range type as having TYPE_TARGET_TYPE |
3181 | pointing at the containing type for the range (often int). |
3182 | * dbxread.c (read_range_type): Added code to do actual range types |
3183 | if they are defined. Assumed that the length of a range type is |
3184 | the length of the target type; this is a lie, but will do until |
3185 | somebody gets back to me as to what these silly dbx symbols mean. |
3186 | |
3187 | * dbxread.c (read_range_type): Added code to be more picky about |
3188 | recognizing builtins as range types, to treat types defined as |
3189 | subranges of themselves to be subranges of int, and to recognize |
3190 | the char type idiom from dbx as a special case. |
3bf57d21 |
3191 | |
e91b87a3 |
3192 | Sun Jan 22 01:00:13 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3193 | |
e91b87a3 |
3194 | * m-vax.h: Removed definition of FUNCTION_HAS_FRAME_POINTER. |
3195 | * blockframe.c (get_prev_frame_info): Removed default definition |
3196 | and use of above. Instead conditionalized checking for leaf nodes |
3197 | on FUNCTION_START_OFFSET (see comment in code). |
3198 | |
3199 | Sat Jan 21 16:59:19 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3200 | |
e91b87a3 |
3201 | * dbxread.c (read_range_type): Fixed assumption that integer was |
3202 | always type 1. |
3bf57d21 |
3203 | |
e91b87a3 |
3204 | * gdb.texinfo: Fixed spelling mistake and added a note in the |
3205 | running section making it clear that users may invoke subroutines |
3206 | directly from gdb. |
3bf57d21 |
3207 | |
e91b87a3 |
3208 | * blockframe.c: Setup a default definition for the macro |
3209 | FUNCTION_HAS_FRAME_POINTER. |
3210 | (get_prev_frame_info): Used this macro instead of checking |
3211 | SKIP_PROLOGUE directly. |
3212 | * m-vax.h: Overroad definition; all functions on the vax have |
3213 | frame pointers. |
3bf57d21 |
3214 | |
e91b87a3 |
3215 | Fri Jan 20 12:25:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3216 | |
e91b87a3 |
3217 | * core.c: Added default definition of N_MAGIC for COFF_FORMAT. |
3bf57d21 |
3218 | |
e91b87a3 |
3219 | * xgdb.c: Installed a fix to keep the thing from dying when there |
3220 | isn't any frame selected. |
3bf57d21 |
3221 | |
e91b87a3 |
3222 | * core.c: Made a change for the UMAX system; needs a different |
3223 | file included if using that core format. |
3bf57d21 |
3224 | |
e91b87a3 |
3225 | * Makefile: Deleted duplicate obstack.h in dbxread.c dependency. |
3bf57d21 |
3226 | |
e91b87a3 |
3227 | * munch: Modified (much simpler) to cover (I hope) all cases. |
3bf57d21 |
3228 | |
e91b87a3 |
3229 | * utils.c (save_cleanups, restore_cleanups): Added functions to |
3230 | allow you to push and pop the chain of cleanups to be done. |
3231 | * defs.h: Declared the new functions. |
3232 | * main.c (catch_errors): Made sure that the only cleanups which |
3233 | would be done were the ones put on the chain *after* the current |
3234 | location. |
3bf57d21 |
3235 | |
e91b87a3 |
3236 | * m-*.h (FRAME_CHAIN_VALID): Removed check on pc in the current |
3237 | frame being valid. |
3238 | * blockframe.c (get_prev_frame_info): Made the assumption that if |
3239 | a frame's pc value was within the first object file (presumed to |
3240 | be /lib/crt0.o), that we shouldn't go any higher. |
3241 | |
3242 | * infrun.c (wait_for_inferior): Do *not* execute check for stop pc |
3243 | at step_resume_break if we are proceeding over a breakpoint (ie. |
3244 | if trap_expected != 0). |
3245 | |
3246 | * Makefile: Added -g to LDFLAGS. |
3247 | |
3248 | * m-news.h (POP_FRAME) Fixed typo. |
3bf57d21 |
3249 | |
e91b87a3 |
3250 | * printcmd.c (print_frame_args): Modified to print out register |
3251 | params in order by .stabs entry, not by register number. |
3bf57d21 |
3252 | |
e91b87a3 |
3253 | * sparc-opcode.h: Changed declaration of (struct |
3254 | arith_imm_fmt).simm to be signed (as per architecture manual). |
3255 | * sparc-pinsn.c (fprint_addr1, print_insn): Forced a cast to an |
3256 | int, so that we really would get signed behaivior (default for sun |
3257 | cc is unsigned). |
3bf57d21 |
3258 | |
e91b87a3 |
3259 | * i386-dep.c (i386_get_frame_setup): Replace function with new |
3260 | function provided by pace to fix bug in recognizing prologue. |
3bf57d21 |
3261 | |
e91b87a3 |
3262 | Thu Jan 19 11:01:22 1989 Randall Smith (randy at plantaris.ai.mit.edu) |
3263 | |
3264 | * infcmd.c (run_command): Changed error message to "Program not |
3265 | restarted." |
3266 | |
3267 | * value.h: Changed "frame" field in value structure to be a |
3268 | FRAME_ADDR (actually CORE_ADDR) so that it could survive across |
3269 | calls. |
3270 | |
3271 | * m-sun.h (FRAME_FIND_SAVED_REGS): Fixed a typo. |
3272 | |
3273 | * value.h: Added lval: "lval_reg_frame_relative" to indicate a |
3274 | register that must be interpeted relative to a frame. Added |
3275 | single entry to value structure: "frame", used to indicate which |
3276 | frame a relative regnum is relative to. |
3277 | * findvar.c (value_from_register): Modified to correctly setup |
3278 | these fields when needed. Deleted section to fiddle with last |
3279 | register copied on little endian machine; multi register |
3280 | structures will always occupy an integral number of registers. |
3281 | (find_saved_register): Made extern. |
3282 | * values.c (allocate_value, allocate_repeat_value): Zero frame |
3283 | field on creation. |
3284 | * valops.c (value_assign): Added case for lval_reg_frame_relative; |
3285 | copy value out, modify it, and copy it back. Desclared |
3286 | find_saved_register as being external. |
3287 | * value.h: Removed addition of kludgy structure; thoroughly |
3288 | commented file. |
3289 | * values.c (free_value, free_all_values, clear_value_history, |
3290 | set_internalvar, clear_internavars): Killed free_value. |
3bf57d21 |
3291 | |
e91b87a3 |
3292 | Wed Jan 18 20:09:39 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3293 | |
e91b87a3 |
3294 | * value.h: Deleted struct partial_storage; left over from |
3295 | yesterday. |
3bf57d21 |
3296 | |
e91b87a3 |
3297 | * findvar.c (value_from_register): Added code to create a value of |
3298 | type lval_reg_partsaved if a value is in seperate registers and |
3299 | saved in different places. |
3bf57d21 |
3300 | |
e91b87a3 |
3301 | Tue Jan 17 13:50:18 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3302 | |
3303 | * value.h: Added lval_reg_partsaved to enum lval_type and |
3304 | commented enum lval_type. Commented value structure. |
3305 | Added "struct partial_register_saved" to value struct; added |
3306 | macros to deal with structure to value.h. |
3307 | * values.c (free_value): Created; special cases lval_reg_partsaved |
3308 | (which has a pointer to an array which also needs to be free). |
3309 | (free_all_values, clear_value_history, set_internalvar, |
3310 | clear_internalvars): Modified to use free_values. |
3311 | |
3312 | * m-sunos4.h: Changed name to sun3os4.h. |
3313 | * m-sun2os4.h, m-sun4os4.h: Created. |
3314 | * config.gdb: Added configuration entries for each of the above. |
3315 | * Makefile: Added into correct lists. |
3316 | |
3317 | * Makefile: Added dependencies on a.out.encap.h. Made |
3318 | a.out.encap.h dependent on a.out.gnu.h and dbxread.c dependent on |
3319 | stab.gnu.h. |
3320 | |
3321 | * infrun.c, remote.c: Removed inclusion of any a.out.h files in |
3322 | these files; they aren't needed. |
3323 | |
3324 | * README: Added comment about bug reporting and comment about |
3325 | xgdb. |
3326 | |
3327 | * Makefile: Added note to HPUX dependent section warning about |
3328 | problems if compiled with gcc and mentioning the need to add |
3329 | -Ihp-include to CFLAGS if you compile on those systems. Added a |
3330 | note about needing the GNU nm with compilers *of gdb* that use the |
3331 | coff encapsulate feature also. * hp-include: Made symbolic link |
3332 | over to /gp/gnu/binutils. |
3333 | |
3334 | * Makefile: Added TSOBS NTSOBS OBSTACK and REGEX to list of things |
3335 | to delete in "make clean". Also changed "squeakyclean" target as |
3336 | "realclean". |
3337 | |
3338 | * findvar.c (value_from_register): Added assignment of VALUE_LVAL |
3339 | to be lval_memory when that is appropriate (original code didn't |
3340 | bother because it assumed that it was working with a pre lval |
3341 | memoried value). |
3342 | |
3343 | * expread.y (yylex): Changed to only return type THIS if the |
3344 | symbol "$this" is defined in some block superior or equal to the |
3345 | current expression context block. |
3346 | |
3347 | Mon Jan 16 13:56:44 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3348 | |
3349 | * m-*.h (FRAME_CHAIN_VALID): On machines which check the relation |
3350 | of FRAME_SAVED_PC (thisframe) to first_object_file_end (all except |
3351 | gould), make sure that the pc of the current frame also passes (in |
3352 | case someone stops in _start). |
3353 | |
3354 | * findvar.c (value_of_register): Changed error message in case of |
3355 | no inferior or core file. |
3356 | |
3357 | * infcmd.c (registers_info): Added a check for inferior or core |
3358 | file; error message if not. |
3359 | |
3360 | * main.c (gdb_read_line): Modified to take prompt as argument and |
3361 | output it to stdout. |
3362 | * infcmd.c (registers_info, signals_info), main.c (command_loop, |
3363 | read_command_lines, copying_info), symtab.c (decode_line_2, |
3364 | output_source_filename, MORE, list_symbols): Changed calling |
3365 | convention used to call gdb_read_line. |
3366 | |
3367 | * infcmd.c, infrun.c, main.c, symtab.c: Changed the name of the |
3368 | function "read_line" to "gdb_read_line". |
3369 | * breakpoint.c: Deleted external referenced to function |
3370 | "read_line" (not needed by code). |
3371 | |
3372 | Fri Jan 13 12:22:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3373 | |
3374 | * i386-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE. |
3375 | (N_SET_MAGIC): Defined if not defined by include file. |
3376 | (core_file_command): Used N_SET_MAGIC instead of assignment to |
3377 | a_magic. |
3378 | (exec_file_command): Stuck in a HEADER_SEEK_FD. |
3379 | |
3380 | * config.gdb: Added i386-dep.c as depfile for i386gas choice. |
3381 | |
3382 | * munch: Added -I. to cc to pick up things included by the param |
3383 | file. |
3384 | |
3385 | * stab.gnu.def: Changed name to stab.def (stab.gnu.h needs this name). |
3386 | * Makefile: Changed name here also. |
3387 | * dbxread.c: Changed name of gnu-stab.h to stab.gnu.h. |
3388 | |
3389 | * gnu-stab.h: Changed name to stab.gnu.h. |
3390 | * stab.gnu.def: Added as link to binutils. |
3391 | * Makefile: Put both in in the distribution. |
3392 | |
3393 | Thu Jan 12 11:33:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3394 | |
3395 | * dbxread.c: Made which stab.h is included dependent on |
3396 | COFF_ENCAPSULATE; either <stab.h> or "gnu-stab.h". |
3397 | * Makefile: Included gnu-stab.h in the list of files to include in |
3398 | the distribution. |
3399 | * gnu-stab.h: Made a link to /gp/gnu/binutils/stab.h |
3400 | |
3401 | * Makefile: Included a.out.gnu.h and m-i386gas.h in list of |
3402 | distribution files. |
3403 | * m-i386gas.h: Changed to include m-i386.h and fiddle with it |
3404 | instead of being a whole new file. |
3405 | * a.out.gnu.h: Made a link to /gp/gnu/binutils/a.out.gnu.h. |
3406 | |
3407 | Chris Hanson's changes to gdb for hp Unix. |
3408 | * Makefile: Modified comments on hpux. |
3409 | * hp9k320-dep.c: #define'd WOPR & moved inclusion of signal.h |
3410 | * inflow.c: Moved around declaratiosn of <sys/fcntl.h> and |
3411 | <sys/ioctl.h> inside of USG depends and deleted all SYSV ifdef's |
3412 | (use USG instead). |
3413 | * munch: Modified to accept any number of spaces between the T and |
3414 | the symbol name. |
3415 | |
3416 | Pace's changes to gdb to work with COFF_ENCAPSULATE (robotussin): |
3417 | * config.gdb: Added i386gas to targets. |
3418 | * default-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE. |
3419 | (N_SET_MAGIC): Defined if not defined by include file. |
3420 | (core_file_command): Used N_SET_MAGIC instead of assignment to a_magic. |
3421 | (exec_file_command): Stuck in a HEADER_SEEK_FD. |
3422 | * infrun.c, remote.c: Added an include of a.out.encap.h if |
3423 | COFF_ENCAPSULATE defined. This is commented out in these two |
3424 | files, I presume because the definitions aren't used. |
3425 | * m-i386gas.h: Created. |
3426 | * dbxread.c: Included defintions for USG. |
3427 | (READ_FILE_HEADERS): Now uses HEADER_SEEK_FD if it exists. |
3428 | (symbol_file_command): Deleted use of HEADER_SEEK_FD. |
3429 | * core.c: Deleted extra definition of COFF_FORMAT. |
3430 | (N_MAGIC): Defined to be a_magic if not already defined. |
3431 | (validate_files): USed N_MAGIC instead of reading a_magic. |
3bf57d21 |
3432 | |
e91b87a3 |
3433 | Wed Jan 11 12:51:00 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3434 | |
e91b87a3 |
3435 | * remote.c: Upped PBUFSIZ. |
3436 | (getpkt): Added zeroing of c inside loop in case of error retry. |
3bf57d21 |
3437 | |
e91b87a3 |
3438 | * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Removed |
3439 | code to not put stuff with debugging symbols in the misc function |
3440 | list. Had been ifdef'd out. |
3bf57d21 |
3441 | |
e91b87a3 |
3442 | * gdb.texinfo: Added the fact that the return value for a function |
3443 | is printed if you use return. |
3bf57d21 |
3444 | |
e91b87a3 |
3445 | * infrun.c (wait_for_inferior): Removed test in "Have we hit |
3446 | step_resume_breakpoint" for sp values in proper orientation. Was |
3447 | in there for recursive calls in functions without frame pointers |
3448 | and it was screwing up calls to alloca. |
3449 | |
3450 | * dbxread.c: Added #ifdef COFF_ENCAPSULATE to include |
3451 | a.out.encap.h. |
3452 | (symbol_file_command): Do HEADER_SEEK_FD when defined. |
3453 | * dbxread.c, core.c: Deleted #ifdef ROBOTUSSIN stuff. |
3454 | * robotussin.h: Deleted local copy (was symlink). |
3455 | * a.out.encap.h: Created symlink to |
3456 | /gp/gnu/binutils/a.out.encap.h. |
3457 | * Makefile: Removed robotussin.h and included a.out.encap.h in |
3458 | list of files. |
3459 | |
3460 | * valprint.c (val_print, print_scalar_formatted): Changed default |
3461 | precision of printing float value; now 6 for a float and 16 for a |
3462 | double. |
3463 | |
3464 | * findvar.c (value_from_register): Added code to deal with the |
3465 | case where a value is spread over several registers. Still don't |
3466 | deal with the case when some registers are saved in memory and |
3467 | some aren't. |
3bf57d21 |
3468 | |
e91b87a3 |
3469 | Tue Jan 10 17:04:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3470 | |
e91b87a3 |
3471 | * xgdb.c (xgdb_create_window): Removed third arg (XtDepth) to |
3472 | frameArgs. |
3bf57d21 |
3473 | |
e91b87a3 |
3474 | * infrun.c (handle_command): Error if signal number is less or |
3475 | equal to 0 or greater or equal to NSIG or a signal number is not |
3476 | provided. |
3bf57d21 |
3477 | |
e91b87a3 |
3478 | * command.c (lookup_cmd): Modified to not convert command section |
3479 | of command line to lower case in place (in case it isn't a |
3480 | subcommand, but an argument to a command). |
3bf57d21 |
3481 | |
e91b87a3 |
3482 | Fri Jan 6 17:57:34 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3483 | |
e91b87a3 |
3484 | * dbxread.c: Changed "text area" to "data area" in comments on |
3485 | N_SETV. |
3486 | |
3487 | Wed Jan 4 12:29:54 1989 Randall Smith (randy at gluteus.ai.mit.edu) |
3488 | |
3489 | * dbxread.c: Added definitions of gnu symbol types after inclusion |
3490 | of a.out.h and stab.h. |
3491 | |
3492 | Mon Jan 2 20:38:31 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3493 | |
3494 | * eval.c (evaluate_subexp): Binary logical operations needed to |
3495 | know type to determine whether second value should be evaluated. |
3496 | Modified to discover type before binup_user_defined_p branch. |
3497 | Also commented "enum noside". |
3498 | |
3499 | * Makefile: Changed invocations of munch to be "./munch". |
3500 | |
3501 | * gdb.texinfo: Updated to refer to current version of gdb with |
3502 | January 1989 last update. |
3503 | |
3504 | * coffread.c (end_symtab): Zero context stack when finishing |
3505 | lexical contexts. |
3506 | (read_coff_symtab): error if context stack 0 in ".ef" else case. |
3507 | |
3508 | * m-*.h (FRAME_SAVED_PC): Changed name of argument from "frame" to |
3509 | "FRAME" to avoid problems with replacement of "->frame" part of |
3510 | macro. |
3bf57d21 |
3511 | |
e91b87a3 |
3512 | * i386-dep.c (i386_get_frame_setup): Added codestream_get() to |
3513 | move codestream pointer up to the correct location in "subl $X, |
3514 | %esp" case. |
3bf57d21 |
3515 | |
e91b87a3 |
3516 | Sun Jan 1 14:24:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3517 | |
e91b87a3 |
3518 | * valprint.c (val_print): Rewrote routine to print string pointed |
3519 | to by char pointer; was producing incorrect results when print_max |
3520 | was 0. |
3bf57d21 |
3521 | |
e91b87a3 |
3522 | Fri Dec 30 12:13:35 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3523 | |
e91b87a3 |
3524 | * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put |
3525 | everything on the misc function list. |
3bf57d21 |
3526 | |
e91b87a3 |
3527 | * Checkpointed distribution. |
3bf57d21 |
3528 | |
e91b87a3 |
3529 | * Makefile: Added expread.tab.c to the list of things slated for |
3530 | distribution. |
3bf57d21 |
3531 | |
e91b87a3 |
3532 | Thu Dec 29 10:06:41 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3533 | |
e91b87a3 |
3534 | * stack.c (set_backtrace_limit_command, backtrace_limit_info, |
3535 | bactrace_command, _initialize_stack): Removed modifications for |
3536 | limit on backtrace. Piping the backtrace through an interuptable |
3537 | "more" emulation is a better way to do it. |
3bf57d21 |
3538 | |
e91b87a3 |
3539 | Wed Dec 28 11:43:09 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3540 | |
e91b87a3 |
3541 | * stack.c |
3542 | (set_backtrace_limit_command): Added command to set a limit to the |
3543 | number of frames for a backtrace to print by default. |
3544 | (backtrace_limit_info): To print the current limit. |
3545 | (backtrace_command): To use the limit. |
3546 | (_initialize_stack): To initialize the limit to its default value |
3547 | (30), and add the set and info commands onto the appropriate |
3548 | command lists. |
3bf57d21 |
3549 | |
e91b87a3 |
3550 | * gdb.texinfo: Documented changes to "backtrace" and "commands" |
3551 | commands. |
3bf57d21 |
3552 | |
e91b87a3 |
3553 | * stack.c (backtrace_command): Altered so that a negative argument |
3554 | would show the last few frames on the stack instead of the first |
3555 | few. |
3556 | (_initialize_stack): Modified help documentation. |
3bf57d21 |
3557 | |
e91b87a3 |
3558 | * breakpoint.c (commands_command): Altered so that "commands" with |
3559 | no argument would refer to the last breakpoint set. |
3560 | (_initialize_breakpoint): Modified help documentation. |
3bf57d21 |
3561 | |
e91b87a3 |
3562 | * infrun.c (wait_for_inferior): Removed ifdef on Sun4; now you can |
3563 | single step through compiler generated sub calls and will die if |
3564 | you next off of the end of a function. |
3bf57d21 |
3565 | |
e91b87a3 |
3566 | * sparc-dep.c (single_step): Fixed typo; "break_insn" ==> "sizeof |
3567 | break_insn". |
3bf57d21 |
3568 | |
e91b87a3 |
3569 | * m-sparc.h (INIT_EXTRA_FRAME_INFO): Set the bottom of a stack |
3570 | frame to be the bottom of the stack frame inner from this, if that |
3571 | inner one is a leaf node. |
3bf57d21 |
3572 | |
e91b87a3 |
3573 | * dbxread.c (read_dbx_symtab): Check to make sure we don't add a |
3574 | psymtab to it's own dependency list. |
3bf57d21 |
3575 | |
e91b87a3 |
3576 | * dbxread.c (read_dbx_symtab): Modified check for duplicate |
3577 | dependencies to catch them correctly. |
3bf57d21 |
3578 | |
e91b87a3 |
3579 | Tue Dec 27 17:02:09 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3580 | |
e91b87a3 |
3581 | * m-*.h (FRAME_SAVED_PC): Modified macro to take frame info |
3582 | pointer as argument. |
3583 | * stack.c (frame_info), blockframe.c (get_prev_frame_info), |
3584 | gld-pinsn.c (findframe), m-*.h (SAVED_PC_AFTER_CALL, |
3585 | FRAME_CHAIN_VALID, FRAME_NUM_ARGS): Changed usage of macros to |
3586 | conform to above. |
3587 | * m-sparc.h (FRAME_SAVED_PC), sparc-dep.c (frame_saved_pc): |
3588 | Changed frame_saved_pc to have a frame info pointer as an |
3589 | argument. |
3bf57d21 |
3590 | |
e91b87a3 |
3591 | * m-vax.h, m-umax.h, m-npl.h, infrun.c (wait_for_inferior), |
3592 | blockframe.c (get_prev_frame_info): Modified SAVED_PC_AFTER_CALL |
3593 | to take a frame info pointer as an argument. |
3bf57d21 |
3594 | |
e91b87a3 |
3595 | * blockframe.c (get_prev_frame_info): Altered the use of the |
3596 | macros FRAME_CHAIN, FRAME_CHAIN_VALID, and FRAME_CHAIN_COMBINE to |
3597 | use frame info pointers as arguments instead of frame addresses. |
3598 | * m-vax.h, m-umax.h, m-sun3.h, m-sun3.h, m-sparc.h, m-pn.h, |
3599 | m-npl.h, m-news.h, m-merlin.h, m-isi.h, m-hp9k320.h, m-i386.h: |
3600 | Modified definitions of the above macros to suit. |
3601 | * m-pn.h, m-npl.h, gould-dep.c (findframe): Modified findframe to |
3602 | use a frame info argument; also fixed internals (wouldn't work |
3603 | before). |
3bf57d21 |
3604 | |
e91b87a3 |
3605 | * m-sparc.h: Cosmetic changes; reordered some macros and made sure |
3606 | that nothing went over 80 lines. |
3bf57d21 |
3607 | |
e91b87a3 |
3608 | Thu Dec 22 11:49:15 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3609 | |
e91b87a3 |
3610 | * Version 3.0 released. |
3bf57d21 |
3611 | |
e91b87a3 |
3612 | * README: Deleted note about changing -lobstack to obstack.o. |
3bf57d21 |
3613 | |
e91b87a3 |
3614 | Wed Dec 21 11:12:47 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3615 | |
e91b87a3 |
3616 | * m-vax.h (SKIP_PROLOGUE): Now recognizes gcc prologue also. |
3bf57d21 |
3617 | |
e91b87a3 |
3618 | * blockframe.c (get_prev_frame_info): Added FUNCTION_START_OFFSET |
3619 | to result of get_pc_function_start. |
3620 | * infrun.c (wait_for_inferior): Same. |
3bf57d21 |
3621 | |
e91b87a3 |
3622 | * gdb.texinfo: Documented new "step" and "next" behavior in |
3623 | functions without line number information. |
3bf57d21 |
3624 | |
e91b87a3 |
3625 | Tue Dec 20 18:00:45 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3626 | |
e91b87a3 |
3627 | * infcmd.c (step_1): Changed behavior of "step" or "next" in a |
3628 | function witout line number information. It now sets the step |
3629 | range around the function (to single step out of it) using the |
3630 | misc function vector, warns the user, and continues. |
3bf57d21 |
3631 | |
e91b87a3 |
3632 | * symtab.c (find_pc_line): Zero "end" subsection of returned |
3633 | symtab_and_line if no symtab found. |
3bf57d21 |
3634 | |
e91b87a3 |
3635 | Mon Dec 19 17:44:35 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3636 | |
e91b87a3 |
3637 | * i386-pinsn.c (OP_REG): Added code from pace to streamline |
3638 | disassembly and corrected types. |
3639 | * i386-dep.c |
3640 | (i386_follow_jump): Code added to follow byte and word offset |
3641 | branches. |
3642 | (i386_get_frame_setup): Expanded to deal with more wide ranging |
3643 | function prologue. |
3644 | (i386_frame_find_saved_regs, i386_skip_prologue): Changed to use |
3645 | i386_get_frame_setup. |
3646 | |
3bf57d21 |
3647 | |
e91b87a3 |
3648 | Sun Dec 18 11:15:03 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3649 | |
e91b87a3 |
3650 | * m-sparc.h: Deleted definition of SUN4_COMPILER_BUG; was designed |
3651 | to avoid something that I consider a bug in our code, not theirs, |
3652 | and which I fixed earlier. Also deleted definition of |
3653 | CANNOT_USE_ARBITRARY_FRAME; no longer used anywhere. |
3654 | FRAME_SPECIFICATION_DYADIC used instead. |
3bf57d21 |
3655 | |
e91b87a3 |
3656 | * infrun.c (wait_for_inferior): On the sun 4, if a function |
3657 | doesn't have a prologue, a next over it single steps into it. |
3658 | This gets around the problem of a "call .stret4" at the end of |
3659 | functions returning structures. |
3660 | * m-sparc.h: Defined SUN4_COMPILER_FEATURE. |
3bf57d21 |
3661 | |
e91b87a3 |
3662 | * main.c (copying_info): Seperated the last printf into two |
3663 | printfs. The 386 compiler will now handle it. |
3bf57d21 |
3664 | |
e91b87a3 |
3665 | * i386-pinsn.c, i386-dep.c: Moved print_387_control_word, |
3666 | print_387_status_word, print_387_status, and i386_float_info to |
3667 | dep.c Also included reg.h in dep.c. |
3bf57d21 |
3668 | |
e91b87a3 |
3669 | Sat Dec 17 15:31:38 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
3670 | |
e91b87a3 |
3671 | * main.c (source_command): Don't close instream if it's null |
3672 | (indicating execution of a user-defined command). |
3673 | (execute_command): Set instream to null before executing |
3674 | commands and setup clean stuff to put it back on error. |
3bf57d21 |
3675 | |
e91b87a3 |
3676 | * inflow.c (terminal_inferior): Went back to not checking the |
3677 | ioctl returns; there are some systems when this will simply fail. |
3678 | It seems that, on most of these systems, nothing bad will happen |
3679 | by that failure. |
3bf57d21 |
3680 | |
e91b87a3 |
3681 | * values.c (value_static_field): Fixed dereferencing of null |
3682 | pointer. |
3bf57d21 |
3683 | |
e91b87a3 |
3684 | * i386-dep.c (i386_follow_jump): Modified to deal with |
3685 | unconditional byte offsets also. |
3bf57d21 |
3686 | |
e91b87a3 |
3687 | * dbxread.c (read_type): Fixed typo in function type case of switch. |
3bf57d21 |
3688 | |
e91b87a3 |
3689 | * infcmd.c (run_command): Does not prompt to restart if command is |
3690 | not from a tty. |
3bf57d21 |
3691 | |
e91b87a3 |
3692 | Fri Dec 16 15:21:58 1988 Randy Smith (randy at calvin) |
3bf57d21 |
3693 | |
e91b87a3 |
3694 | * gdb.texinfo: Added a third option under the "Cannot Insert |
3695 | Breakpoints" workarounds. |
3bf57d21 |
3696 | |
e91b87a3 |
3697 | * printcmd.c (display_command): Don't do the display unless there |
3698 | is an active inferior; only set it. |
3bf57d21 |
3699 | |
e91b87a3 |
3700 | * findvar.c (value_of_register): Added an error check for calling |
3701 | this when the inferior isn't active and a core file isn't being |
3702 | read. |
3bf57d21 |
3703 | |
e91b87a3 |
3704 | * config.gdb: Added reminder about modifying REGEX in the |
3705 | makefile for the 386. |
3bf57d21 |
3706 | |
e91b87a3 |
3707 | * i386-pinsn.c, i386-dep.c: Moved m-i386.h helper functions over |
3708 | to i386-dep.c.b |
3bf57d21 |
3709 | |
e91b87a3 |
3710 | Thu Dec 15 14:04:25 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3711 | |
e91b87a3 |
3712 | * README: Added a couple of notes about compiling gdb with itself. |
3bf57d21 |
3713 | |
e91b87a3 |
3714 | * breakpoint.c (set_momentary_breakpoint): Only takes FRAME_FP of |
3715 | frame if frame is non-zero. |
3bf57d21 |
3716 | |
e91b87a3 |
3717 | * printcmd.c (print_scalar_formatted): Implemented /g size for |
3718 | hexadecimal format on machines without an 8 byte integer type. It |
3719 | seems to be non-trivial to implement /g for other formats. |
3720 | (decode_format): Allowed hexadecimal format to make it through /g |
3721 | fileter. |
3bf57d21 |
3722 | |
e91b87a3 |
3723 | Wed Dec 14 13:27:04 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
3724 | |
e91b87a3 |
3725 | * expread.y: Converted all calls to write_exp_elt from the parser |
3726 | to calls to one of write_exp_elt_{opcode, sym, longcst, dblcst, |
3727 | char, type, intern}. Created all of these routines. This gets |
3728 | around possible problems in passing one of these things in one ear |
3729 | and getting something different out the other. Eliminated |
3730 | SUN4_COMPILER_BUG ifdef's; they are now superfluous. |
3bf57d21 |
3731 | |
e91b87a3 |
3732 | * symmisc.c (free_all_psymtabs): Reinited partial_symtab_list to 0. |
3733 | (_initialize_symmisc): Initialized both symtab_list and |
3734 | partial_symtab_list. |
3bf57d21 |
3735 | |
e91b87a3 |
3736 | * dbxread.c (start_psymtab): Didn't allocate anything on |
3737 | dependency list. |
3738 | (end_psymtab): Allocate dependency list on psymbol obstack from |
3739 | local list. |
3740 | (add_psymtab_dependency): Deleted. |
3741 | (read_dbx_symtab): Put dependency on local list if it isn't on it |
3742 | already. |
3bf57d21 |
3743 | |
e91b87a3 |
3744 | * symtab.c: Added definition of psymbol_obstack. |
3745 | * symtab.h: Added declaration of psymbol_obstack. |
3746 | * symmisc.c (free_all_psymtabs): Added freeing and |
3747 | reinitionaliztion of psymbol_obstack. |
3748 | * dbxread.c (free_all_psymbols): Deleted. |
3749 | (start_psymtab, end_psymtab, |
3750 | process_symbol_for_psymtab): Changed most allocation |
3751 | of partial symbol stuff to be off of psymbol_obstack. |
3bf57d21 |
3752 | |
e91b87a3 |
3753 | * symmisc.c (free_psymtab, free_all_psymtabs): Deleted |
3754 | free_psymtab subroutine. |
3bf57d21 |
3755 | |
e91b87a3 |
3756 | * symtab.h: Removed num_includes and includes from partial_symtab |
3757 | structure; no longer needed now that all include files have their |
3758 | own psymtab. |
3759 | * dbxread.c (start_psymtab): Eliminated initialization of above. |
3760 | (end_psymtab): Eliminated finalization of above; get |
3761 | includes from seperate list. |
3762 | (read_dbx_symtab): Moved includes from psymtab list to |
3763 | their own list; included in call to end_psymtab. |
3764 | * symmisc.c (free_psymtab): Don't free includes. |
3bf57d21 |
3765 | |
e91b87a3 |
3766 | Tue Dec 13 14:48:14 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3767 | |
e91b87a3 |
3768 | * i386-pinsn.c: Reformatted entire file to correspond to gnu |
3769 | software indentation conventions. |
3bf57d21 |
3770 | |
e91b87a3 |
3771 | * sparc-dep.c (skip_prologue): Added capability of recognizign |
3772 | stores of input register parameters into stack slots. |
3bf57d21 |
3773 | |
e91b87a3 |
3774 | * sparc-dep.c: Added an include of sparc-opcode.h. |
3775 | * sparc-pinsn.c, sparc-opcode.h: Moved insn_fmt structures and |
3776 | unions from pinsn.c to opcode.h. |
3777 | * sparc-pinsn.c, sparc-dep.c (isabranch, skip_prologue): Moved |
3778 | this function from pinsn.c to dep.c. |
3bf57d21 |
3779 | |
e91b87a3 |
3780 | * Makefile: Put in warnings about compiling with gcc (non-ansi |
3781 | include files) and compiling with shared libs on Sunos 4.0 (can't |
3782 | debug something that's been compiled that way). |
3bf57d21 |
3783 | |
e91b87a3 |
3784 | * sparc-pinsn.c: Put in a completely new file (provided by |
3785 | Tiemann) to handle floating point disassembly, load and store |
3786 | instructions, and etc. better. Made the modifications this file |
3787 | (ChangeLog) list for sparc-pinsn.c again. |
3bf57d21 |
3788 | |
e91b87a3 |
3789 | * symtab.c (output_source_filename): Included "more" emulation hack. |
3bf57d21 |
3790 | |
e91b87a3 |
3791 | * symtab.c (output_source_filename): Initialized COLUMN to 0. |
3792 | (sources_info): Modified to not print out a line for |
3793 | all of the include files within a partial symtab (since |
3794 | they have pst's of their own now). Also modified to |
3795 | make a distinction between those pst's read in and |
3796 | those not. |
3bf57d21 |
3797 | |
e91b87a3 |
3798 | * infrun.c: Included void declaration of single_step() if it's |
3799 | going to be used. |
3800 | * sparc-dep.c (single_step): Moved function previous to use of it. |
3bf57d21 |
3801 | |
e91b87a3 |
3802 | * Makefile: Took removal of expread.tab.c out of make clean entry |
3803 | and put it into a new "squeakyclean" entry. |
3bf57d21 |
3804 | |
e91b87a3 |
3805 | Mon Dec 12 13:21:02 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
3806 | |
e91b87a3 |
3807 | * sparc-pinsn.c (skip_prologue): Changed a struct insn_fmt to a |
3808 | union insn_fmt. |
3bf57d21 |
3809 | |
e91b87a3 |
3810 | * inflow.c (terminal_inferior): Checked *all* return codes from |
3811 | ioctl's and fcntl's in routine. |
3bf57d21 |
3812 | |
e91b87a3 |
3813 | * inflow.c (terminal_inferior): Added check for sucess of |
3814 | TIOCSPGRP ioctl call. Just notifies if bad. |
3bf57d21 |
3815 | |
e91b87a3 |
3816 | * dbxread.c (symbol_file_command): Close was getting called twice; |
3817 | once directly and once through cleanup. Killed the direct call. |
3bf57d21 |
3818 | |
e91b87a3 |
3819 | Sun Dec 11 19:40:40 1988 & Smith (randy at hobbes.ai.mit.edu) |
3bf57d21 |
3820 | |
e91b87a3 |
3821 | * valprint.c (val_print): Deleted spurious printing of "=" from |
3822 | TYPE_CODE_REF case. |
3bf57d21 |
3823 | |
e91b87a3 |
3824 | Sat Dec 10 16:41:07 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3825 | |
3826 | * dbxread.c: Changed allocation of psymbols from using malloc and |
3827 | realloc to using obstacks. This means they aren't realloc'd out |
3828 | from under the pointers to them. |
3bf57d21 |
3829 | |
e91b87a3 |
3830 | Fri Dec 9 10:33:24 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3831 | |
e91b87a3 |
3832 | * sparc-dep.c inflow.c core.c expread.y command.c infrun.c |
3833 | infcmd.c dbxread.c symmisc.c symtab.c printcmd.c valprint.c |
3834 | values.c source.c stack.c findvar.c breakpoint.c blockframe.c |
3835 | main.c: Various cleanups inspired by "gcc -Wall" (without checking |
3836 | for implicit declarations). |
3bf57d21 |
3837 | |
e91b87a3 |
3838 | * Makefile: Cleaned up some more. |
3bf57d21 |
3839 | |
e91b87a3 |
3840 | * valops.c, m-*.h (FIX_CALL_DUMMY): Modified to take 5 arguments |
3841 | as per what sparc needs (programming for a superset of needed |
3842 | args). |
3bf57d21 |
3843 | |
e91b87a3 |
3844 | * dbxread.c (process_symbol_for_psymtab): Modified to be slightly |
3845 | more picky about what it puts on the list of things *not* to be |
3846 | put on the misc function list. When/if I shift everything over to |
3847 | being placed on the misc_function_list, this will go away. |
3bf57d21 |
3848 | |
e91b87a3 |
3849 | * inferior.h, infrun.c: Added fields to save in inferior_status |
3850 | structure. |
3bf57d21 |
3851 | |
e91b87a3 |
3852 | * maketarfile: Deleted; functionality is in Makefile now. |
3bf57d21 |
3853 | |
e91b87a3 |
3854 | * infrun.c (wait_for_inferior): Modified algorithm for determining |
3855 | whether or not a single-step was through a subroutine call. See |
3856 | comments at top of file. |
3bf57d21 |
3857 | |
e91b87a3 |
3858 | * dbxread.c (read_dbx_symtab): Made sure that the IGNORE_SYMBOL |
3859 | macro would be checked during initial readin. |
3bf57d21 |
3860 | |
e91b87a3 |
3861 | * dbxread.c (read_ofile_symtab): Added macro GCC_COMPILED_FLAG_SYMBOL |
3862 | into dbxread.c to indicate what string in a local text symbol will |
3863 | indicate a file compiled with gcc. Defaults to "gcc_compiled.". |
3bf57d21 |
3864 | |
e91b87a3 |
3865 | Thu Dec 8 11:46:22 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3866 | |
e91b87a3 |
3867 | * m-sparc.h (FRAME_FIND_SAVED_REGS): Cleaned up a little to take |
3868 | advantage of the new frame cache system. |
3bf57d21 |
3869 | |
e91b87a3 |
3870 | * inferior.h, infrun.c, valops.c, valops.c, infcmd.c: Changed |
3871 | mechanism to save inferior status over calls to inferior (eg. |
3872 | call_function); implemented save_inferior_info and |
3873 | restore_inferior_info. |
3bf57d21 |
3874 | |
e91b87a3 |
3875 | * blockframe.c (get_prev_frame): Simplified this by a direct call |
3876 | to get_prev_frame_info. |
3bf57d21 |
3877 | |
e91b87a3 |
3878 | * frame.h, stack.c, printcmd.c, m-sparc.h, sparc-dep.c: Removed |
3879 | all uses of frame_id_from_addr. There are short routines like it |
3880 | still in frame_saved_pc (m-sparc.h) and parse_frame_spec |
3881 | (stack.c). Eventually the one in frame_saved_pc will go away. |
3bf57d21 |
3882 | |
e91b87a3 |
3883 | * infcmd.c, sparc-dep.c: Implemented a new mechanism for |
3884 | re-selecting the selected frame on return from a call. |
3bf57d21 |
3885 | |
e91b87a3 |
3886 | * blockframe.c, stack.c, findvar.c, printcmd.c, m-*.h: Changed |
3887 | all routines and macros that took a "struct frame_info" as an |
3888 | argument to take a "struct frame_info *". Routines: findarg, |
3889 | framechain, print_frame_args, FRAME_ARGS_ADDRESS, |
3890 | FRAME_STRUCT_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, |
3891 | FRAME_FIND_SAVED_REGS. |
3bf57d21 |
3892 | |
e91b87a3 |
3893 | * frame.h, stack.c, printcmd.c, infcmd.c, findvar.c, breakpoint.c, |
3894 | blockframe.c, xgdb.c, i386-pinsn.c, gld-pinsn.c, m-umax.h, |
3895 | m-sun2.h, m-sun3.h, m-sparc.h, m-pn.h, m-npl.h, m-news.h, |
3896 | m-merlin.h, m-isi.h, m-i386.h, m-hp9k320.h: Changed routines to |
3897 | use "struct frame_info *" internally. |
3bf57d21 |
3898 | |
e91b87a3 |
3899 | Wed Dec 7 12:07:54 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3900 | |
e91b87a3 |
3901 | * frame.h, blockframe.c, m-sparc.h, sparc-dep.c: Changed all calls |
3902 | to get_[prev_]frame_cache_item to get_[prev_]frame_info. |
3bf57d21 |
3903 | |
e91b87a3 |
3904 | * blockframe.c: Elminated get_frame_cache_item and |
3905 | get_prev_frame_cache_item; functionality now taken care of by |
3906 | get_frame_info and get_prev_frame_info. |
3bf57d21 |
3907 | |
e91b87a3 |
3908 | * blockframe.c: Put allocation on an obstack and eliminated fancy |
3909 | reallocation routines, several variables, and various nasty |
3910 | things. |
3bf57d21 |
3911 | |
e91b87a3 |
3912 | * frame.h, stack.c, infrun.c, blockframe.c, sparc-dep.c: Changed |
3913 | type FRAME to be a typedef to "struct frame_info *". Had to also |
3914 | change routines that returned frame id's to return the pointer |
3915 | instead of the cache index. |
3bf57d21 |
3916 | |
e91b87a3 |
3917 | * infcmd.c (finish_command): Used proper method of getting from |
3918 | function symbol to start of function. Was treating a symbol as a |
3919 | value. |
3bf57d21 |
3920 | |
e91b87a3 |
3921 | * blockframe.c, breakpoint.c, findvar.c, infcmd.c, stack.c, |
3922 | xgdb.c, i386-pinsn.c, frame.h, m-hp9k320.h, m-i386.h, m-isi.h, |
3923 | m-merlin.h, m-news.h, m-npl.h, m-pn.h, m-sparc.h, m-sun2.h, |
3924 | m-sun3.h, m-umax.h: Changed get_frame_info and get_prev_frame_info |
3925 | to return pointers instead of structures. |
3bf57d21 |
3926 | |
e91b87a3 |
3927 | * blockframe.c (get_pc_function_start): Modified to go to misc |
3928 | function table instead of bombing if pc was in a block without a |
3929 | containing function. |
3bf57d21 |
3930 | |
e91b87a3 |
3931 | * coffread.c: Dup'd descriptor passed to read_coff_symtab and |
3932 | fdopen'd it so that there wouldn't be multiple closes on the same |
3933 | fd. Also put (fclose, stream) on the cleanup list. |
3bf57d21 |
3934 | |
e91b87a3 |
3935 | * printcmd.c, stack.c: Changed print_frame_args to take a |
3936 | frame_info struct as argument instead of the address of the args |
3937 | to the frame. |
3bf57d21 |
3938 | |
e91b87a3 |
3939 | * m-i386.h (STORE_STRUCT_RETURN): Decremented sp by sizeof object |
3940 | to store (an address) rather than 1. |
3bf57d21 |
3941 | |
e91b87a3 |
3942 | * dbxread.c (read_dbx_symtab): Set first_object_file_end in |
3943 | read_dbx_symtab (oops). |
3bf57d21 |
3944 | |
e91b87a3 |
3945 | * coffread.c (fill_in_vptr_fieldno): Rewrote TYPE_BASECLASS as |
3946 | necessary. |
3bf57d21 |
3947 | |
e91b87a3 |
3948 | Tue Dec 6 13:03:43 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3949 | |
e91b87a3 |
3950 | * coffread.c: Added fake support for partial_symtabs to allow |
3951 | compilation and execution without there use. |
3952 | * inflow.c: Added a couple of minor USG mods. |
3953 | * munch: Put in appropriate conditionals so that it would work on |
3954 | USG systems. |
3955 | * Makefile: Made regex.* handled same as obstack.*; made sure tar |
3956 | file included everything I wanted it to include (including |
3957 | malloc.c). |
3bf57d21 |
3958 | |
e91b87a3 |
3959 | * dbxread.c (end_psymtab): Create an entry in the |
3960 | partial_symtab_list for each subfile of the .o file just read in. |
3961 | This allows a "list expread.y:10" to work when we haven't read in |
3962 | expread.o's symbol stuff yet. |
3bf57d21 |
3963 | |
e91b87a3 |
3964 | * symtab.h, dbxread.c (psymtab_to_symtab): Recognize pst->ldsymlen |
3965 | == 0 as indicating a dummy psymtab, only in existence to cause the |
3966 | dependency list to be read in. |
3bf57d21 |
3967 | |
e91b87a3 |
3968 | * dbxread.c (sort_symtab_syms): Elminated reversal of symbols to |
3969 | make sure that register debug symbol decls always come before |
3970 | parameter symbols. After mod below, this is not needed. |
3bf57d21 |
3971 | |
e91b87a3 |
3972 | * symtab.c (lookup_block_symbol): Take parameter type symbols |
3973 | (LOC_ARG or LOC_REGPARM) after any other symbols which match. |
3bf57d21 |
3974 | |
e91b87a3 |
3975 | * dbxread.c (read_type): When defining a type in terms of some |
3976 | other type and the other type is supposed to have a pointer back |
3977 | to this specific kind of type (pointer, reference, or function), |
3978 | check to see if *that* type has been created yet. If it has, use |
3979 | it and fill in the appropriate slot with a pointer to it. |
3bf57d21 |
3980 | |
e91b87a3 |
3981 | Mon Dec 5 11:25:04 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
3982 | |
e91b87a3 |
3983 | * symmisc.c: Eliminated existence of free_inclink_symtabs and |
3984 | init_free_inclink_symtabs; they aren't called from anywhere, and |
3985 | if they were they could disrupt gdb's data structure badly |
3986 | (elimination of struct type's which values that stick around past |
3987 | elimination of inclink symtabs). |
3988 | |
3989 | * dbxread.c (symbol_file_command): Fixed a return pathway out of |
3990 | the routine to do_cleanups before it left. |
3991 | |
3992 | * infcmd.c (set_environment_command), gdb.texinfo: Added |
3993 | capability to set environmental variable values to null. |
3994 | |
3995 | * gdb.texinfo: Modified doc on "break" without args slightly. |
3996 | |
3997 | Sun Dec 4 17:03:16 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3998 | |
3999 | * dbxread.c (symbol_file_command): Added check; if there weren't |
4000 | any debugging symbols in the file just read, the user is warned. |
4001 | |
4002 | * infcmd.c: Commented set_environment_command (a little). |
4003 | |
4004 | * createtags: Cleaned up and commented. |
4005 | |
4187119d |
4006 | * Makefile: Updated depen_memory and write_inferior_memory in that errno is |
4007 | checked after each ptrace and returned to the caller. Used in |
4008 | value_at to detect references to addresses which are out of |
4009 | bounds. Also core.c (xfer_core_file): return 1 if invalid |
4010 | address, 0 otherwise. |
e91b87a3 |
4011 | |
4187119d |
4012 | * inflow.c, <machine>-infdep.c: removed all calls to ptrace from |
4013 | inflo, m-sun3.h: Cleaned up dealings with |
4014 | functions returning structu0 19:19:36 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
e91b87a3 |
4015 | |
4187119d |
4016 | * symmisc.c: (read_symsegs) Accept only format number 2. Since |
4017 | the size of the type structure changed when C++ support was added, |
4018 | format 1 can no longer be used. |
e91b87a3 |
4019 | |
4187119d |
4020 | * core.c, m-sunos4.h: (core_file_command) support for SunOS 4.0. |
4021 | Slight change in the core structure. #ifdef SUNOS4. New file |
4022 | m-sunos4.h. May want to change config.gdb also. |
e91b87a3 |
4023 | |
4187119d |
4024 | Fri Jul 8 19:59:49 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
e91b87a3 |
4025 | |
4187119d |
4026 | * breakpoint.c: (break_command_1) Allow `break if condition' |
4027 | rather than parsing `if' as a function name and returning an |
4028 | error. |
e91b87a3 |
4029 | |
4187119d |
4030 | Thu Jul 7 22:22:47 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
e91b87a3 |
4031 | |
4187119d |
4032 | * C++: valops.c, valprint.c, value.h, values.c: merged code to deal |
4033 | with C++ expressions. |
e91b87a3 |
4034 | |
4187119d |
4035 | Wed Jul 6 03:28:18 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
e91b87a3 |
4036 | |
4187119d |
4037 | * C++: dbxread.c: (read_dbx_symtab, condense_misc_bunches, |
4038 | add_file_command) Merged code to read symbol information from |
4039 | an incrementally linked file. symmisc.c: |
4040 | (init_free_inclink_symtabs, free_inclink_symtabs) Cleanup |
4041 | routines. |
e91b87a3 |
4042 | |
4187119d |
4043 | Tue Jul 5 02:50:41 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
e91b87a3 |
4044 | |
4187119d |
4045 | * C++: symtab.c, breakpoint.c, source.c: Merged code to deal with |
4046 | ambiguous line specifications. In C++ one can have overloaded |
4047 | function names, so that `list classname::overloadedfuncname' |
4048 | refers to several different lines, possibly sure currently configured machine |
4049 | dependent files come first in e at corn-chex.ai.mit.edu) |
e91b87a3 |
4050 | |
4187119d |
4051 | * C++: symtab.c: replaced lookup_symtab_1 and lookup_symtab_2 with |
4052 | a modified lookup_symbol which checks for fields of the current |
4053 | implied argument `this'. printcmd.c, source.c, symtab.c, |
4054 | valops.c: Need to change callers once callers are |
4055 | installed. |
e91b87a3 |
4056 | |
4187119d |
4057 | Wed Jun 29 01:26:56 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu) |
e91b87a3 |
4058 | |
4187119d |
4059 | * C++: eval.c, expprint.c, expread.y, expression.h, valarith.c, |
4060 | Merged code to deal with evaluation of user-defined operators, |
4061 | member functions, and virtual functions. |
4062 | binop_must_be_user_defined tests for user-defined binops, |
4063 | value_x_binop calls the appropriate operator function. |
e91b87a3 |
4064 | |
4187119d |
4065 | Tue Jun 28 02:56:42 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu) |
e91b87a3 |
4066 | |
4187119d |
4067 | * C++: Makefile: changed the echo: expect 101 shift/reduce conflicts |
4068 | and 1 reduce/reduce conflict. |
e91b87a3 |
4069 | |
4187119d |
4070 | \f |
4071 | Local Variables: |
4072 | mode: indented-text |
4073 | eval: (auto-fill-mode 1) |
4074 | left-margin: 8 |
4075 | fill-column: 74 |
4076 | version-control: never |
4077 | End: |
4078 | \0ng destructors and |
e91b87a3 |
4079 | constructors, and flags being defined via public and via |
4080 | virtual paths. Added fields NEXT_VARIANT, N_BASECLASSES, |
4081 | and BASECLASSES to this type (tr: Changed types from |
4082 | having to be derived from a single baseclass to a multiple |
4083 | base class). |
4084 | * symtab.h: Added macros to access new fields defined in symseg.h. |
4085 | Added decl for lookup_basetype_type. |
4086 | * dbxread.c |
4087 | (condense_addl_misc_bunches): Function added to condense the misc |
4088 | function bunches added by reading in a new .o file. |
4089 | (read_addl_syms): Function added to read in symbols |
4090 | from a new .o file (incremental linking). |
4091 | (add_file_command): Command interface function to indicate |
4092 | incrmental linking of a new .o file; this now calls |
4093 | read_addl_syms and condense_addl_misc_bunches. |
4094 | (define_symbol): Modified code to handle types defined from base |
4095 | types which were not known when the derived class was |
4096 | output. |
4097 | (read_struct_type): Modified to better handle description of |
4098 | struct types as derived types. Possibly derived from |
4099 | several different base classes. Also added new code to |
4100 | mark definitions via virtual paths or via public paths. |
4101 | Killed seperate code to handle classes with destructors |
4102 | but without constructors and improved marking of classes |
4103 | as having destructors and constructors. |
4104 | * infcmd.c: Modified call to val_print (one more argument). |
4105 | * symtab.c (lookup_member_type): Modified to deal with new |
4106 | structure in symseg.h. |
4107 | (lookup_basetype_type): Function added to find or construct a type |
4108 | ?derived? from the given type. |
4109 | (decode_line_1): Modified to deal with new type data structures. |
4110 | Modified to deal with new number of args for |
4111 | decode_line_2. |
4112 | (decode_line_2): Changed number of args (?why?). |
4113 | (init_type): Added inits for new C++ fields from |
4114 | symseg.h. |
4115 | *valarith.c |
4116 | (value_x_binop, value_binop): Added cases for BINOP_MIN & |
4117 | BINOP_MAX. |
4118 | * valops.c |
4119 | (value_struct_elt, check_field, value_struct_elt_for_address): |
4120 | Changed to deal with multiple possible baseclasses. |
4121 | (value_of_this): Made SELECTED_FRAME an extern variable. |
4122 | * valprint.c |
4123 | (val_print): Added an argument DEREF_REF to dereference references |
4124 | automatically, instead of printing them like pointers. |
4125 | Changed number of arguments in recursive calls to itself. |
4126 | Changed to deal with varibale numbers of base classes. |
4127 | (value_print): Changed number of arguments to val_print. Print |
4128 | type of value also if value is a reference. |
4129 | (type_print_derivation_info): Added function to print out |
4130 | derivation info a a type. |
4131 | (type_print_base): Modified to use type_print_derivation_info and |
4132 | to handle multiple baseclasses. |
4133 | |
4134 | Mon Nov 21 10:32:07 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
4135 | |
4136 | * inflow.c (term_status_command): Add trailing newline to output. |
4137 | |
4138 | * sparc-dep.c (do_save_insn, do_restore_insn): Saved |
4139 | "stop_registers" over the call for the sake of normal_stop and |
4140 | run_stack_dummy. |
4141 | |
4142 | * m-sparc.h (EXTRACT_RETURN_VALUE): Put in parenthesis to force |
4143 | addition of 8 to the int pointer, not the char pointer. |
4144 | |
4145 | * sparc-pinsn.c (print_addr1): Believe that I have gotten the |
4146 | syntax right for loads and stores as adb does it. |
4147 | |
4148 | * symtab.c (list_symbols): Turned search for match on rexegp into |
4149 | a single loop. |
4150 | |
4151 | * dbxread.c (psymtab_to_symtab): Don't read it in if it's already |
4152 | been read in. |
4153 | |
4154 | * dbxread.c (psymtab_to_symtab): Changed error to fatal in |
4155 | psymtab_to_symtab. |
4156 | |
4157 | * expread.y (parse_number): Fixed bug which treated 'l' at end of |
4158 | number as '0'. |
4159 | |
4160 | Fri Nov 18 13:57:33 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
4161 | |
4162 | * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Was |
4163 | being foolish and using pointers into an array I could realloc. |
4164 | Converted these pointers into integers. |
4165 | |
4166 | Wed Nov 16 11:43:10 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
4167 | |
4168 | * m-sparc.h (POP_FRAME): Made the new frame be PC_ADJUST of the |
4169 | old frame. |
4170 | |
4171 | * i386-pinsn.c, m-hp9k320.h, m-isi.h, m-merlin.h, m-news.h, |
4172 | m-npl.h, m-pn.h, m-sparc.h, m-sun2.h, m-sun3.h, m-umax.h, m-vax.h: |
4173 | Modified POP_FRAME to use the current frame instead of |
4174 | read_register (FP_REGNUM) and to flush_cached_frames before |
4175 | setting the current frame. Also added a call to set the current |
4176 | frame in those POP_FRAMEs that didn't have it. |
4177 | |
4178 | * infrun.c (wait_for_inferior): Moved call to set_current_frame up |
4179 | to guarrantee that the current frame will always be set when a |
4180 | POP_FRAME is done. |
4181 | |
4182 | * infrun.c (normal_stop): Added something to reset the pc of the |
4183 | current frame (was incorrect because of DECR_PC_AFTER_BREAK). |
4184 | |
4185 | * valprint.c (val_print): Changed to check to see if a string was |
4186 | out of bounds when being printed and to indicate this if so. |
4187 | |
4188 | * convex-dep.c (read_inferior_memory): Changed to return the value |
4189 | of errno if the call failed (which will be 0 if the call |
4190 | suceeded). |
4191 | |
4192 | Tue Nov 15 10:17:15 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
4193 | |
4194 | * infrun.c (wait_for_inferior): Two changes: 1) Added code to |
4195 | not trigger the step breakpoint on recursive calls to functions |
4196 | without frame info, and 2) Added calls to distinguish recursive |
4197 | calls within a function without a frame (which next/nexti might |
4198 | wish to step over) from jumps to the beginning of a function |
4199 | (which it generally doesn't). |
4200 | |
4201 | * m-sparc.h (INIT_EXTRA_FRAME_INFO): Bottom set correctly for leaf |
4202 | parents. |
4203 | |
4204 | * blockframe.c (get_prev_frame_cache_item): Put in mod to check |
4205 | for a leaf node (by presence or lack of function prologue). If |
4206 | there is a leaf node, it is assumed that SAVED_PC_AFTER_CALL is |
4207 | valid. Otherwise, FRAME_SAVED_PC or read_pc is used. |
3bf57d21 |
4208 | |
e91b87a3 |
4209 | * blockframe.c, frame.h: Did final deletion of unused routines and |
4210 | commented problems with getting a pointer into the frame cache in |
4211 | the frame_info structure comment. |
3bf57d21 |
4212 | |
e91b87a3 |
4213 | * blockframe.c, frame.h, stack.c: Killed use of |
4214 | frame_id_from_frame_info; used frame_id_from_addr instead. |
3bf57d21 |
4215 | |
e91b87a3 |
4216 | * blockframe.c, frame.h, stack.c, others (oops): Combined stack |
4217 | cache and frame info structures. |
3bf57d21 |
4218 | |
e91b87a3 |
4219 | * blockframe.c, sparc-dep.c, stack.c: Created the function |
4220 | create_new_frame and used it in place of bad calls to |
4221 | frame_id_from_addr. |
3bf57d21 |
4222 | |
e91b87a3 |
4223 | * blockframe.c, inflow.c, infrun.c, i386-pinsn.c, m-hp9k320.h, |
4224 | m-npl.h, m-pn.h, m-sparc.h, m-sun3.h, m-vax.h, default-dep.c, |
4225 | convex-dep.c, gould-dep.c, hp9k320-dep.c, news-dep.c, sparc-dep.c, |
4226 | sun3-dep.c, umax-dep.c: Killed use of |
4227 | set_current_Frame_by_address. Used set_current_frame |
4228 | (create_new_frame...) instead. |
3bf57d21 |
4229 | |
e91b87a3 |
4230 | * frame.h: Killed use of FRAME_FP_ID. |
3bf57d21 |
4231 | |
e91b87a3 |
4232 | * infrun.c, blockframe.c: Killed select_frame_by_address. Used |
4233 | select_frame (get_current_frame (), 0) (which was correct in all |
4234 | cases that we need to worry about. |
3bf57d21 |
4235 | |
e91b87a3 |
4236 | Mon Nov 14 14:19:32 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4237 | |
e91b87a3 |
4238 | * frame.h, blockframe.c, stack.c, m-sparc.h, sparc-dep.c: Added |
4239 | mechanisms to deal with possible specification of frames |
4240 | dyadically. |
3bf57d21 |
4241 | |
e91b87a3 |
4242 | Sun Nov 13 16:03:32 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) |
3bf57d21 |
4243 | |
e91b87a3 |
4244 | * ns32k-opcode.h: Add insns acbw, acbd. |
3bf57d21 |
4245 | |
e91b87a3 |
4246 | Sun Nov 13 15:09:58 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4247 | |
e91b87a3 |
4248 | * breakpoint.c: Changed breakpoint structure to use the address of |
4249 | a given frame (constant across inferior runs) as the criteria for |
4250 | stopping instead of the frame ident (which varies across inferior |
4251 | calls). |
3bf57d21 |
4252 | |
e91b87a3 |
4253 | Fri Nov 11 13:00:22 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4254 | |
e91b87a3 |
4255 | * gld-pinsn.c (findframe): Modified to work with the new frame |
4256 | id's. Actually, it looks as if this routine should be called with |
4257 | an address anyway. |
3bf57d21 |
4258 | |
e91b87a3 |
4259 | * findvar.c (find_saved_register): Altered bactrace loop to work |
4260 | off of frames and not frame infos. |
3bf57d21 |
4261 | |
e91b87a3 |
4262 | * frame.h, blockframe.c, stack.c, sparc-dep.c, m-sparc.h: Changed |
4263 | FRAME from being the address of the frame to being a simple ident |
4264 | which is an index into the frame_cache_item list. |
4265 | * convex-dep.c, default-dep.c, gould-dep.c, hp9k320-dep.c, |
4266 | i386-pinsn.c, inflow.c, infrun.c, news-dep.c, sparc-dep.c, |
4267 | sun3-dep.c, umax-dep.c, m-hp9k320.h, m-npl.h, m-pn.h, m-sparc.h, |
4268 | m-sun3.h, m-vax.h: Changed calls of the form set_current_frame |
4269 | (read_register (FP_REGNUM)) to set_current_frame_by_address (...). |
3bf57d21 |
4270 | |
e91b87a3 |
4271 | Thu Nov 10 16:57:57 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4272 | |
e91b87a3 |
4273 | * frame.h, blockframe.c, gld-pinsn.c, sparc-dep.c, stack.c, |
4274 | infrun.c, findvar.c, m-sparc.h: Changed the FRAME type to be |
4275 | purely an identifier, using FRAME_FP and FRAME_FP_ID to convert |
4276 | back and forth between the two. The identifier is *currently* |
4277 | still the frame pointer value for that frame. |
3bf57d21 |
4278 | |
e91b87a3 |
4279 | Wed Nov 9 17:28:14 1988 Chris Hanson (cph at kleph) |
3bf57d21 |
4280 | |
e91b87a3 |
4281 | * m-hp9k320.h (FP_REGISTER_ADDR): Redefine this to return |
4282 | difference between address of given FP register, and beginning of |
4283 | `struct user' that it occurs in. |
3bf57d21 |
4284 | |
e91b87a3 |
4285 | * hp9k320-dep.c (core_file_command): Fix sign error in size |
4286 | argument to myread. Change buffer argument to pointer; was |
4287 | copying entire structure. |
4288 | (fetch_inferior_registers, store_inferior_registers): Replace |
4289 | occurrences of `FP_REGISTER_ADDR_DIFF' with `FP_REGISTER_ADDR'. |
4290 | Flush former definition. |
3bf57d21 |
4291 | |
e91b87a3 |
4292 | Wed Nov 9 12:11:37 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4293 | |
e91b87a3 |
4294 | * xgdb.c: Killed include of initialize.h. |
3bf57d21 |
4295 | |
e91b87a3 |
4296 | * Pulled in xgdb.c from the net. |
3bf57d21 |
4297 | |
e91b87a3 |
4298 | * Checkpointed distribution (to provide to 3b2 guy). |
3bf57d21 |
4299 | |
e91b87a3 |
4300 | * coffread.c, dbxread.c, symmisc.c, symtab.c, symseg.h: Changed |
4301 | format of table of line number--pc mapping information. Can |
4302 | handle negative pc's now. |
3bf57d21 |
4303 | |
e91b87a3 |
4304 | * command.c: Deleted local copy of savestring; code in utils.c is |
4305 | identical. |
3bf57d21 |
4306 | |
e91b87a3 |
4307 | Tue Nov 8 11:12:16 1988 Randall Smith (randy at plantaris.ai.mit.edu) |
3bf57d21 |
4308 | |
e91b87a3 |
4309 | * gdb.texinfo: Added documentation for shell escape. |
3bf57d21 |
4310 | |
e91b87a3 |
4311 | Mon Nov 7 12:27:16 1988 Randall Smith (randy at sugar-bombs.ai.mit.edu) |
3bf57d21 |
4312 | |
e91b87a3 |
4313 | * command.c: Added commands for shell escape. |
3bf57d21 |
4314 | |
e91b87a3 |
4315 | * core.c, dbxread.c: Added ROBOTUSSIN mods. |
3bf57d21 |
4316 | |
e91b87a3 |
4317 | * Checkpointed distribution. |
3bf57d21 |
4318 | |
e91b87a3 |
4319 | * printcmd.c (x_command): Yanked error if there is no memory to |
4320 | examine (could be looking at executable straight). |
3bf57d21 |
4321 | |
e91b87a3 |
4322 | * sparc-pinsn.c (print_insn): Amount to leftshift sethi imm by is |
4323 | now 10 (matches adb in output). |
3bf57d21 |
4324 | |
e91b87a3 |
4325 | * printcmd.c (x_command): Don't attempt to set $_ & $__ if there |
4326 | is no last_examine_value (can happen if you did an x/0). |
3bf57d21 |
4327 | |
e91b87a3 |
4328 | Fri Nov 4 13:44:49 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4329 | |
e91b87a3 |
4330 | * printcmd.c (x_command): Error if there is no memory to examine. |
3bf57d21 |
4331 | |
e91b87a3 |
4332 | * gdb.texinfo: Added "cont" to the command index. |
3bf57d21 |
4333 | |
e91b87a3 |
4334 | * sparc-dep.c (do_save_insn): Fixed typo in shift amount. |
3bf57d21 |
4335 | |
e91b87a3 |
4336 | * m68k-opcode.h: Fixed opcodes for 68881. |
3bf57d21 |
4337 | |
e91b87a3 |
4338 | * breakpoint.c, infcmd.c, source.c: Changed defaults in several |
4339 | places for decode_line_1 to work off of the default_breakpoint_* |
4340 | values instead of current_source_* values (the current_source_* |
4341 | values are off by 5 or so because of listing defaults). |
3bf57d21 |
4342 | |
e91b87a3 |
4343 | * stack.c (frame_info): ifdef'd out FRAME_SPECIFCATION_DYADIC in |
4344 | the stack.c module. If I can't do this right, I don't want to do |
4345 | it at all. Read the comment there for more info. |
3bf57d21 |
4346 | |
e91b87a3 |
4347 | Mon Oct 31 16:23:06 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4348 | |
e91b87a3 |
4349 | * gdb.texinfo: Added documentation on the "until" command. |
3bf57d21 |
4350 | |
e91b87a3 |
4351 | Sat Oct 29 17:47:10 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4352 | |
e91b87a3 |
4353 | * breakpoint.c, infcmd.c: Added UNTIL_COMMAND and subroutines of |
4354 | it. |
3bf57d21 |
4355 | |
e91b87a3 |
4356 | * breakpoint.c, infcmd.c, infrun.c: Added new field to breakpoint |
4357 | structure (silent, indicating a silent breakpoint), and modified |
4358 | breakpoint_stop_status and things that read it's return value to |
4359 | understand it. |
3bf57d21 |
4360 | |
e91b87a3 |
4361 | Fri Oct 28 17:45:33 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4362 | |
e91b87a3 |
4363 | * dbxread.c, symmisc.c: Assorted speedups for readin, including |
4364 | special casing most common symbols, and doing buffering instead of |
4365 | calling malloc. |
3bf57d21 |
4366 | |
e91b87a3 |
4367 | Thu Oct 27 11:11:15 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4368 | |
e91b87a3 |
4369 | * stack.c, sparc-dep.c, m-sparc.h: Modified to allow "info frame" |
4370 | to take two arguments on the sparc and do the right thing with |
4371 | them. |
3bf57d21 |
4372 | |
e91b87a3 |
4373 | * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put |
4374 | stuff to put only symbols that didn't have debugging info on the |
4375 | misc functions list back in. |
3bf57d21 |
4376 | |
e91b87a3 |
4377 | Wed Oct 26 10:10:32 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4378 | |
e91b87a3 |
4379 | * valprint.c (type_print_varspec_suffix): Added check for |
4380 | TYPE_LENGTH(TYPE_TARGET_TYPE(type)) > 0 to prevent divide by 0. |
3bf57d21 |
4381 | |
e91b87a3 |
4382 | * printcmd.c (print_formatted): Added check for VALUE_REPEATED; |
4383 | value_print needs to be called for that. |
3bf57d21 |
4384 | |
e91b87a3 |
4385 | * infrun.c (wait_for_inferior): Added break when you decide to |
4386 | stop on a null function prologue rather than continue stepping. |
3bf57d21 |
4387 | |
e91b87a3 |
4388 | * m-sun3.h: Added explanatory comment to REGISTER_RAW_SIZE. |
3bf57d21 |
4389 | |
e91b87a3 |
4390 | * expread.y (parse_c_1): Initialized paren_depth for each parse. |
3bf57d21 |
4391 | |
e91b87a3 |
4392 | Tue Oct 25 14:19:38 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4393 | |
e91b87a3 |
4394 | * valprint.c, coffread.c, dbxread.c: Enum constant values in enum |
4395 | type now accessed through TYPE_FIELD_BITPOS. |
3bf57d21 |
4396 | |
e91b87a3 |
4397 | * dbxread.c (process_symbol_for_psymtab): Added code to deal with |
4398 | possible lack of a ":" in a debugging symbol (do nothing). |
3bf57d21 |
4399 | |
e91b87a3 |
4400 | * symtab.c (decode_line_1): Added check in case of all numbers for |
4401 | complete lack of symbols. |
3bf57d21 |
4402 | |
e91b87a3 |
4403 | * source.c (select_source_symtab): Made sure that this wouldn't |
4404 | bomb on complete lack of symbols. |
3bf57d21 |
4405 | |
e91b87a3 |
4406 | Mon Oct 24 12:28:29 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4407 | |
e91b87a3 |
4408 | * m-sparc.h, findvar.c: Ditched REGISTER_SAVED_UNIQUELY and based |
4409 | code on REGISTER_IN_WINDOW_P and HAVE_REGISTER_WINDOWS. This will |
4410 | break when we find a register window machine which saves the |
4411 | window registers within the context of an inferior frame. |
3bf57d21 |
4412 | |
e91b87a3 |
4413 | * sparc-dep.c (frame_saved_pc): Put PC_ADJUST return back in for |
4414 | frame_saved_pc. Seems correct. |
3bf57d21 |
4415 | |
e91b87a3 |
4416 | * findvar.c, m-sparc.h: Created the macro REGISTER_SAVED_UNIQUELY |
4417 | to handle register window issues (ie. that find_saved_register |
4418 | wasn't checking the selected frame itself for shit). |
3bf57d21 |
4419 | |
e91b87a3 |
4420 | * sparc-dep.c (core_file_command): Offset target of o & g register |
4421 | bcopy by 1 to hit correct registers. |
3bf57d21 |
4422 | |
e91b87a3 |
4423 | * m-sparc.h: Changed STACK_END_ADDR. |
3bf57d21 |
4424 | |
e91b87a3 |
4425 | Sun Oct 23 19:41:51 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4426 | |
e91b87a3 |
4427 | * sparc-dep.c (core_file_command): Added in code to get the i & l |
4428 | registers from the stack in the corefile, and blew away some wrong |
4429 | code to get i & l from inferior. |
3bf57d21 |
4430 | |
e91b87a3 |
4431 | Fri Oct 21 15:09:19 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) |
3bf57d21 |
4432 | |
e91b87a3 |
4433 | * m-sparc.h (PUSH_DUMMY_FRAME): Saved the value of the RP register |
4434 | in the location reserved for i7 (in the created frame); this way |
4435 | the rp value won't get lost. The pc (what we put into the rp in |
4436 | this routine) gets saved seperately, so we loose no information. |
3bf57d21 |
4437 | |
e91b87a3 |
4438 | * sparc-dep.c (do_save_insn & do_restore_insn): Added a wrapper to |
4439 | preserve the proceed status state variables around each call to |
4440 | proceed (the current frame was getting munged because this wasn't |
4441 | being done). |
3bf57d21 |
4442 | |
e91b87a3 |
4443 | * m-sparc.h (FRAME_FIND_SAVED_REGS): Fix bug: saved registers |
4444 | addresses were being computed using absolute registers number, |
4445 | rather than numbers relative to each group of regs. |
3bf57d21 |
4446 | |
e91b87a3 |
4447 | * m-sparc.h (POP_FRAME): Fixed a bug (I hope) in the context |
4448 | within which saved reg numbers were being interpetted. The |
4449 | values to be restored were being gotten in the inferior frame, and |
4450 | the restoring was done in the superior frame. This means that i |
4451 | registers must be restored into o registers. |
3bf57d21 |
4452 | |
e91b87a3 |
4453 | * sparc-dep.c (do_restore_insn): Modified to take a pc as an |
4454 | argument, instead of a raw_buffer. This matches (at least it |
4455 | appears to match) usage from POP_FRAME, which is the only place |
4456 | from which do_restore_insn is called. |
3bf57d21 |
4457 | |
e91b87a3 |
4458 | * sparc-dep.c (do_save_insn and do_restore_insn): Added comments. |
3bf57d21 |
4459 | |
e91b87a3 |
4460 | * m-sparc.h (FRAME_FIND_SAVED_REGS): Modified my code to find the |
4461 | save addresses of out registers to use the in regs off the stack |
4462 | pointer when the current frame is 1 from the innermost. |
3bf57d21 |
4463 | |
e91b87a3 |
4464 | Thu Oct 20 13:56:15 1988 & Smith (randy at hobbes.ai.mit.edu) |
3bf57d21 |
4465 | |
e91b87a3 |
4466 | * blockframe.c, m-sparc.h: Removed code associated with |
4467 | GET_PREV_FRAME_FROM_CACHE_ITEM. This code was not needed for the |
4468 | sparc; you can always find the previous frames fp from the fp of |
4469 | the current frame (which is the sp of the previous). It's getting |
4470 | the information associated with a given frame (ie. saved |
4471 | registers) that's a bitch, because that stuff is saved relative to |
4472 | the stack pointer rather than the frame pointer. |
3bf57d21 |
4473 | |
e91b87a3 |
4474 | * m-sparc.h (GET_PREV_FRAME_FROM_CACHE_ITEM): Modified to return |
4475 | the frame pointer of the previous frame instead of the stack |
4476 | pointer of same. |
3bf57d21 |
4477 | |
e91b87a3 |
4478 | * blockframe.c (flush_cached_frames): Modified call to |
4479 | obstack_free to free back to frame_cache instead of back to zero. |
4480 | This leaves the obstack control structure in finite state (and |
4481 | still frees the entry allocated at frame_cache). |
3bf57d21 |
4482 | |
e91b87a3 |
4483 | Sat Oct 15 16:30:47 1988 & Smith (randy at tartarus.uchicago.edu) |
3bf57d21 |
4484 | |
e91b87a3 |
4485 | * valops.c (call_function): Suicide material here. Fixed a typo; |
4486 | CALL_DUMMY_STACK_ADJUST was spelled CAll_DUMMY_STACK_ADJUST on |
4487 | line 530 of the file. This cost me three days. I'm giving up |
4488 | typing for lent. |
3bf57d21 |
4489 | |
e91b87a3 |
4490 | Fri Oct 14 15:10:43 1988 & Smith (randy at tartarus.uchicago.edu) |
3bf57d21 |
4491 | |
e91b87a3 |
4492 | * m-sparc.h: Corrected a minor mistake in the dummy frame code |
4493 | that was getting the 5th argument and the first argument from the |
4494 | same place. |
3bf57d21 |
4495 | |
e91b87a3 |
4496 | Tue Oct 11 11:49:33 1988 & Smith (randy at tartarus.uchicago.edu) |
3bf57d21 |
4497 | |
e91b87a3 |
4498 | * infrun.c: Made stop_after_trap and stop_after_attach extern |
4499 | instead of static so that code which used proceed from machine |
4500 | dependent files could fiddle with them. |
3bf57d21 |
4501 | |
e91b87a3 |
4502 | * blockframe.c, frame.h, sparc-dep.c, m-sparc.h: Changed sense of |
4503 | ->prev and ->next in struct frame_cache_item to fit usage in rest |
4504 | of gdb (oops). |
3bf57d21 |
4505 | |
e91b87a3 |
4506 | Mon Oct 10 15:32:42 1988 Randy Smith (randy at gargoyle.uchicago.edu) |
3bf57d21 |
4507 | |
e91b87a3 |
4508 | * m-sparc.h, sparc-dep.c, blockframe.c, frame.h: Wrote |
4509 | get_frame_cache_item. Modified FRAME_SAVED_PC and frame_saved_pc |
4510 | to take only one argument and do the correct thing with it. Added |
4511 | the two macros I recently defined in blockframe.c to m-sparc.h. |
4512 | Have yet to compile this thing on a sparc, but I've now merged in |
4513 | everything that I received from tiemann, either exactly, or simply |
4514 | effectively. |
3bf57d21 |
4515 | |
e91b87a3 |
4516 | * source.c: Added code to allocated space to sals.sals in the case |
4517 | where no line was specified. |
3bf57d21 |
4518 | |
e91b87a3 |
4519 | * blockframe.c, infrun.c: Modified to cache stack frames requested |
4520 | to minimize accesses to subprocess. |
3bf57d21 |
4521 | |
e91b87a3 |
4522 | Tue Oct 4 15:10:39 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu) |
3bf57d21 |
4523 | |
e91b87a3 |
4524 | * config.gdb: Added sparc. |
3bf57d21 |
4525 | |
e91b87a3 |
4526 | Mon Oct 3 23:01:22 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu) |
3bf57d21 |
4527 | |
e91b87a3 |
4528 | * Makefile, blockframe.c, command.c, core.c, dbxread.c, defs.h, |
4529 | expread.y, findvar.c, infcmd.c, inflow.c, infrun.c, sparc-pinsn.c, |
4530 | m-sparc.h, sparc-def.c, printcmd.c, stack.c, symmisc.c, symseg.h, |
4531 | valops.c, values.c: Did initial merge of sparc port. This will |
4532 | not compile; have to do stack frame caching and finish port. |
3bf57d21 |
4533 | |
e91b87a3 |
4534 | * inflow.c, gdb.texinfo: `tty' now resets the controling terminal. |
3bf57d21 |
4535 | |
e91b87a3 |
4536 | Fri Sep 30 11:31:16 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4537 | |
e91b87a3 |
4538 | * inferior.h, infcmd.c, infrun.c: Changed the variable |
4539 | stop_random_signal to stopped_by_random signal to fit in better |
4540 | with name conventions (variable is not a direction to the |
4541 | proceed/resume set; it is information from it). |
3bf57d21 |
4542 | |
e91b87a3 |
4543 | Thu Sep 29 13:30:46 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu) |
3bf57d21 |
4544 | |
e91b87a3 |
4545 | * infcmd.c (finish_command): Value type of return value is now |
4546 | whatever the function returns, not the type of the function (fixed |
4547 | a bug in printing said value). |
3bf57d21 |
4548 | |
e91b87a3 |
4549 | * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): |
4550 | Put *all* global symbols into misc_functions. This is what was |
4551 | happening anyway, and we need it for find_pc_misc_function. |
3bf57d21 |
4552 | |
e91b87a3 |
4553 | ** This was eventually taken out, but I didn't mark it in the |
4554 | ChangeLog. Oops. |
3bf57d21 |
4555 | |
e91b87a3 |
4556 | * dbxread.c (process_symbol_for_psymtab): Put every debugger |
4557 | symbol which survives the top case except for constants on the |
4558 | symchain. This means that all of these *won't* show up in misc |
4559 | functions (this will be fixed once I make sure it's broken the way |
4560 | it's supposed to be). |
3bf57d21 |
4561 | |
e91b87a3 |
4562 | * dbxread.c: Modified placement of debugger globals onto the hash |
4563 | list; now we exclude the stuff after the colon and don't skip the |
4564 | first character (debugger symbols don't have underscores). |
3bf57d21 |
4565 | |
e91b87a3 |
4566 | * dbxread.c: Killed debuginfo stuff with ifdef's. |
3bf57d21 |
4567 | |
e91b87a3 |
4568 | Wed Sep 28 14:31:51 1988 Randall Smith (randy at cream-of-wheat.ai.mit.edu) |
3bf57d21 |
4569 | |
e91b87a3 |
4570 | * symtab.h, dbxread.c: Modified to deal with BINCL, EINCL, and |
4571 | EXCL symbols produced by the sun loader by adding a list of |
4572 | pre-requisite partial_symtabs that each partial symtab needs. |
3bf57d21 |
4573 | |
e91b87a3 |
4574 | * symtab.h, dbxread.c, symtab.c, symmisc.c: Modified to avoid |
4575 | doing a qsort on the local (static) psymbols for each file to |
4576 | speed startup. This feature is not completely debugged, but it's |
4577 | inclusion has forced the inclusion of another feature (dealing |
4578 | with EINCL's, BINCL's and EXCL's) and so I'm going to go in and |
4579 | deal with them. |
3bf57d21 |
4580 | |
e91b87a3 |
4581 | * dbxread.c (process_symbol_for_psymtab): Made sure that the class |
4582 | of the symbol made it into the partial_symbol entry. |
3bf57d21 |
4583 | |
e91b87a3 |
4584 | Tue Sep 27 15:10:26 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4585 | |
e91b87a3 |
4586 | * dbxread.c: Fixed bug; init_psymbol_list was not being called |
4587 | with the right number of arguments (1). |
3bf57d21 |
4588 | |
e91b87a3 |
4589 | * dbxread.c: Put ifdef's around N_MAIN, N_M2C, and N_SCOPE to |
4590 | allow compilation on a microvax. |
3bf57d21 |
4591 | |
e91b87a3 |
4592 | * config.gdb: Modified so that "config.gdb vax" would work. |
3bf57d21 |
4593 | |
e91b87a3 |
4594 | * dbxread.c, symtab.h, symmisc.h, symtab.c, source.c: Put in many |
4595 | and varied hacks to speed up gdb startup including: A complete |
4596 | rewrite of read_dbx_symtab, a modification of the partial_symtab |
4597 | data type, deletion of select_source_symtab from |
4598 | symbol_file_command, and optimiztion of the call to strcmp in |
4599 | compare_psymbols. |
3bf57d21 |
4600 | |
e91b87a3 |
4601 | Thu Sep 22 11:08:54 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4602 | |
e91b87a3 |
4603 | * dbxread.c (psymtab_to_symtab): Removed call to |
4604 | init_misc_functions. |
3bf57d21 |
4605 | |
e91b87a3 |
4606 | * dbxread.c: Fixed enumeration type clash (used enum instead of |
4607 | integer constant). |
3bf57d21 |
4608 | |
e91b87a3 |
4609 | * breakpoint.c: Fixed typo; lack of \ at end of line in middle of |
4610 | string constant. |
3bf57d21 |
4611 | |
e91b87a3 |
4612 | * symseg.h: Fixed typo; lack of semicolon after structure |
4613 | definition. |
3bf57d21 |
4614 | |
e91b87a3 |
4615 | * command.c, breakpoint.c, printcmd.c: Added cmdlist editing |
4616 | functions to add commands with the abbrev flag set. Changed |
4617 | help_cmd_list to recognize this flag and modified unset, |
4618 | undisplay, and enable, disable, and delete breakpoints to have |
4619 | this flag set. |
3bf57d21 |
4620 | |
e91b87a3 |
4621 | Wed Sep 21 13:34:19 1988 Randall Smith (randy at plantaris.ai.mit.edu) |
3bf57d21 |
4622 | |
e91b87a3 |
4623 | * breakpoint.c, infcmd.c, gdb.texinfo: Created "unset" as an alias |
4624 | for delete, and changed "unset-environment" to be the |
4625 | "environment" subcommand of "delete". |
3bf57d21 |
4626 | |
e91b87a3 |
4627 | * gdb.texinfo, valprint.c: Added documentation in the manual for |
4628 | breaking the set-* commands into subcommands of set. Changed "set |
4629 | maximum" to "set array-max". |
3bf57d21 |
4630 | |
e91b87a3 |
4631 | * main.c, printcmd.c, breakpoint.c: Moved the declaration of |
4632 | command lists into main and setup a function in main initializing |
4633 | them to guarrantee that they would be initialized before calling |
4634 | any of the individual files initialize routines. |
3bf57d21 |
4635 | |
e91b87a3 |
4636 | * command.c (lookup_cmd): A null string subcommand is treated as |
4637 | an unknown subcommand rather than an ambiguous one (eg. "set $x = |
4638 | 1" will now work). |
3bf57d21 |
4639 | |
e91b87a3 |
4640 | * infrun.c (wait_for_inferior): Put in ifdef for Sony News in |
4641 | check for trap by INNER_THAN macro. |
3bf57d21 |
4642 | |
e91b87a3 |
4643 | * eval.c (evaluate_subexp): Put in catch to keep the user from |
4644 | attempting to call a non function as a function. |
3bf57d21 |
4645 | |
e91b87a3 |
4646 | Tue Sep 20 10:35:53 1988 Randall Smith (randy at oatmeal.ai.mit.edu) |
3bf57d21 |
4647 | |
e91b87a3 |
4648 | * dbxread.c (read_dbx_symtab): Installed code to keep track of |
4649 | which global symbols did not have debugger symbols refering to |
4650 | them, and recording these via record_misc_function. |
3bf57d21 |
4651 | |
e91b87a3 |
4652 | * dbxread.c: Killed code to check for extra global symbols in the |
4653 | debugger symbol table. |
3bf57d21 |
4654 | |
e91b87a3 |
4655 | * printcmd.c, breakpoint.c: Modified help entries for several |
4656 | commands to make sure that abbreviations were clearly marked and |
4657 | that the right commands showed up in the help listings. |
3bf57d21 |
4658 | |
e91b87a3 |
4659 | * main.c, command.c, breakpoint.c, infcmd.c, printcmd.c, |
4660 | valprint.c, defs.h: Modified help system to allow help on a class |
4661 | name to show subcommands as well as commands and help on a command |
4662 | to show *all* subcommands of that command. |
3bf57d21 |
4663 | |
e91b87a3 |
4664 | Fri Sep 16 16:51:19 1988 Randall Smith (randy at gluteus.ai.mit.edu) |
3bf57d21 |
4665 | |
e91b87a3 |
4666 | * breakpoint.c (_initialize_breakpoint): Made "breakpoints" |
4667 | subcommands of enable, disable, and delete use class 0 (ie. they |
4668 | show up when you do a help xxx now). |
3bf57d21 |
4669 | |
e91b87a3 |
4670 | * infcmd.c,printcmd,c,main.c,valprint.c: Changed the set-* |
4671 | commands into subcommands of set. Created "set variable" for use |
4672 | with variables whose names might conflict with other subcommands. |
3bf57d21 |
4673 | |
e91b87a3 |
4674 | * blockframe.c, dbxread.c, coffread.c, expread.y, source.c: |
4675 | Fixed mostly minor (and one major one in block_for_pc) bugs |
4676 | involving checking the partial_symtab_list when a scan through the |
4677 | symtab_list fails. |
3bf57d21 |
4678 | |
e91b87a3 |
4679 | Wed Sep 14 12:02:05 1988 Randall Smith (randy at sugar-smacks.ai.mit.edu) |
3bf57d21 |
4680 | |
e91b87a3 |
4681 | * breakpoint.c, gdb.texinfo: Added enable breakpoints, disable |
4682 | breakpoints and delete breakpoints as synonyms for enable, |
4683 | disable, and delete. This seemed reasonable because of the |
4684 | immeninent arrival of watchpoints & etc. |
3bf57d21 |
4685 | |
e91b87a3 |
4686 | * gdb.texinfo: Added enable display, disable display, and delete |
4687 | display to manual. |
3bf57d21 |
4688 | |
e91b87a3 |
4689 | Tue Sep 13 16:53:56 1988 Randall Smith (randy at sugar-smacks.ai.mit.edu) |
3bf57d21 |
4690 | |
e91b87a3 |
4691 | * inferior.h, infrun.c, infcmd.c: Added variable |
4692 | stop_random_signal to indicate when a proceed had been stopped by |
4693 | an unexpected signal. Used this to determine (in normal_stop) |
4694 | whether the current display point should be deleted. |
3bf57d21 |
4695 | |
e91b87a3 |
4696 | * valops.c: Fix to value_ind to check for reference before doing a |
4697 | COERCE_ARRAY. |
3bf57d21 |
4698 | |
e91b87a3 |
4699 | Sun Jul 31 11:42:36 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) |
3bf57d21 |
4700 | |
e91b87a3 |
4701 | * breakpoint.c (_initialize_breakpoint): Clean up doc for commands |
4702 | that can now apply also to auto-displays. |
3bf57d21 |
4703 | |
e91b87a3 |
4704 | * coffread.c (record_line): Corrected a spazz in editing. |
4705 | Also removed the two lines that assume line-numbers appear |
4706 | only in increasing order. |
3bf57d21 |
4707 | |
e91b87a3 |
4708 | Tue Jul 26 22:19:06 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4709 | |
e91b87a3 |
4710 | * expression.h, eval.c, expprint.c, printcmd.c, valarith.c, |
4711 | valops.c, valprint.c, values.c, m-*.h: Changes for evaluating and |
4712 | displaying 64-bit `long long' integers. Each machine must define |
4713 | a LONGEST type, and a BUILTIN_TYPE_LONGEST. |
3bf57d21 |
4714 | |
e91b87a3 |
4715 | * symmisc.c: (print_symtab) check the status of the fopen and call |
4716 | perror_with_name if needed. |
3bf57d21 |
4717 | |
e91b87a3 |
4718 | Thu Jul 21 00:56:11 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4719 | |
e91b87a3 |
4720 | * Convex: core.c: changes required by Convex's SOFF format were |
4721 | isolated in convex-dep.c. |
3bf57d21 |
4722 | |
e91b87a3 |
4723 | Wed Jul 20 21:26:10 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4724 | |
e91b87a3 |
4725 | * coffread.c, core.c, expread.y, i386-pinsn.c, infcmd.c, inflow.c, |
4726 | infrun.c, m-i386.h, main.c, remote.c, source.c, valops.c: |
4727 | Improvements for the handling of the i386 and other machines |
4728 | running USG. (Several of these files just needed extra header files |
4729 | such as types.h.) utils.c: added bcopy, bcmp, bzero, getwd, list |
4730 | of signals, and queue routines for USG systems. Added vfork macro |
4731 | to i386 |
3bf57d21 |
4732 | |
e91b87a3 |
4733 | * printcmd.c, breakpoint.c: New commands to enable/disable |
4734 | auto-displays. Also `delete display displaynumber' works like |
4735 | `undisplay displaynumber'. |
3bf57d21 |
4736 | |
e91b87a3 |
4737 | Tue Jul 19 02:17:18 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4738 | |
e91b87a3 |
4739 | * coffread.c: (coff_lookup_type) Wrong portion of type_vector was |
4740 | being bzero'd after type_vector was reallocated. |
3bf57d21 |
4741 | |
e91b87a3 |
4742 | * printcmd.c: (delete_display) Check for a display chain before |
4743 | attempting to delete a display. |
3bf57d21 |
4744 | |
e91b87a3 |
4745 | * core.c, *-dep.c (*-infdep moved to *-dep): machine-dependent |
4746 | parts of core.c (core_file_command, exec_file_command) moved to |
4747 | *-dep.c. |
3bf57d21 |
4748 | |
e91b87a3 |
4749 | Mon Jul 18 19:45:51 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4750 | |
e91b87a3 |
4751 | * dbxread.c: typo in read_struct_type (missing '=') was causing a |
4752 | C struct to be parsed as a C++ struct, resulting in a `invalid |
4753 | character' message. |
3bf57d21 |
4754 | |
e91b87a3 |
4755 | Sun Jul 17 22:27:32 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4756 | |
e91b87a3 |
4757 | * printcmd.c, symtab.c, valops.c, expread.y: When an expression is |
4758 | read, the innermost block required to evaluate the expression is |
4759 | saved in the global variable `innermost_block'. This information |
4760 | is saved in the `block' field of an auto-display so that |
4761 | expressions with inactive variables can be skipped. `info display' |
4762 | tells the user which displays are active and which are not. New |
4763 | fn `contained_in' returns nonzero if one block is contained within |
4764 | another. |
3bf57d21 |
4765 | |
e91b87a3 |
4766 | Fri Jul 15 01:53:14 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4767 | |
e91b87a3 |
4768 | * infrun.c, m-i386.h: Use macro TRAPS_EXPECTED to set number of |
4769 | traps to skip when sh execs the program. Default is 2, m-i386.h |
4770 | overrides this and sets to 4. |
3bf57d21 |
4771 | |
e91b87a3 |
4772 | * coffread.c, infrun.c: minor changes for the i386. May be able |
4773 | to eliminate them with more general code. |
3bf57d21 |
4774 | |
e91b87a3 |
4775 | * default-infdep.c: #ifdef SYSTEMV, include header file types.h. |
4776 | Also switched the order of signal.h and user.h, since System 5 |
4777 | requires signal.h to come first. |
3bf57d21 |
4778 | |
e91b87a3 |
4779 | * core.c main.c, remote,c, source.c, inflow.c: #ifdef SYSTEMV, |
4780 | include various header files. Usually types.h and fcntl.h. |
3bf57d21 |
4781 | |
e91b87a3 |
4782 | * utils.c: added queue routines needed by the i386 (and other sys |
4783 | 5 machines). |
3bf57d21 |
4784 | |
e91b87a3 |
4785 | * sys5.c, regex.c, regex.h: new files for sys 5 systems. (The |
4786 | regex files are simply links to /gp/gnu/lib.) |
3bf57d21 |
4787 | |
e91b87a3 |
4788 | Thu Jul 14 01:47:14 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4789 | |
e91b87a3 |
4790 | * config.gdb, README: Provide a list of known machines when user |
4791 | enters an invalid machine. New second arg is operating system, |
4792 | currently only used with `sunos4' or `os4'. Entry for i386 added. |
3bf57d21 |
4793 | |
e91b87a3 |
4794 | * news-infdep.c: new file. |
3bf57d21 |
4795 | |
e91b87a3 |
4796 | * m-news.h: new version which deals with new bugs in news800's OS. |
3bf57d21 |
4797 | |
e91b87a3 |
4798 | Tue Jul 12 19:52:16 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4799 | |
e91b87a3 |
4800 | * Makefile, *.c, munch, config.gdb, README: New initialization |
4801 | scheme uses nm to find functions whose names begin with |
4802 | `_initialize_'. Files `initialize.h', `firstfile.c', |
4803 | `lastfile.c', `m-*init.h' no longer needed. |
3bf57d21 |
4804 | |
e91b87a3 |
4805 | * eval.c, symtab.c, valarith.c, valops.c, value.h, values.c: Bug |
4806 | fixes from gdb+ 2.5.4. evaluate_subexp takes a new arg, type |
4807 | expected. New fn value_virtual_fn_field. |
3bf57d21 |
4808 | |
e91b87a3 |
4809 | Mon Jul 11 00:48:49 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4810 | |
e91b87a3 |
4811 | * core.c (read_memory): xfer_core_file was being called with an |
4812 | extra argument (0) by read_memory. |
3bf57d21 |
4813 | |
e91b87a3 |
4814 | * core.c (read_memory), *-infdep.c (read_inferior_memory), |
4815 | valops.c (value_at): read_memory and read_inferior_memory now work |
4816 | like write_memory and write_inferior_memory in that errno is |
4817 | checked after each ptrace and returned to the caller. Used in |
4818 | value_at to detect references to addresses which are out of |
4819 | bounds. Also core.c (xfer_core_file): return 1 if invalid |
4820 | address, 0 otherwise. |
3bf57d21 |
4821 | |
e91b87a3 |
4822 | * inflow.c, <machine>-infdep.c: removed all calls to ptrace from |
4823 | inflow.c and put them in machine-dependent files *-infdep.c. |
3bf57d21 |
4824 | |
e91b87a3 |
4825 | Sun Jul 10 19:19:36 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4826 | |
e91b87a3 |
4827 | * symmisc.c: (read_symsegs) Accept only format number 2. Since |
4828 | the size of the type structure changed when C++ support was added, |
4829 | format 1 can no longer be used. |
3bf57d21 |
4830 | |
e91b87a3 |
4831 | * core.c, m-sunos4.h: (core_file_command) support for SunOS 4.0. |
4832 | Slight change in the core structure. #ifdef SUNOS4. New file |
4833 | m-sunos4.h. May want to change config.gdb also. |
3bf57d21 |
4834 | |
e91b87a3 |
4835 | Fri Jul 8 19:59:49 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4836 | |
e91b87a3 |
4837 | * breakpoint.c: (break_command_1) Allow `break if condition' |
4838 | rather than parsing `if' as a function name and returning an |
4839 | error. |
3bf57d21 |
4840 | |
e91b87a3 |
4841 | Thu Jul 7 22:22:47 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4842 | |
e91b87a3 |
4843 | * C++: valops.c, valprint.c, value.h, values.c: merged code to deal |
4844 | with C++ expressions. |
3bf57d21 |
4845 | |
e91b87a3 |
4846 | Wed Jul 6 03:28:18 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4847 | |
e91b87a3 |
4848 | * C++: dbxread.c: (read_dbx_symtab, condense_misc_bunches, |
4849 | add_file_command) Merged code to read symbol information from |
4850 | an incrementally linked file. symmisc.c: |
4851 | (init_free_inclink_symtabs, free_inclink_symtabs) Cleanup |
4852 | routines. |
3bf57d21 |
4853 | |
e91b87a3 |
4854 | Tue Jul 5 02:50:41 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4855 | |
e91b87a3 |
4856 | * C++: symtab.c, breakpoint.c, source.c: Merged code to deal with |
4857 | ambiguous line specifications. In C++ one can have overloaded |
4858 | function names, so that `list classname::overloadedfuncname' |
4859 | refers to several different lines, possibly in different files. |
3bf57d21 |
4860 | |
e91b87a3 |
4861 | Fri Jul 1 02:44:20 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu) |
3bf57d21 |
4862 | |
e91b87a3 |
4863 | * C++: symtab.c: replaced lookup_symtab_1 and lookup_symtab_2 with |
4864 | a modified lookup_symbol which checks for fields of the current |
4865 | implied argument `this'. printcmd.c, source.c, symtab.c, |
4866 | valops.c: Need to change callers once callers are |
4867 | installed. |
3bf57d21 |
4868 | |
e91b87a3 |
4869 | Wed Jun 29 01:26:56 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu) |
3bf57d21 |
4870 | |
e91b87a3 |
4871 | * C++: eval.c, expprint.c, expread.y, expression.h, valarith.c, |
4872 | Merged code to deal with evaluation of user-defined operators, |
4873 | member functions, and virtual functions. |
4874 | binop_must_be_user_defined tests for user-defined binops, |
4875 | value_x_binop calls the appropriate operator function. |
3bf57d21 |
4876 | |
e91b87a3 |
4877 | Tue Jun 28 02:56:42 1988 Peter TerMaat (pete at frosted-flakes.ai.mit.edu) |
3bf57d21 |
4878 | |
e91b87a3 |
4879 | * C++: Makefile: changed the echo: expect 101 shift/reduce conflicts |
4880 | and 1 reduce/reduce conflict. |
3bf57d21 |
4881 | \f |
4882 | Local Variables: |
4883 | mode: indented-text |
3bf57d21 |
4884 | left-margin: 8 |
4885 | fill-column: 74 |
4886 | version-control: never |
4887 | End: |