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