]> Git Repo - binutils.git/blob - gdb/ChangeLog
eaf7082202979fd85503373eeb985677928fb52d
[binutils.git] / gdb / ChangeLog
1 Wed Mar 15 12:22:35 1995  J.T. Conklin  <[email protected]>
2
3         * nlm/gdbserve.c (main): Add support for processing BOARD=
4           argument, deprecate NODE=.
5
6 Wed Mar 15 10:58:26 1995  Jim Kingdon  ([email protected])
7
8         * c-exp.y (yylex): Make an empty character constant an error.
9
10 Tue Mar 14 15:00:54 1995  Per Bothner  <[email protected]>
11
12         * valops.c (value_arg_coerce):  Do possible value_coerce_array
13         before determining type argument to value_cast.
14
15 Tue Mar 14 10:41:41 1995  Kung Hsu  <[email protected]>
16
17         * remote-es.c: Replace ignore with 0.
18
19 Tue Mar 14 05:52:36 1995  Jim Kingdon  ([email protected])
20
21         * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
22         If VALUE_REPEATED is already set, just error out.
23
24         * valops.c (value_cast, value_slice), parse.c (follow_types): Add
25         FIXME-type-allocation comments.
26
27         * gdbtypes.h (struct type): Fix comment about what units the
28         TYPE_LENGTH is in.
29
30 Mon Mar 13 18:27:25 1995  Stan Shebs  <[email protected]>
31
32         * ch-valprint.c (annotate.h): Include.
33         * eval.c (evaluate_subexp_standard): Remove unused variable.
34         (calc_f77_array_dims): Add parens to expression.
35         * f-exp.y (yylex): Add parens to expression, remove unused label.
36         * f-lang.h (calc_f77_array_dims): Declare.
37         * f-valprint.c (f_val_print): Remove unused variables.
38
39 Mon Mar 13 15:25:47 1995  Jim Kingdon  <[email protected]>
40
41         * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
42         use the PDR, just examine prologues instead.
43
44 start-sanitize-arc
45 Fri Mar 10 16:13:18 1995  Kung Hsu  <[email protected]>
46
47         * config/tm-arc.h: Change arc register names.
48 end-sanitize-arc
49
50 Fri Mar 10 02:49:40 1995  Peter Schauer  ([email protected])
51
52         Fix problems with infinite recursion when printing a class
53         that contains a static instance of the class.
54         * cp-valprint.c (dont_print_vb_obstack):  Renamed from
55         dont_print_obstack, made static.
56         (dont_print_statmem_obstack):  New obstack, controls printing
57         of static member classes.
58         (_initialize_cp_valprint):  Initialize it.
59         (cp_print_static_field):  New function, handles printing of
60         static members.
61         (cp_print_value_fields):  New parameter dont_print_statmem to
62         handle recursive printing of static member classes, use
63         cp_print_static_field to handle printing of static members.
64         * c-valprint.c (cp_print_value_fields):  Update prototype and
65         call to include additional dont_print_statmem parameter.
66         * c-valprint.c, f-valprint.c (dont_print_obstack):  Remove unused
67         extern declaration.
68
69         * alpha-tdep.c, findvar.c, infptrace.c:  Include <string.h>.
70
71         * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS):  Call
72         alpha_find_saved_regs if fi->saved_regs is still NULL.
73
74         * elfread.c (elf_symtab_read):  Ensure that the filename field
75         of a minsym is nonempty. Ignore solib trampoline symbols from
76         the main symbol table, they might have a bogus value.
77
78         * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
79         Fix typos in comments.
80
81 Thu Mar  9 17:19:47 1995  Jim Kingdon  <[email protected]>
82
83         * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
84         pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1.  That way
85         we know whether the PDR ever got set.
86         * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
87         use the PDR, just examine prologues instead.
88
89 Wed Mar  8 23:35:10 1995  Jeff Law  ([email protected])
90
91         * somsolib.c (som_solib_section_offsets): Get offset of text
92         section right. 
93
94 Wed Mar  8 16:12:21 1995  Stu Grossman  ([email protected])
95
96 start-sanitize-gdbtk
97         * gdbtk.c (gdb_get_breakpoint_info):  Return error if breakpoint
98         type is not bp_breakpoint.
99 end-sanitize-gdbtk
100
101         * source.c (forward_search_command reverse_search_command):  Set
102         convenience variable $_ to be the line # of the match.
103         * symtab.c (decode_line_1):  Allow convenience variables to be
104         used in line specs (for breakpoints and such).
105
106 Wed Mar  8 12:51:00 1995  Stan Shebs  <[email protected]>
107
108         * Makefile.in (VERSION): Bump to 4.14.1.
109         * NEWS, README: Update for 4.14.
110         * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
111         (i386_insert_nonaligned_watchpoint): Call aligned instead of
112         generic watchpoint insertion.
113
114 Tue Mar  7 19:26:10 1995  Per Bothner  <[email protected]>
115
116         * valops.c (value_slice):  Do COERCE_VARYING_ARRAY.
117
118 Tue Mar  7 00:23:47 1995  Stu Grossman  ([email protected])
119
120         * monitor.c, array-rom.c, monitor.h, rom68k-rom.c:  Move target_ops
121         into monitor.c.
122         * monitor.c (monitor_create_inferior):  Allow run command to start
123         program.
124
125         * monitor.c (monitor_load):  Set PC to start address when done
126         loading.
127
128         * array-rom.c, monitor.h, rom68k-rom.c:  Clean up target_ops.
129         Remove ref to monitor_create_inferior.
130
131         * monitor.c:  More general cleanups.  Add prototypes, remove
132         unused routines.  Fix bug with wrong number of args to error().
133
134         * main.c (main):  Don't start up GUI when running under gdb mode
135         in emacs.
136
137         * Makefile.in:  Add rules for monitor.o and rom68k-rom.o to make
138         Sun make (with VPATH) work...
139
140         * monitor.c, monitor.h, rom68k-rom.c:  Serious cleanup to make IDP
141         (rom68k) target work right.
142         * array-rom.c, op50-rom.c, w89k-rom.c:  Partial updates to new
143         monitor.c interface.  More work needs to be done here.
144         * config/m68k/tm-monitor.h:  Change DECR_PC_AFTER_BREAK to 0 to
145         match the IDP monitor.  Also, set NUM_REGS to 18 cuz there's no
146         floating-point for this card.
147
148         * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
149         ser-unix.c:  Add SERIAL_SETSTOPBITS to set the number of stopbits
150         (needed for IDP board?!?!?).
151
152         * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c:  Fix defs
153         and usage of fputc_unfiltered and putchar_unfiltered.  Eliminate
154         putc_unfiltered (it's superfluous).
155
156         * command.h, command.c, top.c:  Add var_enum command type.  It's
157         like var_string but allows only only one of the specified strings.
158
159 Mon Mar  6 15:03:59 1995  Jim Kingdon  ([email protected])
160
161         * valops.c (value_cast): Don't use backslash newline--pre-ANSI
162         compilers (such as SunOS4 /bin/cc) don't generally support it
163         except in some contexts.
164
165 Fri Mar  3 17:42:48 1995  Per Bothner  <[email protected]>
166
167         * valops.c (value_cast):  Check for cast to array type *before*
168         we coerce array to pointer (in case arg2 is already array).
169
170         * valops.c (call_function_by_hand):  Set using_gcc to 2 if using
171         gcc2.  Needed for REG_STRUCT_HAS_ADDR to work on sparc.
172         Also check REG_STRUCT_HAS_ADDR for union, array and string types.
173
174         * valops.c (call_function_by_hand):  Re-arrange code for pushing
175         paramaters on the stack so we can do better STACK_ALIGN.
176
177         * valops.c (call_function_by_hand):  Call error if the number
178         of arguments is fewer than parameter types in function type.
179
180 Fri Mar  3 17:13:05 1995  Doug Evans  <[email protected]>
181
182         * sparc-tdep.c (sparc_extract_struct_value_address): Move
183         sparc64 support to here.
184         (sparc64_extract_struct_value_address): Deleted.
185         (dump_ccreg): Add a prototype so long long arg -> int.
186         * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
187         (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
188
189 Fri Mar  3 15:12:12 1995  Jeff Law  ([email protected])
190
191         * hpread.c (hpread_record_lines): New argument "offset".  All
192         callers changed.  Use it to handle dynamic address relocation.
193         (hpread_build_psymtabs): Adjust texthigh as we read each function
194         debug symbol.  Fix computation of texthigh.
195         (hpread_read_subrange_type): Work around macro bugs in HP's
196         compilers.
197         (hpread_process_one_debug_symbol): Correctly map source lines.
198
199         * somread.c (check_strange_names): Filter names emitted by the HP
200         compiler when generating PIC code.
201
202         * valops.c (value_struct_elt_for_reference): Work around macro
203         bugs in HP's compilers.
204         * c-exp.y (block): Likewise.
205
206 Fri Mar  3 12:27:28 1995  Jim Kingdon  <[email protected]>
207
208         * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
209         store_address.
210
211         * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
212
213 Fri Mar  3 12:33:24 1995  Michael Meissner  <[email protected]>
214
215         * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
216         registers that GCC emits on the PowerPC by default in addition to
217         the store multiple instruction used on the Power series.
218
219 Fri Mar  3 00:54:58 1995  Doug Evans  <[email protected]>
220
221         * sparc-tdep.c (decode_asi): New function.
222         (sparc_print_register_hook): Pretty print more v9 registers.
223         * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
224
225 Thu Mar  2 22:20:22 1995  Doug Evans  <[email protected]>
226
227         * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
228         (target_to_host): Change result type to CORE_ADDR.
229
230 Thu Mar  2 15:13:04 1995  Jim Kingdon  ([email protected])
231
232         * rs6000-tdep.c: Fix byte-swapping sins.
233
234 Thu Mar  2 16:48:45 1995  Michael Meissner  <[email protected]>
235
236         * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
237         code between branch unconditional and branch conditional cases.
238
239 Wed Mar  1 09:41:26 1995  Doug Evans  <[email protected]>
240
241         Various changes for sparc64.
242         * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
243         (SPARC_INTREG_SIZE): Define.
244         (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
245         where appropriate.
246         (enum branch_type): New value `done_retry'.
247         (isbranch): Renamed from isannulled.  All callers changed.
248         Support new sparc64 branch insns.
249         (single_step): Handle done_retry.
250         (sparc_extract_struct_value_address): Don't assume 4 byte regs.
251         (get_saved_register): Likewise.
252         (sparc_push_dummy_frame): Likewise.
253         (sparc_frame_find_saved_regs): Likewise.
254         (sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
255         or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
256         (sparc64_extract_struct_value_address): New function.
257         (dump_ccreg, sparc_print_register_hook): Likewise.
258         * sp64-tdep.c: Deleted.
259         * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
260         (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
261         (CC_HAS_LONG_LONG): Define.
262         (REGISTER_NAMES): Delete cle/tle and reorganize.
263         (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
264         sparc-tdep.c now.
265         (REGISTER_BYTES): Update.
266         (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
267         (EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
268         (NO_SINGLE_STEP): Likewise.
269         * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
270         * sparc/sp64.mt: Move simulator support ...
271         * sparc/sp64sim.mt: ... to here.
272
273 Wed Mar  1 13:14:42 1995  Kung Hsu  <[email protected]>
274
275         * remote-vx960.c: new file for target specific register packaging.
276         * remote-vx68.c: ditto.
277         * config/i960/vxworks960.mt: add remote-vx960.o.
278         * config/m68k/vxworks68.mt: add remote-vx68.o.
279
280 Wed Mar  1 13:42:49 1995  Michael Meissner  <[email protected]>
281
282         * remote.c (remote_wait): Make calls to strtol be type correct by
283         passing the address of a char * pointer instead of an unsigned
284         char *.
285
286         * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
287         write_memory to make things type correct.
288
289 Wed Mar  1 12:17:31 1995  Michael Meissner  <[email protected]>
290
291         * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
292         standard Linux yacc by adding more names to be redefined with a
293         prefix.
294
295 Tue Feb 28 22:55:47 1995  Jim Kingdon  ([email protected])
296
297         * hppa-tdep.c (pa_print_registers), monitor.c: Use
298         extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
299         * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
300         Rename it to SWAP_FLOATING to make it clear it is no longer for
301         integers.
302
303 Tue Feb 28 14:38:39 1995  Kung Hsu  <[email protected]>
304
305         * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
306         compile time.
307
308 start-sanitize-arc
309         * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to 
310         processor.
311         * remote-arc.c (arc_wait): when a processor stops, stop other two
312         processors too.
313         * remote-arc.c (switch_command): switch tm_print_insn.
314 end-sanitize-arc
315
316         * vx-share/ptrace.h: merge in WRS new ptrace requests.
317
318         * defs.h: fix a syntax error.
319
320         * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
321         * remote-vx.c: move read_register and write_register out to 
322         target specific files.
323         * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
324
325         * defs.h: define SWAP_TARGET_AND_HOST macro.
326         * findvar.c, monitor.c, hppa-tdep.c: remove definition of
327         SWAP_TARGET_AND_HOST.
328
329 Tue Feb 28 08:31:40 1995  Jim Kingdon  ([email protected])
330
331         * alpha-tdep.c (find_proc_desc): Only attempt to set
332         PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
333
334 Mon Feb 27 11:56:32 1995  Stan Shebs  <[email protected]>
335
336         * monitor.c: General gcc -Wall lint cleanup and reformat.
337         (monitor_command): If no args, send an empty command.
338
339 Thu Feb 23 21:07:25 1995  Stu Grossman  ([email protected])
340
341         * monitor.c (monitor_load_ascii_srec):  Add a one second sleep
342         after send LOAD_CMD to prevent loss of first S-record.
343
344 Tue Feb 21 20:48:42 1995  Per Bothner  <[email protected]>
345
346         * valops.c (call_function_by_hand):  Set using_gcc to 2 if gcc-2.
347         Call error if too few arguments.
348         If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
349         copy and convert to reference *before* we calculate alignment.
350         Also, make sure structs allocated for return values and invisible
351         reference don't violate STACK_ALIGN.
352
353 Tue Feb 21 23:29:59 1995  Per Bothner  <[email protected]>
354
355         * ch-exp.y (expression_conversion):  Recognize 'ARRAY () TYPE (EXPR)'
356         (same as C's '(TYPE[])EXPR')
357
358 Tue Feb 21 11:47:26 1995  Stan Shebs  <[email protected]>
359
360         * top.c (print_gdb_version): Update the year.
361
362 Sun Feb 19 14:31:57 1995  Jim Kingdon  <[email protected]>
363
364         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
365         `..' not in `../..'.
366
367 Sun Feb 19 11:05:28 1995  Peter Schauer  ([email protected])
368
369         * procfs.c (unconditionally_kill_inferior):  Don't issue a PIOCKILL
370         in addition to a PIOCSSIG to kill the inferior.
371
372 Thu Feb 16 15:06:12 1995  Per Bothner  <[email protected]>
373
374         * parse.c (follow_types):  Given (TYPE[]) (i.e. with no length),
375         create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
376         * valops.c (value_cast):  If a cast like (TYPE[])VALUE (i.e. array
377         of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
378         * c-typeprint.c (c_type_print_varspec_suffix):  If array length
379         is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
380
381 Thu Feb 16 16:06:50 1995  Michael Meissner  <[email protected]>
382
383         * dcache.c (insque, remque): Rewrite Linux support.
384
385 Wed Feb 15 12:33:20 1995  Michael Meissner  <[email protected]>
386
387         * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
388
389         * dcache.c (insque, remque): If compiling in standard C on Linux,
390         protect insque and remque with macros to cast the pointer
391         arguments to the proper type.
392
393 Tue Feb 14 17:16:41 1995  Stu Grossman  ([email protected])
394
395         * annotate.c, breakpoint.c, defs.h, top.c:  Replace
396         enable/disable_breakpoint_hook with modify_breakpoint_hook.
397 start-sanitize-gdbtk
398         * gdbtk.c: Ditto.
399         * gdbtk.c: General cleanups, get rid of unused variables.  Redo
400         handling of stdout/stderr to just return output as the result of
401         the tcl command that caused the output.  Cleanup -Wall stuff.
402         * (breakpoint_notify):  Now returns just action and breakpoint
403         number.
404         * (gdb_get_breakpoint_list):  New routine.  Does the obvious.
405         * (gdb_get_breakpoint_info):  Mostly derived from the old
406         breakpoint_notify, but returns lots more info.
407         * (dsprintf_append_element):  Helper routine, works like printf,
408         but appends a tcl element onto the specified DString.  Good for
409         building up lists as return values.
410         * (gdbtk_enable/disable_breakpoint):  Go away.  Replaced with
411         gdbtk_modify_breakpoint.
412         * (*many routines*):  Use new result protocol.
413         * (call_wrapper):  Make sure that recursive calls don't trash results.
414         * gdbtk.tcl:  New windows, autocmd, and breakpoints.
415         * (gdbtk_tcl_fputs):  Don't use $current_output_win redirection
416         anymore.  It's not needed (in fact, this routine may not be needed
417         anymore).
418         * (gdbtk_tcl_breakpoint):  Change to reflect new breakpoint
419         notification protocol.
420         * (gdbtk_tcl_busy gdbtk_tcl_idle):  Straighten out buttons, remove
421         catches.
422         * (interactive_cmd):  Use this wrapper around button invocations
423         of many commands.  This will catch errors and put the results into
424         the command window.  It also updates all the other windows.
425         * Also, change reliefs of most things to sunken.  This actually
426         looks better.
427         * (create_file_win):  Fix margin binding to allow breakpoints to
428         work again.
429         * (create_asm_win):  Use return value of gdb_disassemble instead
430         of implicit I/O to the command window.  
431         * (create_command_window):  Use new result protocol to get output
432         from commands.
433 end-sanitize-gdbtk
434
435 Tue Feb 14 16:58:07 1995  Jim Kingdon  ([email protected])
436
437         * expression.h: Move declaration of evaluate_subexp_with_coercion
438         from here...
439         * value.h: ...to here.
440         * expression.h: Don't include value.h
441
442 Tue Feb 14 11:46:07 1995  Jim Kingdon  ([email protected])
443
444         * expression.h: Move include of value.h until after declaration of
445         enum exp_opcode.
446
447 Sun Feb 12 13:47:30 1995  Stan Shebs  <[email protected]>
448
449         * remote-e7000.c: Comprehensive cleanup; removal of dead code,
450         simplify code, declare things, format to standards.
451         (inferior.h, value.h, command.h, remote-utils.h): Include.
452         (e7000_login): Rename to e7000_login_command.
453         (e7000_ftp): Rename to e7000_ftp_command.
454         (e7000_drain): Rename to e7000_drain_command.
455
456         * irix5-nat.c (string.h): Include near beginning of file.
457
458 Sun Feb 12 12:36:38 1995  Jim Kingdon  ([email protected])
459
460         * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
461         arg, it is a value not a symbol.
462
463         gcc -Wall lint:
464         * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
465         * expression.h: ..to here.
466         * expression.h: Include value.h.
467         * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
468
469 Sun Feb 12 11:03:47 1995  Per Bothner  <[email protected]>
470
471         * language.h (struct language_defn):  New field evaluate_exp.
472         * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
473         f-lang.c (f_language_defn), language.c (unknown_language_defn,
474         auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
475         Set evaluate_exp to evaluate_subexp_standard.
476         * ch-lang.c (evaluate_subexp_chill):  New function.  Chill-specific
477         support for MULTI_SUBSCRIPT.
478         (chill_language_defn):  Set evaluate_exp to evaluate_subexp_chill.
479         * eval.c (enum noside):  Move from here ....
480         * expression.h (enum noside):  ... to here.
481         (evaluate_subexp_standard):  New prototype.
482         * eval.c (evaluate_subexp):  Renamed to evaluate_subexp_standard.
483         Removed lo-longer-needed test for chill_varying_type.
484         (evaluate_subexp):  New.  Calls exp->language_defn->evaluate_exp.
485
486         * ch-exp.y (maybe_expression_list):  New non-terminal.
487         (primitive_value):  Allow empty parameter list.
488
489 Sun Feb 12 10:02:16 1995  Per Bothner  <[email protected]>
490
491         * buildsym.c (finish_block):  If finishing a function without known
492         parameter type info, set that from parameter symbols.
493         * c-typeprint.c (c_type_print_varspec_suffix):  For TYPE_CODE_FUNC,
494         print parameter types, if available.
495         * ch-typeprint.c (chill_type_print_base):  Likewise.
496
497         * gdbtypes.h (struct type):  Remove function type field.
498         (TYPE_FUNCTION_TYPE):  Remove macro.  We can't as simply re-use
499         function types now that we're also storing parameter types.
500         And the payoff is much less.
501         * gdbtypes.c (make_function_type):  Don't use/set TYPE_FUNCTION_TYPE.
502         (recursive_dump_type):  Don't print TYPE_FUNCTION_TYPE.
503         * dwarfread.c (read_subroutine_type):  Don't set TYPE_FUNCTION_TYPE.
504
505         * valops.c (value_arg_coerce):  Now takes param_type argument.
506         (call_function_by_hand):  Convert arguments with value_arg_coerce
507         early, and overwrite original args with converted args.
508         No longer need multiple calls to value_arg_coerce.
509         (value_arg_push):  Removed.
510         * hppa-tdep.c (hppa_push_arguments):  No longer call value_arg_coerce.
511         * mips-tdep.c (mips_push_arguments):  Likewise.
512         * alpha-tdep.c (alpha_push_arguments):  Likewise.
513         * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
514         Likewise.
515         * value.h (value_arg_coerce):  Remove declaration.  (It's now static.)
516
517         * valops.c (value_cast):  Do COERCE_VARYING_ARRAY after COERCE_REF.
518
519         * symtab.c (add_param_to_type):  Remove (commented-out) function,
520         since that functionality has been re-written.
521         * coffread.c:  Remove commented-out add_param_to_type support.
522         * mdebugread.c (parse_symbol):  Likewise.
523         * stabsread.c (define_symbol):  Likewise.
524
525 Sun Feb 12 09:03:47 1995  Jim Kingdon  ([email protected])
526
527         * buildsym.c (start_subfile): Set language for f2c like for cfront.
528
529 Thu Feb  9 20:20:11 1995  Rob Savoye  <[email protected]>
530
531         * op50n-rom.c: Add the control registers.
532
533 Thu Feb  9 15:46:39 1995  Stan Shebs  <[email protected]>
534
535         * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
536         after, any host/target/native libraries.
537         * dcache.c (insque, remque): Remove declarations.
538         * gdbtypes.h (type_code): Remove trailing comma.
539
540         From Peter Schauer:
541         * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
542         STATIC_NODEBUG_VARS inside case.
543
544 Thu Feb  9 07:43:41 1995  Jim Kingdon  <[email protected]>
545
546         * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
547         * partial-stab.h: Call it.
548         * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
549         STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
550         get the address.
551         * sparc-tdep.c (solaris_static_transform_name): New function.
552
553 Thu Feb  9 12:09:09 1995  Jeff Law  ([email protected])
554
555         * somread.c (som_symtab_read): Handle dynamic relocation for both
556         text and data symbols.
557         (som_symfile_offsets): If objfile is a shared library, then get
558         text and data offsets from the shared library structures.
559         * somsolib.c (som_solib_add): Copy the bfd pointer from the
560         objfile rather than reopening the file again.
561         (som_solib_section_offsets): New function.
562         * somsolib.h (som_solib_section_offsets): Declare.
563
564 Wed Feb  8 20:32:18 1995  Jim Kingdon  <[email protected]>
565
566         * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
567         N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
568         * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
569         filename field.
570         * elfread.c (record_minimal_symbol_and_info),
571         minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
572         newly created symbol.
573         * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
574         Set filename field of minimal symbol.
575         * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
576         Print filename field.
577         * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
578         * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
579         m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
580         os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
581         printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
582         * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
583         Find address of function from minimal symbols.
584         * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
585         instead of getting pst->textlow from the stab.
586         * minsyms.c (find_stab_function_addr): New function.
587
588 Wed Feb  8 19:19:56 1995  Rob Savoye  <[email protected]>
589
590         * monitor.c: Fix so all the output shows up in the GUI command
591         window.
592
593 Mon Feb  6 18:50:59 1995  Stan Shebs  <[email protected]>
594
595         * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
596         line, so init.c generation works correctly.
597 start-sanitize-arc
598         * arc-tdep.c (_initialize_arc_tdep): Ditto.
599 end-sanitize-arc
600
601 Mon Feb  6 14:44:36 1995  Rob Savoye  <[email protected]>
602
603         * config/mips/idt.mt: Add support for the lsi33k target.
604         * config/sparc/sun4sol2.mh: Add support for ser-tcp.
605         * array-rom.c: Finish the rest of the support commands needed by
606         GDB.
607         * mips-tdep.c: Add LSI33k register names and processor type.
608
609 start-sanitize-gdbtk
610 Sun Feb  5 20:32:44 1995  Jim Kingdon  ([email protected])
611
612         * gdbtk.c (gdb_disassemble): Deference pointer to function before
613         calling it (pre-ANSI compilers generally require this).
614
615 end-sanitize-gdbtk
616 Sat Feb  4 13:29:52 1995  Stan Shebs  <[email protected]>
617
618         * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
619
620 Fri Feb  3 16:47:31 1995  Kung Hsu  <[email protected]>
621
622         * ser-go32-para.c (dos_read): fix syntax errors.
623
624 Fri Feb  3 11:19:20 1995  Stu Grossman  ([email protected])
625
626         * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
627         dis_asm_read_memory_hook.  We can now call the disassemblers
628         directly and have no need for this hook anymore.
629 start-sanitize-gdbtk
630         * gdbtk.c (gdb_disassemble): Ditto.
631 end-sanitize-gdbtk
632         * defs.h, printcmd.c: Make print_insn be static.
633
634         * ser-go32.c (dos_comisr):  Make this 8 bit clean.
635         * (dos_open dos_close):  Allow multiple opens to the same device.
636         Use a ref count to prevent unwanted deallocations.
637         * sparcl-tdep.c:  Put #ifdefs around all socket stuff to make GO32
638         happy.
639         * (sparclite_ops):  Switch to download_stratum.
640         * target.h (enum strata):  Move download_stratum before
641         process_stratum so that executable targets get pushed on top of
642         download targets.
643
644 Thu Feb  2 19:02:45 1995  Rob Savoye  <[email protected]>
645
646         * array-rom.c: Remove the non GDB remote protocol config stuff.
647
648         * monitor.c: All reading/writing functions for memory and
649         registers work.
650
651 Thu Feb  2 16:11:04 1995  Kung Hsu  <[email protected]>
652
653 start-sanitize-arc
654         * config/arc/arc.mt: new target makefile for arc processor.
655         * config/arc/tm-arc.h: new target header for arc processor.
656         * config/arc/go32.mh: new go32 host makefile for arc processor.
657         * config/arc/xm-go32.h: new go32 host header for arc processor.
658         * arc-tdep.c: new target dependent codes for arc processor.
659         * remote-arc.c: new file for arc-specific protocol through
660         parallel line.
661 end-sanitize-arc
662         * ser-go32-para.c: new file for go32 parallel port communication.
663
664 Thu Feb  2 13:58:40 1995  Stan Shebs  <[email protected]>
665
666         * Makefile.in (VERSION): Bump to 4.13.2.
667
668 Thu Feb  2 07:27:56 1995  Jim Kingdon  ([email protected])
669
670         Fix compiler warnings:
671         * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
672         and have the caller do the sprintf.  Saves us from varargs hell.
673         (normal): Define before use.
674         * remote-e7000.c: Reindent a few things.
675
676 Wed Feb  1 21:16:42 1995  Per Bothner  <[email protected]>
677
678         * f-typeprint.c (f_type_print_varspec_suffix):  Print array index
679         ranges in reverse order.
680         * f-valprint.c (f77_create_arrayprint_offset_tbl):  Fix calculation.
681
682         * eval.c (evaluate_subscript):  Don't call value_subscript, since
683         it adjusts for lower bound and enforces ranges.
684
685         * expression.h (exp_code):  Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
686         * eval.c, parse.c:  Removed uses of removed opcodes.
687         * eval.c (evaluate_subexp):  Clean up handling of
688         OP_UNDETERMINED_ARGLIST (no backtracking, more general).
689
690         * f-valprint.c (f_val_print):  Print TYPE_CODE_STRING using
691         LA_PRINT_STRING, and not val_print_string (which reads from inferior).
692
693         * ch-lang.c (chill_is_varying_struct), ch-lang.h:  Remve function
694         duplicate function made redundant by chill_varying_type.
695
696         Re-write of f77 string and complex number support:
697
698         * language.h (struct language_defn):  New fields string_lower_bound
699         and string_char_type.
700         * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
701         language.c (unknown_language_defn, auto_language_defn,
702         local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
703         (f_language_defn), ch-lang.c (chill_language_defn):  Set new fields.
704         * gdbtypes.c (create_string_type):  Use new string_char_type field.
705         * valops.c (value_string):  Use new string_lower_bound field.
706
707         * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT):  Removed.
708         * f-lang.c (f_create_fundamental_type, _initialize_f_language),
709         m2-lang.c (m2_create_fundamental_type),
710         gdbtypes.c (_initialize_gdbtypes):  Set TYPE_TARGET_TYPE of complex
711         types.  Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
712         * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
713         Removed.  Use builtin_type_complex and builtin_type_double_complex.
714
715         * gdbtypes.h (enum type_code):  Removed TYPE_CODE_LITERAL_STRING
716         and TYPE_CODE_LITERAL_COMPLEX.
717         * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c:  Removed uses of
718         TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
719         * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
720         f77_create_literal_string_type):  Removed.
721         * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
722         VALUE_SUBSTRING_MYADDR):  Removed.
723
724         * expression.h (enum exp_opcode):  Rename OP_F77_LITERAL_COMPLEX to
725         OP_COMPLEX.
726         * parse.c:  Update accordingly.
727
728         * f-valprint.c (f77_print_cmplx):  Removed.
729         (f_val_print case TYPE_CODE_COMPLEX):  Re-write to use print_floating.
730
731         * f-exp.y (STRING_LITERAL):  Use OP_STRING instead of OP_ARRAY.
732         * eval.c (evaluate_subexp):  For case OP_ARRAY, don't call
733         f77_value_literal_string.
734         * valops.c, value.h (f77_value_literal_string, f77_value_substring,
735         f77_assign_from_literal_string, f77_assign_from_literal_complex):
736         Removed.
737         (value_assign):  No longer need to handle literal types.
738         * valops.c (f77_value_literal_complex), value.h:  Re-written and
739         renamed to value_literal_complex.  Last arg is now a (complex) type.
740         * valops.c (f77_cast_into_complex):  Re-written and renamed to
741         cast_into_complex.
742         * eval.c (evaluate_subexp):  Update accordingly.
743
744         * ch-valprint.c (chill_val_print):  On TYPE_CODE_STRING, don't
745         print address for non-'s'-formats.
746         * ch-typeprint.c, ch-valprint.c:  Use chill_varying_type instead
747         of chill_is_varying_struct.
748
749 Wed Feb  1 13:27:33 1995  Stan Shebs  <[email protected]>
750
751         gcc -Wall lint.
752         * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
753         (after_prologue): Remove unused local b.
754         * procfs.c (thread.h): Include.
755         (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
756         nested braces in initializer.
757         * top.c (initialize_targets, initialize_utils): Declare.
758         (locate_arg, insert_args): Add parens around tested assignments.
759         * remote-utils.c (sr_scan_args): Remove decl of strtol.
760         * remote.c (thread.h): Include.
761         (remote_wait): Remove unused local p2.
762         * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
763         registers array.
764
765         defs.h (stdlib.h): Include.
766         (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
767         (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
768         strtok, strerror): Don't specify parameter types in declaration.
769
770 Wed Feb  1 12:23:57 1995  Per Bothner  <[email protected]>
771
772         * ch-exp.y (value_string_element, string_primitive_value,
773         start_element, left_element, right_element, slice_size,
774         lower_element, upper_element, first_element):  Removed.
775         (value_string_slice, value_array_slice):  Replaced by ...
776         (slice):  New non-terminal, with working slice support.
777         (primitive_value_lparen, rparen):  New non-terminals.
778         (maybe_tuple_elements):  New non-terminal, to allow empty tuples.
779         (idtokentab):  Added "up".
780
781         * value.h (COERCE_VARYING_ARRAY):  New macro.
782         * valarith.c (value_subscript):  Use it.
783         * valops.c (value_cast):  Likewise.  Also, do nothing if already
784         correct type, and allow converting from/to range to/from scalar.
785
786         * valops.c, value.h (varying_to_slice, value_slice):  New functions.
787         * eval.c (OP_ARRAY):  Add cast for array element.
788         * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT):  New exp_opcodes.
789         * valops.c (chill_varying_type):  Moved function frp, here ...
790         * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
791         * parse.c (length_of_subexp, prefixify_subexp):  Add support
792         for TERNOP_SLICE, TERNOP_SLICE_COUNT.
793         * expprint.c (print_subexp, dump_expression):  Likewise.
794         * eval.c (evaluate_subexp):  Likewise.
795
796         * eval.c (evaluate_subexp case MULTI_SUBSCRIPT):  Don't call
797         value_x_binop on a Chill varying string.
798
799 Tue Jan 31 13:51:53 1995  Jim Kingdon  ([email protected])
800
801         * config/m68k/monitor.mt,
802         config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
803         depfiles in TDEPFILES not REMOTE_O.
804
805 Tue Jan 31 11:14:44 1995  Steve Chamberlain  <sac@splat>
806
807         From [email protected].
808         * ser-go32.c (dos_close): Don't crash if scb null.
809         (dos_sendbreak): New function.
810         (dos_ops): Point to dos_sendbreak.
811         (dos_info): Calculate COM number correctly.
812
813 Tue Jan 31 09:40:11 1995  Jim Kingdon  ([email protected])
814
815         * xcoffread.c (process_xcoff_symbol): Use new variables
816         func_symbol_type and var_symbol_type as type of functions and
817         variables which don't have any stabs associated with them.
818         Reindent most of function.
819         (_initialize_xcoffread): Initialize *_symbol_type.
820
821         * xcoffread.c (read_xcoff_symtab): Reindent most of function.
822         Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
823         them (this part commented out as I didn't quite get it to work).
824         (cs_to_section, find_targ_sec): New functions, to support above code.
825         * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
826         actually present.
827
828 Mon Jan 30 17:34:24 1995  Stu Grossman  ([email protected])
829 start-sanitize-gdbtk
830         * gdbtk.tcl (create_file_win):  Disable old popup menu for source
831         window.
832 end-sanitize-gdbtk
833         * sparcl-tdep.c:  Add `sparclite' target for doing serial and udp
834         downloads to SPARClite demo boards.
835
836 Sun Jan 29 09:43:22 1995  Jim Kingdon  ([email protected])
837
838         * remote.c, remote-pa.c: Remove #if 0'd icache code.  It has had
839         no hope of working as is for a long time (in particular, shebs' 27
840         Jan 95 change confuses the issue further--target_read_memory and
841         xfer_core_file do *not* do the same thing in this context).
842         Revise comment.
843
844 Sat Jan 28 13:40:46 1995 Peter Schauer  ([email protected])
845
846         * elfread.c (elf_symtab_read):  Do not test BSF_GLOBAL for
847         procedure linkage table symbols, it is no longer set due to the
848         Jan 6 BFD change in bfd/elfcode.h.
849
850 Fri Jan 27 17:08:06 1995  Stan Shebs  <[email protected]>
851
852         * top.c (use_windows): Clarify comments.
853
854         * convex-tdep.c (xfer_core_file): Comment out.
855         * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
856         * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
857         references to target_read_memory.
858         * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
859         declarations.
860         * corelow.c (core_open, core_detach): Make static.
861
862         * arm-tdep.c: Make it compile.
863         (exec_file_command, xfer_core_file): Comment out.
864         (arm_print_insn): Remove, now in libopcodes.
865         (skip_prologue): Comment out most of body.
866         (arm_frame_find_saved_regs): Move here from tm-arm.h.
867         (_initialize_arm_tdep): Set tm_print_insn.
868         * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
869         (XFER_CORE_FILE): Remove.
870         (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
871         
872 Fri Jan 27 08:48:28 1995  Jim Kingdon  ([email protected])
873
874         * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
875
876 Thu Jan 26 18:24:41 1995  Jim Kingdon  <[email protected]>
877
878         * symtab.c (find_pc_line): When subtracting one to get a line
879         number, make sure not to end up with zero.
880
881         * remote-vx.c: Revert all of Kung's changes of 16 Jan.  The
882         problems with those changes were (a) the file didn't compile, (b)
883         they changed memset to bzero--memset is correct, (c) they took out
884         code to deal with boards lacking floating point, (d) who knows
885         what I didn't discover in a quick read.
886
887 Thu Jan 26 17:32:54 1995  Stu Grossman  ([email protected])
888
889         * sparcl-tdep.c:  Clean up formatting and indentation.
890
891 Thu Jan 26 10:49:59 1995  Steve Chamberlain  <sac@splat>
892
893         * remote-hms.c (hms_ops): Change ref of hr_load_image
894         to gr_load_image.
895         (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
896         dcache_poke, dcache_init):  Deleted.
897         (hms_open, hms_resume, hms_fetch_word, hms_store_word):
898         Use dcache routines provided by remote-util.h
899
900 Thu Jan 26 12:08:31 1995  Michael Meissner  <[email protected]>
901
902         * configure.in: Add support for powerpc-*-eabi.
903
904         * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
905         PowerPC support.
906
907 Wed Jan 25 18:13:14 1995  Per Bothner  <[email protected]>
908
909         * language.h (struct language_defn):  New field c_style_arrays.
910         * language.c (unknown_language_defn, auto_language_defn,
911         local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
912         asm_language_defn):  Set c_style_arrays to true.
913         * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
914         f-lang.c (f_language_defn):  Set c_style_arrays to false.
915         * valops.c (value_string):  If c_style_array is not set,
916         allocate string in gdb (not inferior) using allocate_value.
917
918         * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
919         Only call value_coerce_array if current_language->c_style_arrays.
920         * values.c:  Add #include "language.h".  (Needed for COERCE_ARRAY.)
921
922         * valops.c (chill_varying_type):  New predicate.
923         * valops.c (value_cast):  Support assigning a fixed string or array
924         to a variable string/array structure.
925
926         * valarith.c (value_subscripted_rvalue):  Extra parameter lowerbound.
927         Check index>=lowerbound, and then add lowerbound to index here,
928         instead of in caller.  Generalize to arbitrary lval_types.
929         (value_subscript):  Use enhanced value_subscripted_rvalue if
930         c_style_arrays is false (and index is in range).
931
932 start-sanitize-gdbtk
933 Wed Jan 25 18:23:46 1995  Stu Grossman  ([email protected])
934
935         * gdbtk.c (gdbtk_init):  Prevent segfault when gdbtk.tcl can't be
936         found.
937         * gdbtk.tcl:  Initialize expr_update_list() to prevent errors when
938         popping up expression window for the first time.
939 end-sanitize-gdbtk
940
941 Wed Jan 25 18:13:14 1995  Per Bothner  <[email protected]>
942
943         * eval.c (evaluate_subexp case OP_ARRAY):  Fix calls to memset:
944         TYPE_LENGTH is length in bytes, not bits.
945
946 Wed Jan 25 08:19:35 1995  Jim Kingdon  ([email protected])
947
948         * infrun.c (proceed): Flush stdout before resuming inferior.
949         * infcmd.c (step_1), annotate.c (annotate_starting):
950         Don't bother to flush here.
951
952 Wed Jan 25 01:11:21 1995  Jeff Law  ([email protected])
953
954         * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
955         by an ill-advised global search and replace.
956
957 Tue Jan 24 12:10:28 1995  Stu Grossman  ([email protected])
958
959         * gdbtk.tcl (create_registers_window):  Work around a radiobutton
960         widget bug to make Options|Natural button work.
961
962         * gdbtk.c (gdb_disassemble):  Fix problem with source+assembly and
963         g++ caused by out-of-order pc's.
964         * gdbtk.tcl (files_command):  Remove duplicate file names.  Also,
965         add scrollbar.
966
967 Mon Jan 23 17:21:09 1995  Stu Grossman  ([email protected])
968
969         * gdbtk.tcl:  Take .gdbtkinit if it exists.  Makes gdbtk match the
970         doc!
971
972 Mon Jan 23 13:11:46 1995  Per Bothner  <[email protected]>
973
974         Add support for Chill bitstring literals (e.h. H'FF00').
975         * ch-exp.y (match_bitstring_literal):  Fix for proper endianness.
976         * expprint.c (print_subexp):  Don't call error on OP_BITSTRING,
977         just print B'<unimlemented>'.
978         * gdbtypes.c (create_set_type):  Fix bug in length calculation.
979         * valops.c, value.h (value_bitstring):  New function.
980         * eval.c (evaluate_subexp):  Implement support for OP_BITSTRING.
981
982         * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
983         check that return type is non-void, and print in proper Chill syntax.
984
985 Mon Jan 23 12:20:34 1995  Rob Savoye  <[email protected]>
986
987         * Makefile.in: Remove references to remote-mon.c.
988         * remote-mon.c: remove. Replaced by rom68k-rom.c.
989         * rom68k-rom.c: Support for Rom68k monitor.
990
991 Mon Jan 23 10:50:57 1995  Jim Kingdon  ([email protected])
992
993         * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
994         gcc/ch/runtime not chillrt, since that is where the chill runtime
995         lives now.
996
997 Mon Jan 23 00:06:57 1995  Steve Chamberlain  <sac@splat>
998
999         * remote-hms.c (hms_load): Delete.
1000         (target_ops): Use hr_load_image.
1001
1002         * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
1003         Define memory_insert/remove_breakpoint.
1004         * xm-go32.h: Remove redundant SIGs.
1005         
1006 Thu Jan 19 20:26:58 1995  Steve Chamberlain  <sac@splat>
1007
1008         * ser-go32.c: Rewritten by [email protected].
1009
1010 Fri Jan 20 15:23:55 1995  Per Bothner  <[email protected]>
1011
1012         * expression.h (OP_LABELED):  New operator, for Chill
1013         labeled structre tuples.
1014         * ch-exp.y (tuple_element, named_record_element, tuple_elements):
1015         New non-terminals, to handle labeled structure tuples.
1016         (tuple):  Re-define using tuple_elements.
1017         * eval.c (evaluate_labeled_field_init):  New function, to handle
1018         initialization of structure fields, possibly using OP_LABELED.
1019         (evaluate_subexp):  Use it.
1020         * expprint.c (print_subexp case):  For OP_ARRAY, use Chill syntax
1021         for Chill.  Handled OP_LABELED.
1022         * parse.c (length_of_subexp, prefixify_subexp):  Handle OP_LABELED.
1023
1024         * eval.c (evaluate_subexp):  Handle Chill Powerset tuples.
1025         * valarith.c (value_bit_index):  Just treat bitstring as represented
1026         by an array of bytes.  Alignment is handled by compiler. 
1027
1028 Wed Jan 18 19:00:29 1995  Stan Shebs  <[email protected]>
1029
1030         * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
1031         * sh-tdep.c (gdb_print_insn_sh): Ditto.
1032
1033 Wed Jan 18 11:25:43 1995  Kung Hsu  <[email protected]>
1034
1035         * remote-os9k.c (rombug_open): Fix a bug in exception handling
1036         command.
1037         * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
1038         write.
1039
1040 Tue Jan 17 09:48:38 1995  Jim Kingdon  <[email protected]>
1041
1042         * parse.c (_initialize_parse): Improve wording of names of
1043         msym_*_symbol_type.
1044
1045 Tue Jan 17 14:00:58 1995  Ian Lance Taylor  <[email protected]>
1046
1047         * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
1048         (mips_fpu): Change type to enum mips_fpu_type.
1049         (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
1050         * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
1051         Don't initialize.
1052         (mips_fpu_string): New static variable.
1053         (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
1054         (mips_pop_frame): Likewise.
1055         (mips_extract_return_value): Likewise.
1056         (mips_store_return_value): Likewise.
1057         (mips_set_fpu_command): New static function.
1058         (mips_show_fpu_command): New static function.
1059         (_initialize_mips_tdep): Change handling of set/show mipsfpu.
1060
1061 Tue Jan 17 09:48:38 1995  Jim Kingdon  <[email protected]>
1062
1063         * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
1064
1065         * parse.c (write_exp_msymbol): Use new variables
1066         msym_*_symbol_type as type of msymbol expression.
1067         (_initialize_parse): Initialize them.
1068
1069 Mon Jan 16 18:11:03 1995  Stan Shebs  <[email protected]>
1070
1071         General cleanup and simplication of disassembler interface.
1072         * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
1073         hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
1074         m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
1075         rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
1076         * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
1077         had been -pinsn.c files.
1078         * Makefile.in (ALLDEPFILES): Remove removed files.
1079         (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
1080         hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
1081         m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
1082         rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
1083         Remove compile actions.
1084         * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
1085         vax-tdep.o: Add compile actions.
1086         * defs.h (tm_print_insn): New global.
1087         * a29k-tdep.c (gdb_print_insn_a29k): New function.
1088         (_initialize_a29k_tdep): Rename from _initialize_29k,
1089         set tm_print_insn.
1090         * alpha-tdep.c (print_insn): Remove.
1091         (_initialize_alpha_tdep): Set tm_print_insn.
1092         * arm-tdep.c (arm_print_insn): New function, was print_insn
1093         in arm-pinsn.c.
1094         * convex-tdep.c (convex_print_insn): New function, was print_insn
1095         in convex-pinsn.c.
1096         * h8300-tdep.c (print_insn): Remove.
1097         (gdb_print_insn_h8300): New function.
1098         (_initialize_h8300_tdep): New function.
1099         * h8500-tdep.c (print_insn): Remove.
1100         (_initialize_h8500_tdep): New function.
1101         * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
1102         * i386-tdep.c (_initialize_i386_tdep): New function.
1103         * i960-tdep.c (mem, next_insn): New functions, were in
1104         i960-pinsn.c.
1105         (_initialize_i960_tdep): Set tm_print_insn.
1106         * m68k-tdep.c (_initialize_m68k_tdep): New function.
1107         * m88k-tdep.c (_initialize_m88k_tdep): New function.
1108         * mips-tdep.c (gdb_print_insn_mips): New function.
1109         (_initialize_mips_tdep): Set tm_print_insn.
1110         * pyr-tdep.c (pyr_print_insn): New function, was print_insn
1111         in pyr-pinsn.c.
1112         * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
1113         * sh-tdep.c (print_insn): Remove.
1114         (gdb_print_insn_sh): New function.
1115         (_initialize_sh_tdep): Set tm_print_insn.
1116         * sparc-tdep.c (_initialize_sparc_tdep): New function.
1117         * w65-tdep.c (print_insn): Remove.
1118         (_initialize_w65_tdep): New function.
1119         * z8k-tdep.c (print_insn): Remove.
1120         (gdb_print_insn_z8k): New function.
1121         (_initialize_z8k_tdep): Set tm_print_insn.
1122         * printcmd.c (print_insn): New function, generic disassembler.
1123         * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
1124
1125 Mon Jan 16 15:43:29 1995  Kung Hsu  <[email protected]>
1126
1127         * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
1128         and config/a29k/vx29k.mt.
1129         * configure.in: add new configuration a29k-*-vxworks.
1130         * remote-vx29k.c: new file merged from WRS.
1131         * remote-vx.c: merge changes from WRS.
1132         * config/a29k/vx29k.mt: new file for new configuration.
1133         * config/a29k/tm-vx29k.h: new header file for newconfiguration.
1134
1135 Sun Jan 15 14:36:19 1995  Steve Chamberlain  <sac@splat>
1136
1137         * breakpoint.h (disable_breakpoint, enable_breakpoint):
1138         New declarations.
1139         (enum bpdisp): Change name of 'delete' member to 'del'.
1140         (struct bpstat): Changed name to 'bpstats'.
1141         * breakpoint.c (disable_breakpoint, enable_breakpoint,
1142         breakpoint_chain): Made globally visible.
1143         (bpstat_stop_status): Use new name for bpstat.
1144         (break_command_1, watch_command_1, catch_command_1,
1145         breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
1146         instead of 'delete'.
1147         (set_breakpoint_sal): New function.
1148         * defs.h (registers_changed_hook): New declaration.
1149         * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
1150         * inflow.c (new_tty): Treat WIN32 in same way as __GO32__       
1151         * main.c (main): Don't scan options when in WIN32 and exit
1152         without entering main loop.
1153         * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
1154         * symtab.h (struct symbol, struct partial_symbol): Changed name of
1155         member 'class' to 'aclass'. 
1156         (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
1157         * top.c (registers_changed_hook): New definition.
1158         * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
1159         in same way as __GO32__.
1160         * value.h (c_typedef_print): Rename 'new' argument.
1161
1162         * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
1163         * configure.in: Suppprt for w65,
1164
1165
1166 Sat Jan 14 11:18:11 1995  Jim Kingdon  <[email protected]>
1167
1168         * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
1169         not stop_pc, to proceed.
1170
1171         * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
1172
1173 Fri Jan 13 17:52:57 1995  Jim Kingdon  <[email protected]>
1174
1175         * infcmd.c (signal_command): Accept "signal 0"; the change to not
1176         accept it was accidental.  "handle 0" and "info signal 0" remain
1177         illegal, though.
1178
1179 Fri Jan 13 15:19:01 1995  Stan Shebs  <[email protected]>
1180
1181         * Makefile.in (all): Don't make libgdb-files.
1182         (libgdb): New action, makes libgdb-files.
1183
1184 Thu Jan 12 21:23:25 1995  Per Bothner  <[email protected]>
1185
1186         * stabsread.c (read_enum_type):  When pending enum symbols are
1187         put into the enum type, they must be inserted in "backwards
1188         order, in case we've overflowed a struct pending buffer.
1189
1190 start-sanitize-gdbtk
1191 Thu Jan 12 15:02:40 1995  Stu Grossman  ([email protected])
1192
1193         * gdbtk.c, gdbtk.tcl:  Update/add copyright.
1194         * gdbtk.tcl (build_framework):  Several fixes for filespec widget,
1195         including dismiss button, and better error handling.
1196         * (create_command_win):  Bind button 2 to retrieve selection.
1197 end-sanitize-gdbtk
1198
1199 Thu Jan 12 09:33:24 1995  Peter Schauer  ([email protected])
1200
1201         * README:  Add note about SPARCworks cc release 3.0 and higher.
1202
1203         Add procfs support for Alpha OSF/1-2.x.
1204         * config/alpha/nm-osf.h:  Renamed from nm-alpha.h, generic
1205         OSF/1 native support.
1206         * config/alpha/alpha-osf1.mh (NAT_FILE):  Changed accordingly.
1207         (MUNCH_DEFINE):  Removed.
1208         * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h:  New files
1209         for procfs support.
1210         * configure.in (alpha-dec-osf*):  Use alpha-osf2.mh for OSF/1
1211         release 2.x and higher, else alpha-osf1.mh, as the procfs support
1212         in release 1.x is incomplete.
1213         * Makefile.in (ALLCONFIG):  Add config/alpha/alpha-osf2.mh.
1214         * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
1215         fill_fpgregset):  New routines for procfs support.
1216         * inftarg.c (_initialize_inftarg):  Don't add ptrace support
1217         if we have an optional procfs and /proc is accessible.
1218         * procfs.c:  Include sys/fault.h and sys/syscall.h before
1219         including sys/procfs.h.
1220         (unconditionally_kill_inferior):  If PROCFS_NEED_PIOCSSIG_FOR_KILL
1221         is defined, additionally perform a PIOCSSIG to really terminate
1222         the inferior.
1223         (create_procinfo):  Always return a result.
1224         (create_procinfo, do_attach):  Don't trace T_IFAULT faults if
1225         PROCFS_DONT_TRACE_IFAULT is defined.
1226         (procfs_init_inferior):  Use START_INFERIOR_TRAPS_EXPECTED as
1227         argument to startup_inferior if it is defined.
1228         (proc_set_exec_trap):  If PIOCSSPCACT is defined, use it instead
1229         of tracing exits from exec system calls. Needed for the user level
1230         loader under Alpha OSF/1.
1231         (do_detach):  Clear any pending signal if we want to detach from
1232         a process without a signal.
1233         (set_proc_siginfo):  If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
1234         don't issue a PIOCSSIG if pr_cursig already contains the signal we
1235         intend to set.
1236         (info_proc_signals):  If PROCFS_SIGPEND_OFFSET is defined, the
1237         pending signals are numbered from 1 instead of 0.
1238         (info_proc_mappings):  Increase size of output format for addresses
1239         if BFD_HOST_64_BIT is defined.
1240         (procfs_stop):  Renamed from child_stop.
1241         (_initialize_procfs):  Don't add procfs support if we have an
1242         optional procfs and /proc is not accessible.
1243
1244 start-sanitize-gdbtk
1245 Wed Jan 11 17:06:55 1995  Stu Grossman  ([email protected])
1246
1247         * gdbtk.tcl:  Add button to control mixed source disassembly.
1248         Use text widgets in expr window.  The give me more control over
1249         layout.
1250         Add auto-updating of exprs in expression window.
1251         Handle expressions out of scope a bit better.
1252         Make selected window pop up to the top when invoked via the
1253         menubar.
1254         Make copyright message have raised relief.
1255
1256         * gdbtk.c (gdbtk_init):  Improve handling for errors in gdbtk.tcl
1257         during startup.
1258 end-sanitize-gdbtk
1259
1260 Wed Jan 11 17:53:26 1995  Rob Savoye  <[email protected]>
1261
1262         * array-rom.c: Add support for most commands.
1263         
1264         * monitor.c: Add GDB remote protocol for the hybrid environment on
1265         the Array board. 
1266
1267 Wed Jan 11 00:44:01 1995  Jeff Law  ([email protected])
1268
1269         * command.c (show_user_1): Use print_command_line to show a user
1270         defined command (including control structures).
1271
1272         * top.c (init_main): Change documentation for user defined
1273         commands to indicate they may accept up to ten arguments.
1274
1275 Tue Jan 10 16:22:41 1995  Jim Kingdon  <[email protected]>
1276
1277         * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
1278         `move $s8, $sp' instruction.
1279
1280 Sun Jan  8 12:45:34 1995  Jim Kingdon  <[email protected]>
1281
1282         * target.c, target.h (target_signal_from_command): New function.
1283         * infrun.c (handle_command, signals_info), infcmd.c
1284         (signal_command): Use it.
1285         * infrun.c, infcmd.c: Update docstrings for these commands.
1286
1287         * target.h (enum target_signal), target.c (signals), target.c
1288         (target_signal_from_host, target_signal_to_host): Add
1289         TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
1290         * config/tm-lynx.h: Define signal numbers for realtime events.
1291
1292 Sat Jan  7 07:23:53 1995  Peter Schauer  ([email protected])
1293
1294         * dbxread.c (process_one_symbol):  Handle N_FUN symbols
1295         for Sun acc 3.0 under SunOS4.
1296
1297         Changes to improve handling of runtime common symbols
1298         under SunOS4.
1299         * minsyms.c (get_symbol_leading_char):  New routine to determine
1300         the leading symbol character for an objfile.
1301         (prim_record_minimal_symbol_and_info, install_minimal_symbols):
1302         Use it.
1303         * objfiles.h (rt_common_objfile):  New global, points to objfile
1304         containing the runtime common minimal symbols.
1305         * objfiles.c (free_objfile):  Mark rt_common_objfile as
1306         unallocated before freeing it.
1307         * solib.c (allocate_rt_common_objfile):  New routine to allocate
1308         an objfile for the runtime common minimal symbols.
1309         (solib_add_common_symbols):  Allocate an objfile for the runtime
1310         common symbols if necessary and put common symbols into it.
1311         Clean up code and comments.
1312         (solib_add, special_symbol_handling):  Cleanup comments regarding
1313         runtime common symbols.
1314         * stabsread.c (scan_file_globals_1):  New routine, contains
1315         old scan_file_globals code. Checks if there are any unresolved
1316         global symbols before starting the expensive minimal symbol table
1317         search.
1318         (scan_file_globals):  Now calls scan_file_globals_1 for the passed
1319         objfile and eventually for the runtime common objfile. Complains
1320         about any unresolved global symbols and removes them from the
1321         global symbol chain to avoid dangling pointers into the symbol
1322         table if the symbol table is reread.
1323
1324 Thu Jan  5 17:38:29 1995  Stu Grossman  ([email protected])
1325
1326         * Makefile.in (install_only uninstall):  Indent for clarity.
1327
1328         * core.c (dis_asm_read_memory):  Add call to
1329         dis_asm_read_memory_hook to provide alternate way for disassembler
1330         to read memory.
1331
1332         * defs.h:  Protect from multiple inclusion.  Add decl for
1333         dis_asm_read_memory_hook.
1334
1335         * top.c:  Make window startup be the default.
1336         * Add dis_asm_read_memory_hook.
1337
1338 start-sanitize-gdbtk
1339         * gdbtk.c (finish_saving_output):  Don't do anything if not saving
1340         output.
1341         * (breakpoint_notify):  Don't send null filename to tcl.
1342         * (gdb_eval):  New tcl command to eval an expression.
1343         * (gdb_disassemble):  New tcl command to do disassembly.  This
1344         allows tcl code to choose between exec file and target memeory,
1345         and can also do mixed source and assembly.
1346         * (gdbtk_init):  Move reading of gdbtk.tcl to the end to make sure
1347         that more of the environment is set up.  Also, create link between
1348         gdb and tcl vars disassemble{-_}from{-_}exec.
1349
1350         * gdbtk.tcl:  New expression window support.
1351         * Make assembly window be 80 columns wide.
1352         * Use new disassembly method.  Add menu items to select
1353         disassembly from exec file or target.
1354         * Change View menubar item to Options.
1355
1356         * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
1357         since they don't exist yet.
1358
1359         * Pop up a copyright window on startup.
1360 end-sanitize-gdbtk
1361
1362 Thu Jan  5 01:16:40 1995  Jeff Law  ([email protected])
1363
1364         * stabsread.c (define_symbol): Handle `a' symbol type used for
1365         reference parameter passed in a register.
1366
1367 start-sanitize-gdbtk
1368 Wed Jan  4 19:49:10 1995  Stan Shebs  <[email protected]>
1369
1370         * gdbtk.tcl (build_framework): Add standard commands menu, more
1371         windows to standard windows menu.
1372         (not_implemented_yet): Clarify message.
1373 end-sanitize-gdbtk
1374
1375 Wed Jan  4 12:27:29 1995  Kung Hsu  <[email protected]>
1376
1377         * defs.h: move include tm.h up, so that the type LONGEST can
1378         also based on the target requirement to determine. In this case
1379         target mips64.
1380
1381         * remote-os9k.c (rombug_open): catch exception e in rombug.
1382         * remote-os9k.c (rombug_wait): print message before register display
1383         from rombug.
1384
1385 Wed Jan  4 09:18:27 1995  Jim Kingdon  ([email protected])
1386
1387         * top.c (locate_arg): Call strchr not index.
1388
1389 Tue Jan  3 16:52:03 1995  Per Bothner  <[email protected]>
1390
1391         * ch-exp.y (literal):  Recognize NULL.
1392         (tuple):  Parse simple unlabelled tuples.
1393         * eval.c (evaluate_subexp case OP_ARRAY):  Use expect_type to
1394         evaluate brace-initializer-expressions depending on context.
1395         (evaluate_subexp case UNOP_CAST):  Pass the target type as
1396         expected type when evaluating the expression.
1397
1398         * ch-typeprint.c (chill_type_print_base):  Get names of PTR and
1399         BOOL from TYPE_NAME.
1400         * ch-valprint.c (chill_print_type_scalar):  New function, to handle
1401         TYPE_CODE_RANGE better than print_type_scalar does.
1402         (chill_val_print_array_elements):  Use above new function.
1403
1404 Mon Jan  2 15:02:51 1995  Stan Shebs  <[email protected]>
1405
1406         * remote-udi.c (udi_load): Tell symbol_file_add that the
1407         program being loaded is the main program.
1408
1409 For older changes see ChangeLog-94
1410 \f
1411 Local Variables:
1412 mode: indented-text
1413 left-margin: 8
1414 fill-column: 74
1415 version-control: never
1416 End:
This page took 0.096486 seconds and 2 git commands to generate.