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