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