* arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
2
3 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
4 processor.
5 * remote-arc.c (arc_wait): when a processor stops, stop other two
6 processors too.
7 * remote-arc.c (switch_command): switch tm_print_insn.
8
9 * vx-share/ptrace.h: merge in WRS new ptrace requests.
10
11 * defs.h: fix a syntax error.
12
13 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
14 * remote-vx.c: move read_register and write_register out to
15 target specific files.
16 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
17
18 * defs.h: define SWAP_TARGET_AND_HOST macro.
19 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
20 SWAP_TARGET_AND_HOST.
21
22 Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23
24 * alpha-tdep.c (find_proc_desc): Only attempt to set
25 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
26
27 Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
28
29 * monitor.c: General gcc -Wall lint cleanup and reformat.
30 (monitor_command): If no args, send an empty command.
31
32 Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
33
34 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
35 after send LOAD_CMD to prevent loss of first S-record.
36
37 Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
38
39 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
40 Call error if too few arguments.
41 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
42 copy and convert to reference *before* we calculate alignment.
43 Also, make sure structs allocated for return values and invisible
44 reference don't violate STACK_ALIGN.
45
46 Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
47
48 * top.c (print_gdb_version): Update the year.
49
50 Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
51
52 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
53 `..' not in `../..'.
54
55 Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
56
57 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
58 in addition to a PIOCSSIG to kill the inferior.
59
60 Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
61
62 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
63 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
64 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
65 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
66 * c-typeprint.c (c_type_print_varspec_suffix): If array length
67 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
68
69 Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
70
71 * dcache.c (insque, remque): Rewrite Linux support.
72
73 Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
74
75 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
76
77 * dcache.c (insque, remque): If compiling in standard C on Linux,
78 protect insque and remque with macros to cast the pointer
79 arguments to the proper type.
80
81 Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
82
83 * annotate.c, breakpoint.c, defs.h, top.c: Replace
84 enable/disable_breakpoint_hook with modify_breakpoint_hook.
85 start-sanitize-gdbtk
86 * gdbtk.c: Ditto.
87 * gdbtk.c: General cleanups, get rid of unused variables. Redo
88 handling of stdout/stderr to just return output as the result of
89 the tcl command that caused the output. Cleanup -Wall stuff.
90 * (breakpoint_notify): Now returns just action and breakpoint
91 number.
92 * (gdb_get_breakpoint_list): New routine. Does the obvious.
93 * (gdb_get_breakpoint_info): Mostly derived from the old
94 breakpoint_notify, but returns lots more info.
95 * (dsprintf_append_element): Helper routine, works like printf,
96 but appends a tcl element onto the specified DString. Good for
97 building up lists as return values.
98 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
99 gdbtk_modify_breakpoint.
100 * (*many routines*): Use new result protocol.
101 * (call_wrapper): Make sure that recursive calls don't trash results.
102 * gdbtk.tcl: New windows, autocmd, and breakpoints.
103 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
104 anymore. It's not needed (in fact, this routine may not be needed
105 anymore).
106 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
107 notification protocol.
108 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
109 catches.
110 * (interactive_cmd): Use this wrapper around button invocations
111 of many commands. This will catch errors and put the results into
112 the command window. It also updates all the other windows.
113 * Also, change reliefs of most things to sunken. This actually
114 looks better.
115 * (create_file_win): Fix margin binding to allow breakpoints to
116 work again.
117 * (create_asm_win): Use return value of gdb_disassemble instead
118 of implicit I/O to the command window.
119 * (create_command_window): Use new result protocol to get output
120 from commands.
121 end-sanitize-gdbtk
122
123 Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
124
125 * expression.h: Move declaration of evaluate_subexp_with_coercion
126 from here...
127 * value.h: ...to here.
128 * expression.h: Don't include value.h
129
130 Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
131
132 * expression.h: Move include of value.h until after declaration of
133 enum exp_opcode.
134
135 Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
136
137 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
138 simplify code, declare things, format to standards.
139 (inferior.h, value.h, command.h, remote-utils.h): Include.
140 (e7000_login): Rename to e7000_login_command.
141 (e7000_ftp): Rename to e7000_ftp_command.
142 (e7000_drain): Rename to e7000_drain_command.
143
144 * irix5-nat.c (string.h): Include near beginning of file.
145
146 Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
147
148 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
149 arg, it is a value not a symbol.
150
151 gcc -Wall lint:
152 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
153 * expression.h: ..to here.
154 * expression.h: Include value.h.
155 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
156
157 Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
158
159 * language.h (struct language_defn): New field evaluate_exp.
160 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
161 f-lang.c (f_language_defn), language.c (unknown_language_defn,
162 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
163 Set evaluate_exp to evaluate_subexp_standard.
164 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
165 support for MULTI_SUBSCRIPT.
166 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
167 * eval.c (enum noside): Move from here ....
168 * expression.h (enum noside): ... to here.
169 (evaluate_subexp_standard): New prototype.
170 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
171 Removed lo-longer-needed test for chill_varying_type.
172 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
173
174 * ch-exp.y (maybe_expression_list): New non-terminal.
175 (primitive_value): Allow empty parameter list.
176
177 Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
178
179 * buildsym.c (finish_block): If finishing a function without known
180 parameter type info, set that from parameter symbols.
181 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
182 print parameter types, if available.
183 * ch-typeprint.c (chill_type_print_base): Likewise.
184
185 * gdbtypes.h (struct type): Remove function type field.
186 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
187 function types now that we're also storing parameter types.
188 And the payoff is much less.
189 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
190 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
191 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
192
193 * valops.c (value_arg_coerce): Now takes param_type argument.
194 (call_function_by_hand): Convert arguments with value_arg_coerce
195 early, and overwrite original args with converted args.
196 No longer need multiple calls to value_arg_coerce.
197 (value_arg_push): Removed.
198 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
199 * mips-tdep.c (mips_push_arguments): Likewise.
200 * alpha-tdep.c (alpha_push_arguments): Likewise.
201 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
202 Likewise.
203 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
204
205 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
206
207 * symtab.c (add_param_to_type): Remove (commented-out) function,
208 since that functionality has been re-written.
209 * coffread.c: Remove commented-out add_param_to_type support.
210 * mdebugread.c (parse_symbol): Likewise.
211 * stabsread.c (define_symbol): Likewise.
212
213 Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
214
215 * buildsym.c (start_subfile): Set language for f2c like for cfront.
216
217 Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
218
219 * op50n-rom.c: Add the control registers.
220
221 Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
222
223 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
224 after, any host/target/native libraries.
225 * dcache.c (insque, remque): Remove declarations.
226 * gdbtypes.h (type_code): Remove trailing comma.
227
228 From Peter Schauer:
229 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
230 STATIC_NODEBUG_VARS inside case.
231
232 Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
233
234 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
235 * partial-stab.h: Call it.
236 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
237 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
238 get the address.
239 * sparc-tdep.c (solaris_static_transform_name): New function.
240
241 Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
242
243 * somread.c (som_symtab_read): Handle dynamic relocation for both
244 text and data symbols.
245 (som_symfile_offsets): If objfile is a shared library, then get
246 text and data offsets from the shared library structures.
247 * somsolib.c (som_solib_add): Copy the bfd pointer from the
248 objfile rather than reopening the file again.
249 (som_solib_section_offsets): New function.
250 * somsolib.h (som_solib_section_offsets): Declare.
251
252 Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
253
254 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
255 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
256 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
257 filename field.
258 * elfread.c (record_minimal_symbol_and_info),
259 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
260 newly created symbol.
261 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
262 Set filename field of minimal symbol.
263 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
264 Print filename field.
265 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
266 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
267 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
268 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
269 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
270 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
271 Find address of function from minimal symbols.
272 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
273 instead of getting pst->textlow from the stab.
274 * minsyms.c (find_stab_function_addr): New function.
275
276 Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
277
278 * monitor.c: Fix so all the output shows up in the GUI command
279 window.
280
281 Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
282
283 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
284 line, so init.c generation works correctly.
285 start-sanitize-arc
286 * arc-tdep.c (_initialize_arc_tdep): Ditto.
287 end-sanitize-arc
288
289 Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
290
291 * config/mips/idt.mt: Add support for the lsi33k target.
292 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
293 * array-rom.c: Finish the rest of the support commands needed by
294 GDB.
295 * mips-tdep.c: Add LSI33k register names and processor type.
296
297 start-sanitize-gdbtk
298 Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
299
300 * gdbtk.c (gdb_disassemble): Deference pointer to function before
301 calling it (pre-ANSI compilers generally require this).
302
303 end-sanitize-gdbtk
304 Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
305
306 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
307
308 Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
309
310 * ser-go32-para.c (dos_read): fix syntax errors.
311
312 Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
313
314 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
315 dis_asm_read_memory_hook. We can now call the disassemblers
316 directly and have no need for this hook anymore.
317 start-sanitize-gdbtk
318 * gdbtk.c (gdb_disassemble): Ditto.
319 end-sanitize-gdbtk
320 * defs.h, printcmd.c: Make print_insn be static.
321
322 * ser-go32.c (dos_comisr): Make this 8 bit clean.
323 * (dos_open dos_close): Allow multiple opens to the same device.
324 Use a ref count to prevent unwanted deallocations.
325 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
326 happy.
327 * (sparclite_ops): Switch to download_stratum.
328 * target.h (enum strata): Move download_stratum before
329 process_stratum so that executable targets get pushed on top of
330 download targets.
331
332 Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
333
334 * array-rom.c: Remove the non GDB remote protocol config stuff.
335
336 * monitor.c: All reading/writing functions for memory and
337 registers work.
338
339 Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
340
341 start-sanitize-arc
342 * config/arc/arc.mt: new target makefile for arc processor.
343 * config/arc/tm-arc.h: new target header for arc processor.
344 * config/arc/go32.mh: new go32 host makefile for arc processor.
345 * config/arc/xm-go32.h: new go32 host header for arc processor.
346 * arc-tdep.c: new target dependent codes for arc processor.
347 * remote-arc.c: new file for arc-specific protocol through
348 parallel line.
349 end-sanitize-arc
350 * ser-go32-para.c: new file for go32 parallel port communication.
351
352 Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
353
354 * Makefile.in (VERSION): Bump to 4.13.2.
355
356 Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
357
358 Fix compiler warnings:
359 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
360 and have the caller do the sprintf. Saves us from varargs hell.
361 (normal): Define before use.
362 * remote-e7000.c: Reindent a few things.
363
364 Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
365
366 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
367 ranges in reverse order.
368 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
369
370 * eval.c (evaluate_subscript): Don't call value_subscript, since
371 it adjusts for lower bound and enforces ranges.
372
373 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
374 * eval.c, parse.c: Removed uses of removed opcodes.
375 * eval.c (evaluate_subexp): Clean up handling of
376 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
377
378 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
379 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
380
381 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
382 duplicate function made redundant by chill_varying_type.
383
384 Re-write of f77 string and complex number support:
385
386 * language.h (struct language_defn): New fields string_lower_bound
387 and string_char_type.
388 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
389 language.c (unknown_language_defn, auto_language_defn,
390 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
391 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
392 * gdbtypes.c (create_string_type): Use new string_char_type field.
393 * valops.c (value_string): Use new string_lower_bound field.
394
395 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
396 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
397 m2-lang.c (m2_create_fundamental_type),
398 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
399 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
400 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
401 Removed. Use builtin_type_complex and builtin_type_double_complex.
402
403 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
404 and TYPE_CODE_LITERAL_COMPLEX.
405 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
406 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
407 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
408 f77_create_literal_string_type): Removed.
409 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
410 VALUE_SUBSTRING_MYADDR): Removed.
411
412 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
413 OP_COMPLEX.
414 * parse.c: Update accordingly.
415
416 * f-valprint.c (f77_print_cmplx): Removed.
417 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
418
419 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
420 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
421 f77_value_literal_string.
422 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
423 f77_assign_from_literal_string, f77_assign_from_literal_complex):
424 Removed.
425 (value_assign): No longer need to handle literal types.
426 * valops.c (f77_value_literal_complex), value.h: Re-written and
427 renamed to value_literal_complex. Last arg is now a (complex) type.
428 * valops.c (f77_cast_into_complex): Re-written and renamed to
429 cast_into_complex.
430 * eval.c (evaluate_subexp): Update accordingly.
431
432 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
433 print address for non-'s'-formats.
434 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
435 of chill_is_varying_struct.
436
437 Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
438
439 gcc -Wall lint.
440 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
441 (after_prologue): Remove unused local b.
442 * procfs.c (thread.h): Include.
443 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
444 nested braces in initializer.
445 * top.c (initialize_targets, initialize_utils): Declare.
446 (locate_arg, insert_args): Add parens around tested assignments.
447 * remote-utils.c (sr_scan_args): Remove decl of strtol.
448 * remote.c (thread.h): Include.
449 (remote_wait): Remove unused local p2.
450 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
451 registers array.
452
453 defs.h (stdlib.h): Include.
454 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
455 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
456 strtok, strerror): Don't specify parameter types in declaration.
457
458 Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
459
460 * ch-exp.y (value_string_element, string_primitive_value,
461 start_element, left_element, right_element, slice_size,
462 lower_element, upper_element, first_element): Removed.
463 (value_string_slice, value_array_slice): Replaced by ...
464 (slice): New non-terminal, with working slice support.
465 (primitive_value_lparen, rparen): New non-terminals.
466 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
467 (idtokentab): Added "up".
468
469 * value.h (COERCE_VARYING_ARRAY): New macro.
470 * valarith.c (value_subscript): Use it.
471 * valops.c (value_cast): Likewise. Also, do nothing if already
472 correct type, and allow converting from/to range to/from scalar.
473
474 * valops.c, value.h (varying_to_slice, value_slice): New functions.
475 * eval.c (OP_ARRAY): Add cast for array element.
476 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
477 * valops.c (chill_varying_type): Moved function frp, here ...
478 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
479 * parse.c (length_of_subexp, prefixify_subexp): Add support
480 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
481 * expprint.c (print_subexp, dump_expression): Likewise.
482 * eval.c (evaluate_subexp): Likewise.
483
484 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
485 value_x_binop on a Chill varying string.
486
487 Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
488
489 * config/m68k/monitor.mt,
490 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
491 depfiles in TDEPFILES not REMOTE_O.
492
493 Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
494
495 From nigel@algor.co.uk.
496 * ser-go32.c (dos_close): Don't crash if scb null.
497 (dos_sendbreak): New function.
498 (dos_ops): Point to dos_sendbreak.
499 (dos_info): Calculate COM number correctly.
500
501 Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
502
503 * xcoffread.c (process_xcoff_symbol): Use new variables
504 func_symbol_type and var_symbol_type as type of functions and
505 variables which don't have any stabs associated with them.
506 Reindent most of function.
507 (_initialize_xcoffread): Initialize *_symbol_type.
508
509 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
510 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
511 them (this part commented out as I didn't quite get it to work).
512 (cs_to_section, find_targ_sec): New functions, to support above code.
513 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
514 actually present.
515
516 Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
517 start-sanitize-gdbtk
518 * gdbtk.tcl (create_file_win): Disable old popup menu for source
519 window.
520 end-sanitize-gdbtk
521 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
522 downloads to SPARClite demo boards.
523
524 Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
525
526 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
527 no hope of working as is for a long time (in particular, shebs' 27
528 Jan 95 change confuses the issue further--target_read_memory and
529 xfer_core_file do *not* do the same thing in this context).
530 Revise comment.
531
532 Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
533
534 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
535 procedure linkage table symbols, it is no longer set due to the
536 Jan 6 BFD change in bfd/elfcode.h.
537
538 Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
539
540 * top.c (use_windows): Clarify comments.
541
542 * convex-tdep.c (xfer_core_file): Comment out.
543 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
544 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
545 references to target_read_memory.
546 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
547 declarations.
548 * corelow.c (core_open, core_detach): Make static.
549
550 * arm-tdep.c: Make it compile.
551 (exec_file_command, xfer_core_file): Comment out.
552 (arm_print_insn): Remove, now in libopcodes.
553 (skip_prologue): Comment out most of body.
554 (arm_frame_find_saved_regs): Move here from tm-arm.h.
555 (_initialize_arm_tdep): Set tm_print_insn.
556 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
557 (XFER_CORE_FILE): Remove.
558 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
559
560 Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
561
562 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
563
564 Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
565
566 * symtab.c (find_pc_line): When subtracting one to get a line
567 number, make sure not to end up with zero.
568
569 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
570 problems with those changes were (a) the file didn't compile, (b)
571 they changed memset to bzero--memset is correct, (c) they took out
572 code to deal with boards lacking floating point, (d) who knows
573 what I didn't discover in a quick read.
574
575 Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
576
577 * sparcl-tdep.c: Clean up formatting and indentation.
578
579 Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
580
581 * remote-hms.c (hms_ops): Change ref of hr_load_image
582 to gr_load_image.
583 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
584 dcache_poke, dcache_init): Deleted.
585 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
586 Use dcache routines provided by remote-util.h
587
588 Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
589
590 * configure.in: Add support for powerpc-*-eabi.
591
592 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
593 PowerPC support.
594
595 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
596
597 * language.h (struct language_defn): New field c_style_arrays.
598 * language.c (unknown_language_defn, auto_language_defn,
599 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
600 asm_language_defn): Set c_style_arrays to true.
601 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
602 f-lang.c (f_language_defn): Set c_style_arrays to false.
603 * valops.c (value_string): If c_style_array is not set,
604 allocate string in gdb (not inferior) using allocate_value.
605
606 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
607 Only call value_coerce_array if current_language->c_style_arrays.
608 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
609
610 * valops.c (chill_varying_type): New predicate.
611 * valops.c (value_cast): Support assigning a fixed string or array
612 to a variable string/array structure.
613
614 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
615 Check index>=lowerbound, and then add lowerbound to index here,
616 instead of in caller. Generalize to arbitrary lval_types.
617 (value_subscript): Use enhanced value_subscripted_rvalue if
618 c_style_arrays is false (and index is in range).
619
620 Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
621
622 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
623 found.
624 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
625 popping up expression window for the first time.
626
627 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
628
629 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
630 TYPE_LENGTH is length in bytes, not bits.
631
632 Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
633
634 * infrun.c (proceed): Flush stdout before resuming inferior.
635 * infcmd.c (step_1), annotate.c (annotate_starting):
636 Don't bother to flush here.
637
638 Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
639
640 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
641 by an ill-advised global search and replace.
642
643 Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
644
645 * gdbtk.tcl (create_registers_window): Work around a radiobutton
646 widget bug to make Options|Natural button work.
647
648 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
649 g++ caused by out-of-order pc's.
650 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
651 add scrollbar.
652
653 Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
654
655 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
656 doc!
657
658 Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
659
660 Add support for Chill bitstring literals (e.h. H'FF00').
661 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
662 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
663 just print B'<unimlemented>'.
664 * gdbtypes.c (create_set_type): Fix bug in length calculation.
665 * valops.c, value.h (value_bitstring): New function.
666 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
667
668 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
669 check that return type is non-void, and print in proper Chill syntax.
670
671 Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
672
673 * Makefile.in: Remove references to remote-mon.c.
674 * remote-mon.c: remove. Replaced by rom68k-rom.c.
675 * rom68k-rom.c: Support for Rom68k monitor.
676
677 Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
678
679 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
680 gcc/ch/runtime not chillrt, since that is where the chill runtime
681 lives now.
682
683 Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
684
685 * remote-hms.c (hms_load): Delete.
686 (target_ops): Use hr_load_image.
687
688 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
689 Define memory_insert/remove_breakpoint.
690 * xm-go32.h: Remove redundant SIGs.
691
692 Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
693
694 * ser-go32.c: Rewritten by nigel@algor.co.uk.
695
696 Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
697
698 * expression.h (OP_LABELED): New operator, for Chill
699 labeled structre tuples.
700 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
701 New non-terminals, to handle labeled structure tuples.
702 (tuple): Re-define using tuple_elements.
703 * eval.c (evaluate_labeled_field_init): New function, to handle
704 initialization of structure fields, possibly using OP_LABELED.
705 (evaluate_subexp): Use it.
706 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
707 for Chill. Handled OP_LABELED.
708 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
709
710 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
711 * valarith.c (value_bit_index): Just treat bitstring as represented
712 by an array of bytes. Alignment is handled by compiler.
713
714 Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
715
716 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
717 * sh-tdep.c (gdb_print_insn_sh): Ditto.
718
719 Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
720
721 * remote-os9k.c (rombug_open): Fix a bug in exception handling
722 command.
723 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
724 write.
725
726 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
727
728 * parse.c (_initialize_parse): Improve wording of names of
729 msym_*_symbol_type.
730
731 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
732
733 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
734 (mips_fpu): Change type to enum mips_fpu_type.
735 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
736 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
737 Don't initialize.
738 (mips_fpu_string): New static variable.
739 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
740 (mips_pop_frame): Likewise.
741 (mips_extract_return_value): Likewise.
742 (mips_store_return_value): Likewise.
743 (mips_set_fpu_command): New static function.
744 (mips_show_fpu_command): New static function.
745 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
746
747 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
748
749 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
750
751 * parse.c (write_exp_msymbol): Use new variables
752 msym_*_symbol_type as type of msymbol expression.
753 (_initialize_parse): Initialize them.
754
755 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
756
757 General cleanup and simplication of disassembler interface.
758 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
759 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
760 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
761 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
762 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
763 had been -pinsn.c files.
764 * Makefile.in (ALLDEPFILES): Remove removed files.
765 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
766 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
767 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
768 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
769 Remove compile actions.
770 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
771 vax-tdep.o: Add compile actions.
772 * defs.h (tm_print_insn): New global.
773 * a29k-tdep.c (gdb_print_insn_a29k): New function.
774 (_initialize_a29k_tdep): Rename from _initialize_29k,
775 set tm_print_insn.
776 * alpha-tdep.c (print_insn): Remove.
777 (_initialize_alpha_tdep): Set tm_print_insn.
778 * arm-tdep.c (arm_print_insn): New function, was print_insn
779 in arm-pinsn.c.
780 * convex-tdep.c (convex_print_insn): New function, was print_insn
781 in convex-pinsn.c.
782 * h8300-tdep.c (print_insn): Remove.
783 (gdb_print_insn_h8300): New function.
784 (_initialize_h8300_tdep): New function.
785 * h8500-tdep.c (print_insn): Remove.
786 (_initialize_h8500_tdep): New function.
787 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
788 * i386-tdep.c (_initialize_i386_tdep): New function.
789 * i960-tdep.c (mem, next_insn): New functions, were in
790 i960-pinsn.c.
791 (_initialize_i960_tdep): Set tm_print_insn.
792 * m68k-tdep.c (_initialize_m68k_tdep): New function.
793 * m88k-tdep.c (_initialize_m88k_tdep): New function.
794 * mips-tdep.c (gdb_print_insn_mips): New function.
795 (_initialize_mips_tdep): Set tm_print_insn.
796 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
797 in pyr-pinsn.c.
798 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
799 * sh-tdep.c (print_insn): Remove.
800 (gdb_print_insn_sh): New function.
801 (_initialize_sh_tdep): Set tm_print_insn.
802 * sparc-tdep.c (_initialize_sparc_tdep): New function.
803 * w65-tdep.c (print_insn): Remove.
804 (_initialize_w65_tdep): New function.
805 * z8k-tdep.c (print_insn): Remove.
806 (gdb_print_insn_z8k): New function.
807 (_initialize_z8k_tdep): Set tm_print_insn.
808 * printcmd.c (print_insn): New function, generic disassembler.
809 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
810
811 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
812
813 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
814 and config/a29k/vx29k.mt.
815 * configure.in: add new configuration a29k-*-vxworks.
816 * remote-vx29k.c: new file merged from WRS.
817 * remote-vx.c: merge changes from WRS.
818 * config/a29k/vx29k.mt: new file for new configuration.
819 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
820
821 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
822
823 * breakpoint.h (disable_breakpoint, enable_breakpoint):
824 New declarations.
825 (enum bpdisp): Change name of 'delete' member to 'del'.
826 (struct bpstat): Changed name to 'bpstats'.
827 * breakpoint.c (disable_breakpoint, enable_breakpoint,
828 breakpoint_chain): Made globally visible.
829 (bpstat_stop_status): Use new name for bpstat.
830 (break_command_1, watch_command_1, catch_command_1,
831 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
832 instead of 'delete'.
833 (set_breakpoint_sal): New function.
834 * defs.h (registers_changed_hook): New declaration.
835 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
836 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
837 * main.c (main): Don't scan options when in WIN32 and exit
838 without entering main loop.
839 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
840 * symtab.h (struct symbol, struct partial_symbol): Changed name of
841 member 'class' to 'aclass'.
842 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
843 * top.c (registers_changed_hook): New definition.
844 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
845 in same way as __GO32__.
846 * value.h (c_typedef_print): Rename 'new' argument.
847
848 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
849 * configure.in: Suppprt for w65,
850
851
852 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
853
854 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
855 not stop_pc, to proceed.
856
857 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
858
859 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
860
861 * infcmd.c (signal_command): Accept "signal 0"; the change to not
862 accept it was accidental. "handle 0" and "info signal 0" remain
863 illegal, though.
864
865 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
866
867 * Makefile.in (all): Don't make libgdb-files.
868 (libgdb): New action, makes libgdb-files.
869
870 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
871
872 * stabsread.c (read_enum_type): When pending enum symbols are
873 put into the enum type, they must be inserted in "backwards
874 order, in case we've overflowed a struct pending buffer.
875
876 start-sanitize-gdbtk
877 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
878
879 * gdbtk.c, gdbtk.tcl: Update/add copyright.
880 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
881 including dismiss button, and better error handling.
882 * (create_command_win): Bind button 2 to retrieve selection.
883 end-sanitize-gdbtk
884
885 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
886
887 * README: Add note about SPARCworks cc release 3.0 and higher.
888
889 Add procfs support for Alpha OSF/1-2.x.
890 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
891 OSF/1 native support.
892 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
893 (MUNCH_DEFINE): Removed.
894 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
895 for procfs support.
896 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
897 release 2.x and higher, else alpha-osf1.mh, as the procfs support
898 in release 1.x is incomplete.
899 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
900 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
901 fill_fpgregset): New routines for procfs support.
902 * inftarg.c (_initialize_inftarg): Don't add ptrace support
903 if we have an optional procfs and /proc is accessible.
904 * procfs.c: Include sys/fault.h and sys/syscall.h before
905 including sys/procfs.h.
906 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
907 is defined, additionally perform a PIOCSSIG to really terminate
908 the inferior.
909 (create_procinfo): Always return a result.
910 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
911 PROCFS_DONT_TRACE_IFAULT is defined.
912 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
913 argument to startup_inferior if it is defined.
914 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
915 of tracing exits from exec system calls. Needed for the user level
916 loader under Alpha OSF/1.
917 (do_detach): Clear any pending signal if we want to detach from
918 a process without a signal.
919 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
920 don't issue a PIOCSSIG if pr_cursig already contains the signal we
921 intend to set.
922 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
923 pending signals are numbered from 1 instead of 0.
924 (info_proc_mappings): Increase size of output format for addresses
925 if BFD_HOST_64_BIT is defined.
926 (procfs_stop): Renamed from child_stop.
927 (_initialize_procfs): Don't add procfs support if we have an
928 optional procfs and /proc is not accessible.
929
930 start-sanitize-gdbtk
931 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
932
933 * gdbtk.tcl: Add button to control mixed source disassembly.
934 Use text widgets in expr window. The give me more control over
935 layout.
936 Add auto-updating of exprs in expression window.
937 Handle expressions out of scope a bit better.
938 Make selected window pop up to the top when invoked via the
939 menubar.
940 Make copyright message have raised relief.
941
942 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
943 during startup.
944 end-sanitize-gdbtk
945
946 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
947
948 * array-rom.c: Add support for most commands.
949
950 * monitor.c: Add GDB remote protocol for the hybrid environment on
951 the Array board.
952
953 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
954
955 * command.c (show_user_1): Use print_command_line to show a user
956 defined command (including control structures).
957
958 * top.c (init_main): Change documentation for user defined
959 commands to indicate they may accept up to ten arguments.
960
961 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
962
963 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
964 `move $s8, $sp' instruction.
965
966 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
967
968 * target.c, target.h (target_signal_from_command): New function.
969 * infrun.c (handle_command, signals_info), infcmd.c
970 (signal_command): Use it.
971 * infrun.c, infcmd.c: Update docstrings for these commands.
972
973 * target.h (enum target_signal), target.c (signals), target.c
974 (target_signal_from_host, target_signal_to_host): Add
975 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
976 * config/tm-lynx.h: Define signal numbers for realtime events.
977
978 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
979
980 * dbxread.c (process_one_symbol): Handle N_FUN symbols
981 for Sun acc 3.0 under SunOS4.
982
983 Changes to improve handling of runtime common symbols
984 under SunOS4.
985 * minsyms.c (get_symbol_leading_char): New routine to determine
986 the leading symbol character for an objfile.
987 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
988 Use it.
989 * objfiles.h (rt_common_objfile): New global, points to objfile
990 containing the runtime common minimal symbols.
991 * objfiles.c (free_objfile): Mark rt_common_objfile as
992 unallocated before freeing it.
993 * solib.c (allocate_rt_common_objfile): New routine to allocate
994 an objfile for the runtime common minimal symbols.
995 (solib_add_common_symbols): Allocate an objfile for the runtime
996 common symbols if necessary and put common symbols into it.
997 Clean up code and comments.
998 (solib_add, special_symbol_handling): Cleanup comments regarding
999 runtime common symbols.
1000 * stabsread.c (scan_file_globals_1): New routine, contains
1001 old scan_file_globals code. Checks if there are any unresolved
1002 global symbols before starting the expensive minimal symbol table
1003 search.
1004 (scan_file_globals): Now calls scan_file_globals_1 for the passed
1005 objfile and eventually for the runtime common objfile. Complains
1006 about any unresolved global symbols and removes them from the
1007 global symbol chain to avoid dangling pointers into the symbol
1008 table if the symbol table is reread.
1009
1010 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
1011
1012 * Makefile.in (install_only uninstall): Indent for clarity.
1013
1014 * core.c (dis_asm_read_memory): Add call to
1015 dis_asm_read_memory_hook to provide alternate way for disassembler
1016 to read memory.
1017
1018 * defs.h: Protect from multiple inclusion. Add decl for
1019 dis_asm_read_memory_hook.
1020
1021 * top.c: Make window startup be the default.
1022 * Add dis_asm_read_memory_hook.
1023
1024 start-sanitize-gdbtk
1025 * gdbtk.c (finish_saving_output): Don't do anything if not saving
1026 output.
1027 * (breakpoint_notify): Don't send null filename to tcl.
1028 * (gdb_eval): New tcl command to eval an expression.
1029 * (gdb_disassemble): New tcl command to do disassembly. This
1030 allows tcl code to choose between exec file and target memeory,
1031 and can also do mixed source and assembly.
1032 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
1033 that more of the environment is set up. Also, create link between
1034 gdb and tcl vars disassemble{-_}from{-_}exec.
1035
1036 * gdbtk.tcl: New expression window support.
1037 * Make assembly window be 80 columns wide.
1038 * Use new disassembly method. Add menu items to select
1039 disassembly from exec file or target.
1040 * Change View menubar item to Options.
1041
1042 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
1043 since they don't exist yet.
1044
1045 * Pop up a copyright window on startup.
1046 end-sanitize-gdbtk
1047
1048 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
1049
1050 * stabsread.c (define_symbol): Handle `a' symbol type used for
1051 reference parameter passed in a register.
1052
1053 start-sanitize-gdbtk
1054 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
1055
1056 * gdbtk.tcl (build_framework): Add standard commands menu, more
1057 windows to standard windows menu.
1058 (not_implemented_yet): Clarify message.
1059 end-sanitize-gdbtk
1060
1061 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
1062
1063 * defs.h: move include tm.h up, so that the type LONGEST can
1064 also based on the target requirement to determine. In this case
1065 target mips64.
1066
1067 * remote-os9k.c (rombug_open): catch exception e in rombug.
1068 * remote-os9k.c (rombug_wait): print message before register display
1069 from rombug.
1070
1071 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1072
1073 * top.c (locate_arg): Call strchr not index.
1074
1075 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
1076
1077 * ch-exp.y (literal): Recognize NULL.
1078 (tuple): Parse simple unlabelled tuples.
1079 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
1080 evaluate brace-initializer-expressions depending on context.
1081 (evaluate_subexp case UNOP_CAST): Pass the target type as
1082 expected type when evaluating the expression.
1083
1084 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
1085 BOOL from TYPE_NAME.
1086 * ch-valprint.c (chill_print_type_scalar): New function, to handle
1087 TYPE_CODE_RANGE better than print_type_scalar does.
1088 (chill_val_print_array_elements): Use above new function.
1089
1090 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
1091
1092 * remote-udi.c (udi_load): Tell symbol_file_add that the
1093 program being loaded is the main program.
1094
1095 For older changes see ChangeLog-94
1096 \f
1097 Local Variables:
1098 mode: indented-text
1099 left-margin: 8
1100 fill-column: 74
1101 version-control: never
1102 End:
This page took 0.075448 seconds and 5 git commands to generate.