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