1 Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
3 * remote-hms.c (hms_ops): Change ref of hr_load_image
6 Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
8 * configure.in: Add support for powerpc-*-eabi.
10 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
13 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
15 * language.h (struct language_defn): New field c_style_arrays.
16 * language.c (unknown_language_defn, auto_language_defn,
17 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
18 asm_language_defn): Set c_style_arrays to true.
19 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
20 f-lang.c (f_language_defn): Set c_style_arrays to false.
21 * valops.c (value_string): If c_style_array is not set,
22 allocate string in gdb (not inferior) using allocate_value.
24 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
25 Only call value_coerce_array if current_language->c_style_arrays.
26 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
28 * valops.c (chill_varying_type): New predicate.
29 * valops.c (value_cast): Support assigning a fixed string or array
30 to a variable string/array structure.
32 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
33 Check index>=lowerbound, and then add lowerbound to index here,
34 instead of in caller. Generalize to arbitrary lval_types.
35 (value_subscript): Use enhanced value_subscripted_rvalue if
36 c_style_arrays is false (and index is in range).
38 Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
40 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
42 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
43 popping up expression window for the first time.
45 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
47 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
48 TYPE_LENGTH is length in bytes, not bits.
50 Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
52 * infrun.c (proceed): Flush stdout before resuming inferior.
53 * infcmd.c (step_1), annotate.c (annotate_starting):
54 Don't bother to flush here.
56 Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
58 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
59 by an ill-advised global search and replace.
61 Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
63 * gdbtk.tcl (create_registers_window): Work around a radiobutton
64 widget bug to make Options|Natural button work.
66 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
67 g++ caused by out-of-order pc's.
68 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
71 Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
73 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
76 Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
78 Add support for Chill bitstring literals (e.h. H'FF00').
79 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
80 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
81 just print B'<unimlemented>'.
82 * gdbtypes.c (create_set_type): Fix bug in length calculation.
83 * valops.c, value.h (value_bitstring): New function.
84 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
86 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
87 check that return type is non-void, and print in proper Chill syntax.
89 Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
91 * Makefile.in: Remove references to remote-mon.c.
92 * remote-mon.c: remove. Replaced by rom68k-rom.c.
93 * rom68k-rom.c: Support for Rom68k monitor.
95 Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
97 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
98 gcc/ch/runtime not chillrt, since that is where the chill runtime
101 Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
103 * remote-hms.c (hms_load): Delete.
104 (target_ops): Use hr_load_image.
106 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
107 Define memory_insert/remove_breakpoint.
108 * xm-go32.h: Remove redundant SIGs.
110 Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
112 * ser-go32.c: Rewritten by nigel@algor.co.uk.
114 Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
116 * expression.h (OP_LABELED): New operator, for Chill
117 labeled structre tuples.
118 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
119 New non-terminals, to handle labeled structure tuples.
120 (tuple): Re-define using tuple_elements.
121 * eval.c (evaluate_labeled_field_init): New function, to handle
122 initialization of structure fields, possibly using OP_LABELED.
123 (evaluate_subexp): Use it.
124 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
125 for Chill. Handled OP_LABELED.
126 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
128 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
129 * valarith.c (value_bit_index): Just treat bitstring as represented
130 by an array of bytes. Alignment is handled by compiler.
132 Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
134 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
135 * sh-tdep.c (gdb_print_insn_sh): Ditto.
137 Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
139 * remote-os9k.c (rombug_open): Fix a bug in exception handling
141 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
144 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
146 * parse.c (_initialize_parse): Improve wording of names of
149 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
151 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
152 (mips_fpu): Change type to enum mips_fpu_type.
153 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
154 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
156 (mips_fpu_string): New static variable.
157 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
158 (mips_pop_frame): Likewise.
159 (mips_extract_return_value): Likewise.
160 (mips_store_return_value): Likewise.
161 (mips_set_fpu_command): New static function.
162 (mips_show_fpu_command): New static function.
163 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
165 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
167 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
169 * parse.c (write_exp_msymbol): Use new variables
170 msym_*_symbol_type as type of msymbol expression.
171 (_initialize_parse): Initialize them.
173 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
175 General cleanup and simplication of disassembler interface.
176 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
177 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
178 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
179 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
180 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
181 had been -pinsn.c files.
182 * Makefile.in (ALLDEPFILES): Remove removed files.
183 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
184 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
185 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
186 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
187 Remove compile actions.
188 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
189 vax-tdep.o: Add compile actions.
190 * defs.h (tm_print_insn): New global.
191 * a29k-tdep.c (gdb_print_insn_a29k): New function.
192 (_initialize_a29k_tdep): Rename from _initialize_29k,
194 * alpha-tdep.c (print_insn): Remove.
195 (_initialize_alpha_tdep): Set tm_print_insn.
196 * arm-tdep.c (arm_print_insn): New function, was print_insn
198 * convex-tdep.c (convex_print_insn): New function, was print_insn
200 * h8300-tdep.c (print_insn): Remove.
201 (gdb_print_insn_h8300): New function.
202 (_initialize_h8300_tdep): New function.
203 * h8500-tdep.c (print_insn): Remove.
204 (_initialize_h8500_tdep): New function.
205 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
206 * i386-tdep.c (_initialize_i386_tdep): New function.
207 * i960-tdep.c (mem, next_insn): New functions, were in
209 (_initialize_i960_tdep): Set tm_print_insn.
210 * m68k-tdep.c (_initialize_m68k_tdep): New function.
211 * m88k-tdep.c (_initialize_m88k_tdep): New function.
212 * mips-tdep.c (gdb_print_insn_mips): New function.
213 (_initialize_mips_tdep): Set tm_print_insn.
214 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
216 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
217 * sh-tdep.c (print_insn): Remove.
218 (gdb_print_insn_sh): New function.
219 (_initialize_sh_tdep): Set tm_print_insn.
220 * sparc-tdep.c (_initialize_sparc_tdep): New function.
221 * w65-tdep.c (print_insn): Remove.
222 (_initialize_w65_tdep): New function.
223 * z8k-tdep.c (print_insn): Remove.
224 (gdb_print_insn_z8k): New function.
225 (_initialize_z8k_tdep): Set tm_print_insn.
226 * printcmd.c (print_insn): New function, generic disassembler.
227 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
229 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
231 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
232 and config/a29k/vx29k.mt.
233 * configure.in: add new configuration a29k-*-vxworks.
234 * remote-vx29k.c: new file merged from WRS.
235 * remote-vx.c: merge changes from WRS.
236 * config/a29k/vx29k.mt: new file for new configuration.
237 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
239 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
241 * breakpoint.h (disable_breakpoint, enable_breakpoint):
243 (enum bpdisp): Change name of 'delete' member to 'del'.
244 (struct bpstat): Changed name to 'bpstats'.
245 * breakpoint.c (disable_breakpoint, enable_breakpoint,
246 breakpoint_chain): Made globally visible.
247 (bpstat_stop_status): Use new name for bpstat.
248 (break_command_1, watch_command_1, catch_command_1,
249 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
251 (set_breakpoint_sal): New function.
252 * defs.h (registers_changed_hook): New declaration.
253 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
254 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
255 * main.c (main): Don't scan options when in WIN32 and exit
256 without entering main loop.
257 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
258 * symtab.h (struct symbol, struct partial_symbol): Changed name of
259 member 'class' to 'aclass'.
260 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
261 * top.c (registers_changed_hook): New definition.
262 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
263 in same way as __GO32__.
264 * value.h (c_typedef_print): Rename 'new' argument.
266 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
267 * configure.in: Suppprt for w65,
270 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
272 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
273 not stop_pc, to proceed.
275 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
277 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
279 * infcmd.c (signal_command): Accept "signal 0"; the change to not
280 accept it was accidental. "handle 0" and "info signal 0" remain
283 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
285 * Makefile.in (all): Don't make libgdb-files.
286 (libgdb): New action, makes libgdb-files.
288 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
290 * stabsread.c (read_enum_type): When pending enum symbols are
291 put into the enum type, they must be inserted in "backwards
292 order, in case we've overflowed a struct pending buffer.
295 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
297 * gdbtk.c, gdbtk.tcl: Update/add copyright.
298 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
299 including dismiss button, and better error handling.
300 * (create_command_win): Bind button 2 to retrieve selection.
303 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
305 * README: Add note about SPARCworks cc release 3.0 and higher.
307 Add procfs support for Alpha OSF/1-2.x.
308 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
309 OSF/1 native support.
310 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
311 (MUNCH_DEFINE): Removed.
312 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
314 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
315 release 2.x and higher, else alpha-osf1.mh, as the procfs support
316 in release 1.x is incomplete.
317 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
318 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
319 fill_fpgregset): New routines for procfs support.
320 * inftarg.c (_initialize_inftarg): Don't add ptrace support
321 if we have an optional procfs and /proc is accessible.
322 * procfs.c: Include sys/fault.h and sys/syscall.h before
323 including sys/procfs.h.
324 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
325 is defined, additionally perform a PIOCSSIG to really terminate
327 (create_procinfo): Always return a result.
328 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
329 PROCFS_DONT_TRACE_IFAULT is defined.
330 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
331 argument to startup_inferior if it is defined.
332 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
333 of tracing exits from exec system calls. Needed for the user level
334 loader under Alpha OSF/1.
335 (do_detach): Clear any pending signal if we want to detach from
336 a process without a signal.
337 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
338 don't issue a PIOCSSIG if pr_cursig already contains the signal we
340 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
341 pending signals are numbered from 1 instead of 0.
342 (info_proc_mappings): Increase size of output format for addresses
343 if BFD_HOST_64_BIT is defined.
344 (procfs_stop): Renamed from child_stop.
345 (_initialize_procfs): Don't add procfs support if we have an
346 optional procfs and /proc is not accessible.
349 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
351 * gdbtk.tcl: Add button to control mixed source disassembly.
352 Use text widgets in expr window. The give me more control over
354 Add auto-updating of exprs in expression window.
355 Handle expressions out of scope a bit better.
356 Make selected window pop up to the top when invoked via the
358 Make copyright message have raised relief.
360 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
364 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
366 * array-rom.c: Add support for most commands.
368 * monitor.c: Add GDB remote protocol for the hybrid environment on
371 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
373 * command.c (show_user_1): Use print_command_line to show a user
374 defined command (including control structures).
376 * top.c (init_main): Change documentation for user defined
377 commands to indicate they may accept up to ten arguments.
379 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
381 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
382 `move $s8, $sp' instruction.
384 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
386 * target.c, target.h (target_signal_from_command): New function.
387 * infrun.c (handle_command, signals_info), infcmd.c
388 (signal_command): Use it.
389 * infrun.c, infcmd.c: Update docstrings for these commands.
391 * target.h (enum target_signal), target.c (signals), target.c
392 (target_signal_from_host, target_signal_to_host): Add
393 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
394 * config/tm-lynx.h: Define signal numbers for realtime events.
396 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
398 * dbxread.c (process_one_symbol): Handle N_FUN symbols
399 for Sun acc 3.0 under SunOS4.
401 Changes to improve handling of runtime common symbols
403 * minsyms.c (get_symbol_leading_char): New routine to determine
404 the leading symbol character for an objfile.
405 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
407 * objfiles.h (rt_common_objfile): New global, points to objfile
408 containing the runtime common minimal symbols.
409 * objfiles.c (free_objfile): Mark rt_common_objfile as
410 unallocated before freeing it.
411 * solib.c (allocate_rt_common_objfile): New routine to allocate
412 an objfile for the runtime common minimal symbols.
413 (solib_add_common_symbols): Allocate an objfile for the runtime
414 common symbols if necessary and put common symbols into it.
415 Clean up code and comments.
416 (solib_add, special_symbol_handling): Cleanup comments regarding
417 runtime common symbols.
418 * stabsread.c (scan_file_globals_1): New routine, contains
419 old scan_file_globals code. Checks if there are any unresolved
420 global symbols before starting the expensive minimal symbol table
422 (scan_file_globals): Now calls scan_file_globals_1 for the passed
423 objfile and eventually for the runtime common objfile. Complains
424 about any unresolved global symbols and removes them from the
425 global symbol chain to avoid dangling pointers into the symbol
426 table if the symbol table is reread.
428 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
430 * Makefile.in (install_only uninstall): Indent for clarity.
432 * core.c (dis_asm_read_memory): Add call to
433 dis_asm_read_memory_hook to provide alternate way for disassembler
436 * defs.h: Protect from multiple inclusion. Add decl for
437 dis_asm_read_memory_hook.
439 * top.c: Make window startup be the default.
440 * Add dis_asm_read_memory_hook.
443 * gdbtk.c (finish_saving_output): Don't do anything if not saving
445 * (breakpoint_notify): Don't send null filename to tcl.
446 * (gdb_eval): New tcl command to eval an expression.
447 * (gdb_disassemble): New tcl command to do disassembly. This
448 allows tcl code to choose between exec file and target memeory,
449 and can also do mixed source and assembly.
450 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
451 that more of the environment is set up. Also, create link between
452 gdb and tcl vars disassemble{-_}from{-_}exec.
454 * gdbtk.tcl: New expression window support.
455 * Make assembly window be 80 columns wide.
456 * Use new disassembly method. Add menu items to select
457 disassembly from exec file or target.
458 * Change View menubar item to Options.
460 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
461 since they don't exist yet.
463 * Pop up a copyright window on startup.
466 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
468 * stabsread.c (define_symbol): Handle `a' symbol type used for
469 reference parameter passed in a register.
472 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
474 * gdbtk.tcl (build_framework): Add standard commands menu, more
475 windows to standard windows menu.
476 (not_implemented_yet): Clarify message.
479 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
481 * defs.h: move include tm.h up, so that the type LONGEST can
482 also based on the target requirement to determine. In this case
485 * remote-os9k.c (rombug_open): catch exception e in rombug.
486 * remote-os9k.c (rombug_wait): print message before register display
489 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
491 * top.c (locate_arg): Call strchr not index.
493 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
495 * ch-exp.y (literal): Recognize NULL.
496 (tuple): Parse simple unlabelled tuples.
497 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
498 evaluate brace-initializer-expressions depending on context.
499 (evaluate_subexp case UNOP_CAST): Pass the target type as
500 expected type when evaluating the expression.
502 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
504 * ch-valprint.c (chill_print_type_scalar): New function, to handle
505 TYPE_CODE_RANGE better than print_type_scalar does.
506 (chill_val_print_array_elements): Use above new function.
508 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
510 * remote-udi.c (udi_load): Tell symbol_file_add that the
511 program being loaded is the main program.
513 For older changes see ChangeLog-94
519 version-control: never