3 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
4 * partial-stab.h: Call it.
5 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
6 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
8 * sparc-tdep.c (solaris_static_transform_name): New function.
12 * somread.c (som_symtab_read): Handle dynamic relocation for both
13 text and data symbols.
14 (som_symfile_offsets): If objfile is a shared library, then get
15 text and data offsets from the shared library structures.
16 * somsolib.c (som_solib_add): Copy the bfd pointer from the
17 objfile rather than reopening the file again.
18 (som_solib_section_offsets): New function.
19 * somsolib.h (som_solib_section_offsets): Declare.
23 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
24 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
25 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
27 * elfread.c (record_minimal_symbol_and_info),
28 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
30 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
31 Set filename field of minimal symbol.
32 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
34 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
35 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
36 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
37 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
38 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
39 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
40 Find address of function from minimal symbols.
41 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
42 instead of getting pst->textlow from the stab.
43 * minsyms.c (find_stab_function_addr): New function.
47 * monitor.c: Fix so all the output shows up in the GUI command
52 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
53 line, so init.c generation works correctly.
55 * arc-tdep.c (_initialize_arc_tdep): Ditto.
60 * config/mips/idt.mt: Add support for the lsi33k target.
61 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
62 * array-rom.c: Finish the rest of the support commands needed by
64 * mips-tdep.c: Add LSI33k register names and processor type.
69 * gdbtk.c (gdb_disassemble): Deference pointer to function before
70 calling it (pre-ANSI compilers generally require this).
75 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
79 * ser-go32-para.c (dos_read): fix syntax errors.
83 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
84 dis_asm_read_memory_hook. We can now call the disassemblers
85 directly and have no need for this hook anymore.
87 * gdbtk.c (gdb_disassemble): Ditto.
89 * defs.h, printcmd.c: Make print_insn be static.
91 * ser-go32.c (dos_comisr): Make this 8 bit clean.
92 * (dos_open dos_close): Allow multiple opens to the same device.
93 Use a ref count to prevent unwanted deallocations.
94 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
96 * (sparclite_ops): Switch to download_stratum.
97 * target.h (enum strata): Move download_stratum before
98 process_stratum so that executable targets get pushed on top of
103 * array-rom.c: Remove the non GDB remote protocol config stuff.
105 * monitor.c: All reading/writing functions for memory and
111 * config/arc/arc.mt: new target makefile for arc processor.
112 * config/arc/tm-arc.h: new target header for arc processor.
113 * config/arc/go32.mh: new go32 host makefile for arc processor.
114 * config/arc/xm-go32.h: new go32 host header for arc processor.
115 * arc-tdep.c: new target dependent codes for arc processor.
116 * remote-arc.c: new file for arc-specific protocol through
119 * ser-go32-para.c: new file for go32 parallel port communication.
123 * Makefile.in (VERSION): Bump to 4.13.2.
127 Fix compiler warnings:
128 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
129 and have the caller do the sprintf. Saves us from varargs hell.
130 (normal): Define before use.
131 * remote-e7000.c: Reindent a few things.
135 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
136 ranges in reverse order.
137 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
139 * eval.c (evaluate_subscript): Don't call value_subscript, since
140 it adjusts for lower bound and enforces ranges.
142 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
143 * eval.c, parse.c: Removed uses of removed opcodes.
144 * eval.c (evaluate_subexp): Clean up handling of
145 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
147 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
148 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
150 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
151 duplicate function made redundant by chill_varying_type.
153 Re-write of f77 string and complex number support:
155 * language.h (struct language_defn): New fields string_lower_bound
156 and string_char_type.
157 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
158 language.c (unknown_language_defn, auto_language_defn,
159 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
160 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
161 * gdbtypes.c (create_string_type): Use new string_char_type field.
162 * valops.c (value_string): Use new string_lower_bound field.
164 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
165 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
166 m2-lang.c (m2_create_fundamental_type),
167 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
168 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
169 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
170 Removed. Use builtin_type_complex and builtin_type_double_complex.
172 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
173 and TYPE_CODE_LITERAL_COMPLEX.
174 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
175 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
176 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
177 f77_create_literal_string_type): Removed.
178 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
179 VALUE_SUBSTRING_MYADDR): Removed.
181 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
183 * parse.c: Update accordingly.
185 * f-valprint.c (f77_print_cmplx): Removed.
186 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
188 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
189 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
190 f77_value_literal_string.
191 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
192 f77_assign_from_literal_string, f77_assign_from_literal_complex):
194 (value_assign): No longer need to handle literal types.
195 * valops.c (f77_value_literal_complex), value.h: Re-written and
196 renamed to value_literal_complex. Last arg is now a (complex) type.
197 * valops.c (f77_cast_into_complex): Re-written and renamed to
199 * eval.c (evaluate_subexp): Update accordingly.
201 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
202 print address for non-'s'-formats.
203 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
204 of chill_is_varying_struct.
209 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
210 (after_prologue): Remove unused local b.
211 * procfs.c (thread.h): Include.
212 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
213 nested braces in initializer.
214 * top.c (initialize_targets, initialize_utils): Declare.
215 (locate_arg, insert_args): Add parens around tested assignments.
216 * remote-utils.c (sr_scan_args): Remove decl of strtol.
217 * remote.c (thread.h): Include.
218 (remote_wait): Remove unused local p2.
219 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
222 defs.h (stdlib.h): Include.
223 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
224 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
225 strtok, strerror): Don't specify parameter types in declaration.
229 * ch-exp.y (value_string_element, string_primitive_value,
230 start_element, left_element, right_element, slice_size,
231 lower_element, upper_element, first_element): Removed.
232 (value_string_slice, value_array_slice): Replaced by ...
233 (slice): New non-terminal, with working slice support.
234 (primitive_value_lparen, rparen): New non-terminals.
235 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
236 (idtokentab): Added "up".
238 * value.h (COERCE_VARYING_ARRAY): New macro.
239 * valarith.c (value_subscript): Use it.
240 * valops.c (value_cast): Likewise. Also, do nothing if already
241 correct type, and allow converting from/to range to/from scalar.
243 * valops.c, value.h (varying_to_slice, value_slice): New functions.
244 * eval.c (OP_ARRAY): Add cast for array element.
245 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
246 * valops.c (chill_varying_type): Moved function frp, here ...
247 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
248 * parse.c (length_of_subexp, prefixify_subexp): Add support
249 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
250 * expprint.c (print_subexp, dump_expression): Likewise.
251 * eval.c (evaluate_subexp): Likewise.
253 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
254 value_x_binop on a Chill varying string.
258 * config/m68k/monitor.mt,
259 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
260 depfiles in TDEPFILES not REMOTE_O.
262 Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
265 * ser-go32.c (dos_close): Don't crash if scb null.
266 (dos_sendbreak): New function.
267 (dos_ops): Point to dos_sendbreak.
268 (dos_info): Calculate COM number correctly.
272 * xcoffread.c (process_xcoff_symbol): Use new variables
273 func_symbol_type and var_symbol_type as type of functions and
274 variables which don't have any stabs associated with them.
275 Reindent most of function.
276 (_initialize_xcoffread): Initialize *_symbol_type.
278 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
279 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
280 them (this part commented out as I didn't quite get it to work).
281 (cs_to_section, find_targ_sec): New functions, to support above code.
282 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
287 * gdbtk.tcl (create_file_win): Disable old popup menu for source
290 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
291 downloads to SPARClite demo boards.
295 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
296 no hope of working as is for a long time (in particular, shebs' 27
297 Jan 95 change confuses the issue further--target_read_memory and
298 xfer_core_file do *not* do the same thing in this context).
303 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
304 procedure linkage table symbols, it is no longer set due to the
305 Jan 6 BFD change in bfd/elfcode.h.
309 * top.c (use_windows): Clarify comments.
311 * convex-tdep.c (xfer_core_file): Comment out.
312 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
313 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
314 references to target_read_memory.
315 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
317 * corelow.c (core_open, core_detach): Make static.
319 * arm-tdep.c: Make it compile.
320 (exec_file_command, xfer_core_file): Comment out.
321 (arm_print_insn): Remove, now in libopcodes.
322 (skip_prologue): Comment out most of body.
323 (arm_frame_find_saved_regs): Move here from tm-arm.h.
324 (_initialize_arm_tdep): Set tm_print_insn.
325 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
326 (XFER_CORE_FILE): Remove.
327 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
331 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
335 * symtab.c (find_pc_line): When subtracting one to get a line
336 number, make sure not to end up with zero.
338 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
339 problems with those changes were (a) the file didn't compile, (b)
340 they changed memset to bzero--memset is correct, (c) they took out
341 code to deal with boards lacking floating point, (d) who knows
342 what I didn't discover in a quick read.
346 * sparcl-tdep.c: Clean up formatting and indentation.
348 Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
350 * remote-hms.c (hms_ops): Change ref of hr_load_image
352 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
353 dcache_poke, dcache_init): Deleted.
354 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
355 Use dcache routines provided by remote-util.h
359 * configure.in: Add support for powerpc-*-eabi.
361 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
366 * language.h (struct language_defn): New field c_style_arrays.
367 * language.c (unknown_language_defn, auto_language_defn,
368 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
369 asm_language_defn): Set c_style_arrays to true.
370 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
371 f-lang.c (f_language_defn): Set c_style_arrays to false.
372 * valops.c (value_string): If c_style_array is not set,
373 allocate string in gdb (not inferior) using allocate_value.
375 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
376 Only call value_coerce_array if current_language->c_style_arrays.
377 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
379 * valops.c (chill_varying_type): New predicate.
380 * valops.c (value_cast): Support assigning a fixed string or array
381 to a variable string/array structure.
383 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
384 Check index>=lowerbound, and then add lowerbound to index here,
385 instead of in caller. Generalize to arbitrary lval_types.
386 (value_subscript): Use enhanced value_subscripted_rvalue if
387 c_style_arrays is false (and index is in range).
391 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
393 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
394 popping up expression window for the first time.
398 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
399 TYPE_LENGTH is length in bytes, not bits.
403 * infrun.c (proceed): Flush stdout before resuming inferior.
404 * infcmd.c (step_1), annotate.c (annotate_starting):
405 Don't bother to flush here.
409 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
410 by an ill-advised global search and replace.
414 * gdbtk.tcl (create_registers_window): Work around a radiobutton
415 widget bug to make Options|Natural button work.
417 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
418 g++ caused by out-of-order pc's.
419 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
424 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
429 Add support for Chill bitstring literals (e.h. H'FF00').
430 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
431 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
432 just print B'<unimlemented>'.
433 * gdbtypes.c (create_set_type): Fix bug in length calculation.
434 * valops.c, value.h (value_bitstring): New function.
435 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
437 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
438 check that return type is non-void, and print in proper Chill syntax.
442 * Makefile.in: Remove references to remote-mon.c.
443 * remote-mon.c: remove. Replaced by rom68k-rom.c.
444 * rom68k-rom.c: Support for Rom68k monitor.
448 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
449 gcc/ch/runtime not chillrt, since that is where the chill runtime
452 Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
454 * remote-hms.c (hms_load): Delete.
455 (target_ops): Use hr_load_image.
457 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
458 Define memory_insert/remove_breakpoint.
459 * xm-go32.h: Remove redundant SIGs.
461 Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
467 * expression.h (OP_LABELED): New operator, for Chill
468 labeled structre tuples.
469 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
470 New non-terminals, to handle labeled structure tuples.
471 (tuple): Re-define using tuple_elements.
472 * eval.c (evaluate_labeled_field_init): New function, to handle
473 initialization of structure fields, possibly using OP_LABELED.
474 (evaluate_subexp): Use it.
475 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
476 for Chill. Handled OP_LABELED.
477 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
479 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
480 * valarith.c (value_bit_index): Just treat bitstring as represented
481 by an array of bytes. Alignment is handled by compiler.
485 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
486 * sh-tdep.c (gdb_print_insn_sh): Ditto.
490 * remote-os9k.c (rombug_open): Fix a bug in exception handling
492 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
497 * parse.c (_initialize_parse): Improve wording of names of
502 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
503 (mips_fpu): Change type to enum mips_fpu_type.
504 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
505 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
507 (mips_fpu_string): New static variable.
508 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
509 (mips_pop_frame): Likewise.
510 (mips_extract_return_value): Likewise.
511 (mips_store_return_value): Likewise.
512 (mips_set_fpu_command): New static function.
513 (mips_show_fpu_command): New static function.
514 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
518 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
520 * parse.c (write_exp_msymbol): Use new variables
521 msym_*_symbol_type as type of msymbol expression.
522 (_initialize_parse): Initialize them.
526 General cleanup and simplication of disassembler interface.
527 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
528 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
529 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
530 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
531 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
532 had been -pinsn.c files.
533 * Makefile.in (ALLDEPFILES): Remove removed files.
534 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
535 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
536 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
537 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
538 Remove compile actions.
539 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
540 vax-tdep.o: Add compile actions.
541 * defs.h (tm_print_insn): New global.
542 * a29k-tdep.c (gdb_print_insn_a29k): New function.
543 (_initialize_a29k_tdep): Rename from _initialize_29k,
545 * alpha-tdep.c (print_insn): Remove.
546 (_initialize_alpha_tdep): Set tm_print_insn.
547 * arm-tdep.c (arm_print_insn): New function, was print_insn
549 * convex-tdep.c (convex_print_insn): New function, was print_insn
551 * h8300-tdep.c (print_insn): Remove.
552 (gdb_print_insn_h8300): New function.
553 (_initialize_h8300_tdep): New function.
554 * h8500-tdep.c (print_insn): Remove.
555 (_initialize_h8500_tdep): New function.
556 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
557 * i386-tdep.c (_initialize_i386_tdep): New function.
558 * i960-tdep.c (mem, next_insn): New functions, were in
560 (_initialize_i960_tdep): Set tm_print_insn.
561 * m68k-tdep.c (_initialize_m68k_tdep): New function.
562 * m88k-tdep.c (_initialize_m88k_tdep): New function.
563 * mips-tdep.c (gdb_print_insn_mips): New function.
564 (_initialize_mips_tdep): Set tm_print_insn.
565 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
567 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
568 * sh-tdep.c (print_insn): Remove.
569 (gdb_print_insn_sh): New function.
570 (_initialize_sh_tdep): Set tm_print_insn.
571 * sparc-tdep.c (_initialize_sparc_tdep): New function.
572 * w65-tdep.c (print_insn): Remove.
573 (_initialize_w65_tdep): New function.
574 * z8k-tdep.c (print_insn): Remove.
575 (gdb_print_insn_z8k): New function.
576 (_initialize_z8k_tdep): Set tm_print_insn.
577 * printcmd.c (print_insn): New function, generic disassembler.
578 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
582 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
583 and config/a29k/vx29k.mt.
584 * configure.in: add new configuration a29k-*-vxworks.
585 * remote-vx29k.c: new file merged from WRS.
586 * remote-vx.c: merge changes from WRS.
587 * config/a29k/vx29k.mt: new file for new configuration.
588 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
590 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
592 * breakpoint.h (disable_breakpoint, enable_breakpoint):
594 (enum bpdisp): Change name of 'delete' member to 'del'.
595 (struct bpstat): Changed name to 'bpstats'.
596 * breakpoint.c (disable_breakpoint, enable_breakpoint,
597 breakpoint_chain): Made globally visible.
598 (bpstat_stop_status): Use new name for bpstat.
599 (break_command_1, watch_command_1, catch_command_1,
600 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
602 (set_breakpoint_sal): New function.
603 * defs.h (registers_changed_hook): New declaration.
604 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
605 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
606 * main.c (main): Don't scan options when in WIN32 and exit
607 without entering main loop.
608 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
609 * symtab.h (struct symbol, struct partial_symbol): Changed name of
610 member 'class' to 'aclass'.
611 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
612 * top.c (registers_changed_hook): New definition.
613 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
614 in same way as __GO32__.
615 * value.h (c_typedef_print): Rename 'new' argument.
617 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
618 * configure.in: Suppprt for w65,
623 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
624 not stop_pc, to proceed.
626 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
630 * infcmd.c (signal_command): Accept "signal 0"; the change to not
631 accept it was accidental. "handle 0" and "info signal 0" remain
636 * Makefile.in (all): Don't make libgdb-files.
637 (libgdb): New action, makes libgdb-files.
641 * stabsread.c (read_enum_type): When pending enum symbols are
642 put into the enum type, they must be inserted in "backwards
643 order, in case we've overflowed a struct pending buffer.
648 * gdbtk.c, gdbtk.tcl: Update/add copyright.
649 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
650 including dismiss button, and better error handling.
651 * (create_command_win): Bind button 2 to retrieve selection.
656 * README: Add note about SPARCworks cc release 3.0 and higher.
658 Add procfs support for Alpha OSF/1-2.x.
659 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
660 OSF/1 native support.
661 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
662 (MUNCH_DEFINE): Removed.
663 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
665 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
666 release 2.x and higher, else alpha-osf1.mh, as the procfs support
667 in release 1.x is incomplete.
668 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
669 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
670 fill_fpgregset): New routines for procfs support.
671 * inftarg.c (_initialize_inftarg): Don't add ptrace support
672 if we have an optional procfs and /proc is accessible.
673 * procfs.c: Include sys/fault.h and sys/syscall.h before
674 including sys/procfs.h.
675 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
676 is defined, additionally perform a PIOCSSIG to really terminate
678 (create_procinfo): Always return a result.
679 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
680 PROCFS_DONT_TRACE_IFAULT is defined.
681 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
682 argument to startup_inferior if it is defined.
683 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
684 of tracing exits from exec system calls. Needed for the user level
685 loader under Alpha OSF/1.
686 (do_detach): Clear any pending signal if we want to detach from
687 a process without a signal.
688 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
689 don't issue a PIOCSSIG if pr_cursig already contains the signal we
691 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
692 pending signals are numbered from 1 instead of 0.
693 (info_proc_mappings): Increase size of output format for addresses
694 if BFD_HOST_64_BIT is defined.
695 (procfs_stop): Renamed from child_stop.
696 (_initialize_procfs): Don't add procfs support if we have an
697 optional procfs and /proc is not accessible.
702 * gdbtk.tcl: Add button to control mixed source disassembly.
703 Use text widgets in expr window. The give me more control over
705 Add auto-updating of exprs in expression window.
706 Handle expressions out of scope a bit better.
707 Make selected window pop up to the top when invoked via the
709 Make copyright message have raised relief.
711 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
717 * array-rom.c: Add support for most commands.
719 * monitor.c: Add GDB remote protocol for the hybrid environment on
724 * command.c (show_user_1): Use print_command_line to show a user
725 defined command (including control structures).
727 * top.c (init_main): Change documentation for user defined
728 commands to indicate they may accept up to ten arguments.
732 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
733 `move $s8, $sp' instruction.
737 * target.c, target.h (target_signal_from_command): New function.
738 * infrun.c (handle_command, signals_info), infcmd.c
739 (signal_command): Use it.
740 * infrun.c, infcmd.c: Update docstrings for these commands.
742 * target.h (enum target_signal), target.c (signals), target.c
743 (target_signal_from_host, target_signal_to_host): Add
744 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
745 * config/tm-lynx.h: Define signal numbers for realtime events.
749 * dbxread.c (process_one_symbol): Handle N_FUN symbols
750 for Sun acc 3.0 under SunOS4.
752 Changes to improve handling of runtime common symbols
754 * minsyms.c (get_symbol_leading_char): New routine to determine
755 the leading symbol character for an objfile.
756 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
758 * objfiles.h (rt_common_objfile): New global, points to objfile
759 containing the runtime common minimal symbols.
760 * objfiles.c (free_objfile): Mark rt_common_objfile as
761 unallocated before freeing it.
762 * solib.c (allocate_rt_common_objfile): New routine to allocate
763 an objfile for the runtime common minimal symbols.
764 (solib_add_common_symbols): Allocate an objfile for the runtime
765 common symbols if necessary and put common symbols into it.
766 Clean up code and comments.
767 (solib_add, special_symbol_handling): Cleanup comments regarding
768 runtime common symbols.
769 * stabsread.c (scan_file_globals_1): New routine, contains
770 old scan_file_globals code. Checks if there are any unresolved
771 global symbols before starting the expensive minimal symbol table
773 (scan_file_globals): Now calls scan_file_globals_1 for the passed
774 objfile and eventually for the runtime common objfile. Complains
775 about any unresolved global symbols and removes them from the
776 global symbol chain to avoid dangling pointers into the symbol
777 table if the symbol table is reread.
781 * Makefile.in (install_only uninstall): Indent for clarity.
783 * core.c (dis_asm_read_memory): Add call to
784 dis_asm_read_memory_hook to provide alternate way for disassembler
787 * defs.h: Protect from multiple inclusion. Add decl for
788 dis_asm_read_memory_hook.
790 * top.c: Make window startup be the default.
791 * Add dis_asm_read_memory_hook.
794 * gdbtk.c (finish_saving_output): Don't do anything if not saving
796 * (breakpoint_notify): Don't send null filename to tcl.
797 * (gdb_eval): New tcl command to eval an expression.
798 * (gdb_disassemble): New tcl command to do disassembly. This
799 allows tcl code to choose between exec file and target memeory,
800 and can also do mixed source and assembly.
801 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
802 that more of the environment is set up. Also, create link between
803 gdb and tcl vars disassemble{-_}from{-_}exec.
805 * gdbtk.tcl: New expression window support.
806 * Make assembly window be 80 columns wide.
807 * Use new disassembly method. Add menu items to select
808 disassembly from exec file or target.
809 * Change View menubar item to Options.
811 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
812 since they don't exist yet.
814 * Pop up a copyright window on startup.
819 * stabsread.c (define_symbol): Handle `a' symbol type used for
820 reference parameter passed in a register.
825 * gdbtk.tcl (build_framework): Add standard commands menu, more
826 windows to standard windows menu.
827 (not_implemented_yet): Clarify message.
832 * defs.h: move include tm.h up, so that the type LONGEST can
833 also based on the target requirement to determine. In this case
836 * remote-os9k.c (rombug_open): catch exception e in rombug.
837 * remote-os9k.c (rombug_wait): print message before register display
842 * top.c (locate_arg): Call strchr not index.
846 * ch-exp.y (literal): Recognize NULL.
847 (tuple): Parse simple unlabelled tuples.
848 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
849 evaluate brace-initializer-expressions depending on context.
850 (evaluate_subexp case UNOP_CAST): Pass the target type as
851 expected type when evaluating the expression.
853 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
855 * ch-valprint.c (chill_print_type_scalar): New function, to handle
856 TYPE_CODE_RANGE better than print_type_scalar does.
857 (chill_val_print_array_elements): Use above new function.
861 * remote-udi.c (udi_load): Tell symbol_file_add that the
862 program being loaded is the main program.
864 For older changes see ChangeLog-94
870 version-control: never