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