added regs.exp to Things-to-keep
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
7f4b4b71
SS
1Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
2
3 * top.c (print_gdb_version): Update the year.
4
d940a47e
JK
5Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6
7f4b4b71 7 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
d940a47e
JK
8 `..' not in `../..'.
9
f5de4904
PS
10Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11
12 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
13 in addition to a PIOCSSIG to kill the inferior.
14
fda36387
PB
15Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
16
17 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
18 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
19 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
20 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
21 * c-typeprint.c (c_type_print_varspec_suffix): If array length
22 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
23
92c6bf4d
MM
24Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
25
26 * dcache.c (insque, remque): Rewrite Linux support.
27
677653a0
MM
28Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
29
30 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
31
fed9a8d4
MM
32 * dcache.c (insque, remque): If compiling in standard C on Linux,
33 protect insque and remque with macros to cast the pointer
34 arguments to the proper type.
677653a0
MM
35
36Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
37
7f4b4b71 38 * annotate.c, breakpoint.c, defs.h, top.c: Replace
677653a0 39 enable/disable_breakpoint_hook with modify_breakpoint_hook.
7f4b4b71
SS
40start-sanitize-gdbtk
41 * gdbtk.c: Ditto.
42 * gdbtk.c: General cleanups, get rid of unused variables. Redo
677653a0
MM
43 handling of stdout/stderr to just return output as the result of
44 the tcl command that caused the output. Cleanup -Wall stuff.
45 * (breakpoint_notify): Now returns just action and breakpoint
46 number.
47 * (gdb_get_breakpoint_list): New routine. Does the obvious.
48 * (gdb_get_breakpoint_info): Mostly derived from the old
49 breakpoint_notify, but returns lots more info.
50 * (dsprintf_append_element): Helper routine, works like printf,
51 but appends a tcl element onto the specified DString. Good for
52 building up lists as return values.
53 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
54 gdbtk_modify_breakpoint.
55 * (*many routines*): Use new result protocol.
56 * (call_wrapper): Make sure that recursive calls don't trash results.
57 * gdbtk.tcl: New windows, autocmd, and breakpoints.
58 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
59 anymore. It's not needed (in fact, this routine may not be needed
60 anymore).
61 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
62 notification protocol.
63 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
64 catches.
65 * (interactive_cmd): Use this wrapper around button invocations
66 of many commands. This will catch errors and put the results into
67 the command window. It also updates all the other windows.
68 * Also, change reliefs of most things to sunken. This actually
69 looks better.
70 * (create_file_win): Fix margin binding to allow breakpoints to
71 work again.
72 * (create_asm_win): Use return value of gdb_disassemble instead
73 of implicit I/O to the command window.
74 * (create_command_window): Use new result protocol to get output
75 from commands.
7f4b4b71 76end-sanitize-gdbtk
677653a0 77
5466f20f
JK
78Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
79
80 * expression.h: Move declaration of evaluate_subexp_with_coercion
81 from here...
82 * value.h: ...to here.
83 * expression.h: Don't include value.h
84
a6865104
JK
85Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
86
87 * expression.h: Move include of value.h until after declaration of
88 enum exp_opcode.
89
faf4dcd7
SS
90Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
91
d5c8cefe
SS
92 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
93 simplify code, declare things, format to standards.
94 (inferior.h, value.h, command.h, remote-utils.h): Include.
95 (e7000_login): Rename to e7000_login_command.
96 (e7000_ftp): Rename to e7000_ftp_command.
97 (e7000_drain): Rename to e7000_drain_command.
98
faf4dcd7
SS
99 * irix5-nat.c (string.h): Include near beginning of file.
100
18d3d859
JK
101Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
102
103 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
104 arg, it is a value not a symbol.
105
106 gcc -Wall lint:
107 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
108 * expression.h: ..to here.
109 * expression.h: Include value.h.
110 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
111
60438e8e
PB
112Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
113
7398958c
PB
114 * language.h (struct language_defn): New field evaluate_exp.
115 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
116 f-lang.c (f_language_defn), language.c (unknown_language_defn,
117 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
118 Set evaluate_exp to evaluate_subexp_standard.
119 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
120 support for MULTI_SUBSCRIPT.
121 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
122 * eval.c (enum noside): Move from here ....
123 * expression.h (enum noside): ... to here.
124 (evaluate_subexp_standard): New prototype.
125 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
126 Removed lo-longer-needed test for chill_varying_type.
127 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
128
60438e8e
PB
129 * ch-exp.y (maybe_expression_list): New non-terminal.
130 (primitive_value): Allow empty parameter list.
131
27202b6a
PB
132Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
133
134 * buildsym.c (finish_block): If finishing a function without known
135 parameter type info, set that from parameter symbols.
136 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
137 print parameter types, if available.
138 * ch-typeprint.c (chill_type_print_base): Likewise.
139
140 * gdbtypes.h (struct type): Remove function type field.
141 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
142 function types now that we're also storing parameter types.
143 And the payoff is much less.
144 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
145 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
146 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
147
5222ca60
PB
148 * valops.c (value_arg_coerce): Now takes param_type argument.
149 (call_function_by_hand): Convert arguments with value_arg_coerce
150 early, and overwrite original args with converted args.
151 No longer need multiple calls to value_arg_coerce.
152 (value_arg_push): Removed.
153 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
154 * mips-tdep.c (mips_push_arguments): Likewise.
155 * alpha-tdep.c (alpha_push_arguments): Likewise.
156 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
157 Likewise.
158 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
159
160 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
161
7c606261
PB
162 * symtab.c (add_param_to_type): Remove (commented-out) function,
163 since that functionality has been re-written.
164 * coffread.c: Remove commented-out add_param_to_type support.
165 * mdebugread.c (parse_symbol): Likewise.
166 * stabsread.c (define_symbol): Likewise.
167
21af55c9
JK
168Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
169
170 * buildsym.c (start_subfile): Set language for f2c like for cfront.
171
172Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
173
174 * op50n-rom.c: Add the control registers.
175
76a457c0
SS
176Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
177
178 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
179 after, any host/target/native libraries.
180 * dcache.c (insque, remque): Remove declarations.
181 * gdbtypes.h (type_code): Remove trailing comma.
182
183 From Peter Schauer:
184 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
185 STATIC_NODEBUG_VARS inside case.
186
137a07e6
JK
187Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
188
189 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
190 * partial-stab.h: Call it.
191 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
192 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
193 get the address.
194 * sparc-tdep.c (solaris_static_transform_name): New function.
195
506af7a7
JL
196Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
197
198 * somread.c (som_symtab_read): Handle dynamic relocation for both
199 text and data symbols.
200 (som_symfile_offsets): If objfile is a shared library, then get
201 text and data offsets from the shared library structures.
202 * somsolib.c (som_solib_add): Copy the bfd pointer from the
203 objfile rather than reopening the file again.
204 (som_solib_section_offsets): New function.
205 * somsolib.h (som_solib_section_offsets): Declare.
206
2d336b1b
JK
207Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
208
209 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
210 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
211 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
212 filename field.
213 * elfread.c (record_minimal_symbol_and_info),
214 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
215 newly created symbol.
216 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
217 Set filename field of minimal symbol.
218 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
219 Print filename field.
220 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
221 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
222 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
223 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
224 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
225 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
226 Find address of function from minimal symbols.
227 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
228 instead of getting pst->textlow from the stab.
229 * minsyms.c (find_stab_function_addr): New function.
230
151e7820
RS
231Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
232
233 * monitor.c: Fix so all the output shows up in the GUI command
234 window.
235
9c4ecee6
SS
236Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
237
238 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
239 line, so init.c generation works correctly.
240start-sanitize-arc
241 * arc-tdep.c (_initialize_arc_tdep): Ditto.
242end-sanitize-arc
243
16b3ea5e
RS
244Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
245
04697040
RS
246 * config/mips/idt.mt: Add support for the lsi33k target.
247 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
16b3ea5e
RS
248 * array-rom.c: Finish the rest of the support commands needed by
249 GDB.
250 * mips-tdep.c: Add LSI33k register names and processor type.
251
d039851f 252start-sanitize-gdbtk
ddc0c38d 253Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9c4ecee6 254
d039851f
JK
255 * gdbtk.c (gdb_disassemble): Deference pointer to function before
256 calling it (pre-ANSI compilers generally require this).
ddc0c38d 257
f64a8968 258end-sanitize-gdbtk
ddc0c38d
SS
259Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
260
261 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
262
6396e0c0
KH
263Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
264
265 * ser-go32-para.c (dos_read): fix syntax errors.
266
a76ef70a
SG
267Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
268
ddc0c38d
SS
269 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
270 dis_asm_read_memory_hook. We can now call the disassemblers
271 directly and have no need for this hook anymore.
272start-sanitize-gdbtk
273 * gdbtk.c (gdb_disassemble): Ditto.
274end-sanitize-gdbtk
275 * defs.h, printcmd.c: Make print_insn be static.
a76ef70a
SG
276
277 * ser-go32.c (dos_comisr): Make this 8 bit clean.
278 * (dos_open dos_close): Allow multiple opens to the same device.
279 Use a ref count to prevent unwanted deallocations.
280 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
281 happy.
282 * (sparclite_ops): Switch to download_stratum.
283 * target.h (enum strata): Move download_stratum before
284 process_stratum so that executable targets get pushed on top of
285 download targets.
286
1b552670
RS
287Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
288
289 * array-rom.c: Remove the non GDB remote protocol config stuff.
290
291 * monitor.c: All reading/writing functions for memory and
292 registers work.
293
75a5da5f
KH
294Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
295
ddc0c38d 296start-sanitize-arc
75a5da5f
KH
297 * config/arc/arc.mt: new target makefile for arc processor.
298 * config/arc/tm-arc.h: new target header for arc processor.
299 * config/arc/go32.mh: new go32 host makefile for arc processor.
300 * config/arc/xm-go32.h: new go32 host header for arc processor.
301 * arc-tdep.c: new target dependent codes for arc processor.
302 * remote-arc.c: new file for arc-specific protocol through
303 parallel line.
ddc0c38d 304end-sanitize-arc
75a5da5f 305 * ser-go32-para.c: new file for go32 parallel port communication.
75a5da5f 306
2d144441
SS
307Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
308
309 * Makefile.in (VERSION): Bump to 4.13.2.
310
311Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
312
313 Fix compiler warnings:
314 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
315 and have the caller do the sprintf. Saves us from varargs hell.
316 (normal): Define before use.
317 * remote-e7000.c: Reindent a few things.
318
8a329002 319Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
6073b8de 320
8a329002
PB
321 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
322 ranges in reverse order.
323 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
324
325 * eval.c (evaluate_subscript): Don't call value_subscript, since
326 it adjusts for lower bound and enforces ranges.
327
328 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
329 * eval.c, parse.c: Removed uses of removed opcodes.
ead95f8a
PB
330 * eval.c (evaluate_subexp): Clean up handling of
331 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
332
333 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
334 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
335
336 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
337 duplicate function made redundant by chill_varying_type.
338
339 Re-write of f77 string and complex number support:
340
341 * language.h (struct language_defn): New fields string_lower_bound
342 and string_char_type.
343 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
344 language.c (unknown_language_defn, auto_language_defn,
345 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
346 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
347 * gdbtypes.c (create_string_type): Use new string_char_type field.
348 * valops.c (value_string): Use new string_lower_bound field.
349
350 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
351 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
352 m2-lang.c (m2_create_fundamental_type),
353 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
354 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
355 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
356 Removed. Use builtin_type_complex and builtin_type_double_complex.
357
358 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
359 and TYPE_CODE_LITERAL_COMPLEX.
360 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
361 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
362 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
363 f77_create_literal_string_type): Removed.
364 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
365 VALUE_SUBSTRING_MYADDR): Removed.
366
367 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
368 OP_COMPLEX.
369 * parse.c: Update accordingly.
370
371 * f-valprint.c (f77_print_cmplx): Removed.
372 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
373
374 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
375 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
376 f77_value_literal_string.
377 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
378 f77_assign_from_literal_string, f77_assign_from_literal_complex):
379 Removed.
380 (value_assign): No longer need to handle literal types.
381 * valops.c (f77_value_literal_complex), value.h: Re-written and
382 renamed to value_literal_complex. Last arg is now a (complex) type.
383 * valops.c (f77_cast_into_complex): Re-written and renamed to
384 cast_into_complex.
385 * eval.c (evaluate_subexp): Update accordingly.
386
6073b8de
PB
387 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
388 print address for non-'s'-formats.
389 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
390 of chill_is_varying_struct.
391
e3be225e
SS
392Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
393
394 gcc -Wall lint.
395 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
396 (after_prologue): Remove unused local b.
397 * procfs.c (thread.h): Include.
398 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
399 nested braces in initializer.
400 * top.c (initialize_targets, initialize_utils): Declare.
401 (locate_arg, insert_args): Add parens around tested assignments.
402 * remote-utils.c (sr_scan_args): Remove decl of strtol.
403 * remote.c (thread.h): Include.
404 (remote_wait): Remove unused local p2.
405 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
406 registers array.
407
408 defs.h (stdlib.h): Include.
409 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
410 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
411 strtok, strerror): Don't specify parameter types in declaration.
412
f91a9e05
PB
413Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
414
415 * ch-exp.y (value_string_element, string_primitive_value,
416 start_element, left_element, right_element, slice_size,
417 lower_element, upper_element, first_element): Removed.
418 (value_string_slice, value_array_slice): Replaced by ...
419 (slice): New non-terminal, with working slice support.
420 (primitive_value_lparen, rparen): New non-terminals.
421 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
422 (idtokentab): Added "up".
423
424 * value.h (COERCE_VARYING_ARRAY): New macro.
425 * valarith.c (value_subscript): Use it.
426 * valops.c (value_cast): Likewise. Also, do nothing if already
427 correct type, and allow converting from/to range to/from scalar.
428
429 * valops.c, value.h (varying_to_slice, value_slice): New functions.
430 * eval.c (OP_ARRAY): Add cast for array element.
431 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
432 * valops.c (chill_varying_type): Moved function frp, here ...
433 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
434 * parse.c (length_of_subexp, prefixify_subexp): Add support
435 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
436 * expprint.c (print_subexp, dump_expression): Likewise.
437 * eval.c (evaluate_subexp): Likewise.
438
439 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
440 value_x_binop on a Chill varying string.
441
23676ab8
JK
442Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
443
444 * config/m68k/monitor.mt,
445 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
446 depfiles in TDEPFILES not REMOTE_O.
447
ccbae889
SC
448Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
449
450 From nigel@algor.co.uk.
451 * ser-go32.c (dos_close): Don't crash if scb null.
452 (dos_sendbreak): New function.
453 (dos_ops): Point to dos_sendbreak.
454 (dos_info): Calculate COM number correctly.
455
a81ce07d
JK
456Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
457
458 * xcoffread.c (process_xcoff_symbol): Use new variables
459 func_symbol_type and var_symbol_type as type of functions and
460 variables which don't have any stabs associated with them.
461 Reindent most of function.
462 (_initialize_xcoffread): Initialize *_symbol_type.
463
464 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
465 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
466 them (this part commented out as I didn't quite get it to work).
467 (cs_to_section, find_targ_sec): New functions, to support above code.
468 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
469 actually present.
470
0e887539 471Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
e3be225e 472start-sanitize-gdbtk
78daa95e
SG
473 * gdbtk.tcl (create_file_win): Disable old popup menu for source
474 window.
e3be225e 475end-sanitize-gdbtk
0e887539
SG
476 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
477 downloads to SPARClite demo boards.
478
479Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
480
481 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
482 no hope of working as is for a long time (in particular, shebs' 27
483 Jan 95 change confuses the issue further--target_read_memory and
484 xfer_core_file do *not* do the same thing in this context).
485 Revise comment.
486
de537409
PS
487Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
488
489 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
490 procedure linkage table symbols, it is no longer set due to the
491 Jan 6 BFD change in bfd/elfcode.h.
492
06c41b39
SS
493Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
494
f22661ee
SS
495 * top.c (use_windows): Clarify comments.
496
0d2d8412
SS
497 * convex-tdep.c (xfer_core_file): Comment out.
498 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
499 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
500 references to target_read_memory.
501 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
502 declarations.
503 * corelow.c (core_open, core_detach): Make static.
504
06c41b39
SS
505 * arm-tdep.c: Make it compile.
506 (exec_file_command, xfer_core_file): Comment out.
507 (arm_print_insn): Remove, now in libopcodes.
508 (skip_prologue): Comment out most of body.
509 (arm_frame_find_saved_regs): Move here from tm-arm.h.
510 (_initialize_arm_tdep): Set tm_print_insn.
511 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
512 (XFER_CORE_FILE): Remove.
513 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
514
0d6a571b
JK
515Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
516
517 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
518
bf644f8f
JK
519Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
520
606ae2ba
JK
521 * symtab.c (find_pc_line): When subtracting one to get a line
522 number, make sure not to end up with zero.
523
bf644f8f
JK
524 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
525 problems with those changes were (a) the file didn't compile, (b)
526 they changed memset to bzero--memset is correct, (c) they took out
527 code to deal with boards lacking floating point, (d) who knows
528 what I didn't discover in a quick read.
529
c746aa85
SG
530Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
531
532 * sparcl-tdep.c: Clean up formatting and indentation.
533
d2d0e51d
SC
534Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
535
536 * remote-hms.c (hms_ops): Change ref of hr_load_image
537 to gr_load_image.
03fc5a0b
SC
538 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
539 dcache_poke, dcache_init): Deleted.
540 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
541 Use dcache routines provided by remote-util.h
d2d0e51d 542
97544048
MM
543Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
544
545 * configure.in: Add support for powerpc-*-eabi.
546
547 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
548 PowerPC support.
549
acc4efde
PB
550Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
551
552 * language.h (struct language_defn): New field c_style_arrays.
553 * language.c (unknown_language_defn, auto_language_defn,
554 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
555 asm_language_defn): Set c_style_arrays to true.
556 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
557 f-lang.c (f_language_defn): Set c_style_arrays to false.
558 * valops.c (value_string): If c_style_array is not set,
559 allocate string in gdb (not inferior) using allocate_value.
560
561 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
562 Only call value_coerce_array if current_language->c_style_arrays.
563 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
564
565 * valops.c (chill_varying_type): New predicate.
566 * valops.c (value_cast): Support assigning a fixed string or array
567 to a variable string/array structure.
568
569 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
570 Check index>=lowerbound, and then add lowerbound to index here,
571 instead of in caller. Generalize to arbitrary lval_types.
572 (value_subscript): Use enhanced value_subscripted_rvalue if
573 c_style_arrays is false (and index is in range).
574
b66051ec
SG
575Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
576
577 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
578 found.
579 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
580 popping up expression window for the first time.
581
ee3a45e7
PB
582Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
583
584 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
585 TYPE_LENGTH is length in bytes, not bits.
586
5024a43f
JK
587Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
588
589 * infrun.c (proceed): Flush stdout before resuming inferior.
590 * infcmd.c (step_1), annotate.c (annotate_starting):
591 Don't bother to flush here.
592
dc192b86
JL
593Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
594
595 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
596 by an ill-advised global search and replace.
597
c81a3fa9
SG
598Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
599
8e5bc49f
SG
600 * gdbtk.tcl (create_registers_window): Work around a radiobutton
601 widget bug to make Options|Natural button work.
602
c81a3fa9
SG
603 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
604 g++ caused by out-of-order pc's.
605 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
606 add scrollbar.
607
6bd7d9fa
SG
608Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
609
610 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
611 doc!
612
6d34c236
PB
613Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
614
615 Add support for Chill bitstring literals (e.h. H'FF00').
616 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
617 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
618 just print B'<unimlemented>'.
619 * gdbtypes.c (create_set_type): Fix bug in length calculation.
620 * valops.c, value.h (value_bitstring): New function.
621 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
622
623 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
624 check that return type is non-void, and print in proper Chill syntax.
625
ce51845b
RS
626Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
627
628 * Makefile.in: Remove references to remote-mon.c.
629 * remote-mon.c: remove. Replaced by rom68k-rom.c.
630 * rom68k-rom.c: Support for Rom68k monitor.
631
a9c67591
JK
632Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
633
634 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
635 gcc/ch/runtime not chillrt, since that is where the chill runtime
636 lives now.
637
0c699ac1
SC
638Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
639
640 * remote-hms.c (hms_load): Delete.
641 (target_ops): Use hr_load_image.
642
643 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
644 Define memory_insert/remove_breakpoint.
645 * xm-go32.h: Remove redundant SIGs.
646
647Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
648
649 * ser-go32.c: Rewritten by nigel@algor.co.uk.
650
dcda44a0
PB
651Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
652
653 * expression.h (OP_LABELED): New operator, for Chill
654 labeled structre tuples.
655 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
656 New non-terminals, to handle labeled structure tuples.
657 (tuple): Re-define using tuple_elements.
658 * eval.c (evaluate_labeled_field_init): New function, to handle
659 initialization of structure fields, possibly using OP_LABELED.
660 (evaluate_subexp): Use it.
661 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
662 for Chill. Handled OP_LABELED.
663 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
664
665 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
666 * valarith.c (value_bit_index): Just treat bitstring as represented
667 by an array of bytes. Alignment is handled by compiler.
668
669Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
670
671 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
672 * sh-tdep.c (gdb_print_insn_sh): Ditto.
673
6bbc99e3
KH
674Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
675
676 * remote-os9k.c (rombug_open): Fix a bug in exception handling
677 command.
678 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
679 write.
680
eedb3363
JK
681Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
682
683 * parse.c (_initialize_parse): Improve wording of names of
684 msym_*_symbol_type.
685
daa4c5f8
ILT
686Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
687
688 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
689 (mips_fpu): Change type to enum mips_fpu_type.
690 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
691 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
692 Don't initialize.
693 (mips_fpu_string): New static variable.
694 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
695 (mips_pop_frame): Likewise.
696 (mips_extract_return_value): Likewise.
697 (mips_store_return_value): Likewise.
698 (mips_set_fpu_command): New static function.
699 (mips_show_fpu_command): New static function.
700 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
701
3fb93d86
JK
702Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
703
5ad32be2
JK
704 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
705
3fb93d86
JK
706 * parse.c (write_exp_msymbol): Use new variables
707 msym_*_symbol_type as type of msymbol expression.
708 (_initialize_parse): Initialize them.
709
18b46e7c
SS
710Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
711
712 General cleanup and simplication of disassembler interface.
713 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
714 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
715 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
716 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
717 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
718 had been -pinsn.c files.
719 * Makefile.in (ALLDEPFILES): Remove removed files.
720 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
721 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
722 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
723 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
724 Remove compile actions.
725 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
726 vax-tdep.o: Add compile actions.
727 * defs.h (tm_print_insn): New global.
728 * a29k-tdep.c (gdb_print_insn_a29k): New function.
729 (_initialize_a29k_tdep): Rename from _initialize_29k,
730 set tm_print_insn.
731 * alpha-tdep.c (print_insn): Remove.
732 (_initialize_alpha_tdep): Set tm_print_insn.
733 * arm-tdep.c (arm_print_insn): New function, was print_insn
734 in arm-pinsn.c.
735 * convex-tdep.c (convex_print_insn): New function, was print_insn
736 in convex-pinsn.c.
737 * h8300-tdep.c (print_insn): Remove.
738 (gdb_print_insn_h8300): New function.
739 (_initialize_h8300_tdep): New function.
740 * h8500-tdep.c (print_insn): Remove.
741 (_initialize_h8500_tdep): New function.
742 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
743 * i386-tdep.c (_initialize_i386_tdep): New function.
744 * i960-tdep.c (mem, next_insn): New functions, were in
745 i960-pinsn.c.
746 (_initialize_i960_tdep): Set tm_print_insn.
747 * m68k-tdep.c (_initialize_m68k_tdep): New function.
748 * m88k-tdep.c (_initialize_m88k_tdep): New function.
749 * mips-tdep.c (gdb_print_insn_mips): New function.
750 (_initialize_mips_tdep): Set tm_print_insn.
751 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
752 in pyr-pinsn.c.
753 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
754 * sh-tdep.c (print_insn): Remove.
755 (gdb_print_insn_sh): New function.
756 (_initialize_sh_tdep): Set tm_print_insn.
757 * sparc-tdep.c (_initialize_sparc_tdep): New function.
758 * w65-tdep.c (print_insn): Remove.
759 (_initialize_w65_tdep): New function.
760 * z8k-tdep.c (print_insn): Remove.
761 (gdb_print_insn_z8k): New function.
762 (_initialize_z8k_tdep): Set tm_print_insn.
763 * printcmd.c (print_insn): New function, generic disassembler.
764 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
765
83d9bb14
KH
766Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
767
768 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
769 and config/a29k/vx29k.mt.
770 * configure.in: add new configuration a29k-*-vxworks.
771 * remote-vx29k.c: new file merged from WRS.
772 * remote-vx.c: merge changes from WRS.
773 * config/a29k/vx29k.mt: new file for new configuration.
774 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
775
16041d53
SC
776Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
777
778 * breakpoint.h (disable_breakpoint, enable_breakpoint):
779 New declarations.
780 (enum bpdisp): Change name of 'delete' member to 'del'.
781 (struct bpstat): Changed name to 'bpstats'.
782 * breakpoint.c (disable_breakpoint, enable_breakpoint,
783 breakpoint_chain): Made globally visible.
784 (bpstat_stop_status): Use new name for bpstat.
785 (break_command_1, watch_command_1, catch_command_1,
786 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
787 instead of 'delete'.
788 (set_breakpoint_sal): New function.
789 * defs.h (registers_changed_hook): New declaration.
790 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
791 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
792 * main.c (main): Don't scan options when in WIN32 and exit
793 without entering main loop.
794 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
795 * symtab.h (struct symbol, struct partial_symbol): Changed name of
796 member 'class' to 'aclass'.
797 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
798 * top.c (registers_changed_hook): New definition.
799 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
800 in same way as __GO32__.
801 * value.h (c_typedef_print): Rename 'new' argument.
802
be21628d
SC
803 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
804 * configure.in: Suppprt for w65,
805
806
22b1c54a
JK
807Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
808
8248d21b
JK
809 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
810 not stop_pc, to proceed.
811
22b1c54a
JK
812 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
813
b5088d10
JK
814Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
815
816 * infcmd.c (signal_command): Accept "signal 0"; the change to not
817 accept it was accidental. "handle 0" and "info signal 0" remain
818 illegal, though.
819
218d43e5
SS
820Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
821
822 * Makefile.in (all): Don't make libgdb-files.
823 (libgdb): New action, makes libgdb-files.
824
0f8631fb
PB
825Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
826
827 * stabsread.c (read_enum_type): When pending enum symbols are
828 put into the enum type, they must be inserted in "backwards
829 order, in case we've overflowed a struct pending buffer.
830
218d43e5 831start-sanitize-gdbtk
4604b34c
SG
832Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
833
218d43e5 834 * gdbtk.c, gdbtk.tcl: Update/add copyright.
4604b34c
SG
835 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
836 including dismiss button, and better error handling.
837 * (create_command_win): Bind button 2 to retrieve selection.
218d43e5 838end-sanitize-gdbtk
4604b34c 839
2592eef8
PS
840Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
841
842 * README: Add note about SPARCworks cc release 3.0 and higher.
843
844 Add procfs support for Alpha OSF/1-2.x.
845 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
846 OSF/1 native support.
847 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
848 (MUNCH_DEFINE): Removed.
849 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
850 for procfs support.
851 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
852 release 2.x and higher, else alpha-osf1.mh, as the procfs support
853 in release 1.x is incomplete.
854 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
855 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
856 fill_fpgregset): New routines for procfs support.
857 * inftarg.c (_initialize_inftarg): Don't add ptrace support
858 if we have an optional procfs and /proc is accessible.
859 * procfs.c: Include sys/fault.h and sys/syscall.h before
860 including sys/procfs.h.
861 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
862 is defined, additionally perform a PIOCSSIG to really terminate
863 the inferior.
864 (create_procinfo): Always return a result.
865 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
866 PROCFS_DONT_TRACE_IFAULT is defined.
867 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
868 argument to startup_inferior if it is defined.
869 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
870 of tracing exits from exec system calls. Needed for the user level
871 loader under Alpha OSF/1.
872 (do_detach): Clear any pending signal if we want to detach from
873 a process without a signal.
874 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
875 don't issue a PIOCSSIG if pr_cursig already contains the signal we
876 intend to set.
877 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
878 pending signals are numbered from 1 instead of 0.
879 (info_proc_mappings): Increase size of output format for addresses
880 if BFD_HOST_64_BIT is defined.
881 (procfs_stop): Renamed from child_stop.
882 (_initialize_procfs): Don't add procfs support if we have an
883 optional procfs and /proc is not accessible.
884
218d43e5 885start-sanitize-gdbtk
724498fd
SG
886Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
887
280c564c 888 * gdbtk.tcl: Add button to control mixed source disassembly.
218d43e5 889 Use text widgets in expr window. The give me more control over
280c564c 890 layout.
218d43e5
SS
891 Add auto-updating of exprs in expression window.
892 Handle expressions out of scope a bit better.
893 Make selected window pop up to the top when invoked via the
280c564c 894 menubar.
218d43e5 895 Make copyright message have raised relief.
280c564c 896
724498fd
SG
897 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
898 during startup.
218d43e5 899end-sanitize-gdbtk
724498fd 900
b04a78d4
RS
901Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
902
903 * array-rom.c: Add support for most commands.
904
905 * monitor.c: Add GDB remote protocol for the hybrid environment on
906 the Array board.
907
b47ae8fb
JL
908Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
909
910 * command.c (show_user_1): Use print_command_line to show a user
911 defined command (including control structures).
912
913 * top.c (init_main): Change documentation for user defined
914 commands to indicate they may accept up to ten arguments.
915
1d9489c1
JK
916Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
917
918 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
919 `move $s8, $sp' instruction.
920
3b55fbe3
JK
921Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
922
923 * target.c, target.h (target_signal_from_command): New function.
924 * infrun.c (handle_command, signals_info), infcmd.c
925 (signal_command): Use it.
926 * infrun.c, infcmd.c: Update docstrings for these commands.
927
928 * target.h (enum target_signal), target.c (signals), target.c
929 (target_signal_from_host, target_signal_to_host): Add
930 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
931 * config/tm-lynx.h: Define signal numbers for realtime events.
932
02b40a19
PS
933Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
934
935 * dbxread.c (process_one_symbol): Handle N_FUN symbols
936 for Sun acc 3.0 under SunOS4.
937
938 Changes to improve handling of runtime common symbols
939 under SunOS4.
940 * minsyms.c (get_symbol_leading_char): New routine to determine
941 the leading symbol character for an objfile.
942 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
943 Use it.
944 * objfiles.h (rt_common_objfile): New global, points to objfile
945 containing the runtime common minimal symbols.
946 * objfiles.c (free_objfile): Mark rt_common_objfile as
947 unallocated before freeing it.
948 * solib.c (allocate_rt_common_objfile): New routine to allocate
949 an objfile for the runtime common minimal symbols.
950 (solib_add_common_symbols): Allocate an objfile for the runtime
951 common symbols if necessary and put common symbols into it.
952 Clean up code and comments.
953 (solib_add, special_symbol_handling): Cleanup comments regarding
954 runtime common symbols.
955 * stabsread.c (scan_file_globals_1): New routine, contains
956 old scan_file_globals code. Checks if there are any unresolved
957 global symbols before starting the expensive minimal symbol table
958 search.
959 (scan_file_globals): Now calls scan_file_globals_1 for the passed
960 objfile and eventually for the runtime common objfile. Complains
961 about any unresolved global symbols and removes them from the
962 global symbol chain to avoid dangling pointers into the symbol
963 table if the symbol table is reread.
964
09722039
SG
965Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
966
4a4f9e3b 967 * Makefile.in (install_only uninstall): Indent for clarity.
09722039
SG
968
969 * core.c (dis_asm_read_memory): Add call to
970 dis_asm_read_memory_hook to provide alternate way for disassembler
971 to read memory.
972
973 * defs.h: Protect from multiple inclusion. Add decl for
974 dis_asm_read_memory_hook.
975
4a4f9e3b
SS
976 * top.c: Make window startup be the default.
977 * Add dis_asm_read_memory_hook.
978
979start-sanitize-gdbtk
09722039
SG
980 * gdbtk.c (finish_saving_output): Don't do anything if not saving
981 output.
982 * (breakpoint_notify): Don't send null filename to tcl.
983 * (gdb_eval): New tcl command to eval an expression.
984 * (gdb_disassemble): New tcl command to do disassembly. This
985 allows tcl code to choose between exec file and target memeory,
986 and can also do mixed source and assembly.
987 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
988 that more of the environment is set up. Also, create link between
989 gdb and tcl vars disassemble{-_}from{-_}exec.
990
991 * gdbtk.tcl: New expression window support.
992 * Make assembly window be 80 columns wide.
993 * Use new disassembly method. Add menu items to select
994 disassembly from exec file or target.
995 * Change View menubar item to Options.
996
997 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
998 since they don't exist yet.
999
1000 * Pop up a copyright window on startup.
4a4f9e3b 1001end-sanitize-gdbtk
09722039 1002
117a817d
JL
1003Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
1004
1005 * stabsread.c (define_symbol): Handle `a' symbol type used for
1006 reference parameter passed in a register.
1007
c4a5c37c
SS
1008start-sanitize-gdbtk
1009Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
1010
1011 * gdbtk.tcl (build_framework): Add standard commands menu, more
1012 windows to standard windows menu.
1013 (not_implemented_yet): Clarify message.
1014end-sanitize-gdbtk
1015
034022bf
KH
1016Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
1017
c023fbf4
KH
1018 * defs.h: move include tm.h up, so that the type LONGEST can
1019 also based on the target requirement to determine. In this case
1020 target mips64.
1021
034022bf
KH
1022 * remote-os9k.c (rombug_open): catch exception e in rombug.
1023 * remote-os9k.c (rombug_wait): print message before register display
1024 from rombug.
1025
fd2ae9ec
JK
1026Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1027
1028 * top.c (locate_arg): Call strchr not index.
1029
3bcf4181
PB
1030Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
1031
2d67c7e9
PB
1032 * ch-exp.y (literal): Recognize NULL.
1033 (tuple): Parse simple unlabelled tuples.
1034 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
1035 evaluate brace-initializer-expressions depending on context.
1036 (evaluate_subexp case UNOP_CAST): Pass the target type as
1037 expected type when evaluating the expression.
1038
3bcf4181
PB
1039 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
1040 BOOL from TYPE_NAME.
1041 * ch-valprint.c (chill_print_type_scalar): New function, to handle
1042 TYPE_CODE_RANGE better than print_type_scalar does.
1043 (chill_val_print_array_elements): Use above new function.
1044
6dd6578b
SS
1045Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
1046
1047 * remote-udi.c (udi_load): Tell symbol_file_add that the
1048 program being loaded is the main program.
c4ea046a 1049
986c54ca 1050For older changes see ChangeLog-94
bd5635a1
RP
1051\f
1052Local Variables:
1053mode: indented-text
1054left-margin: 8
1055fill-column: 74
1056version-control: never
1057End:
This page took 0.327568 seconds and 4 git commands to generate.