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