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