]> Git Repo - binutils.git/blob - gdb/ChangeLog
78f8b259f77e918ecbb2232dd4c7c9fb674ca180
[binutils.git] / gdb / ChangeLog
1 Sat Nov  2 03:54:13 1996  Peter Schauer  ([email protected])
2
3         * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub):  Handle
4         missing or zero-sized .text sections properly.
5         * mdebugread.c:  Handle scRConst and scSUndefined storage classes.
6         * stabsread.c (scan_file_globals):  Try to resolve symbols
7         for shared libraries from the minimal symbol table of the main
8         executable first.
9
10 start-sanitize-d10v
11 Fri Nov  1 13:59:28 1996  Martin M. Hunt  <[email protected]>
12
13         * d10v-tdep.c, config/d10v/tm-d10v.h:  Major fixes to support
14         inferior function calls and proper stack backtracing on D10V-EVA
15         board.
16
17 end-sanitize-d10v
18 Fri Nov  1 10:50:51 1996  Michael Meissner  <[email protected]>
19
20         * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it
21         links.
22         (GDBSERVER_DEPFILES,TERMCAP): Ditto.
23
24         * monitor.c (dev_name,targ_ops): Move static variables before
25         first use, to avoid compiler warnings.
26
27 start-sanitize-m32r
28 Thu Oct 31 16:37:17 1996  Michael Snyder  <[email protected]>
29
30         * m32r-tdep.c: Improved frame_chain and fn prologue analysis.
31         * configure.tgt: Add entry for m32r target.
32         * monitor.h:   Add a flag to tell monitor_store_register to use
33                         (val, regno) instead of (regno, val).
34         * monitor.c:   Make monitor_store_register honor the above flag.
35                         Make monitor_exp ignore DC1/DC3 for m32r.
36                         Increase buf size in monitor_dump_regs.
37
38 Wed Oct 30 18:14:14 1996  Michael Snyder  <[email protected]>
39
40         * m32r-tdep.c, m32r-rom.c: New files.
41         * config/m32r/m32r.mt: New file.
42         * config/m32r/tm-m32r.h: New file.
43 end-sanitize-m32r
44
45 Tue Oct 29 16:56:01 1996  Geoffrey Noer  <[email protected]>
46
47         * config/i386/xm-cygwin32.h:
48         * config/powerpc/xm-cygwin32.h:
49         add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly
50         truncated.
51
52 Tue Oct 29 18:36:43 1996  Michael Meissner  <[email protected]>
53
54         * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE):
55         Define.
56
57 Tue Oct 29 14:59:20 1996  Stan Shebs  <[email protected]>
58
59         * TODO: Add item suggesting an "info bfd" command.
60
61 start-sanitize-d10v
62 Tue Oct 29 12:48:04 1996  Martin M. Hunt  <[email protected]>
63
64         * d10v-tdep.c: Snapshot that supports D10V-EVA board.
65         
66         * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
67         (TARGET_READ_FP,TARGET_WRITE_FP): Define. 
68         
69 end-sanitize-d10v
70 Mon Oct 28 17:34:24 1996  Stu Grossman  ([email protected])
71
72         * mswin/genmakes mswin/recordit:  New scripts to generate make
73         files for MSVC.
74
75 Sun Oct 27 20:18:04 1996  Mark Alexander  <[email protected]>
76
77         * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
78         New files.
79         * configure.tgt: Modify cases for vr5000 to use new files.
80
81 Sat Oct 26 07:15:14 1996  Peter Schauer  ([email protected])
82
83         * config/alpha/alpha-osf3.mh (XM_CLIBS):  Add -lm for OSF/1-4.0.
84
85         * procfs.c (proc_set_exec_trap):  Under Alpha OSF/1-4.0, tracing
86         the entry to the exit system call to detect termination of the
87         inferior stopped working. Trace termination of the inferior via
88         PRFS_STOPTERM instead.
89         (procfs_init_inferior):  Do not trace entry to exit system call
90         if PIOCSSPCACT is defined.
91         (procfs_wait):  Handle PR_DEAD event, which signals the termination
92         of the inferior if PRFS_STOPTERM is set.
93
94         * mdebugread.c (parse_partial_symbols):  Ignore stNil section
95         start address symbols.
96
97         * sparc-tdep.c (get_saved_register):  Get saved PC from the
98         frame info if not in innermost frame.
99
100 Thu Oct 24 10:51:45 1996  Mark Alexander  <[email protected]>
101
102         * dbxread.c (process_one_symbol): Interpret end-of-function
103         markers correctly; this fixes problem on Vr5000 where all
104         functions in a module had the same address.
105         * configure.in, configure.tgt, configure.host, gdbserver/configure.in:
106         Correct for pc-linux-gnu problem in config.guess.
107         * configure: Regenerate.
108
109 Thu Oct 24 10:06:58 1996  Stu Grossman  ([email protected])
110
111         * dbxread.c:  Don't swap symbols in place, since internal and
112         external forms may have different sizes.  Don't assume that an
113         internal_nlist has the same layout as an external_nlist.  Create
114         symbol for n_strx element so to hide specifics of nlist from
115         partial-stab.h. 
116         * partial-stab.h:  Don't reference dbxread symbols directly.  Use
117         CUR_SYMBOL_STRX instead.
118         * config/i386/xm-windows.h:  Define SIGQUIT and SIGTRAP.
119
120 start-sanitize-v850
121         * config/v850/tm-v850.h:  Define PS_REGNUM and TARGET_V850 for
122         MSVC builds.
123         * mswin/gdbwin.c (reg_order):  Define register order for V850.
124         * mswin/gui.cpp (CGuiApp::InitInstance):  Define target name for
125         V850.
126         * mswin/regdoc.h:  Define MAXREGS for V850.
127 end-sanitize-v850
128 start-sanitize-v850
129 Tue Oct 22 16:28:20 1996  Stu Grossman  ([email protected])
130
131         * v850-tdep.c (scan_prologue):  Changes to deal with scheduled
132         prologues correctly.  First, prologue end is now defined by
133         presence of a branch, jump or call insn.  Second, can no longer
134         fix frame offsets because we may not know the offset until after a
135         register has been saved.
136         * (v850_init_extra_frame_info):  Fixup frame offsets here because
137         we have all the info at this time.
138         * (v850_frame_chain):  Use new calling convention for scan_prologue.
139
140 end-sanitize-v850
141 start-sanitize-d10v
142 Tue Oct 22 10:25:29 1996  Martin M. Hunt  <[email protected]>
143
144         * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
145         backtraces and inferior function calls.
146
147 end-sanitize-d10v       
148 Tue Oct 22 10:32:46 1996  Stan Shebs  <[email protected]>
149
150         * mpw-make.sed: Update init.c editing to work with Oct 8 change.
151         (@HLDFLAGS@): Always edit out.
152
153 Mon Oct 21 18:17:08 1996  Mark Alexander  <[email protected]>
154
155         * mdebugread.c (parse_partial_symbols): Fix 64-bit
156         sign-extension problems in calculating psymtab addresses.
157         * buildsym.c (end_symtab): Use macro to pop context.
158
159 start-sanitize-v850
160 Mon Oct 21 14:40:50 1996  Stu Grossman  ([email protected])
161
162         * v850-tdep.c:  Cleanup lots of things.  Add many comments.
163
164         * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain):  Fix
165         sign bugs with scanning prologues.  Get a little smarter about
166         calculating the length of uninteresting instructions.
167
168 end-sanitize-v850
169 Mon Oct 21 14:01:38 1996  Michael Snyder  <[email protected]>
170
171         * top.c: Add new commands "set annotate" and "show annotate".
172         
173 Sun Oct 20 04:38:39 1996  Peter Schauer  ([email protected])
174
175         * corelow.c (core_close):  Clear inferior_pid only if there is
176         an open core_bfd.
177
178         * cp-valprint.c (cp_print_value_fields):  Pass correct address
179         to val_print, not 0.
180
181         From Andreas Schwab ([email protected]):
182         * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
183         typedefs before checking for integral type of right operand.
184
185 Fri Oct 18 17:26:22 1996  Mark Alexander  <[email protected]>
186
187         * mdebugread.c (parse_symbol): Fix crash when malloc has
188         no type info and void type has no associated pointer type.
189
190 Thu Oct 17 18:18:20 1996  Stan Shebs  <[email protected]>
191
192         * configure.host: New file, host configuration mapping.
193         * configure.tgt: New file, target configuration mapping.
194         * configure.in: Remove host and target mapping.
195         * configure: Rebuild.
196
197 Wed Oct 16 17:46:03 1996  Stan Shebs  <[email protected]>
198
199         * breakpoint.c (must_shift_inst_regs): New global.
200         (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
201         equivalent expression uses.
202         * infrun.c (wait_for_inferior): Ditto.
203
204 start-sanitize-v850
205 Wed Oct 16 01:53:43 1996  Stu Grossman  ([email protected])
206
207         * v850-tdep.c (v850_push_arguments):  Use symbolic names for arg
208         registers.
209         * config/v850/tm-v850.h:  Change FP to 29.  Define arg regs.
210
211 end-sanitize-v850
212 Tue Oct 15 16:30:07 1996  Stu Grossman  ([email protected])
213
214         * Makefile.in (init.c):  Don't use -s option with grep.  It means
215         something different under Digital Unix.
216
217         * buildsym.c (finish_block):  Treat LOC_BASEREG_ARG and
218         LOC_LOCAL_ARG as arguments so that GDB will know about function
219         args declared this way.  Mostly affects dwarf.
220         * dwarfread.c (decode_die_type):  Change default type from int to
221         void.  This allows GDB to recognize void functions.
222         * (new_symbol):  If AT_PROTOTYPED is present, set a flag in the
223         type structure.
224         * findvar.c (extract_floating store_floating):  Clean up comments
225         to reflect reality.
226         * gdbtypes.h:  Add TYPE_FLAG_PROTOTYPED so that we can tell if a
227         function has a prototype.  Currently, only dwarf supports this.
228         * utils.c (floatformat_from_doublest):  Fix logic error with
229         converting from double to float.  (It wasn't shifting mant_long if
230         it had a hidden bit.)
231
232 start-sanitize-v850
233         * v850-tdep.c:  Add support for function calling.  Fix some
234         problems with debugging code w/o debug symbols.
235         * config/v850/tm-v850.h:  Ditto.
236
237 end-sanitize-v850
238 Tue Oct 15 18:19:42 1996  Ian Lance Taylor  <[email protected]>
239
240         * utils.c: Always ensure that size_t is defined.  Check
241         HAVE_STDDEF_H rather than __STDC__
242         (xmalloc, xrealloc): Use size_t rather than long.
243
244 Tue Oct 15 14:24:19 1996  Martin M. Hunt  <[email protected]>
245
246         * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
247         can use single-step commands.
248
249 Sun Oct 13 11:38:25 1996  Peter Schauer  ([email protected])
250
251         * stabsread.c (define_symbol):  If REG_STRUCT_HAS_ADDR is non-zero,
252         follow typedefs before checking TYPE_CODE for structures and unions.
253
254 Fri Oct 11 15:43:54 1996  Stu Grossman  ([email protected])
255
256         * frame.h:  Move definition of struct frame_saved_regs to before
257         struct frame to make it possible to use frame_saved_regs in
258         EXTRA_FRAME_INFO macro.
259
260 start-sanitize-v850
261         * v850-tdep.c config/v850/tm-v850.h:  Lotsa new functions and
262         macros to make frame operations (such as backtrace) work.
263
264 end-sanitize-v850
265 Fri Oct 11 14:23:50 1996  Fred Fish  <[email protected]>
266
267         * dbxread.c (process_one_symbol): Check for null string directly
268         rather than using strcmp against "".
269         * partial-stab.h: Ditto.
270
271 Fri Oct 11 12:18:32 1996  Mark Alexander  <[email protected]>
272
273         * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
274         Make it compile on Linux and eliminate some warnings.
275
276 Thu Oct 10 16:32:08 1996  Stu Grossman  ([email protected])
277
278         * Makefile.in (init.c):  Fixup final sed script to work around
279         Linux bug with `p' operator.
280
281 Wed Oct  9 18:02:48 1996  Stan Shebs  <[email protected]>
282
283         * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
284         VR4300 target.
285         (ddb_ops, pmon_ops): Fix the documentation strings.
286
287 Wed Oct  9 07:42:44 1996  Stu Grossman  ([email protected])
288
289         * Makefile.in (init.c):  Retro HPUX grep lacks -h option.  Strip
290         filenames with sed instead.
291
292 Tue Oct  8 15:59:44 1996  Stu Grossman  ([email protected])
293
294         * defs.h:  Remove decls of xmalloc and xrealloc.  There is a
295         conflicting definition in libiberty.h.
296
297 Tue Oct  8 11:47:13 1996  Fred Fish  <[email protected]>
298
299         * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
300         than poking global variable (which is now static).
301         * hpread.c (hpread_build_psymtabs): Ditto.
302         * os9kread.c (os9k_symfile_read): Ditto.
303         * xcoffread.c (xcoff_initial_scan): Ditto.
304
305         * buildsym.h (free_pending_blocks): Declare here.
306         (pending_blocks): Remove declaration of global symbol.
307         (free_pendings): Remove declaration of global symbol.
308         (make_blockvector): Declare here.
309         (record_pending_block): Declare here.
310         
311         * dstread.c (make_blockvector): Remove static copy that was old
312         clone of version in buildsym.c.
313         (process_dst_block): Call record_pending_block rather than doing
314         it by hand.
315         (read_dst_symtab): Ditto.
316
317         * buildsym.c (make_blockvector): Make global rather than static,
318         (record_pending_block): New function, code moved from finish_block.
319         (finish_block): Use record_pending_block.
320         (free_pending_blocks): New function.
321         (really_free_pendings): Call free_pending_blocks.
322         (pending_blocks): Make static instead of global.
323         (free_pendings): Make static instead of global.
324         
325 Tue Oct  8 09:03:22 1996  Stu Grossman  ([email protected])
326
327         * config/i386/windows.mh config/i386/xm-windows.h::  New config
328         files to support building Wingdb (built under Microsoft build
329         environment).
330
331         * Makefile.in:  Add rule for hpux-thread.o (needs special header
332         files).
333         * (SUBDIRS):  Remove mswin.
334         * Change procedure for creating init.c.  Speeds things up quite a
335         bit.
336         * config.in configure configure.in:  Check for select, poll.
337         * Check for OSF header files before including hpux-thread.o.
338         * Don't configure doc or testsuite when building under MSVC.
339         * findvar.c value.h (read_register_pid write_register_pid):  Make
340         global.  Needed for hppa-tdep.c.
341         * (supply_register):  Don't set pid to inferior_pid when supplying
342         registers.
343         * hppa-tdep.c (saved_pc_after_call):  frame_saved_pc ->
344         FRAME_SAVED_PC.
345         * (frame_saved_pc):  Change name to hppa_frame_saved_pc.
346         * (hppa_pop_frame):  Don't use a pid of 0 with target_write_pc.
347         Use write_pc instead, which uses the correct pid.
348         * (target_read_pc target_write_pc):  Use read/write_register_pid
349         instead of read/write_register to preserve the pid passed in.
350         * inftarg.c (child_can_run):  Add flag child_suppress_run to allow
351         hpux-threads.c to override this as a runnable target.
352         * config/pa/nm-hppah.h:  Define target_new_objfile and
353         target_pid_to_str.
354         * config/pa/tm-hppa.h (FRAME_SAVED_PC):  Use hppa_frame_saved_pc
355         instead of frame_saved_pc.
356         * config/m68k/tm-m68k.h:  Define TARGET_M68K for Wingdb.
357         * config/m68k/tm-monitor.h:  Use FRAME_CHAIN_VALID_ALTERNATE, since
358         we can't easily determine the start file bounds with ELF.
359         * config/mips/tm-mips.h:  Define TARGET_MIPS for Wingdb.
360         * hpux-thread.c:  New file for HPUX/OSF thread support.
361         * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
362         RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
363         cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
364         cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
365         cma_stack_int.h cma_tcb_defs.h cma_util.h}:  New files for OSF
366         thread support.
367
368 Sun Oct  6 15:48:09 1996  Fred Fish  <[email protected]>
369
370         * buildsym.c (finish_block): Change innerblock_anon_complaint to
371         print the addresses as part of the complaint.  Add a complaint for
372         cases where the block end address is smaller than the block start
373         address, in case any such conditions slip through our fixup mechanism.
374         * symmisc.c (dump_symtab): Only print blockvector for primary
375         symtabs, to avoid massive duplication of output due to secondary
376         symtabs that point to same blockvector.  Also do some minor 
377         formatting tweaks.
378
379 Mon Oct  7 10:42:32 1996  Per Bothner  <[email protected]>
380
381         Replace header_files global by per-objfile field.
382         * gdb-stabs.h (struct dbx_symfile_info):  Add fields header_files,
383         n_header_files, n_allocated_header_files.
384         * stabsread.h (header_files, n_header_files, n_allocated_header_files):
385         Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
386         N_ALLOCATED_HEADER_FILES.
387         * dbxread.c (dbx_symfile_finish):  Free HEADER_FILES.
388         (free_header_files, init_header-files):  Don't free/init headerfiles.
389         (various functions):  Use macros instead of header_files globals.
390         * stabsread.c (various functions):  Likewise.
391
392 Sun Oct  6 22:43:06 1996  Jason Merrill  <[email protected]>
393
394         * dwarf2read.c (read_tag_reference_type): New fn.
395         (read_type_die): Call it.
396         (dwarf_attr): Also look in the DIEs referred to by specification
397         or abstract_origin attributes.
398
399 Wed Oct  2 22:07:16 1996  Fred Fish  <[email protected]>
400
401         * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
402         SIGTRAMP_END.
403         * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): 
404         Define with dummy pc arg.
405         * config/m68k/tm-nbsd.h: Ditto.
406         * doc/gdbint.texinfo: Document that SIGTRAMP_START and
407         SIGTRAMP_END are macros that take an single argument.
408
409 Mon Sep 30 20:02:45 1996  Fred Fish  <[email protected]>
410
411         * defs.h: Remove define of PRIVATE_XMALLOC.
412
413 start-sanitize-v850
414 Mon Sep 30 15:39:28 1996  Stu Grossman  ([email protected])
415
416         * config/v850/tm-v850.h:  Use distinct register for PC, not EIPC.
417
418 end-sanitize-v850
419 Mon Sep 30 11:16:34 1996  Jeffrey A Law  ([email protected])
420
421         * top.c (execute_control_command):  Free values from while_control
422         and if_control conditions after evaluation to avoid storage leaks.
423         From Peter Schauer.
424  
425 start-sanitize-v850
426 Fri Sep 27 17:43:06 1996  Stu Grossman  ([email protected])
427
428         * configure configure.in:  Recognize v850 target.
429         * v850-tdep.c:  New file, NEC V850 target support.
430         * config/v850/{v850.mt tm-v850.h}:  New files for NEC V850 support.
431
432 end-sanitize-v850
433 Fri Sep 27 14:48:15 1996  Peter Schauer  ([email protected])
434
435         * infrun.c (wait_for_inferior):  Update current_line and
436         current_symtab when stepping continues in the middle of a new line.
437
438 Fri Sep 27 10:25:30 1996  Fred Fish  <[email protected]>
439
440         * top.c (print_gdb_version): Rewrote to comply with new GNU coding
441         standards for the --version option.
442         (print_gnu_advertisement): Remove, now part of print_gdb_version.
443         (show_version): Remove call to print_gnu_advertisement.
444         * top.h (print_gnu_advertisement): Remove prototype.
445         * main.c (print_gdb_help): Move help to static function and
446         add prototype.
447         (main): Call print_gdb_help rather than inlining it.
448         (main): Remove call to print_gnu_advertisement.
449 start-sanitize-gdbtk
450         * gdbtk.tcl (create_copyright_window): Increase timeout from
451         15 seconds to 30 seconds.
452 end-sanitize-gdbtk
453         
454 start-sanitize-d10v
455 Fri Sep 27 13:32:53 1996  Michael Meissner  <[email protected]>
456
457         * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
458         (TARGET_{,LONG_}DOUBLE_BIT): Ditto.
459
460 end-sanitize-d10v
461 Thu Sep 26 23:10:26 1996  Mark Alexander  <[email protected]>
462
463         * configure.in, config/i386/tm-linux.h: Fix configure
464         problem on older Linux systems that prevented core files
465         from being recognized.
466
467 Wed Sep 25 18:31:33 1996  Stan Shebs  <[email protected]>
468
469         * dbug-rom.c: New file, support for Motorola's dBUG monitor.
470         * config/m68k/monitor.mt (TDEPFILES): Add it.
471         * NEWS: Mention it.
472
473 start-sanitize-d10v
474 Mon Sep 23 16:13:50 1996  Martin M. Hunt  <[email protected]>
475
476         * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.  
477         Now single-steps correctly.
478         * d10v-tdep.c (d10v_pop_frame): Fixed.
479
480 end-sanitize-d10v       
481 Fri Sep 20 16:10:58 1996  Stan Shebs  <[email protected]>
482
483         * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
484         be consistent with GCC.
485         (FPUL_REGNUM, etc): Renumber to match list changes.
486         (ADDR_BITS_REMOVE): Delete.
487         * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
488         Rearrange to match REGISTER_NAMES.
489         * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
490
491 start-sanitize-d10v
492 Thu Sep 19 16:19:01 1996  Martin M. Hunt  <[email protected]>
493
494         * d10v-tdep.c:  Stack chain should work now. 
495
496 Tue Sep 17 18:46:57 1996  Martin M. Hunt  <[email protected]>
497
498         * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot. 
499
500 end-sanitize-d10v       
501 Tue Sep 17 12:20:50 1996  Ian Lance Taylor  <[email protected]>
502
503         * configure.in: Add cases for MIPS 5000 like MIPS 4300.
504         * configure: Rebuild.
505
506 Tue Sep 17 12:09:00 1996  Dawn Perchik <[email protected]>
507
508         * ser-e7kpc.c: Added wingdb support for target e7000pc.
509
510 Tue Sep 17 10:56:52 1996  James G. Smith  <[email protected]>
511
512         * remote-mips.c (pmon_wait): DDB PMON does not require forced
513         re-entry back into debug mode.
514
515 Mon Sep 16 14:32:58 1996  James G. Smith  <[email protected]>
516
517         * remote-mips.c (mips_load): Ensure that the PC is explicitly
518         loaded after a load to a DDB PMON system.
519         
520 Fri Sep 13 12:02:39 1996  Fred Fish  <[email protected]>
521
522         * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
523         (HLDENV): Set to @HLDENV@.
524         (gdb): Prefix link command line with $(HLDENV).
525         * configure.in: Add support to test for --enable-shared and
526         generate appropriate values for HLDFLAGS and HLDENV.
527         * configure: Regenerated with autoconf.
528
529 Sun Sep  8 15:26:27 1996  Fred Fish  <[email protected]>
530
531         * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
532         change for core_read_registers in struct core_fns.
533         * core-regset.c (fetch_core_registers): Ditto & add prototype.
534         * core-sol2.c (fetch_core_registers): Ditto & add prototype.
535         * i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
536         * i386b-nat.c (fetch_core_registers): Ditto.
537         * i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
538         * irix4-nat.c (fetch_core_registers): Ditto.
539         * irix5-nat.c (fetch_core_registers): Ditto.
540         * lynx-nat.c (fetch_core_registers): Ditto & add prototype.
541         * m68knbsd-nat.c (fetch_core_registers): Ditto.
542         * mips-nat.c (fetch_core_registers): Ditto & add prototype.
543         * rs6000-nat.c (fetch_core_registers): Ditto.
544         * sparc-nat.c (fetch_core_registers): Ditto.
545         * sun3-nat.c (fetch_core_registers): Ditto & add prototype.
546         * ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
547
548         * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
549         * delta68-nat.c (register_addr): Ditto.
550         * gdbserver/low-linux.c (register_addr): Ditto.
551         * gdbserver/low-hppabsd.c (register_addr): Ditto.
552         * i386m3-nat.c (register_addr): Ditto.
553         * mips-nat.c (register_addr): Ditto.
554         * ultra3-nat.c (register_addr): Ditto.
555
556 Sun Sep  8 15:14:00 1996  Stu Grossman  ([email protected])
557
558         * blockframe.c (inside_main_func):  Cleanup slightly.  Move
559         mainsym def into the block it's used in.
560         * configure.in configure:  Allow NATDEPFILES to be recognized in
561         .mh files regardless of whitespace.
562
563         * cpu32bug-rom.c (cpu32bug_cmds):  Change load_response string to
564         keep downloads from hanging.
565
566         * remote-wiggler.c:  Add support for flash upgrades.
567         * (wiggler_error):  Fix message format.  Add new error code.
568         * (wiggler_write_byets):  Error code is hex.  Report errors with
569         proper routine name.
570         * (wiggler_read_byets):  Report errors with proper routine name.
571         * (get_packet):  Add support for new flash commands.
572         * (wiggler_load):  Call clear_symtab_users() to reset things
573         properly after download.
574         * (flash_xfer_memory bdm_update_flash_command):  New funxtions to
575         support flash upgrades for Wiggler.
576         * (_initialize_remote_wiggler):  Add `bdm update-flash' command.
577
578 Fri Sep  6 13:14:13 1996  Geoffrey Noer  <[email protected]>
579
580         * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__
581
582 Thu Sep  5 17:05:13 1996  Geoffrey Noer  <[email protected]>
583
584         * config/i386/cygwin32.mh:
585         * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts
586
587 Thu Sep  5 12:09:13 1996  Per Bothner  <[email protected]>
588
589         * value.h (COERCE_REF):  Fix previous change.
590         (COERCE_ENUM):  Add a check_typedef  (this is the real fix).
591
592 Thu Sep  5 03:28:30 1996  Wilfried Moser (Alcatel)  <[email protected]>
593
594         * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
595         better check of array boundaries.
596
597 Thu Sep  5 01:29:42 1996  Stu Grossman  ([email protected])
598
599         * configure:  Update aclocal.m4 and re-run autoconf to get correct
600         defs for BFD stuff.
601         * remote-wiggler.c (wiggler_error):  Error codes are hex.  Also,
602         fix default message generation.
603
604 Wed Sep  4 17:28:40 1996  Stu Grossman  ([email protected])
605
606         * Makefile.in:  Add mswin to SUBDIRS.  Add rules for
607         mswin/libwingdb.a and remote-wiggler.o.
608         * breakpoint.c (breakpoint_here_p):  Clean up bp enabled test.
609         * (breakpoint_inserted_here_p):  New func, just like
610         breakpoint_here_p, except it's honest.  Honestly.
611         * breakpoint.h:  Proto for above.
612 start-sanitize-gdbtk
613         * configure configure.in:  Add host *windows* to list of hosts
614         that don't support GDBtk.
615 end-sanitize-gdbtk
616         * configure configure.in:  Add mswin to configdirs if host is
617         i[3456]86-*-windows.
618         * core-aout.c (fetch_core_registers register_addr) gdbcore.h:
619         Change all vars that can contain addresses to type CORE_ADDR.
620         * findvar.c (supply_register):  Allow val to be NULL.  This means
621         that regno is unsupported.
622         * (read_pc read_pc_pid write_pc write_pc_pid):  Make non-pid forms
623         just call pid forms with inferior_pid so that there's only once
624         place to hack PC's and such.
625         * infrun.c (proceed):  Don't skip breakpoints if user changed PC.
626         * remote-wiggler.c:  New file.  Support for BDM interface from
627         Macraigor Systems.
628         * serial.c:  Enhance serial logging capability.  Add hex and octal
629         output modes (set remotelogbase {hex|octal|ascii}.  Also log
630         breaks, timeouts, errors, and eofs.
631         * serial.h:  Redefine SERIAL_SEND_BREAK to go through a wrapper
632         function so that we can log breaks.  Don't export serial_logfile
633         or serial_logfp.
634         * top.c (execute_command):  Don't test for serial_logfp here.
635         Just call serial_log_comand, and let serial.c sort it out.
636         * valops.c (value_of_variable):  Don't attempt to establish frames
637         for static and global variables.  This makes things work a bit
638         better if the stack or frame pointer is trashed.
639         * config/m68k/monitor.mt (TDEPFILES):  Add remote-wiggler.o.
640         * config/m68k/tm-m68k.h:  Define STACK_ALIGN.  CPU32 can't hack
641         misaligned stacks during function calls.
642
643 Wed Sep  4 13:06:26 1996  Ian Lance Taylor  <[email protected]>
644
645         * terminal.h: Don't use #elif.
646
647 Wed Sep  4 06:49:35 1996  Wilfried Moser (Alcatel)  <[email protected]>
648
649         * ch-exp.c (parse_tuple_element): Allow (*): for array tuples
650         if we have a type.
651
652         * eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
653         check number of args against bounds of array to avoid
654         memory corruption.
655
656         * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
657         a TYPE_CODE_TYPEDEF.
658
659 Fri Aug 30 15:07:14 1996  James G. Smith  <[email protected]>
660
661         * remote-mips.c: Provide support for DDBVR4300 target board.
662         (ddb_open, ddb_ops): Added.
663         (mips_monitor_type): MON_DDB Added.
664         (mips_enter_debug, mips_exit_debug, mips_initialize,
665         mips_fetch_registers, common_breakpoint, mips_load,
666         _initialize_remote_mips): Updated.
667
668 Thu Aug 29 17:00:18 1996  Michael Meissner  <[email protected]>
669
670         * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
671         * nlm/configure: Regenerate.
672
673         * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for
674         pentium pro.
675
676 Wed Aug 28 13:11:15 1996  Ian Lance Taylor  <[email protected]>
677
678         * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
679         CY_AC_LOAD_TCLCONFIG.
680         * configure: Rebuild.
681
682 Tue Aug 27 12:40:40 1996  Fred Fish  <[email protected]>
683
684         * infrun.c (wait_for_inferior): Initialize stop_func_end before calling
685         find_pc_partial_function.
686
687 Tue Aug 27 10:17:34 1996  Michael Meissner  <[email protected]>
688
689         * configure: Regenerate again.
690
691 Tue Aug 27 04:25:08 1996  Geoffrey Noer  <[email protected]>
692
693         * configure.in: work around host_alias configure bug.
694         AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
695         and second by AC_CANONICAL_SYSTEM).  The second clobbers the
696         previous setting.  Circumventing by moving the second check
697         to before the first.
698         * configure: regenerated
699
700 start-sanitize-d10v
701 Mon Aug 26 18:36:54 1996  Martin M. Hunt  <[email protected]>
702
703         * config/d10v/d10v.mt: New file.
704         * config/d10v/tm-d10v.h: New file.      
705         * configure.in: New target D10V.         
706         * d10v-tdep.c: New file. 
707
708 end-sanitize-d10v       
709 Sun Aug 25 00:09:47 1996  Fred Fish  <[email protected]>
710
711         * rs6000-tdep.c: Fix typo in comment.
712         * valops.c (call_function_by_hand): Set using_gcc to 2
713         for code compiled without -g, per comment in code.
714         * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
715         * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
716         * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
717         * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
718         * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
719         * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
720         (STACK_ALIGN): Add comment, move to be with other associated
721         macros, and document.
722         * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
723         (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
724         * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
725         * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
726         handled by PUSH_ARGUMENTS.
727         (PUSH_ARGUMENTS): Enclose args in ()'s.
728         
729 Fri Aug 23 13:55:05 1996  Peter Schauer  ([email protected])
730
731         * infrun.c (wait_for_inferior):  Try to reenable shared library
732         breakpoints even if auto_solib_load is not set.
733
734 Fri Aug 23 00:44:57 1996  Fred Fish  <[email protected]>
735
736         * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
737         gracefully degrade to using command line interface if none is
738         found.
739
740 Wed Aug 21 16:31:27 1996  Fred Fish  <[email protected]>
741
742         * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
743         PRINTF_HAS_LONG_LONG.
744         * expprint.c (dump_expression): Ditto.
745         * configure.in: Fix check for long long support in compiler to
746         use a function body, not a nested function.
747         * configure: Rebuild with autoconf.
748         
749 Tue Aug 20 17:59:42 1996  Ian Lance Taylor  <[email protected]>
750
751         * aclocal.m4: Include ../bfd/aclocal.m4.
752         * configure.in: Add stdlib.h to AC_CHECK_HEADERS.  Call
753         BFD_NEED_DECLARATION on malloc, realloc, and free.
754         * acconfig.h: Add NEED_DECLARATION_MALLOC,
755         NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
756         * configure, config.in: Rebuild.
757         * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
758         rather than __STDC__.  Only declare malloc, realloc, and free if
759         NEED_DECLARATION_* is defined.
760
761 Tue Aug 20 15:37:03 1996  Fred Fish  <[email protected]>
762
763         * solib.c (_initialize_solib): Add missing '\' chars at ends of
764         strings that continue on next line.
765         (enable_break): Replace "return 0" with setting success to zero
766         and letting normal return handle the return.
767
768 Sat Aug 17 14:16:23 1996  Fred Fish  <[email protected]>
769
770         * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr
771         are properly aligned.
772
773 Fri Aug 16 17:54:26 1996  Stan Shebs  <[email protected]>
774
775         * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
776         * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
777         to function, declare function correctly.
778
779 Fri Aug 16 17:24:35 1996  Dawn Perchik <[email protected]>
780
781         * symtab.h: changed namespace to _namespace for compiling under 
782         MFC v4.0.
783
784 Fri Aug 16 13:52:21 1996  Stan Shebs  <[email protected]>
785
786         * mpw-make.sed: Update for various recent changes, add some
787         comments.
788 start-sanitize-gm
789         * mpw-config.in: Fix name of Magic Cap-specific file.
790 end-sanitize-gm
791
792 Fri Aug 16 15:47:36 1996  Michael Meissner  <[email protected]>
793
794         * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an
795         integer for type correctness.
796
797 Fri Aug 16 15:15:37 1996  James G. Smith  <[email protected]>
798
799         * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
800         simulator is included.
801
802 Thu Aug 15 13:44:13 1996  Fred Fish  <[email protected]>
803
804         * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
805         is not defined.
806         (read_register_pid): Only needed when TARGET_READ_PC is not
807         defined.
808         * hppa-tdep.c (frame_saved_pc): Remove prototype.
809         * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
810         not defined.
811         * config/xm-aix4.h (aix_resizewindow): Convert old style decl
812         to prototype.
813         * xcoffsolib.c (command.h): Include for needed prototypes.
814
815 Wed Aug 14 17:54:19 1996  Stu Grossman  ([email protected])
816
817         * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
818         native work.
819
820 Wed Aug 14 02:03:42 1996  Fred Fish  <[email protected]>
821
822         From Blair MacIntyre <[email protected]>:
823         * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
824         than SYMBOL_TYPE on msymbols.
825         * somsolib.c (som_solib_create_inferior_hook): Ditto.
826
827         * Makefile.in (init.c):  Generate with prototypes.
828
829         * config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
830         * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
831         * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
832         (pc_load_segment_name): Ditto.
833         (pop_frame): Ditto.
834         (extract_return_value): Ditto.
835         (is_magic_function_pointer): Ditto.
836         (push_dummy_frame): Ditto.
837         (fix_call_dummy): Ditto.
838         (push_arguments): Ditto.
839         (skip_trampoline_code): Ditto.
840         (aix_process_linenos): Ditto.
841
842         * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
843         * config/m68k/tm-es1800.h: Ditto.
844         * config/m68k/tm-vx68.h: Ditto.
845         * config/m68k/tm-sun3.h: Ditto.
846         * config/m68k/tm-m68kv4.h: Ditto.
847
848 Tue Aug 13 23:04:36 1996  Fred Fish  <[email protected]>
849
850         * config/mips/nm-mips.h (get_longjmp_target): Add prototype.
851         * config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
852         * remote-mips.c (mips_read_processor_type): Remove prototype.
853         * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
854         * irix5-nat.c (fetch_core_registers): Add prototype.
855
856 Mon Aug 12 21:23:44 1996  Fred Fish  <[email protected]>
857
858         * remote-pa.c (boot_board): Add dummy params to make type compatible
859         for passing to add_com.
860         * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
861         * buildsym.c (compare_line_numbers): Change function to match
862         prototype and also what qsort expects.
863
864 Mon Aug 12 19:19:00 1996  Mark Alexander  <[email protected]>
865
866         * remote.c: Make remote_write_size public.
867         * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
868         to prevent packet errors with some versions of CMON.
869
870 Mon Aug 12 16:20:58 1996  Stu Grossman  ([email protected])
871
872         * defs.h:  Define CONST_PTR as blank if compiling with Microsoft
873         C, else it's `const'.
874         * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
875         scm-lang.c: Microsoft C can't hack const pointers.  Use CONST_PTR
876         macro instead.
877         * configure configure.in defs.h:  Use AC_C_CONST to figure out if
878         the compiler supports const.  Gets rid of some cruft in defs.h.
879         * dwarf2read.c:  <string.h> -> "gdb_string.h"
880         * remote-sim.c:  Add prototypes.  Fix call to gdbsim_kill.
881         * sparcl-tdep.c (download):  Add prototypes to write_routine and
882         start_routine args.
883
884         * mswin/gdbwin.c:  Don't include both varargs.h AND stdarg.h.  Get
885         rid of varargs.h  Include string.h.
886         * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
887         update):  Fix prototypes, fix calls.
888         * (update):  Return value for catch_errors.
889         * (run_execute_command togdb_command_from_tty togdb_command):
890         Cleanup catching of errors from calls to execute_command.  Also,
891         dup command string to avoid modifying const strings.
892         * (togdb_breakinfo_i_init togdb_breakinfo_i_next):  Use 0 instead
893         of NULL when see if b->address isn't set.
894         * (bi_disable_bpt bi_enable_bpt bi_delete_all
895         bi_delete_breakpoint):  Add arg to calls to update.
896         * (gui_command):  Add prototype.
897         * (mswin_query):  Fix prototype.
898         * (_initialize_gdbwin):  Dup string to avoid modifying const.
899         * (info_path togdb_get_info_path):  Remove const from decls cuz
900         this can't be const (it points at malloc'ed memory).
901         * (togdb_searchpath):  Remove const from path.  Dup string to
902         avoid modifying const strings.
903         * rindex -> strrchr.
904         * (gdbwin_list_symbols):  Regexp param is const.
905         * Fix lots of refs to psymtabs to deref correct pointers.
906         * (togdb_set_breakpoint_sal):  Call set_breakpoint_sal with sal,
907         not &sal.
908         * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
909         toget_set_info_path):  Fix prototypes to match reality.
910         * mswin/gui.cpp:  Define _beginthreadex and _endthreadex routines
911         with proper prototypes.
912         * mswin/iface.cpp (gdbwin_fputs):  Define with correct number of args.
913         * mswin/ser-win32s.c:  Fix defs of min and max.
914         * mswin/serdll32.c (OpenComm16):  Make cbInQueue and cbOutQueue be
915         USHORT.
916         * (WriteComm16):  Change lpBug from LPVOID to LPCSTR.
917         * mswin/serdll32.h:  Fix prototypes for OpenComm16 and WriteComm16.
918
919 Sun Aug 11 20:54:16 1996  Stu Grossman  ([email protected])
920
921         * main.c (main):  Make sure command loop is used with cygwin32.
922         * terminal.h:  Allow cygwin32 to use termios.h.
923
924 start-sanitize-gdbtk
925 Fri Aug  9 12:32:53 1996  Tom Tromey  <[email protected]>
926
927         * Makefile.in (LIB_INSTALL_DIR): New macro.
928         (TCL): Include @TCL_LD_SEARCH_FLAGS@.
929
930 end-sanitize-gdbtk
931 Fri Aug  9 12:42:49 1996  Jeffrey A Law  ([email protected])
932
933         * somread.c (som_symtab_read): Handle secondary definition
934         symbols (aka weak symbols).
935
936         * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in
937         last change.
938
939 Thu Aug  8 10:12:36 1996  Stu Grossman  ([email protected])
940
941         * symfile.c (symfile_bfd_open):  Change ifdef from __WIN32__ to
942         _WIN32.
943
944         * somread.c:  Rearrange order of includes to fix warnings under
945         hpux-10.10.  Also don't include sys/file.h.
946
947 Wed Aug  7 21:45:52 1996  Stu Grossman  ([email protected])
948
949         * dbxread.c:  Don't include param.h or sys/file.h.
950         * (dbx_symfile_read):  Determine symfile_relocatable from bfd
951         flags instead of file extension.  Also clean up a little bit.
952
953 Wed Aug  7 17:18:37 1996  Stu Grossman  ([email protected])
954
955         * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
956         mdebugread.c os9kread.c source.c top.c utils.c:  Don't
957         include param.h or sys/file.h (or unistd.h in some cases).
958         * defs.h exec.c inflow.c remote-array.c remote-e7000.c
959         sparcl-tdep.c terminal.h utils.c:  Replace all occurances of
960         __WIN32__, WINGDB, WIN32, etc... with _WIN32.
961         * main.c:  Remove #ifndef WINGDB around option processing.  Fix
962         bug with passing argc==0 and argv==NULL to getopt.
963         * (main) Remove calls to access() before source_command.  Let
964         soure_command handle access errors.
965         * maint.c (maintenance_dump_me):  #ifdef out for _WIN32.
966         * symtab.c (operator_chars):  Make this global for wingdb.
967         * top.c (disconnect):  #ifdef out for _WIN32.
968         * (source_command):  If got an error and from_tty, then call print
969         error, else just return quietly.
970         * utils.c (fatal_dump_core):  Can't kill ourselves under windows.
971         Just exit.
972         * (pollquit notice_quit):  #ifdef out stuff that doesn't exist
973         under windows. 
974
975 Wed Aug  7 09:59:19 1996  Jeffrey A Law  ([email protected])
976
977         * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
978         structures > 4 bytes in size.
979
980         * valops.c (call_function_by_hand): Handle aligning stacks that
981         grow up correctly.
982         * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
983         (STACK_ALIGN): Define.
984         * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
985         alignment on structs/unions.
986         
987 Sun Aug  4 16:22:42 1996  Fred Fish  <[email protected]>
988
989         * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
990         which is the documented type under at least AIX 3 and AIX 4.
991         
992 Sat Aug  3 04:02:46 1996  Fred Fish  <[email protected]>
993
994         * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
995         xm-alphaosf.h.
996         (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
997         checks.
998
999 start-sanitize-gdbtk
1000 Thu Aug  1 20:35:01 1996  Tom Tromey  <[email protected]>
1001
1002         * gdbtk.c (mainWindow): Deleted.
1003         (cleanup_init): Don't destroy main window.
1004         (gdbtk_init): Main window now created by Tk_Init.
1005
1006         * configure.in: Most X checks now handled automatically by Tk.
1007         Use new macros to find Tcl/Tk.
1008         * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
1009         * config.in, configure: Regenerated.
1010
1011         * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
1012         X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1013
1014 end-sanitize-gdbtk
1015 Thu Aug  1 10:11:34 1996  Fred Fish  <[email protected]>
1016
1017         * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
1018         this, define when contents are included.
1019         (mips_read_processor_type): Add prototype.
1020         * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
1021         * mdebugread.c (ecoff_relocate_efi): Add prototype.
1022         (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1023
1024 start-sanitize-gdbtk 
1025 Thu Aug  1 16:12:05 1996  Jason Molenda  ([email protected])
1026
1027         * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
1028
1029 end-sanitize-gdbtk
1030 Wed Jul 31 20:21:24 1996  Fred Fish  <[email protected]>
1031
1032         * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
1033         (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
1034         (fetch_core_registers): Add prototype.
1035         (vmap_symtab): Ditto.
1036         (objfile_symbol_add): Ditto.
1037         (add_vmap): Ditto.
1038         (vmap_ldinfo): Ditto.
1039         (vmap_exec): Ditto.
1040
1041 Tue Jul 30 17:57:46 1996  Stan Shebs  <[email protected]>
1042
1043         * stabsread.c (get_substring): Declare second arg as int.
1044
1045         * remote-es.c: Include gdb_string.h after defs.h.
1046
1047 Mon Jul 29 21:13:20 1996  Fred Fish  <[email protected]>
1048
1049         * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
1050         (branch_dest): Remove unused variable "offset".
1051         (pop_dummy_frame): Add prototype and make static.
1052         (push_arguments): Guard against using len uninitialized.
1053         (push_arguments): Guard against using arg uninitialized.
1054         (frame_saved_pc): Remove unused variable "frameless".
1055         (free_loadinfo): Ifdef out unused function.
1056
1057         * xcoffread.c (compare_lte): Change prototype and function to
1058         be correct type for passing to qsort.
1059         (add_stab_to_list): Ifdef out unused function and prototype.
1060         (compare_lte): Add prototype
1061         (arrange_linetable): Ditto.
1062         (record_include_begin): Ditto.
1063         (record_include_end): Ditto.
1064         (process_linenos): Ditto.
1065         (xcoff_next_symbol_text): Ditto.
1066         (scan_xcoff_symtab): Ditto.
1067         (xcoff_initial_scan): Ditto.
1068
1069         * mips-tdep.c (mips_read_processor_type): Add parens around
1070         bitwise-and operands in comparison; previous expression always
1071         evaluated to 0 because of equality comparison of two constants.
1072
1073         * rs6000-tdep.c (skip_prologue): Add missing parens around
1074         operands of logical-or so that first operand does not bind
1075         to previous logical-and.
1076
1077         * configure.in: Expand "long long" test to include code that triggers
1078         known problem on HPUX with native compiler.
1079         (configure): Regenerated.
1080
1081 Mon Jul 29 18:12:27 1996  Jeffrey A Law  ([email protected])
1082
1083         * somsolib.c (som_solib_create_inferior_hook): Don't
1084         warn if __d_pid can't be found.
1085
1086 Sun Jul 28 10:46:39 1996  Fred Fish  <[email protected]>
1087
1088         * config/mips/tm-mips.h (struct frame_info): Forward decl.
1089         (struct type): Ditto.
1090         (struct value): Ditto.
1091
1092         * config/mips/tm-mips.h (sigtramp_address): Move extern decl
1093         from mips-tdep.c to here.
1094         (sigtramp_end): Ditto.
1095         (fixup_sigtramp): Ditto.
1096
1097         * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
1098         (mips_frame_chain): Ditto.
1099         (mips_step_skips_delay): Ditto.
1100         (mips_frame_saved_pc): Ditto.
1101         (mips_find_saved_regs): Ditto.
1102         (mips_frame_num_args): Ditto.
1103         (mips_pop_frame): Ditto.
1104         (mips_extract_return_value): Ditto.
1105         (mips_store_return_value): Ditto.
1106         (mips_push_dummy_frame): Ditto.
1107         (mips_push_arguments): Ditto.
1108         (mips_do_registers_info): Ditto.
1109         (ecoff_relocate_efi): Ditto.
1110         (ecoff_relocate_efi): Ditto.
1111         * irix4-nat.c (fetch_core_registers): Add prototype.
1112         * mips-tdep.c (read_next_frame_reg): Add prototype
1113         (heuristic_proc_start): Ditto.
1114         (heuristic_proc_desc): Ditto.
1115         (mips_print_register): Ditto.
1116         * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
1117         (procfs_stopped_by_watchpoint): Ditto.
1118         * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
1119         (procfs_stopped_by_watchpoint): Ditto.
1120         * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
1121         (struct symbol): Add forward decl for prototype.
1122
1123         * breakpoint.c (internal_breakpoint_number): Only needed if
1124         GET_LONGJMP_TARGET or SOLIB_ADD is defined.
1125
1126         * objfiles.c (ecoff_relocate_efi): Remove prototype.
1127
1128 Sat Jul 27 17:47:35 1996  Fred Fish  <[email protected]>
1129
1130         * configure.in: Add test for "long long" support.
1131         * configure: Regenerate with autoconf.
1132         * acconfig.h: Add CC_HAS_LONG_LONG
1133         * config.in: Regenerate with autoheader.
1134         * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
1135         * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
1136         * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
1137         * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
1138         * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
1139         (PRINTF_HAS_LONG_LONG): Remove.
1140         (FORCE_LONG_LONG): Remove.
1141         * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
1142         * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
1143         (PRINTF_HAS_LONG_LONG): Remove.
1144         * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
1145         (PRINTF_HAS_LONG_LONG): Remove.
1146         * config/pa/tm-hppa.h (GET_FIELD): Put parens around
1147         subtraction inside shift.  Put parens around subtraction
1148         in operand of bitwise and.
1149         (struct frame_info): Forward declare
1150         if __STDC__ defined.
1151         (frame_saved_regs): Ditto.
1152         (struct value): Ditto.
1153         (struct type): Ditto.
1154         (struct inferior_status): Ditto.        
1155         (init_extra_frame_info): Add prototype.
1156         (skip_prologue): Ditto.
1157         (frameless_function_invocation): Ditto.
1158         (frame_chain): Ditto.
1159         (frame_chain_valid): Ditto.
1160         (saved_pc_after_call): Ditto.
1161         (hppa_fix_call_dummy): Ditto.   
1162         (hppa_push_arguments): Ditto.
1163         (pa_do_registers_info): Ditto.
1164         (in_solib_call_trampoline): Ditto.
1165         (in_solib_return_trampoline): Ditto.
1166         (push_dummy_frame): Ditto.
1167         * convex-tdep.c (decout): Use print_longest rather than
1168         fprintf_filtered.
1169         * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
1170         CC_HAS_LONG_LONG.
1171         (INT_MIN): Fix so it works correctly when assigned to a long long.
1172         * valprint.c (longest_to_int): Rewrite to remove dependence
1173         on INT_MIN and INT_MAX.
1174         (print_longest): Rewrite the code that falls back to synthesized
1175         hex output when LONGEST value is not representable as in a long and
1176         printf doesn't support printing long longs.
1177         * ch-valprint.c (chill_val_print): Cast 2nd arg of
1178         chill_print_type_scalar to LONGEST.
1179         chill_print_type_scalar): Make static and add prototype.
1180         * hppa-tdep.c (get_field): Ifdef out unused function.
1181         (set_field): Ditto.
1182         (extract_3): Ditto.
1183         (extract_5_store): Ditto.
1184         (extract_11): Ditto.
1185         (extract_12): Ditto.
1186         (deposit_17): Ditto.
1187         (extract_14): Convert to static and add prototype.
1188         (deposit_14): Ditto.
1189         (extract_21): Ditto.
1190         (deposit_21): Ditto.
1191         (extract_17): Ditto.
1192         (extract_5r_store): Ditto.
1193         (extract_5R_store): Ditto.
1194         (extract_5_load): Ditto.
1195         (find_proc_framesize): Ditto.
1196         (find_dummy_frame_regs): Ditto.
1197         (sign_extend): Ditto.
1198         (find_unwind_entry): Add prototype.
1199         (find_return_regnum): Ditto.
1200         (unwind_command): Ditto.
1201         (find_dummy_frame_regs): Add parens around subtraction in operand
1202         of bitwise-and.
1203         (skip_prologue): Add parens around operands of logical-and inside
1204         operand of logical-or.
1205         (sign_extend): Add parens around operands of subtraction inside
1206         operand of shift.
1207         (low_sign_extend): Ditto.
1208         * top.c (filename_completer): Convert old style decl of
1209         filename_completion_function into prototype.
1210         * f-lang.c (patch_common_entries): Ifdef out unused function.
1211         * stabsread.c (read_cfront_baseclasses): Remove unused local
1212         variable "msg_noterm".
1213         (resolve_cfront_continuation): Remove unused local variable "fip".
1214         (read_type): Remove unused variable xtypenums.
1215         (read_cfront_static_fields): Remove unused variable "i".
1216         (read_cfront_static_fields): Remove unused variable "nfields".
1217         (read_cfront_member_functions): Add missing comment terminator.
1218         (read_cfront_static_fields): Return 1 rather than random value.
1219         (read_cfront_baseclasses): Ditto.
1220         (read_cfront_baseclasses): Ditto.
1221         (read_cfront_baseclasses): Ditto.
1222         * somsolib.c (som_solib_create_inferior_hook): Remove unused
1223         variable "u".
1224         (som_solib_create_inferior_hook): Remove unused variable
1225         shadow_contents.
1226         (language.h): Add for needed prototypes.
1227         (som_solib_sharedlibrary_command): Add prototype.
1228         * hpread.c: (hpread_read_array_type): Add prototype.
1229         * somread.c (hpread_build_pysmtabs): Add prototype.
1230         (hpread_symfile_finish): Ditto.
1231         (hpread_symfile_init): Ditto.
1232         * hppah-nat.c (fetch_register): Convert old style decl
1233         to prototype.
1234         (gdbcore.h): Include for needed prototypes.
1235         (fetch_register): Remove unused variable "mess".
1236         * remote-pa.c (get_offsets): Ifdef out unused function.
1237         (remote_start_remote): Remove unused variable "timeout".
1238         (boot_board): Add prototype.
1239         (reaad_frame): Add prototype.
1240         (getpkt): Remove unused variable "bp".
1241         (remote_kill): Add prototype.
1242         (remote_mourn): Add prototype.
1243         (remote_insert_breakpoint): Add prototype.
1244         (remote_remove_breakpoint): Add prototype.
1245         * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
1246         * infcmd.c (do_registers_info): Only need prototype if
1247         DO_REGISTERS_INFO is not defined.
1248         (breakpoint_auto_delete_contents): Only need if
1249         CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1250
1251 Sat Jul 27 08:49:49 1996  Fred Fish  <[email protected]>
1252
1253         * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
1254         (END_PSYMTAB): Ditto.
1255         (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1256
1257 Fri Jul 26 14:07:37 1996  Ian Lance Taylor  <[email protected]>
1258
1259         * printcmd.c (_initialize_printcmd): Initialize
1260         tm_print_insn_info.flavour.
1261 start-sanitize-gdbtk
1262         * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1263 end-sanitize-gdbtk
1264
1265 Thu Jul 25 19:41:31 1996  Fred Fish  <[email protected]>
1266
1267         * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
1268         (arm-tdep.o): Ditto.
1269         (dcache.o): Ditto.
1270         (i386ly-tdep.o): Ditto.
1271         (i960-tdep.o): Ditto.
1272         (m68k-tdep.o): Ditto.
1273         (nindy-tdep.o): Ditto.
1274         (scm-lang.o): Ditto.
1275         (w65-tdep.o): Ditto.
1276         (z8k-tdep.o): Ditto.
1277         (m68k-tdep.o): Depends upon value_h and gdb_string.h
1278         (m2-valprint.o): Depends upon m2-lang.h.
1279         (sparc-tdep.o): Depends upon gdb_string.h
1280         (valprint.o): Depends upon valprint.h
1281         
1282         * remote-e7000.c (notice_quit): Remove prototype.
1283         * top.c (initialize_targets): Remove prototype, now in target.h.
1284         * stabsread.c (resolve_cfront_continuation): Remove prototype.
1285         * dbxread.c (resolve_cfront_continuation): Remove prototype.
1286         * symfile.h (set_demangling_style): Remove prototype.
1287         * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
1288         * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
1289         target.h.
1290         * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
1291         now in target.h.
1292         * ser-unix.c (hardwire_restore): Remove obsolete prototype.
1293         * sparc-tdep.c (single_step): Remove forward decl of isbranch.
1294         * scm-lang.c (find_function_in_inferior): Remove prototype.
1295         (value_allocate_space_in_inferior): Ditto.
1296         * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
1297         * defs.h (strchr): Remove declarations, they are declared in
1298         gdb_string.h also.
1299         (strrchr): Ditto.
1300         (strstr): Ditto.
1301         (strtok): Ditto.
1302         (strerror): Ditto.
1303         * f-valprint.c (f77_print_array_1): Remove extra arg that was being
1304         passed to f77_print_array_1.
1305         * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
1306         * scm-exp.c (scm_istr2int): Remove unused variable "j".
1307         (scm_parse): Remove unused variable "str".
1308         * hp300ux-nat.c (store_inferior_register): Remove unused variable
1309         "buf".
1310         (store_inferior_registers): Remove unnecessary decl "registers".
1311         * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
1312         * scm-lang.c (scm_get_field): Remove unused variable "val".
1313         (scm_lookup_name): Remove unused variable "symval".
1314         * objfiles.c (map_to_file): Remove unused local variable "tempfd".
1315         * procfs.c (do_attach, do_detach): Remove unused variable "result".
1316         (last_resume_pid): Remove unused static variable.
1317         * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
1318         "res".
1319         * objfiles.c (map_to_address): Remove unused function.
1320         * f-valprint.c (print_max): Remove extraneous extern decl,
1321         in valprint.h.
1322         (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
1323         * ch-exp.c (write_lower_upper_value): Remove prototype for
1324         type_lower_upper.
1325
1326         * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
1327         * ch-exp.c (parse_mode_call): Ditto.
1328         * f-valprint.c (there_is_a_visible_common_named): Ditto.
1329         * f-lang.c (clear_function_list): Ditto.
1330         (get_bf_for_fcn): Ditto.
1331         (clear_bf_list): Ditto.
1332         (add_common_block): Ditto.
1333         (patch_all_commons_by_name): Ditto.
1334         (find_first_common_named): Ditto.
1335         (add_common_entry): Ditto.
1336         (allocate_saved_function_node): Ditto.
1337         (allocate_saved_bf_node): Ditto.
1338         (allocate_common_entry_node): Ditto.
1339         (allocate_saved_f77_common_node): Ditto.
1340         
1341         * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
1342         * dcache.c (gdbcore.h): Ditto.
1343         * i386ly-tdep.c (gdbcore.h): Ditto.
1344         * i960-tdep.c (gdbcore.h): Ditto.
1345         * m2-valprint.c (m2-lang.h): Ditto.
1346         * m68k-tdep.c (gdbcore.h): Ditto.
1347         (value.h): Ditto.
1348         (gdb_string.h): Ditto.
1349         * nindy-tdep.c (gdbcore.h): Ditto.
1350         * scm-lang.c (gdbcore.h): Ditto.
1351         * scm-valprint.c (gdbcore.h): Ditto.
1352         * w65-tdep.c (gdbcore.h): Ditto.
1353         * z8k-tdep.c (gdbcore.h): Ditto.
1354         * sparc-tdep.c (gdb_string.h): Include.
1355         * valprint.c (valprint.h): Include.
1356
1357         * config/xm-lynx.h: Remove part of comment about INT_MIN
1358         redefined warnings from defs.h, since INT_MIN define in
1359         defs.h is now protected by #ifndef INT_MIN.
1360         * config/i386/xm-i386bsd.h: Ditto.
1361         * config/m68k/xm-hp300bsd.h: Ditto.
1362         * config/m68k/xm-news.h: Ditto.
1363
1364         * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
1365         definition as 0x80000000.  The macro in defs.h is better.
1366         * config/i386/xm-i386m3.h (INT_MIN): Ditto.
1367         * config/i386/xm-i386mach.h (INT_MIN): Ditto.
1368         * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
1369         * config/pa/xm-hppab.h: Ditto.
1370
1371         * core-aout.c (fetch_core_registers): Add prototype.
1372         * hp300ux-nat.c (fetch_inferior_register): Ditto.
1373         (store_inferior_register_1): Ditto.
1374         (store_inferior_register): Ditto.
1375         * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
1376         *scm-valprint.c (c_val_print): Ditto.
1377         * procfs.c (add_fd): Ditto.
1378         (remove_fd): Ditto.
1379         (wait_fd): Ditto.
1380         (sigcodename): Ditto.
1381         (sigcodedesc): Ditto.
1382         (procfs_kill_inferior): Ditto.
1383         (procfs_xfer_memory): Ditto.
1384         (procfs_store_registers): Ditto.
1385         (create_procinfo): Ditto.
1386         (procfs_init_inferior): Ditto.
1387         (proc_set_exec_trap): Ditto.
1388         (procfs_attach): Ditto.
1389         (procfs_detach): Ditto.
1390         (procfs_prepare_to_store): Ditto.
1391         (procfs_files_info): Ditto.
1392         (procfs_open): Ditto.
1393         (procfs_wait): Ditto.
1394         (procfs_fetch_registers): Ditto.
1395         (procfs_mourn_inferior): Ditto.
1396         (procfs_can_run): Ditto.
1397         (procfs_thread_alive): Ditto.
1398         (procfs_stop): Ditto.
1399         * alpha-nat.c (fetch_core_registers): Ditto.
1400         * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
1401         * objfiles.c (ecoff_relocate_efi): Ditto.
1402         * inflow.c (pass_signal): Ditto.
1403         (handle_sigio): Ditto.
1404         * annotate.c (breakpoint_changed): Ditto.
1405         * callback.c (wrap): Ditto.
1406         (fdbad): Ditto.
1407         (fdmap): Ditto.
1408         * utils.c (malloc_botch): Ditto.
1409         (fputs_maybe_filtered): Ditto.
1410         (vfprintf_maybe_filtered): Ditto.
1411         * defs.h (notice_quit): Ditto.
1412         * defs.h (xmalloc, xrealloc): Ditto.
1413         * top.c (stop_sig): Ditto.
1414         (init_signals): Ditto.
1415         (user_defined_command): Ditto.
1416         (source_cleanup_lines): Ditto.
1417         (dont_repeat_command): Ditto.
1418         (serial_log_command): Ditto.
1419         (disconnect): Ditto.
1420         * target.h (initialize_targets): Ditto.
1421         * os9kread.c (read_minimal_symbols): Ditto.
1422         * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
1423         (fdr_name): Ditto.
1424         (push_parse_stack): Ditto.
1425         (pop_parse_stack): Ditto.
1426         (is_pending_symbol): Ditto.
1427         (add_pending): Ditto.
1428         * serial.c (serial_logchar): Ditto.
1429         (serial_interface_lookup): Ditto.
1430         * serial.h (serial_log_command): Ditto.
1431         * f-valprint.c (info_common_command): Ditto.
1432         * gdbtypes.h (print_type_scalar): Ditto.
1433         * scm-valprint.c (scm_scmlist_print): Ditto.
1434         (scm_ipruk): Ditto.
1435         * scm-lang.c (scm_printstr): Ditto.
1436         (in_eval_c): Ditto.
1437         (evaluate_subexp_scm): Ditto.
1438         * scm-exp.c (scm_read_token): Ditto.
1439         (scm_skip_ws): Ditto.
1440         (scm_lreadparen): Ditto.
1441         * m2-lang.c (emit_char): Ditto.
1442         (m2_printchar): Ditto.
1443         (m2_printstr): Ditto.
1444         (m2_create_fundamental_type): Ditto.
1445         * f-lang.c (emit_char): Ditto.
1446         (f_printchar): Ditto.
1447         (f_printstr): Ditto.
1448         (f_create_fundamental_type): Ditto.
1449         * ch-lang.c (chill_printchar): Ditto.
1450         (chill_printstr): Ditto.
1451         (chill_create_fundamental_type): Ditto.
1452         (value_chill_length): Ditto.
1453         (value_chill_card): Ditto.
1454         (value_chill_max_min): Ditto.
1455         (evaluate_subexp_chill): Ditto.
1456         * ch-exp.c (PEEK_TOKEN): Ditto.
1457         (peek_token_): Ditto.
1458         (forward_token_): Ditto.
1459         (parse_case_label): Ditto.
1460         (parse_opt_untyped_expr): Ditto.
1461         (parse_unary_call): Ditto.
1462         (parse_call): Ditto.
1463         (parse_named_record_element): Ditto.
1464         (parse_tuple_element): Ditto.
1465         (parse_opt_element_list): Ditto.
1466         (parse_tuple): Ditto.
1467         (parse_primval): Ditto.
1468         (parse_operand6): Ditto.
1469         (parse_operand5): Ditto.
1470         (parse_operand4): Ditto.
1471         (parse_operand3): Ditto.
1472         (parse_operand2): Ditto.
1473         (parse_operand1): Ditto.
1474         (parse_operand0): Ditto.
1475         (parse_expr): Ditto.
1476         (parse_then_alternative): Ditto.
1477         (parse_else_alternative): Ditto.
1478         (parse_if_expression): Ditto.
1479         (parse_untyped_expr): Ditto.
1480         (growbuf_by_size): Ditto.
1481         (match_simple_name_string): Ditto.
1482         (decode_integer_value): Ditto.
1483         (decode_integer_literal): Ditto.
1484         (match_float_literal): Ditto.
1485         (match_float_literal): Ditto.
1486         (match_string_literal): Ditto.
1487         (match_character_literal): Ditto.
1488         (match_integer_literal): Ditto.
1489         (match_bitstring_literal): Ditto.
1490         (write_lower_upper_value): Ditto.
1491         * ch-lang.h (type_lower_upper): Ditto.
1492         * c-lang.c (emit_char): Ditto.
1493         * dwarfread.c (free_utypes): Ditto.
1494         * stabsread.h (resolve_cfront_continuation): Ditto.
1495         * stabsread.c (get_substring): Ditto.
1496         (read_one_struct_field): Ditto.
1497         * stabsread.h (process_later): Ditto.
1498         * demangle.c (set_demangling_command): Ditto.
1499         * defs.h (set_demangling_style): Ditto.
1500         * maint.c (maintenance_info_command): Ditto.
1501         (print_section_table): Ditto.
1502         (maintenance_info_sections): Ditto.
1503         (maintenance_print_command): Ditto.
1504         * symtab.h (maintenance_print_statistics): Ditto.
1505         * objfiles.h (in_plt_section): Ditto.
1506         * objfiles.c (add_to_objfile_sections): Ditto.
1507         * bcache.c (hash): Ditto.
1508         (lookup_cache): Ditto.
1509         * exec.c (bfdsec_to_vmap): Ditto.
1510         (ignore): Ditto.
1511         * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
1512         * language.c (unk_lang_printchar): Ditto.
1513         (unk_lang_printstr): Ditto.
1514         (unk_lang_create_fundamental_type): Ditto.
1515         (unk_lang_print_type): Ditto.
1516         (unk_lang_val_print): Ditto.
1517         (unk_lang_value_print): Ditto.
1518         * target.c (update_current_target): Ditto.
1519         (debug_to_open): Ditto.
1520         (debug_to_close): Ditto.
1521         (debug_to_attach): Ditto.
1522         (debug_to_detach): Ditto.
1523         (debug_to_resume): Ditto.
1524         (debug_to_wait): Ditto.
1525         (debug_to_fetch_registers): Ditto.
1526         (debug_to_store_registers): Ditto.
1527         (debug_to_prepare_to_store): Ditto.
1528         (debug_to_xfer_memory): Ditto.
1529         (debug_to_files_info): Ditto.
1530         (debug_to_insert_breakpoint): Ditto.
1531         (debug_to_remove_breakpoint): Ditto.
1532         (debug_to_terminal_init): Ditto.
1533         (debug_to_terminal_inferior): Ditto.
1534         (debug_to_terminal_ours_for_output): Ditto.
1535         (debug_to_terminal_ours): Ditto.
1536         (debug_to_terminal_info): Ditto.
1537         (debug_to_kill): Ditto.
1538         (debug_to_load): Ditto.
1539         (debug_to_lookup_symbol): Ditto.
1540         (debug_to_create_inferior): Ditto.
1541         (debug_to_mourn_inferior): Ditto.
1542         (debug_to_can_run): Ditto.
1543         (debug_to_notice_signals): Ditto.
1544         (debug_to_thread_alive): Ditto.
1545         (debug_to_stop): Ditto.
1546 start-sanitize-gdbtk
1547         * gdbtk.c (null_routine): Ditto.
1548         (gdbtk_flush): Ditto.
1549         (gdbtk_fputs): Ditto.
1550         (gdbtk_query): Ditto.
1551         (gdbtk_readline): Ditto.
1552         (gdbtk_readline_end): Ditto.
1553         (gdb_get_breakpoint_list): Ditto.
1554         (gdb_get_breakpoint_info): Ditto.
1555         (breakpoint_notify): Ditto.
1556         (gdbtk_create_breakpoint): Ditto.
1557         (gdbtk_delete_breakpoint): Ditto.
1558         (gdbtk_modify_breakpoint): Ditto.
1559         (gdb_loc): Ditto.
1560         (gdb_eval): Ditto.
1561         (gdb_sourcelines): Ditto.
1562         (map_arg_registers): Ditto.
1563         (get_register_name): Ditto.
1564         (gdb_regnames): Ditto.
1565         (get_register): Ditto.
1566         (gdb_fetch_registers): Ditto.
1567         (register_changed_p): Ditto.
1568         (gdb_changed_register_list): Ditto.
1569         (gdb_cmd): Ditto.
1570         (call_wrapper): Ditto.
1571         (gdb_listfiles): Ditto.
1572         (gdb_stop): Ditto.
1573         (gdbtk_dis_asm_read_memory): Ditto.
1574         (compare_lines): Ditto.
1575         (gdb_disassemble): Ditto.
1576         (tk_command): Ditto.
1577         (cleanup_init): Ditto.
1578         (gdbtk_interactive): Ditto.
1579         (x_event): Ditto.
1580         (gdbtk_wait): Ditto.
1581         (gdbtk_call_command): Ditto.
1582         (tk_command_loop): Ditto.
1583         (gdbtk_init): Ditto.
1584 end-sanitize-gdbtk
1585         * breakpoint.h (set_breakpoint_sal): Ditto.
1586         * remote-utils.c (usage): Ditto.
1587         * remote.c (set_thread): Ditto.
1588         (remote_thread_alive): Ditto.
1589         (get_offsets): Ditto.
1590         (read_frame): Ditto.
1591         (remote_insert_breakpoint): Ditto.
1592         (remote_remove_breakpoint): Ditto.
1593         * sparc-nat.c (fetch_core_registers): Ditto.
1594         * corelow.c (add_to_thread_list): Ditto.
1595         (ignore): Ditto.
1596         * inftarg.c (proc_wait): Ditto.
1597         * infptrace.c (udot_info): Ditto.
1598         (fetch_register): Ditto.
1599         * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
1600         (hardwire_print_tty_state): Ditto.
1601         (hardwire_flush_output): Ditto.
1602         (hardwire_flush_input): Ditto.
1603         (hardwire_send_break): Ditto.
1604         (hardwire_setstopbits): Ditto.
1605         * ser-tcp.c (tcp_return_0): Ditto.
1606         (tcp_noflush_set_tty_state): Ditto.
1607         (tcp_print_tty_state): Ditto.
1608         * solib.c (match_main): Ditto.
1609         * gdbtypes.c (print_bit_vector): Ditto.
1610         (print_arg_types): Ditto.
1611         (dump_fn_fieldlists): Ditto.
1612         (print_cplus_stuff): Ditto.
1613         * symfile.h (entry_point_address): Ditto.
1614         * symfile.c (decrement_reading_symtab): Ditto.
1615         * valops.c (value_arg_coerce): Ditto.
1616         * value.h (find_function_in_inferior): Ditto.
1617         (value_allocate_space_in_inferior): Ditto.
1618         * values.c (vb_match): Ditto.
1619         * thread.c (info_thread_command): Ditto.
1620         (restore_current_thread): Ditto.
1621         (thread_apply_all_command): Ditto.
1622         (thread_apply_command): Ditto.
1623         * inferior.h (write_pc_pid): Ditto.
1624         * infrun.c (delete_breakpoint_current_contents): Ditto.
1625         * breakpoint.c (print_it_normal): Ditto.
1626         (watchpoint_check): Ditto.
1627         (print_it_done): Ditto.
1628         (print_it_noop): Ditto.
1629         (maintenance_info_breakpoints): Ditto.
1630         (create_longjmp_breakpoint): Ditto.
1631         (hbreak_command): Ditto.
1632         (thbreak_command): Ditto.
1633         (watch_commnd_1): Ditto.
1634         (rwatch_command): Ditto.
1635         (awatch_command): Ditto.
1636         (do_enable_breakpoint): Ditto.
1637         * ch-valprint.c (chill_val_print_array_elements): Ditto.
1638         * eval.c (evaluate_subexp): Ditto.
1639         (get_label): Ditto.
1640         (evaluate_struct_tuple): Ditto.
1641         * eval.c (init_array_element): Ditto.
1642
1643         * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
1644         * breakpoint.c (hw_breakpoint_used_count): Ditto.
1645         (hw_watchpoint_used_count): Ditto.
1646         * findvar.c (write_register_gen): Ditto.
1647         (read_register_pid): Ditto.
1648         * symtab.c (cplusplus_hint): Ditto.
1649         * infcmd.c (breakpoint_auto_delete_contents): Ditto.
1650         * ch-valprint.c (chill_print_type_scalar): Ditto.
1651         * gdbtypes.c (add_name): Ditto.
1652         (add_mangled_type): Ditto.
1653         (cfront_mangle_name): Ditto.
1654         * sparc-tdep.c (isbranch): Ditto.
1655         * inftarg.c (child_stop): Ditto.
1656         * win32-nat.c (child_stop): Ditto.
1657         * mac-nat.c (child_stop): Ditto.
1658         * remote-utils.c (sr_com): Ditto.
1659         * dbxread.c (process_now): Ditto.
1660         * ch-exp.c (require): Ditto.
1661         (check_token): Ditto.
1662         (expect): Ditto.
1663         (parse_mode_call): Ditto.
1664         (parse_mode_or_normal_call): Ditto.
1665         * scm-lang.c (scm_lookup_name): Ditto
1666         * f-lang.c (allocate_saved_bf_node): Ditto.
1667         (allocate_saved_function_node): Ditto.
1668         (allocate_saved_f77_common_node): Ditto.
1669         (allocate_common_entry_node): Ditto.
1670         (add_common_block): Ditto.
1671         (add_common_entry): Ditto.
1672         (find_first_common_named): Ditto.
1673         (patch_common_entries): Ditto.
1674         (patch_all_commons_by_name): Ditto.
1675         (clear_bf_list): Ditto.
1676         (get_bf_for_fcn): Ditto.
1677         (clear_function_list):  Ditto.
1678         * scm-exp.c (scm_istr2int): Ditto.
1679         (scm_istring2number): Ditto.
1680         * scm-valprint.c (scm_inferior_print): Ditto.
1681         * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
1682         * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
1683         (f77_create_arrayprint_offset_tbl): Ditto.
1684         (f77_print_array_1): Ditto.
1685         (f77_print_array): Ditto.
1686         (list_all_visible_commons): Ditto.
1687         (there_is_a_visible_common_named): Ditto.
1688         * mdebugread.c (ecoff_relocate_efi): Ditto.
1689         * callback.c (os_close): Ditto.
1690         (os_get_errno): Ditto.
1691         (os_isatty): Ditto.
1692         (os_lseek): Ditto.
1693         (os_open): Ditto.
1694         (os_read): Ditto.
1695         (os_read_stdin): Ditto.
1696         (os_write): Ditto.
1697         (os_write_stdout): Ditto.
1698         (os_rename): Ditto.
1699         (os_system): Ditto.
1700         (os_time): Ditto.
1701         (os_unlink): Ditto.
1702         (os_shutdown): Ditto.
1703         (os_init): Ditto.
1704         (os_printf_filtered): Ditto.
1705
1706         * scm-lang.h (scm_parse): Change old style decl to prototype.
1707         * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
1708         * top.c (init_proc): Ditto.
1709         (query_hook): Ditto.
1710         (error_hook): Ditto.
1711         * f-lang.c (c_value_print): Ditto.
1712         * ch-exp.c (parse_expression): Ditto.
1713         (parse_primval): Ditto.
1714         (parse_untyped_expr): Ditto.
1715         (parse_opt_untyped_expr): Ditto.
1716         (ch_lex): Ditto.
1717         * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
1718         (sparc_frame_saved_pc): Ditto.
1719         (sparc_push_dummy_frame): Ditto.
1720         (sparc_pop_frame): Ditto.
1721         * defs.h (fclose): Ditto.
1722         (atof): Ditto.
1723         (error_hook): Ditto.
1724
1725         * arc-tdep.c (single_step): Change arg to type "enum target_signal".
1726         * rs6000-tdep.c (single_step): Ditto.
1727         * sparc-tdep.c (single_step): Ditto.
1728
1729         * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
1730         to PTR which is what make_cleanup expects.
1731         * utils.c (null_cleanup): Change arg type to PTR.
1732         * defs.h (null_cleanup): Change prototype to match actual function.
1733         * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
1734         * ch-valprint.c (chill_val_print): Cast 2nd arg of
1735         chill_print_type_scalar to LONGEST.
1736         * infrun.c (wait_for_inferior): Have empty switch case for
1737         BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
1738         (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
1739         * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
1740         is defined.
1741         * symfile.c (generic_load): Scan long int using a long int spec,
1742         not an int spec.
1743         * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
1744         is defined.
1745         (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
1746         not defined.
1747         * inflow.c (handle_sigio): Only need prototype when the actual
1748         function is compiled in.
1749         * valprint.c (longest_to_int): Expand error message to be
1750         separate messages for args larger than largest signed int
1751         and args smaller than smallest signed int.
1752         * valprint.c (print_longest): Fix problems with support for case
1753         where compiler supports type "long long" but the runtime doesn't
1754         support printing them with "%ll".
1755         * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
1756         return types to void since we don't actually return anything
1757         meaningful and callees ignore the values anyway.
1758         * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
1759         ifdef.
1760         (modify_run_on_last_close_flag): Ditto.
1761         (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
1762         ifdef
1763         * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
1764         random value.
1765         * infrun.c (wait_for_inferior): Ensure random_signal is not used
1766         uninitialized.
1767         * valops.c (call_function_by_hand): Ensure struct_addr is not used
1768         uninitialized.
1769         * breakpoint.c (watch_command_1): Ensure prev_frame is not used
1770         uninitialized.
1771         * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
1772         to "const char *".
1773 start-sanitize-gdbtk
1774         * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
1775         to proper pointer type, from int.
1776         (gdbtk_query): Change first arg to "const char *" from "char *".
1777 end-sanitize-gdbtk
1778         * infptrace.c (udot_info): Add two dummy args so that the type is
1779         correct for passing to add_info.
1780         * f-lang.c (saved_fcn): Move decl to head of file so it can be used
1781         in prototypes.
1782         (saved_bf_symnum): Ditto.
1783         (SAVED_FUNCTION): Ditto.
1784         (SAVED_FUNCTION_PTR): Ditto.
1785         (SAVED_BF): Ditto.
1786         (SAVED_BF_PTR): Ditto.
1787         * ch-exp.c (parse_named_record_element): Build error message in
1788         temporary buffer before passing it to expect, rather than passing
1789         wrong number of args to expect.
1790         * demangle.c (set_demangling_style): Call set_demangling_command with
1791         correct number of arguments.
1792         * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
1793         int to match actual function.
1794         (os_isatty): Call fdmap with right number of arguments, was missing
1795         the host_callback* arg.
1796         * target.c (cleanup_target): Prototype all functions casts.
1797         * target.h (one_stepped, single_step): Declare here and convert
1798         single_step to prototype.
1799         * infrun.c (one_stepped, single_step): Don't declare externs
1800         here, they have moved to target.h.
1801         * eval.c (init_array_element): Declare previously undeclared
1802         last two args as LONGEST.
1803         * dcache.c (dcache_xfer_memory):  Change xfunc decls to prototype form.
1804 start-sanitize-gdbtk
1805         * gdbtk.c (register_changed_p): Remove unused local variable "buf".
1806 end-sanitize-gdbtk
1807
1808 Thu Jul 25 16:11:54 1996  Doug Evans  <[email protected]>
1809
1810         * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
1811
1812 Mon Jul 22 18:13:27 1996  Stu Grossman  ([email protected])
1813
1814         * Makefile.in (os9kread.o):  Remove dependency on partial-stab.h.
1815         * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h:  Don't
1816         use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
1817         text address.  Use a seperate flag (textlow_not_set) instead.
1818         This makes stabs in ELF .o files work a lot better.
1819         * mdebugread.c xcoffread.c:  Define textlow_not_set for
1820         partial-stab.h.
1821         * stabsread.h (end_psymtab):  Add textlow_not_set arg to prototype.
1822
1823 start-sanitize-gdbtk
1824 Sat Jul 20 17:46:40 1996  Fred Fish  <[email protected]>
1825
1826         * gdbtk.tcl (files_command): Reorder the binding tags for
1827         the listbox widget to avoid referencing the listbox after
1828         the containing widget has been destroyed by the action of
1829         a previous binding.
1830 end-sanitize-gdbtk
1831
1832 Sat Jul 20 10:41:06 1996  Fred Fish  <[email protected]>
1833
1834         * dwarf2read.c (struct filenames): Change internal "struct file"
1835         to "struct fileinfo" to avoid conflict with "struct file" in
1836         <sys/file.h> on HPUX and Solaris.
1837
1838 start-sanitize-gdbtk
1839 Sat Jul 20 10:09:28 1996  Fred Fish  <[email protected]>
1840
1841         * gdbtk.tcl (delete_expr): Unset corresponding element of
1842         expr_update_list when destroying an expression.
1843         (create_expr_window): Initialize expr_num, delete_expr_num,
1844         and expr_update_list here when each new expression window
1845         is created, rather than once at startup.
1846 end-sanitize-gdbtk
1847
1848 Fri Jul 19 14:05:57 1996  Stan Shebs  <[email protected]>
1849
1850         * dwarf2read.c: New file, DWARF 2 reader originally contributed by
1851         Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
1852         * Makefile.in (COMMON_OBS): Add dwarf2read.o.
1853         (SFILES): Add dwarf2read.c.
1854         (dwarf2read.o): Add build rule.
1855         * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
1856         exported functions.
1857         * elfread.c (elf_symfile_read): Call them.
1858         (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
1859
1860 Thu Jul 18 01:22:01 1996  Geoffrey Noer  <[email protected]>
1861
1862         * symfile.c (symfile_bfd_open): 
1863         * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
1864         free the user from having to type the .exe extension.
1865
1866 Wed Jul 17 06:54:50 1996  Mark Alexander  <[email protected]>
1867
1868         * mon960-rom.c: Shorten the mon960_inits string to a single
1869         carriage return; this prevents a hang on connecting immediately
1870         after powerup, when MON960 is attempting autobaud detection.
1871
1872 Tue Jul 16 23:47:04 1996  Mark Alexander  <[email protected]>
1873
1874         * a29k-tdep.c (get_saved_register): Allow PC to be modified
1875         when innermost frame is selected, but not in outer frames.
1876
1877 Tue Jul 16 23:37:25 1996  Stu Grossman  ([email protected])
1878
1879         * command.c (do_setshow_command):  Don't segfault when showing
1880         var_string and var_string_noescape vars that are NULL.
1881
1882 Mon Jul 15 16:55:48 1996  Doug Evans  <[email protected]>
1883
1884         * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
1885         cygwin32_conv_to_posix_path.
1886         (child_create_inferior): unix_path_to_dos_path renamed to
1887         cygwin32_conv_to_win32_path.  Rewrite code to translate PATH.
1888
1889 Mon Jul 15 16:44:05 1996  Stu Grossman  ([email protected])
1890
1891         * defs.h printcmd.c:  Create global disassemble_info structure
1892         tm_print_insn_info.
1893 start-sanitize-gdbtk
1894         * gdbtk.c (gdb_disassemble):  Setup di.mach from
1895         tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
1896 end-sanitize-gdbtk
1897         * i386-tdep.c (set_assembly_language_command):  set
1898         tm_print_insn_info.mach to the appropriate value for 386 or 8086
1899         disassembly.
1900         * printcmd.c (print_insn):  Move init of disassembler_info to
1901         _initialize_printcmd.  Set endian for disassembler here.
1902         * sparc-tdep.c:  Set tm_print_insn_info.mach as appropriate to
1903         select sparc/sparclite.
1904         * config/sparc/{tm-sparc.h tm-sparclite.h}:  Get rid of
1905         TM_PRINT_INSN.  Set TM_PRINT_INSN_MACH to
1906         bfd_mach_sparc/bfd_mach_sparc_sparclite.
1907
1908 Fri Jul 12 19:04:32 1996  Fred Fish  <[email protected]>
1909
1910         * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
1911         than xmalloc/xrealloc.
1912
1913 Fri Jul 12 17:59:47 1996  Fred Fish  <[email protected]>
1914
1915         * objfiles.c (map_to_file): Error return from mmalloc_findbase is
1916         a NULL pointer, not a -1.
1917
1918 Fri Jul 12 10:16:24 1996  Stu Grossman  ([email protected])
1919
1920         * i386-tdep.c (set_assembly_language_command):  New routine to
1921         select between i386 and i8086 instruction sets for disassembly.
1922         New command `set assembly-language {i386 i8086}'.
1923
1924 Thu Jul 11 21:13:21 1996  Mark Alexander  <[email protected]>
1925
1926         * monitor.c (monitor_write_memory, monitor_read_memory_single):
1927         Disable use of "long long" memory read/write commands; can't
1928         use them because we hold the values to read/write in an int
1929         variable, and because strtoul fails on values that exceed the
1930         size of a long.  This fixes breakpoint problems on MON960.
1931
1932 Thu Jul 11 11:39:31 1996  Fred Fish  <[email protected]>
1933
1934         * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
1935         * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1936
1937 Wed Jul 10 16:54:41 1996  Fred Fish  <[email protected]>
1938
1939         * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
1940         and MMALLOC_CHECK macros, and add comment indicating how host dependent
1941         makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
1942         to use it but to not do heap corruption checking.
1943         * gdbserver/Makefile.in: Ditto.
1944         * utils.c (init_malloc): Replace warning() use with direct call of
1945         fprintf_unfiltered, since current_target has not yet been set and thus
1946         we cannot use warning().  If we try to use mmcheck and it fails,
1947         suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
1948         defined.  Other small mmalloc related cleanups.
1949         * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
1950         * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
1951
1952         * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1953         * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): 
1954         * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1955         * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1956         * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
1957         * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1958         * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1959         * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1960         Remove obsolete defines.
1961
1962         * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
1963         * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
1964         * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
1965         * config/rs6000/aix4.mh (MMALLOC_DISABLE):
1966         * config/powerpc/aix4.mh (MMALLOC_DISABLE):
1967         * config/powerpc/aix.mh (MMALLOC_DISABLE):
1968         * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
1969         * config/mips/mipsm3.mh (MMALLOC_DISABLE):
1970         * config/mips/decstation.mh (MMALLOC_DISABLE):
1971         * config/m88k/cxux.mh (MMALLOC_DISABLE):
1972         * config/i386/i386mk.mh (MMALLOC_DISABLE):
1973         * config/i386/i386m3.mh (MMALLOC_DISABLE):
1974         * config/i386/i386gnu.mh (MMALLOC_DISABLE):
1975         Use MMALLOC_CFLAGS instead.
1976
1977 Tue Jul  9 22:41:12 1996  Jeffrey A Law  ([email protected])
1978
1979         * h8300-tdep.c: Remove some outdated comments.
1980         (h8300_skip_prologue): Rework to be more correct for the H8/300H.
1981         Handle stm.l insns for the H8/S.
1982         (examine_prologue): Likewise.
1983
1984 Tue Jul  9 16:48:55 1996  Raymond Jou  <[email protected]>
1985
1986         * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
1987
1988 Mon Jul 08 08:50:39 1996  Mark Alexander  <[email protected]>
1989
1990         * mon960-rom.c (mon960_open): Add floating point detection to
1991         prevent hang on non-FPU processors (PR 9775).
1992         (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
1993         setting breakpoints and improve loading speed.
1994
1995 Sun Jul  7 14:57:34 1996  Fred Fish  <[email protected]>
1996
1997         * coffread.c (record_minimal_symbol): Don't presave name string
1998         on symbol_obstack before passing to prim_record_minimal_symbol.
1999         It now handles saving the string itself.
2000         * dbxread.c (read_dbx_dynamic_symtab): Ditto.
2001         * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
2002         * os9kread.c (record_minimal_symbol): Ditto.
2003         * solib.c (solib_add_common_symbols): Ditto.
2004
2005         * coffread.c (coff_symtab_read): Don't presave name string on
2006         symbol_obstack before passing to prim_record_minimal_symbol_and_info.
2007         It now handles saving the string itself.
2008         * dbxread.c (record_minimal_symbol): Ditto.
2009         * elfread.c (record_minimal_symbol_and_info): Ditto.
2010         
2011         * dstread.c (record_minimal_symbol): Remove static function that just
2012         called prim_record_minimal_symbol with the same args (after change to
2013         prim_record_minimal_symbol to do it's own name string saves).
2014         * nlmread.c (record_minimal_symbol): Ditto.
2015         * somread.c (record_minimal_symbol): Ditto.
2016
2017         * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
2018         (hpread_read_function_type): Ditto.
2019         (hpread_process_one_debug_symbol): Ditto.
2020         * mdebugread.c (parse_symbol): Ditto.
2021         (new_symbol): Ditto.
2022         * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
2023
2024         * coffread.c (process_coff_symbol): Use obsavestring to save
2025         SYMBOL_NAME, rather than obstack_copy0.
2026         * dstread.c (create_new_symbol): Ditto
2027         * symfile.c (obconcat): Ditto.
2028         * stabsread.c (patch_block_stabs): Ditto.
2029         * xcoffread.c (SYMNAME_ALLOC): Ditto.
2030
2031         * symfile.c (obsavestring): Update comments
2032         * solib.c (solib_add_common_symbols): Remove local var origname.
2033
2034 Wed Jul  3 15:56:08 1996  Stu Grossman  ([email protected])
2035
2036         * configure:  Re-build with autoconf-2.10.
2037
2038         * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
2039         config/sparc/tm-sparclite.h:  Initialize tm_print_insn from
2040         TM_PRINT_INSN, which comes from the tm file.
2041
2042 Tue Jul 02 21:41:20 1996  Mark Alexander  <[email protected]>
2043
2044         * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, 
2045         os9kread.c: Replace identical sym_offsets functions with
2046         default_symfile_offsets.
2047         * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
2048         macro to allocate section_offsets.
2049         * symfile.c (default_symfile_offsets): New function.
2050         * symfile.h: Declare default_symfile_offsets.
2051         * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
2052         simplify allocation of section_offsets.
2053
2054 Tue Jun 11 12:02:55 1996  Stu Grossman  ([email protected])
2055
2056         * Makefile.in (INTERNAL_LDFLAGS):  Add in flags from configure.
2057         * configure configure.in:  Only make sol-thread.o for native.
2058         Also, switch to dlopened libthread_db.so.1.
2059         * sol-thread.c:  Switch to using dlopen to get the thread_db
2060         library.
2061
2062 Thu Jun 13 16:53:25 1996  Stu Grossman  ([email protected])
2063
2064         * configure, configure.in:  Change test for libthread_db to only
2065         work for configs where build/host/target are the same.
2066
2067 Tue Jul  2 15:04:20 1996  Michael Meissner  <[email protected]>
2068
2069         * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
2070         PowerPC.
2071
2072         * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
2073         support.
2074         * configure: Regenerate.
2075
2076 Mon Jul  1 13:00:43 1996  Stan Shebs  <[email protected]>
2077
2078         From Raymond Jou  <[email protected]>:
2079         * mpw-make.sed: Add lines to whack out autoconf hook
2080         @CONFIG_LDFLAGS@.
2081
2082 Mon Jul 01 11:07:15 1996  Mark Alexander  <[email protected]>
2083
2084         * remote-e7000.c (e7000_stop): New function.
2085
2086 Fri Jun 28 06:34:19 1996  Dawn Perchik  <[email protected]>
2087
2088         * configure, configure.in: Add target sparclet.
2089         * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
2090         (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
2091         command to start process running on target is different from one
2092         to continue execution), MO_HEX_PREFIX (if addresses from monitor
2093         have a "0x" prefix).
2094         * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
2095         registers array.  This is to allow NULLs to be place holders in
2096         the tm-*.h file so that only minor changes are needed when a new
2097         processor is introduced (eg, one without floating point).
2098         * sparc-tdep.c: Conditionally remove dependancies on floating
2099         point.
2100         * sparclet-rom.c, config/sparc/sparclet.mt,
2101         config/sparc/tm-sparclet.h: New files for target sparclet.
2102         * symfile.c (load_command): Add option for 2nd parameter; a load
2103         offset added to the vma of each section.
2104
2105 Fri Jun 28 05:39:19 1996  Dawn Perchik  <[email protected]>
2106
2107         * main.c (main): Add option "l" for setting remote_timeout.
2108
2109 Fri Jun 28 05:25:18 1996  Dawn Perchik  <[email protected]>
2110
2111         * remote-e7000.c, remote.c, target.h, top.c: Add set option
2112         "remote_timeout" for setting remote_timeout.  Add set option
2113         "use_hard_breakpoints" for setting hardware .vs. memory
2114         breakpoints.
2115
2116 Fri Jun 28 04:32:18 1996  Dawn Perchik  <[email protected]>
2117
2118         * remote-e7000.c (e7000_parse_device): New function.
2119         Add option "tcp_remote" to target command if using 
2120         tcp to connect to a remote host which is then connected 
2121         via serial port to the e7000 (for exampole, a port master).
2122         (e7000_open): Change to call e7000_parse_device.
2123
2124 Fri Jun 28 03:47:17 1996  Dawn Perchik  <[email protected]>
2125
2126         * monitor.c (monitor_debug): Fix remotedebug buffering.
2127
2128 Thu Jun 27 18:24:17 1996  Stan Shebs  <[email protected]>
2129
2130         * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
2131         (NATDEPFILES): Add a space.
2132
2133 Wed Jun 26 06:05:39 1996  Wilfried Moser (Alcatel)  <[email protected]>
2134
2135         * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
2136         is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
2137
2138         * ch-exp.c (calculate_array_length): Function removed.
2139
2140 Tue Jun 25 17:41:06 1996  Martin M. Hunt  <[email protected]>
2141
2142         * remote-e7000.c (e7000_read_inferior_memory_large): New function.
2143         (e7000_xfer_inferior_memory): Call it.
2144
2145 Tue Jun 25 23:14:07 1996  Jason Molenda  ([email protected])
2146
2147         * gdb/gdbserver/Makefile.in (docdir): Removed.
2148
2149 Tue Jun 25 22:05:38 1996  Jason Molenda  ([email protected])
2150
2151         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
2152         Use autoconf set values.
2153         (docdir): Removed.
2154         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
2155         * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, 
2156         includedir): Use autoconf set values.
2157         (docdir): Removed.
2158         * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
2159         * nlm/configure: Rebuilt.
2160         * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
2161
2162 Mon Jun 24 09:56:14 1996  Angela Marie Thomas ([email protected])
2163
2164         * stabsread.c (read_cfront_member_functions): add type
2165
2166 Sun Jun 23 23:40:48 1996  Doug Evans  <[email protected]>
2167
2168         * win32-nat.c: #include <unistd.h>.
2169         (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
2170         (child_create_inferior): Convert only env var PATH to win32 style.
2171         (set_pathstyle_dos): Delete.
2172         (_initialize_inftarg): Delete dos-path-style command.
2173
2174 start-sanitize-gdbtk
2175 Fri Jun 21 11:04:47 1996  Fred Fish  <[email protected]>
2176
2177         * gdbtk.tcl (create_register_windows): Include missing '$'s.
2178         Add global declarations for various reg_format_* variables.
2179         * gdbtk.tcl (populate_register_window): Make initial window one
2180         line taller to account for new column header line.
2181
2182 Fri Jun 21 09:46:47 1996  Fred Fish  <[email protected]>
2183
2184         * gdbtk.c (get_register): Support for printing raw formats.
2185         * gdbtk.tcl: Add hint for using debug_interface.
2186         (center_window, add_breakpoint_frame, delete_breakpoint_frame):
2187         Enclose arg in braces for consistency.
2188         (create_registers_window, populate_reg_window, update_registers):
2189         Major rewrite to support displaying multiple formats in the register
2190         window.
2191         (init_reg_info): New function.
2192         (recompute_reg_display_list):  Reset reg_display_list, start
2193         register display lines at line 2.
2194
2195 end-sanitize-gdbtk
2196 Thu Jun 20 13:42:23 1996  Doug Evans  <[email protected]>
2197
2198         * configure.in: Revise sol-thread.o test.
2199         * configure: Regenerated.
2200
2201         * source.c (find_source_lines): Reassign size to result of read.
2202
2203 start-sanitize-gdbtk
2204 Thu Jun 20 08:18:59 1996  Fred Fish  <[email protected]>
2205
2206         * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
2207         avoid backing up over prompt.  At every input, make sure insert
2208         point is at least after command start, handle control-u to delete
2209         current input line.
2210         (tclsh): Handle backspace to avoid backing up over prompt.  Handle
2211         control-u to delete current input line.
2212
2213 Wed Jun 19 17:23:38 1996  Geoffrey Noer  <[email protected]>
2214
2215         * configure.in: disable gdbtk for *cygwin32* hosted compiles
2216         * configure: regenerated with autoconf 2.8
2217
2218 end-sanitize-gdbtk
2219 Tue Jun 18 16:25:54 1996  Jeffrey A. Law  <[email protected]>
2220
2221         * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
2222         (h8300_command): Likewise.
2223         (set_machine): Likewise.
2224         (set_machine_hook): Likewise.
2225         (_initialize_h8300m): Likewise.
2226
2227         * config/h8300/tm-h8300.h (h8300smode): Declare.
2228
2229 Sun Jun 16 15:21:51 1996  Jeffrey A. Law  <[email protected]>
2230
2231         * somsolib.c (som_solib_create_inferior_hook): Handle tracking
2232         of shl_load calls for hpux10.
2233
2234 Thu Jun 13 11:16:10 1996  Tom Tromey  <[email protected]>
2235
2236         * config.in: Regenerated.
2237         * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
2238
2239         * configure: Regenerated.
2240         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
2241         avoid name clashes with SunOS headers.
2242
2243 Tue Jun 11 19:52:50 1996  Fred Fish  <[email protected]>
2244
2245         From Michael Snyder <[email protected]>:
2246         * bcache.c (print_bcache_statistics): Avoid divide-by-zero
2247         exception if one or more objfile has no symbols, such as when
2248         a dynamic library has been stripped.
2249
2250 Tue Jun 11 12:02:55 1996  Stu Grossman  ([email protected])
2251
2252         * Makefile.in (INTERNAL_LDFLAGS):  Add in flags from configure.
2253         * configure configure.in:  Only make sol-thread.o for native.
2254         Also, switch to dlopened libthread_db.so.1.
2255         * sol-thread.c:  Switch to using dlopen to get the thread_db
2256         library.
2257
2258 Mon Jun 10 14:17:19 1996  Fred Fish  <[email protected]>
2259
2260         * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
2261         Change from 0xE0000000 to 0xC0000000.
2262
2263 Thu Jun  6 17:10:32 1996  Michael Meissner  <[email protected]>
2264
2265         * config/powerpc/xm-solaris.h: Initial version of support for
2266         Solaris on PowerPC.
2267
2268 Wed Jun  5 01:52:57 1996  James G. Smith  <[email protected]>
2269
2270         * configure.in (configdirs): Force 4100 builds to use 4300 GDB
2271         target.
2272         * configure: Rebuild.
2273
2274         * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
2275         little-endian builds.
2276         
2277 Mon Jun  3 11:48:29 1996  Jeffrey A Law  ([email protected])
2278
2279         * inftarg.c (child_thread_alive): Protect declaration with
2280         #ifndef CHILD_THREAD_ALIVE.
2281
2282         * source.c (find_source_lines): Check the time on the symtab's bfd if
2283         it exists, else check the time on the exec_bfd.
2284
2285 Thu May 30 09:43:17 1996  Mark Alexander <[email protected]>
2286
2287         * dsrec.c (make_srec):  Fix calculation of address size
2288         to allow addresses less than 0x100.
2289
2290 Thu May 30 04:24:09 1996  Wilfried Moser (Alcatel)  <[email protected]>
2291
2292         * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
2293
2294 Tue May 28 16:15:47 1996  Geoffrey Noer  <[email protected]>
2295
2296         * remote-mips.c: cannot use EINVAL for breakpoint test since
2297         its value varies for different hosts (e.g. go32's is 19, while
2298         sunos is 22).  Changed to hardcoded 22 since that is what the
2299         mips boards return.
2300
2301 Tue May 28 11:14:58 1996  Tom Tromey  <[email protected]>
2302
2303         * configure: Regenerated.
2304         * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
2305         (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
2306
2307 Sun May 26 16:56:35 1996  Miles Bader  <[email protected]>
2308
2309         * solib.c (solib_absolute_prefix, solib_search_path): New variables.
2310         (_initialize_solib): Add set/show commands for those variables.
2311         (solib_map_sections): Implement searching using them.
2312
2313 Sun May 26 14:14:49 1996  Fred Fish  <[email protected]>
2314
2315         Changes from: David Mosberger-Tang  <[email protected]>
2316
2317         * NEWS:  Add Alpha Linux as a new native configuration.
2318
2319         * mdebugread.c (parse_symbol): When we find a malloc() symbol with
2320         return type VOID, assume no debugging info is available for that
2321         object file and patch the return value into VOID *.  Otherwise,
2322         operations requiring an implicit call to malloc() will fail.
2323
2324         * infrun.c (wait_for_inferior): The criterion to detect entering a
2325         sigtramp handler is now: (a) the current pc is inside a sigtramp
2326         handler, (b) the previous pc is not in a sigtramp handler, and (c)
2327         the current stack pointer is "inner" than the old one.  Condition
2328         (c) is new to avoid mistaking a return from a signal handler into
2329         sigtramp as a new sigtramp invocation.
2330
2331         * dcache.c (struct dcache_block): Declare addr as CORE_ADDR.  An
2332         int may not be big enough to hold an address.
2333         (dcache_hit): Ditto.
2334         (dcache_peek_byte): Fix indentation.
2335
2336         * configure.in (alpha-*-linux*): Add target.
2337         * configure: Rebuild
2338
2339         * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
2340         (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
2341         (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
2342         (SIGCONTEXT_ADDR): Ditto.
2343         (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2344
2345         * config/alpha/alpha-linux.mh: New file.
2346         * config/alpha/alpha-linux.mt: Ditto.
2347         * config/alpha/nm-linux.h: Ditto.
2348         * config/alpha/tm-alphalinux.h: Ditto.
2349         * config/alpha/xm-alphalinux.h: Ditto.
2350         * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
2351         * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
2352         xm-alphaosf.h.
2353         * config/alpha/alpha-osf2.mh: Ditto.
2354
2355         * blockframe.c (find_pc_partial_function): Pass PC to
2356         SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
2357         that detect sigtramp code via designated code sequences (as is the
2358         case for Linux/Alpha, for example).
2359         
2360         * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
2361         to ignore new PC argument.
2362         * config/m68k/tm-hp300bsd.h: Ditto.
2363         * config/vax/tm-vax.h: Ditto.
2364
2365         * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
2366         (alpha_osf_skip_sigtramp_frame): Ditto.
2367         (push_sigtramp_desc): Ditto.
2368         (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
2369         sigcontext address from frame.
2370         (alpha_saved_pc_after_call): When in sigtramp, use
2371         alpha_frame_saved_pc() instead of read-register().
2372         (after_prologue): When inside a dynamically generated sigtramp
2373         function, there is no prologue, so return address of first
2374         instruction.
2375         (alpha_in_prologue): Fix typo in comment.
2376         (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
2377         whether we're inside a dynamicaly generated sigtramp function.  If
2378         so, create and push and appropriate procedure descriptor.
2379         (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
2380         the frame past a sigtramp frame (if the current frame is indeed a
2381         sigtramp function).
2382         (init_extra_frame_info): Don't read next frame register off of
2383         stack-pointer when inside a dynamiccaly generated sigtramp.
2384         (alpha_pop_frame): Also unlink and destroy procedure descriptors
2385         created for dynamically generated sigtramp functions.
2386
2387         * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
2388         <alpha/ptrace.h> instead of <machine/reg.h>
2389
2390 Tue Jul  2 13:58:10 1996  Miles Bader  <[email protected]>
2391
2392         * gnu-nat.c (inf_validate_task_sc):
2393         Give terminal to gdb while asking question.
2394         (inf_resume): Don't validate the task suspend-count while execing.
2395
2396 Thu Jun 13 11:04:52 1996  Miles Bader  <[email protected]>
2397
2398         * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
2399         additional suspend count.
2400         (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
2401         (inf_resume): Call inf_validate_task_sc here.
2402         (gnu_resume): Call inf_update_procs to ensure noticing new threads.
2403
2404 Fri Jun  7 17:00:43 1996  Miles Bader  <[email protected]>
2405
2406         * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
2407
2408 Thu May 23 15:13:56 1996  Jeffrey A Law  ([email protected])
2409
2410         * h8300-tdep.c (IS_PUSH): Refine.
2411         (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
2412         (IS_SUB4_SP, IS_SUBL_SP): New macros.
2413         (h8300_skip_prologue): Handle H8/300H prologue code sequences.
2414         (examine_prologue): Handle addresses from 0x010000 to 0xffffff
2415         when in H8/300H mode.  Get the return pointer's address correctly
2416         for the H8/300H.  Handle H8/300H prolouge code sequences.
2417
2418         * symfile.c (generic_load): Print the starting address
2419         of the file just loaded.
2420
2421 Thu May 23 12:09:52 1996  Stan Shebs  <[email protected]>
2422
2423         * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
2424
2425 Tue May 21 11:53:56 1996  Peter Schauer  ([email protected])
2426
2427         * breakpoint.c (bpstat_do_actions):  Avoid endless recursion
2428         if a `source' command is contained in bs->commands.
2429
2430         * infrun.c (wait_for_inferior):  Update step_frame_address when
2431         stepping into a new line.
2432
2433         From [email protected] (Andreas Schwab):
2434         * breakpoint.c (breakpoint_1):  Add shlib_disabled case to
2435         bpenables array.
2436
2437 Mon May 20 22:52:00 1996  Mark Alexander  <[email protected]>
2438
2439         * dsrec.c (load_srec): Add WAITACK parameter, for machines
2440         like EST visionICE that send back an ACK after each S-record.
2441         * monitor.c (monitor_wait_srec_ack): New function.
2442         (monitor_load): Pass monitor_wait_srec_ack to load_srec
2443         if the monitor's MO_SREC_ACK flag is set.
2444         * monitor.h: Define MO_SREC_ACK flag.
2445         * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
2446         * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
2447         * srec.h: Add WAITACK parameter to load_srec prototype.
2448
2449 Sun May 19 21:22:00 1996  Rob Savoye  <rob@chinadoll>
2450
2451         * config/sparc/sparclite.mt: Add the sparc simulator.
2452
2453 Sun May 19 16:49:37 1996  Fred Fish  <[email protected]>
2454
2455         * defs.h (read_command_lines, query_hook): Update prototypes.
2456         (readline_begin_hook, readline_hook, readline_end_hook): Declare.
2457         * breakpoint.c (commands_command): Build message in temporary buffer
2458         and pass that, as well as tty control flag, to read_command_lines.
2459         * top.c (readline_begin_hook, readline_hook, readline_end_hook):
2460         Define here.
2461         (command_loop): Check for non-NULL instream before looping.
2462         (command_line_input): Use readline_hook when appropriate, to get
2463         user input from a GUI window.
2464         (read_next_line): Also build prompt if getting user input from a GUI.
2465         (recurse_read_control_structure): Fix typo in comment.
2466         (read_command_lines): Use passed in prompt and tty flag to decide how
2467         to build message.  Use readline_begin_hook when appropriate, to set
2468         up a GUI interaction window.  Just return head, whether NULL or not,
2469         after using readline_end_hook to complete GUI interaction.
2470         (define_command, document_command): Build message in a temporary
2471         buffer and pass it to read_command_lines, along with tty flag.
2472
2473 start-sanitize-gdbtk
2474         * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
2475         New functions.
2476         (tk_command_loop): Set instream to NULL to enable Tk user interaction.
2477         (gdbtk_init): Set readline_begin_hook, readline_hook,
2478         and readline_end_hook.
2479         * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
2480         gdbtk_tcl_readline_end): New functions.
2481         (tclsh): Pack scroll bar on right side of window, not left.
2482 end-sanitize-gdbtk
2483
2484 Sat May 18 02:43:58 1996  Peter Schauer  ([email protected])
2485
2486         * blockframe.c (frameless_look_for_prologue):
2487         Add FUNCTION_START_OFFSET only if func_start is non-zero.
2488         * minsyms.c (lookup_minimal_symbol_by_pc):  Return NULL if
2489         pc is not in a known section.
2490         * stack.c (print_frame_info):  Remove check for fi->pc in known
2491         section, now handled by lookup_minimal_symbol_by_pc.
2492
2493 start-sanitize-gdbtk
2494 Fri May 17 13:54:34 1996  Fred Fish  <[email protected]>
2495
2496         * gdbtk.tcl (create_command_window): Change a misspelled "get"
2497         to the intended "cget".
2498         (delete_line): Fix so it deletes the current line at the
2499         insertion cursor.
2500 end-sanitize-gdbtk
2501
2502 Fri May 17 13:31:04 1996  Stan Shebs  <[email protected]>
2503
2504         * sh-stub.c: New file, was config/sh/stub.c.
2505
2506 start-sanitize-gdbtk
2507 Thu May 16 19:20:29 1996  Fred Fish  <[email protected]>
2508
2509         * gdbtk.tcl (gdb_prompt): Set this early on.
2510         (create_command_window): Use gdb_prompt rather than "(gdb) ".
2511         (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
2512         (tclsh): If an evaluation window already exists, just bring it
2513         to the front instead of trying to create another.
2514         * gdbtk.c (tk_command_loop): New function.
2515         (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
2516
2517 Thu May 16 16:16:35 1996  Fred Fish  <[email protected]>
2518
2519         * gdbtk.tcl (evaluate_tcl_command, tclsh):  New functions that
2520         implement a tcl evaluation window for gdbtk maintainers to use.
2521
2522 Thu May 16 11:42:58 1996  Tom Tromey  <[email protected]>
2523
2524         * gdbtk.tcl (files_command): Correctly insert list of files into
2525         listbox widget.
2526
2527         * gdbtk.tcl (files_command): listbox command no longer accepts
2528         -geometry.
2529
2530 Wed May 15 16:04:09 1996  Stan Shebs  <[email protected]>
2531
2532         * gdbtk.tcl (create_command_window): If command window's buffer
2533         is disabled, don't execute any of the key bindings.
2534 end-sanitize-gdbtk
2535
2536 Wed May 15 08:25:12 1996  Jeffrey A Law  ([email protected])
2537
2538         * top.c (read_next_line): Fix thinkos.  From Donn Seeley.
2539
2540         * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
2541         C_STAT symbols.
2542         * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
2543         Flush cached frames just before exiting.
2544         * remote-sim.c (gdbsim_resume): Complain if the program isn't
2545         being run.
2546         * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
2547
2548 Tue May 14 18:05:16 1996  Stu Grossman  ([email protected])
2549
2550         * procfs.c (procfs_thread_alive procfs_stop):  Make static.
2551         (procfs_pid_to_str):  New routine to print out thread id's in an
2552         intelligible manner.
2553         * sol-thread.c (sol_thread_fetch_registers):  Re-order manner in
2554         which supply_register is called to fix bug with writing
2555         individual regs.
2556         * config/sparc/tm-sun4sol2.h:  Define default for
2557         target_pid_to_str in case host lacks libthread_db.
2558
2559 Mon May 13 23:53:30 1996  Stu Grossman  ([email protected])
2560
2561         * Makefile.in config.in configure configure.in
2562         config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
2563         config/sparc/tm-sun4sol2.h:  Use autoconf to config Solaris thread
2564         and pthread support, since pre-2.5 systems don't come with
2565         libthread_db.so.1.
2566
2567         * procfs.c (info_proc):  Use int instead of id_t.  Old versions of
2568         Irix don't seem to define this.
2569
2570 start-sanitize-gdbtk
2571 Mon May 13 13:43:25 1996  Fred Fish  <[email protected]>
2572
2573         * gdbtk.c (tk_command): Catch case where no argument is given
2574         since this will cause the tcl interpreter to dump core.
2575 end-sanitize-gdbtk
2576
2577 Mon May 13 17:40:58 1996  Jeffrey A Law  ([email protected])
2578
2579         * top.c (execute_control_command, case while_control): Allow
2580         a while command to be interrupted.
2581
2582 Mon May 13 16:17:36 1996  Stu Grossman  ([email protected])
2583
2584         * sol-thread.c:  More cleanup, add comments.
2585         (sol_thread_resume):  Prevent people from trying to step
2586         inactive threads.
2587         (sol_thread_wait sol_thread_fetch_registers
2588         sol_thread_store_registers):  Remove unnecessary check for
2589         sol_thread_active.  These routines won't get called unless threads
2590         are active.
2591
2592 Mon May 13 11:29:37 1996  Stan Shebs  <[email protected]>
2593
2594         SH3-E support from Allan Tajii <[email protected]>:
2595         * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
2596         float registers.
2597         (sh3e_reg_names): New register name array.
2598         (sh_processor_type_table): Add sh3e processor type.
2599         * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
2600         (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
2601         full set of registers.
2602         * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
2603         (e7000_fetch_registers, e7000_wait): Use them.
2604         * sh3-rom.c (sh3_regnames): Add float registers.
2605         (sh3e_cmds, sh3e_ops): New globals.
2606         (sh3e_open): New function.
2607         (_initialize_sh3_rom): Rename from _initialize_sh3, set up
2608         sh3e target vector.
2609
2610 Fri May 10 15:53:38 1996  Stu Grossman  ([email protected])
2611
2612         * sol-thread.c:  Cleanup.  gcc -Wall fixes.  Add prototypes.
2613         Print out messages instead of codes for thread_db errors.  Make
2614         access macros for thread and lwp manipulation.  Make cleanups to
2615         fixup inferior_pid in case of errors.
2616
2617 Thu May  9 19:06:02 1996  Fred Fish  <[email protected]>
2618
2619         * aclocal.m4: Remove unused definition of AC_C_CROSS.
2620         * configure.in: Add powerpcle-*-solaris* host and target config
2621         so April 30th change does not get lost next time configure is
2622         rebuilt.
2623
2624 Thu May  9 14:13:08 1996  Stu Grossman  ([email protected])
2625
2626         * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
2627         infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
2628         win32-nat.c, config/nm-lynx.h:  Rename thread.h to gdbthread.h to
2629         avoid conflict with Solaris /usr/include/thread.h.
2630
2631 Thu May  9 12:33:32 1996  Rob Savoye  <[email protected]>
2632
2633         * abug-rom.c: Config file for the older style ABug monitor that
2634         runs on the mvme13x boards.
2635         * config/m68k/monitor.mt: Add abug support for m68k cross
2636         debugging.
2637
2638 Wed May  8 20:33:24 1996  Fred Fish  <[email protected]>
2639
2640         * infcmd.c (do_registers_info):  Always print the raw floating
2641         point value's bytes in big endian order, so the the leftmost bit
2642         is the most significant.
2643         * breakpoint.c (clear_momentary_breakpoints): Remove dead code
2644         that is referenced nowhere else.
2645         (set_breakpoint): Ditto.
2646         (do_enable_breakpoint): Created from enable_once_breakpoint
2647         with a couple of changes.
2648         (enable_breakpoint): Call do_enable_breakpoint with an appropriate
2649         bpdisp enum value to set disposition of breakpoint.
2650         (enable_once_breakpoint): Ditto.
2651         (enable_delete_breakpoint): Ditto.
2652         * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
2653         * symtab.c (find_pc_line): Improve comments.
2654 start-sanitize-gdbtk
2655         * gdbtk.c: Fix a couple of misspellings.
2656 end-sanitize-gdbtk
2657         * xcoffread.c: Ditto.
2658
2659 Tue May  7 18:37:06 1996  Stan Shebs  <[email protected]>
2660
2661         * target.c (debug_to_xfer_memory): Insert line breaks when
2662         dumping the memory block.
2663
2664 Mon May  6 13:52:52 1996  Stu Grossman  ([email protected])
2665
2666         * fork-child.c (fork_inferior), inferior.h:  init_trace_fun now
2667         returns a possibly modified pid.
2668         * inftarg.c (ptrace_him):  Now returns pid;
2669         * m3-nat.c (m3_trace_him):  Now returns pid;
2670         * infcmd.c (run_command):  Minor cleanup.
2671         * infrun.c (wait_for_inferior):  Add another check for one_stepped
2672         near where we read the pc to avoid erroneously setting
2673         random_signal for multi-threaded support.
2674         * procfs.c:  Add support for Solaris LWPs.  Remove def of
2675         LOSING_POLL.  Many cleanups...  Several workarounds for Solaris
2676         lossage.  System call entry and exit are now handled by
2677         dynamically registered handlers.
2678         * (syscallname):  Don't barf when handed an unknown syscall
2679         number.
2680         * (info_proc_syscalls):  Ditto.
2681         * sol-thread.c:  New file.  Implements Solaris thread support.
2682         * symfile.c (symbol_file_add):  Add call to target_new_objfile to
2683         notify target-dependent code about new symbol tables.
2684         * (clear_symtab_users):  Call target_new_objfile to notify it of
2685         the removal of all symbol tables.
2686         * target.c (push_target):  Make sure that to_close is non-zero
2687         before calling it.
2688         * target.h (target_new_objfile):  Provide default.      
2689         * config/alpha/nm-osf2.h:  Define LOSING_POLL because this version
2690         of OSF can't hack using poll with /proc.
2691         * config/sparc/nm-sun4sol2.h (target_new_objfile):  Define to be
2692         sol-thread-new-objfile.
2693         * config/sparc/sun4sol2.mh:  Add sol-thread.o to NATDEFFILES, and
2694         add libthread_db.so.1 to NAT_CLIBS.
2695         * config/sparc/tm-sun4sol2.h:  Define PIDGET, TIDGET, and
2696         target_pid_to_str.
2697
2698 Sat May  4 02:13:34 1996  N Srin Kumar  <[email protected]>
2699
2700         * procfs.c (remove_fd):  Fix copy of fds to fill hole left after
2701         removal of the requested fd.
2702
2703 Mon May  6 07:52:48 1996  Michael Meissner  <[email protected]>
2704
2705         * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
2706         hooks under ELF.
2707
2708         * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
2709
2710 start-sanitize-gdbtk
2711 Thu May  2 19:17:49 1996  Stan Shebs  <[email protected]>
2712
2713         * gdbtk.tcl (debug_interface): New global, use to aid debugging.
2714         (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
2715         (file_popup_menu): Delete, never used.
2716         (listing_window_popup): Rename from listing_window_button_1,
2717         remove breakpoint toggling code.
2718         (toggle_breakpoint): New procedure.
2719         (create_file_win): Bind popup menu to button 2, toggle breakpoints
2720         with button 1 in breakpoint area, add display of tagged areas if
2721         debugging on.
2722 end-sanitize-gdbtk
2723
2724 Thu May  2 12:46:14 1996  Jeffrey A Law  ([email protected])
2725
2726         From Peter Schauer:
2727         * breakpoint.h (enum bpdisp):  Add del_at_next_stop.
2728         * breakpoint.c (insert_breakpoints, watchpoint_check,
2729         bpstat_stop_status):  Avoid bad references to memory freed via
2730         delete_breakpoint on watchpoints going out of scope.
2731         Do not delete these watchpoints, disable them and change their
2732         disposition to del_at_next_stop instead.
2733         (breakpoint_auto_delete):  Delete all breakpoints whose disposition
2734         is del_at_next_stop.
2735         (breakpoint_init_inferior):  Use switch to avoid reference to
2736         already deleted breakpoint.
2737
2738 Wed May  1 17:29:18 1996  Fred Fish  <[email protected]>
2739
2740         * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
2741         * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
2742         * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
2743         * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
2744         (solib_info): Call xcoff_relocate_symtab via the hook.
2745         (sharedlibrary_command): Ditto.
2746         * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
2747         (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
2748         (xcoff_init_loadinfo_hook): Define and initialize here.
2749         (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
2750         (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
2751         * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
2752         * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
2753         of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
2754         * rs6000-nat.c (_initialize_core_rs6000): Add initialization
2755         of xcoff_relocate_symtab_hook.
2756
2757 Tue Apr 30 13:22:02 1996  Michael Meissner  <[email protected]>
2758
2759         * configure (powerpcle-*-solaris*): Add Solaris support.
2760
2761         * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
2762         Solaris support.
2763
2764 Mon Apr 29 16:17:31 1996  Dawn Perchik <[email protected]>
2765
2766         * c-valprint.c (c_val_print): Fix printing for arrays defined 
2767         with 0 length.
2768
2769 Sun Apr 28 15:08:05 1996  Stan Shebs  <[email protected]>
2770
2771         Support for bi-endian remote breakpoints.
2772         * remote.c (big_break_insn, little_break_insn): New globals.
2773         (break_insn): Remove.
2774         (remote_insert_breakpoint, remote_remove_breakpoint): Use own
2775         code if REMOTE_BREAKPOINT defined, otherwise call memory
2776         breakpoint functions.
2777         * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
2778         (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
2779
2780         * mon960-rom.c (mon960_cmds): Remove forward decl.
2781         (mon960_load): Use current_monitor instead of mon960_cmds.
2782         (mon960_regnames): Remove backslashes from line ends.
2783         (_initialize_mon960): Fix documentation string.
2784
2785 Sun Apr 28 12:10:35 1996  Fred Fish  <[email protected]>
2786
2787         * symfile.h (psymbol_allocation_list):  Expand comments which
2788         describe the psymbol allocation list and how each field is
2789         used.
2790
2791 Sun Apr 28 03:44:30 1996  Peter Schauer  ([email protected])
2792
2793         * breakpoint.c (delete_breakpoint):  Fix bpt->val, bpt->exp
2794         storage leaks.
2795         (breakpoint_re_set_one):  Fix b->exp, b->val, b->cond storage leaks.
2796
2797         * infcmd.c (run_command), solib.c (locate_base):  Check for
2798         target_has_execution in addition to inferior_pid, a core file
2799         from a threaded program is yielding a non-zero inferior_pid.
2800
2801         * sparc-tdep.c (get_saved_register):  Handle window registers
2802         in a dummy frame correctly.
2803
2804 Sat Apr 27 20:38:32 1996  Fred Fish  <[email protected]>
2805
2806         * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
2807         so that anything that wants an allocation function not yet pulled
2808         in, will get it from mmalloc rather than a system library.
2809         * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
2810         to avoid surprising results when used.
2811
2812 Sat Apr 27 00:12:05 1996  Dawn Perchik  ([email protected])
2813
2814         * stabsread.c: Changes and bug fixes for cfront support.
2815         Fix bug for class data members.
2816         Fix parsing bug when no base classes exist.
2817         Fix memory bug - allocate space for cplusplus specific info.
2818         Add support for static data.
2819         Add prototypes for static functions.
2820         Enhance comments to show what each function expects to parse.
2821         Cleanup code.
2822         * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename 
2823         function to resolve_cfront_continuation.
2824
2825 Fri Apr 26 23:58:26 1996  Jeffrey A Law  ([email protected])
2826
2827         * infrun.c (wait_for_inferior): Call registers_changed when
2828         restarting the inferior to get over a nullified instruction.
2829         
2830 Tue Apr 24 12:12:55 1996  Dawn Perchik ([email protected])
2831
2832         * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: 
2833         Add new support for parsing cfront stabs.
2834
2835 Wed Apr 24 00:32:55 1996  Jeffrey A Law  ([email protected])
2836
2837         * infrun.c (wait_for_inferior): Move "have_waited" label
2838         outside of #ifdef conditionals.  Don't trash the wait status
2839         if we get a signal and the current instruction is nullified.
2840
2841 Mon Apr 22 20:17:01 1996  Fred Fish  <[email protected]>
2842
2843         * Makefile.in (VERSION): Bump version number to 4.16.1.
2844         * NEWS: Update for 4.16 release.
2845
2846 Mon Apr 22 16:32:29 1996  Stan Shebs  <[email protected]>
2847
2848         * monitor.h: Clean up comment formatting.
2849         (current_monitor): Remove decl.
2850         (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
2851         (push_monitor, SREC_SIZE): Remove.
2852         * monitor.c: Expand old macro into current_monitor derefs
2853         everywhere.
2854         * remote-os9k.c (current_monitor): Remove definition.
2855
2856 Mon Apr 22 14:54:45 1996  Mark Alexander  <[email protected]>
2857
2858         * corefile.c (specify_exec_file_hook): Allow arbitrary number of
2859         hooks.
2860         (call_extra_exec_file_hooks): New function.
2861         * h8300-tdep.c: Lint; add .h files to provide missing declarations,
2862         remove unused variables.
2863         (set_machine_hook): New function.
2864         (_initialize_h8300m): Initialize it.
2865
2866 Fri Apr 19 15:03:49 1996  Ian Lance Taylor  <[email protected]>
2867
2868         * remote-mips.c (encoding): Don't specify size, to avoid bug in
2869         SunOS native compiler.
2870
2871 Thu Apr 18 18:46:57 1996  Stan Shebs  <[email protected]>
2872
2873         * monitor.c: Use int rather than LONGEST for values, since
2874         the formatting strings are not prepared to accept long longs.
2875
2876 Wed Apr 17 20:17:27 1996  Doug Evans  <[email protected]>
2877
2878         * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
2879
2880 Tue Apr 16 17:38:23 1996  Stu Grossman  ([email protected])
2881
2882         * corelow.c (add_to_thread_list):  Make sure reg_sect is non-null
2883         before de-referencing it.  Prevents deref of NULL pointer if core
2884         file lacks .reg section.
2885         * defs.h:  Rename floatformat_{to from}_long_double to
2886         floatformat_{to from}_doublest.  Get rid of FLOATFORMAT_{TO
2887         FROM}... macros.
2888         * findvar.c (extract_floating store_floating):  Change all refs to
2889         FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
2890         * utils.c:  Change floatformat_{to from}_long_double to
2891         floatformat_{to from}_doublest cuz the new routines will use
2892         whatever size (double or long double) is appropriate.
2893         * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2894         REGISTER_CONVERT_TO_RAW):  Change FLOATFORMAT... macros to
2895         floatformat... routine calls.
2896
2897 Mon Apr 15 16:34:11 1996  Per Bothner  <[email protected]>
2898
2899         * stabsread.c (read_type):  Move handling of '@' from type
2900         number handling to handling of types proper (as emitted by gcc!).
2901         For typedefs, allocate the typedef type before reading its
2902         definition, to properly handling recursive types.
2903
2904 Mon Apr 15 11:19:26 1996  Jeffrey A Law  ([email protected])
2905
2906         * ch-exp.c (calculate_array_length): Fix prototype.
2907
2908 Sat Apr 13 14:21:16 1996  Stu Grossman  ([email protected])
2909
2910         * remote-nindy.c (nindy_open):  Acquire more target state so that
2911         user can attach to a previously running program.
2912         * (nindy_fetch_registers nindy_store_registers):  Get rid of fp
2913         conversion code.  That's all handled in {extract store}_floating
2914         now.
2915         * utils.c (floatformat_to_double):  Don't bias exponent when
2916         handling zero's, denorms or NaNs.
2917         * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2918         REGISTER_CONVERT_TO_RAW):  Change to using DOUBLST and
2919         FLOATFORMAT_TO/FROM_DOUBLEST macros.
2920         * config/i960/tm-nindy960.h:  Undefine
2921         REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
2922         REGISTER_CONVERTIBLE.  These are no longer necessary now that all
2923         the magic happens in extract/store_floating.
2924
2925 Sat Apr 13 02:58:02 1996  Peter Schauer  ([email protected])
2926
2927         * eval.c (evaluate_subexp_standard):  Report error when attempting to
2928         evaluate subscripts for types which cannot be subscripted.
2929
2930         * valarith.c (value_x_binop, value_x_unop):  Add noside parameter.
2931         Return a zero value with the return type of the member function
2932         if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
2933         function.
2934         * values.h (value_x_binop, value_x_unop):  Update prototypes
2935         accordingly.
2936         * eval.c (evaluate_subexp_standard):  Update all callers of
2937         value_x_binop, value_x_unop accordingly.
2938
2939         * valarith.c (value_neg, value_complement):  Perform ANSI C/C++
2940         integral promotion on operands.
2941
2942 Fri Apr 12 13:19:27 1996  Fred Fish  <[email protected]>
2943
2944         * README: Update for 4.16 release.
2945         * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
2946         * configure: Regenerate with autoconf.
2947         * config.in: Regenerate with autoheader.
2948         * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
2949         * top.c (command_loop): Ditto.
2950
2951 Fri Apr 12 09:45:29 1996  Stu Grossman  ([email protected])
2952
2953         * defs.h:  Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2954         defaults for bi-endian targets.  Replace function pointers for
2955         floatformat routines with macros.  No need for these to be runtime
2956         selectable.
2957         * findvar.c:  Get rid of floatformat function pointers.  Use
2958         macros in extract_floating and store_floating.
2959         * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
2960         Use floatformat macros.
2961
2962 Thu Apr 11 21:28:02 1996  Fred Fish  <[email protected]>
2963
2964         From: Miles Bader  <[email protected]>
2965         * configure.in (AC_CHECK_HEADERS): check for endian.h.
2966         Use AC_CHECK_TOOL to find AR & RANLIB.  Add AC_PROG_AWK.
2967         Add host & target cases for i[345]86-*-gnu*.
2968         * config.in: Regenerate with autoheader.
2969         * configure: Regenerate with autoconf.
2970         * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
2971         (init.c): Don't scan mig-generated files.
2972         * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
2973         * config/nm-m3.h (ATTACH_NO_WAIT): Define.
2974         * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
2975         rather than "#ifndef MACH".
2976
2977 Thu Apr 11 18:49:42 1996  Stan Shebs  <[email protected]>
2978
2979         * remote.c (remotewritesize): New GDB variable, controls size
2980         of memory packets sent to the target.
2981
2982 Thu Apr 11 13:47:52 1996  Stu Grossman  ([email protected])
2983
2984         * dcache.c:  Add prototypes.  Make many functions static.
2985         * (dcache_peek dcache_fetch dcache_poke):  Make dcache_fetch and
2986         dcache_poke call dcache_xfer_memory directly in order to fix
2987         problems with turning off dcache.  dcache_peek is now unnecessary,
2988         so it goes away.
2989
2990         * defs.h:  Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT 
2991         and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
2992         to a struct floatformat.  This allows for better handling of
2993         targets whose floating point formats differ from the host by more
2994         than just byte order.
2995         * (floatformat_to_long_double floatformat_from_long_double):
2996         Prototypes for new functions in utils.c.
2997         * (floatformat_to_doublest floatformat_from_doublest):  Prototypes
2998         for pointers to floating point conversion functions.  The actual
2999         function uses either double or long double if the host supports it.
3000         * findvar.c (floatformat_to_doublest floatformat_from_doublest):
3001         Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
3002         * (extract_floating store_floating):  Rewrite.  Now, if host fp
3003         format is the same as the target, we just do a copy.  Otherwise,
3004         we call floatformat_{to from}_doublest.
3005         * remote-nindy.c (nindy_xfer_inferior_memory):  Change param
3006         `write' to `should_write'.
3007         * utils.c (floatformat_to_long_double
3008         floatformat_from_long_double):  New routines that implement long
3009         double versions of functions in libiberty/floatformat.c.
3010         * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT):  Define this for
3011         i960 extended real (80 bit) numbers.
3012         * nindy-share/nindy.c (ninMemGet ninMemPut):  Return number of bytes
3013         actually read or written.
3014
3015 Wed Apr 10 02:56:06 1996  Wilfried Moser (Alcatel)  <[email protected]>
3016
3017         * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
3018         (calculate_array_length): Move function from here ...
3019
3020         * ch-exp.c (calculate_array_length): ... to here.
3021         (parse_primval): If we have a symbol with an array type
3022         and the length is 0, call calculate_array_length.
3023
3024 Tue Apr  9 01:23:05 1996  Wilfried Moser (Alcatel)  <[email protected]>
3025
3026         * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
3027         Add some checks for powerset compatibility.
3028
3029         * valops.c (value_slice): Use lowbound instead of lowerbound for
3030         call to slice_range_type to get correct bounds.
3031
3032 Mon Apr  8 12:53:56 1996  Fred Fish  <[email protected]>
3033
3034         * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
3035         dependencies.
3036         * scm-lang.c (gdb_string.h): Include.
3037         * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
3038         call to correct type (char *).
3039         * cp-valprint.c (cp_print_static_field): Ditto.
3040         * somsolib.c (som_solib_create_inferior_hook): Add a declaration
3041         for external find_unwind_entry function (from hppa-tdep.c).
3042         * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
3043         type of second arg to "char *" to be type compatible with
3044         dcache.
3045         (remote_wait): Cast second arg to strtol to correct type.
3046         * hppa-tdep.c (compare_unwind_entries): Change argument types to
3047         "const void *" to be type compatible with qsort, and then
3048         assign to local args prior to use.
3049
3050 Mon Apr  8 15:35:52 1996  Jeffrey A Law  ([email protected])
3051
3052         * infptrace.c (kill_inferior): Remove call to "kill"; update
3053         comments.
3054
3055 Mon Apr  8 14:05:07 1996  Geoffrey Noer  <[email protected]>
3056
3057         * remote-e7000.c: don't append :23 to target port if __WIN32__
3058         is defined (it's WinGDB).
3059
3060 Sun Apr  7 22:34:29 1996  Fred Fish  <[email protected]>
3061
3062         From: Miles Bader  <[email protected]>
3063         * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
3064         msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
3065         config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
3066         m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
3067
3068 Sun Apr  7 13:32:41 1996  Fred Fish  <[email protected]>
3069
3070         * configure.in (case host): Add i386sco5 host.
3071         * configure: Regenerate.
3072         
3073         From: Robert Lipe <[email protected]>
3074         Add support for SCO OpenServer 5 (a.k.a. 3.2v5*)  This
3075         target is an SVR3.2 with COFF, ELF, and shared libes, but
3076         no /proc.
3077         * config/i386/i386sco5.mh:  New file.
3078         * config/i386/nm-i386sco5.h:  New file.
3079
3080 Sat Apr  6 08:55:22 1996  Fred Fish  <[email protected]>
3081
3082         * bcache.c (bcache): When size of chunk to cache is exactly equal to
3083         BCACHE_MAXLENGTH, stash chunk as unique copy.
3084
3085 Sat Apr  6 00:46:26 1996  Fred Fish  <[email protected]>
3086
3087         * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
3088         (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
3089         use it, rather than calling add_psymbol_addr_to_list.
3090         (add_psymbol_addr_to_list): Delete.
3091         (add_psymbol_to_list): Make psymbol static to avoid random data in
3092         gaps due to alignment of structure members.
3093         * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
3094         ADD_PSYMBOL_ADDR_TO_LIST): Remove.  Real world tests show no
3095         performance improvements by inlining via complicated macros and
3096         they just make gdb larger and harder to maintain.
3097         * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
3098         and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
3099         add_psymbol_to_list with appropriate long or CORE_ADDR args.
3100         (add_partial_symbol): Ditto.
3101         * partial-stab.h: Ditto.
3102         * os9kread.c (read_os9k_psymtab): Ditto
3103         * mdebugread.c (parse_partial_symbols): Ditto.
3104         (handle_psymbol_enumerators): Ditto.
3105         (demangle.h): Include.
3106         * hpread.c (hpread_build_psymtabs): Ditto.
3107         (hpread_build_psymtabs): Ditto.
3108         (demangle.h): Include
3109
3110 start-sanitize-gdbtk
3111 Fri Apr  5 13:44:40 1996  Stan Shebs  <[email protected]>
3112
3113         * gdbtk.c (running_now): New global variable.
3114         (gdb_cmd): Test it before executing any command.
3115         (gdbtk_call_command): Set it when inferior is running.
3116         * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
3117         disable interaction with command window's text appropriately.
3118
3119 Fri Apr  5 13:25:42 1996  Michael Meissner  <[email protected]>
3120
3121         * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
3122         some versions of the kernel don't support it.
3123 end-sanitize-gdbtk
3124
3125 Thu Apr  4 20:16:55 1996  Fred Fish  <[email protected]>
3126
3127         * configure.in: Check for setpgid function.
3128         * config.in: Regenerate with autoheader.
3129         * configure: Regenerate with autoconf.
3130         * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
3131         if it is actually defined.
3132         (gdb_setpgid): Use HAVE_SETPGID.
3133         * ch-exp.c: Change include of <string.h> to "gdb_string.h".
3134         * c-exp.y, f-exp.y, m2-exp.y: Ditto.
3135         * c-exp.y, serial.c: Include <ctype.h>.
3136         * config/m68k/nm-news.h: Add typedef for pid_t which is
3137         apparently missing from <sys/types.h>.  Enclose entire
3138         file in NM_NEWS_H ifndef and define when included.
3139         * config/mips/nm-news-mips.h: Ditto.
3140         * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
3141         REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
3142
3143 Thu Apr  4 19:04:18 1996  Stan Shebs  <[email protected]>
3144
3145         * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
3146         * arm-tdep.c (arm_apcs_32): New global.
3147         (arm_addr_bits_remove, arm_saved_pc_after_call,
3148         arm_push_dummy_frame, arm_pop_frame): New functions.
3149         (arm_skip_prologue): Updated version from Richard Earnshaw.
3150         (_initialize_arm_tdep): Add set/show "apcs32".
3151         * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
3152         arm_addr_bits_remove.
3153         (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
3154         (frame_find_saved_regs): Declare properly.
3155         (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
3156         (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
3157         explicit mask.
3158         * config/arm/nm-arm.h: New file.
3159         * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
3160         Move definitions to nm-arm.h.
3161         * config/arm/arm.mh (NAT_FILE): Define.
3162
3163         * symfile.c (generic_load): Initialize data_count properly.
3164
3165 Thu Apr  4 17:17:53 1996  Fred Fish  <[email protected]>
3166
3167         * symmisc.c (print_objfile_statistics): Print memory used by
3168         psymbol cache obstack.
3169
3170 Thu Apr  4 15:43:07 1996  Stan Shebs  <[email protected]>
3171
3172         * symfile.c (report_transfer_performance): New function.
3173         (generic_load): Call it to report transfer rate.
3174         * remote-e7000.c (e7000_load): Ditto.
3175
3176 Mon Apr  1 16:31:00 1996  Stan Shebs  <[email protected]>
3177
3178         * mpw-make.sed: Change references to config.h to be in objdir,
3179         edit out rules to rebuild config.h.
3180
3181 Mon Apr  1 08:32:23 1996  Fred Fish  <[email protected]>
3182
3183         * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
3184         proceeding.
3185
3186 Sun Mar 31 16:15:43 1996  Fred Fish  <[email protected]>
3187
3188         * hppah-nat.c (store_inferior_registers, store_inferior_registers,
3189         fetch_register, child_xfer_memory): Use call_ptrace function supplied
3190         by infptrace.c rather than calling ptrace directly.
3191
3192 Sun Mar 31 15:39:00 1996  Stan Shebs  <[email protected]>
3193
3194         * mon960-rom.c: Cleanups and elimination of unused code,
3195         clarify documentation string.
3196         (mon960_serial, mon960_ttyname): Remove.
3197         * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
3198         ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
3199
3200 Sat Mar 30 11:00:22 1996  Fred Fish  <[email protected]>
3201
3202         * configure.in: Check whether printf family supports printing
3203         long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
3204         * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
3205         * configure: Regenerate.
3206         * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
3207         * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
3208         * configure.in: Fix have_gregset and have_fpregset autoconf
3209         variable names so that they match the pattern required to
3210         cache them.
3211
3212 Fri Mar 29 21:39:56 1996  Fred Fish  <[email protected]>
3213
3214         * core-aout.c (fetch_core_registers): Cast core_reg_size to int
3215         before testing against reg_ptr.
3216         * eval.c (evaluate_subexp_standard): Cast type of
3217         TYPE_FN_FIELD_VOFFSET to int.
3218         * findvar.c (extract_signed_integer, extract_unsigned_integer,
3219         extract_long_unsigned_integer): Cast type of sizeof to int.
3220         * values.c (unpack_field_as_long, modify_field): Ditto.
3221         * valops.c (value_assign, call_function_by_hand): Ditto.
3222         * infcmd.c (do_registers_info): Ditto.
3223         * ser-tcp.c (tcp_open): Ditto.
3224         * remote.c (putpkt): Ditto.
3225         * dcache.c (dcache_peek): Ditto.
3226         * dcache.c (dcache_poke): Ditto.
3227         * m2-exp.y (yylex): Ditto.
3228         * gnu-regex.c (re_match_2): Ditto.
3229         * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
3230         out unused macro definition and variables.
3231         * inftarg.c (proc_wait): Move from main.c to here, and make static.
3232         * valprint.c (val_print_string): Change bufsize from int to unsigned.
3233         * main.c (wait.h): Include.
3234         * top.c (command_line_input): Remove unused variable "c".
3235         * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
3236         value TYPE_CODE_TYPEDEF to switch statement.
3237         (f_type_print_varspec_suffix): Add missing enum value
3238         TYPE_CODE_TYPEDEF to switch statement.
3239         * ch-exp.c (parse_primval): Add remaining enumeration values to
3240         switch statement, with no specific action.
3241         (ch_lex): Add LOC_UNRESOLVED in switch statement.
3242         (pushback_token): Ifdef out, since code using it is ifdef'd out.
3243         * stabsread.c (cleanup_undefined_types): Remove unused label
3244         "badtype".
3245         * objfiles.h (print_symbol_bcache_statistics): Add prototype.
3246         * maint.c (objfiles.h): Include.
3247         (maintenance_print_statistics): Remove unused variable "temp".
3248         * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
3249         unused variable "found_file_symbol".
3250         * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
3251         * language.c (lang_bool_type): Use existing function local type
3252         variable rather than create block local variables.
3253         * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
3254         * infptrace.c (wait.h, command.h): Include.
3255         * ser-tcp.c (gdb_string.h): Include
3256         * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
3257         (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
3258         * command.c (complete_on_enum): Make assignment used as truth value
3259         explictly check against NULL.
3260         (wait.h): Include.
3261         * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
3262         that uses it is ifdef'd out.
3263         * parser-defs.h: Add prototype for write_dollar_variable.
3264         * infrun.c: Add prototype for write_pc_pid.
3265         * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
3266         * symmisc.c (bcache.h): Include.
3267         * bcache.h: Add prototype for print_bcache_statistics.
3268         * symfile.c: Include <time.h>.
3269         * printcmd.c (print_scalar_formatted): Change len to unsigned int.
3270         * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
3271         * valarith.c (value_binop): Change result_len, promoted_len1,
3272         and promoted_len2 to unsigned int.
3273         * valarith.c (value_subscripted_rvalue): Change elt_offs and
3274         elt_size to unsigned int.
3275         * valops.c (value_array): Change typelength to unsigned int.
3276         (destructor_name_p): Change len to unsigned int.
3277         * scm-lang.h (scm_parse): Add prototype for scm_unpack.
3278         * symfile.c (decrement_reading_symtab): Change return type to void.
3279         * valarith.c (value_subscript): Remove unused variable "word".
3280         (value_subscript): Remove unused variable "tint".
3281         * valops.c (auto_abandon): Ifdef out, since code using it is also
3282         ifdef'd out.
3283         * eval.c (init_array_element): Remove unused variable "val".
3284         * Makefile.in (values.o): Depends on scm-lang.h.
3285         (command.o): Depends upon wait_h.
3286         (ser-tcp.o): Depends upon gdb_string.h.
3287         (infptrace.o): Depends upon wait_h and command_h.
3288         (maint.o): Depends on objfiles.h and symfile.h.
3289         * values.c (allocate_repeat_value): Remove unused variable
3290         "element_type".
3291         (scm-lang.h): Include.
3292         * breakpoint.c (create_longjmp_breakpoint): Enclose in
3293         GET_LONGJMP_TARGET define, unused otherwise.
3294         * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
3295         i386_remove_watchpoint and i386_stopped_by_watchpoint.
3296         
3297 Thu Mar 28 12:53:19 1996  Doug Evans  <[email protected]>
3298
3299         * configure.in (sparc64-*-solaris2*): Delete.
3300         Stick with sparc-*-solaris2*.
3301         * configure: Regenerated.
3302
3303 Thu Mar 28 06:51:26 1996  Fred Fish  <[email protected]>
3304
3305         * valops.c (value_assign): Make copy of internal variable value
3306         before returning it as a new value, since it is owned by the 
3307         internal variable and will be freed along with it.
3308
3309 Wed Mar 27 08:36:17 1996  Jeffrey A Law  ([email protected])
3310
3311         * From Peter Schauer.
3312         * breakpoint.c (breakpoint_re_set_one):  Keep temporary
3313         breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
3314         and bp_step_resume in case breakpoint_re_set_one is called due
3315         to a step over a dlopen call.
3316         * infrun.c (wait_for_inferior):  Always remove breakpoints from
3317         inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
3318
3319 Tue Mar 26 13:15:32 1996  Fred Fish  <[email protected]>
3320
3321         * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
3322         non-prototyped case over prototyped case for C.
3323         * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE):  Ditto.
3324
3325 Sat Mar 23 17:24:28 1996  Fred Fish  <[email protected]>
3326
3327         * os9kread.c (os9k_process_one_symbol): Note nonportable
3328         assumption that an int can hold a char *.
3329
3330         * bcache.h (struct hashlink): Wrap data[] inside union with
3331         double to force longest alignment.
3332         (BCACHE_DATA): New macro to access data[].
3333         (BCACHE_ALIGNMENT): New macro to get offset to data[].
3334         * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
3335         address of cached data.  Use BCACHE_ALIGNMENT to compute
3336         amount of space to allocate for each hashlink struct.
3337
3338 Sat Mar 23 12:14:02 1996  Fred Fish  <[email protected]>
3339
3340         * ch-lang.c (evaluate_subexp_chill): Fix typo.
3341
3342 Thu Mar 21 08:27:19 1996  Fred Fish  <[email protected]>
3343
3344         * Makefile.in (VERSION): Bump version to 4.15.3
3345
3346 Thu Mar 21 10:56:41 1996  Ian Lance Taylor  <[email protected]>
3347
3348         * config.in: Rename from config.h.in.
3349         * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
3350         Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
3351         * configure: Rebuild.
3352         * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
3353         Set CONFIG_HEADERS to config.h:config.in.
3354
3355 Tue Mar 19 12:47:51 1996  Peter Schauer  ([email protected])
3356
3357         * partial-stab.h (case N_ENDM):  Finish current partial symbol
3358         table for Solaris 2 cc.
3359
3360 Tue Mar 19 10:39:15 1996  Jeffrey A Law  ([email protected])
3361
3362         * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
3363         PC in the registers array.  From Peter Schauer.
3364
3365 Mon Mar 18 13:47:09 1996  Fred Fish  <[email protected]>
3366
3367         * symfile.c (reread_symbols): Reinitialize bcache struct
3368         members to zero using memset.  Also use memset to reinit
3369         global_psymbols and static_psymbols, rather than explicitly
3370         resetting each structure member.
3371
3372 Sat Mar 16 19:47:36 1996  Fred Fish  <[email protected]>
3373
3374         * configure.in: Add fragment to create stamp-h.
3375         
3376         From Peter Schauer <[email protected]>
3377         * configure.in (AC_CHECK_HEADERS):  Check for link.h.
3378         * configure:  Regenerate with autoconf.
3379         * config.h.in:  Regenerate with autoheader.
3380         * config/i386/nm-linux.h:  Include solib.h only if HAVE_LINK_H
3381         is defined.
3382         * solib.c:  Exclude most of the code if HAVE_LINK_H is not defined.
3383         * config/i386/linux.mh:  Reinstate XM_CLIBS, it is needed for
3384         older a.out based systems.
3385
3386 Sat Mar 16 16:45:43 1996  Fred Fish  <[email protected]>
3387
3388         * config.h.in: New file.
3389         * acconfig.h: New file, for autoheader.
3390         * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
3391         * configure: Regenerate.
3392         * Makefile.in (defs_h): Add config.h
3393         (distclean): Remove config.h and stamp-h during distclean.
3394         (config.h, stamp-h): New targets to remake config.h when necessary.
3395         * defs.h (config.h): Include before any other includes or defines.
3396         * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
3397         * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
3398
3399 Sat Mar 16 14:55:27 1996  Fred Fish  <[email protected]>
3400
3401         From Peter Schauer <[email protected]>
3402         * Makefile.in (INSTALLED_LIBS):  Make sure that @LIBS@ will not
3403         result in an empty line, to work around a bug in native Ultrix 4.4
3404         and OSF/1-3.2C make.
3405
3406 Sat Mar 16 13:33:17 1996  Fred Fish  <[email protected]>
3407
3408         * configure.in: Add gdbserver to configdirs under linux.
3409         * configure: Regenerate.
3410         
3411 Fri Mar 15 12:06:58 1996  J.T. Conklin  <[email protected]>
3412
3413         * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
3414         * config/i386/tm-nbsd.h (NUM_REGS): Define.
3415
3416 Thu Mar 14 10:31:18 1996  Jeffrey A Law  ([email protected])
3417
3418         * solib.c (solib_break_names): Add _r_debug_state for
3419         vanilla SVR4 implementations.  From Peter Schauer.
3420
3421 Mon Mar 11 14:24:57 1996  Dawn Perchik  <[email protected]>
3422
3423         * mon960-rom.c: New file; support mon960 rom monitor on i960.
3424         * monitor.c (monitor_debug): Change remotedebug to buffer strings.
3425         * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
3426         epecting prompt and echo during open.
3427         * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to 
3428         determine if break should be sent as stop command.
3429         * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
3430         * i960-tdep.c (mon960_frame_chain_valid): New function for getting 
3431         stack frame on mon960.
3432         * Makefile.in: Add mon960 files.
3433         * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
3434         added i960-nindy-coff* and i960-nindy-elf* for target nindy.
3435         * configure: Regenerated.
3436         * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; 
3437         support mon960 rom monitor on i960.
3438
3439 Mon Mar 11 11:02:47 1996  Steve Chamberlain  <[email protected]>
3440
3441         With Michael Snyder:
3442         * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
3443         * win32-nat.c (CHECK, DEBUG*, debug_*): New.
3444         (handle_load_dll): Don't reload symbols.
3445         (handle_exception):  Use the DEBUG_* names.
3446         (child_wait): Add DEBUG_* code.
3447         (_initialize_inftarg): Add new commands to set debug_ names.
3448
3449 Mon Mar 11 09:19:58 1996  Jeffrey A Law  ([email protected])
3450
3451         * From Peter Schauer:
3452         * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
3453         (bpstat_stop_status): Likewise.
3454         (remove_solib_event_breakpoints): Likewise.
3455         (clear_momentary_breakpoints): Likewise.
3456         (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
3457         if we still can't read the memory for that breakpoint.
3458         (mention): Add bp_shlib_event case to keep gcc quiet.
3459         
3460 Fri Mar  8 12:08:12 1996  Jeffrey A Law  ([email protected])
3461
3462         * breakpoint.h (enum enable): New enum shlib_disabled for
3463         shared library breakpoints that have been temporarily disabled.
3464         * breakpoint.c: Handle temporarily disabled shared library
3465         breakpoints like disabled breakpoints in most places.
3466         (insert_breakpoints): Use shlib_disabled to indicate
3467         that an unsettable breakpoint is only temporarily disabled.
3468         (re_enable_breakpoints_in_shlibs): New function.
3469         * corelow.c (solib_add_stub): After adding shared libraries,
3470         try to reenable any temporarily disabled breakpoints.
3471         * infcmd.c (attach_command): Likewise.
3472         * infrun.c (wait_for_inferior): Likewise.
3473
3474 Fri Mar  8 11:41:25 1996  Ian Lance Taylor  <[email protected]>
3475
3476         * defs.h (extract_long_unsigned_integer): Declare.
3477         * findvar.c (extract_long_unsigned_integer): New function.
3478         * printcmd.c (print_scalar_formatted): Use it.
3479         * valprint.c (val_print_type_code_int): Likewise.
3480
3481 Thu Mar  7 17:40:50 1996  Stan Shebs  <[email protected]>
3482
3483         * infcmd.c (do_registers_info): Ignore anonymous registers.
3484         * sh-tdep.c (set processor): New command to set specific
3485         processor type.
3486         (sh_reg_names, sh3_reg_names): Arrays of register names for
3487         SH and SH3 processors.
3488         (sh_set_processor_type): New function.
3489         * sh3-rom.c (sh3_open): Call it.
3490         (sh3_regname): Add names of all the bank registers.
3491         (sh3_supply_register): Clean up formatting.
3492         * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
3493         bank registers.
3494         (REGISTER_NAMES): Add names of bank registers.
3495         (FP15_REGNUM): Define.
3496         (REGISTER_VIRTUAL_TYPE): Use it.
3497         * monitor.c: Clean up some comments.
3498
3499 Thu Mar  7 12:09:51 1996  J.T. Conklin  <[email protected]>
3500
3501         * i386b-nat.c: Revert part of Mar 5 change.  FreeBSD collapsed the
3502         s* and t* symbols too.
3503
3504 Thu Mar  7 15:18:51 1996  James G. Smith  <[email protected]>
3505
3506         * symfile.c (generic_load): Avoid division by zero.
3507
3508 Wed Mar  6 17:57:59 1996  Jeffrey A Law  ([email protected])
3509
3510         * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
3511         not just those with HANDLE_SVR4_EXEC_EMULATORS.
3512
3513         From Peter Schauer:
3514         * breakpoint.c (internal_breakpoint_number): Move to file scope.
3515         (create_solib_event_breakpoint): Use an internal breakpoint number.
3516
3517 Wed Mar  6 00:32:44 1996  Wilfried Moser (Alcatel)  <[email protected]>
3518
3519         * valarith.c (value_in): Change builtin_type_chill_bool to
3520         LA_BOOL_TYPE.
3521
3522 Tue Mar  5 23:48:36 1996  Wilfried Moser (Alcatel)  <[email protected]>
3523
3524         * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
3525         (match_string_literal): Handle control sequence.
3526         (match_character_literal): Deto.
3527
3528         * ch-lang.c (chill_printchar): Change formating of nonprintable
3529         characters from C'xx' to ^(num).
3530         (chill_printstr): Deto.
3531         (value_chill_card, value_chill_max_min): New functions to process
3532         Chill's CARD, MAX, MIN.
3533         (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
3534
3535         * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
3536         for Chill's CARD, MAX, MIN.
3537
3538         * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
3539         and change return type from builtin_type_int to
3540         builtin_type_chill_bool.
3541
3542 Tue Mar  5 18:54:04 1996  Stan Shebs  <[email protected]>
3543
3544         * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
3545         from config/nm-nbsd.h.
3546         * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
3547         from config/sparc/tm-nbsd.h.
3548
3549         * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
3550         instead of in config/m68k/xm-hp300hpux.h.
3551
3552 Tue Mar  5 12:05:35 1996  J.T. Conklin  <[email protected]>
3553
3554         * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
3555         implementation for NetBSD systems.
3556
3557 Mon Mar  4 23:44:16 1996  Per Bothner  <[email protected]>
3558
3559         * valarith.c (binop_user_defined_p):  Return 0 for BINOP_CONCAT.
3560         (value_concat):  Handle varying strings (add COERCE_VARYING_ARRAY).
3561
3562         * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT):  Error
3563         if "function" is pointer to non-function.
3564
3565 Mon Mar  4 17:47:03 1996  Stan Shebs  <[email protected]>
3566
3567         * top.c (print_gdb_version): Update copyright year.
3568
3569 Mon Mar  4 14:44:54 1996  Jeffrey A Law  ([email protected])
3570
3571         From Peter Schauer:
3572         * infrun.c (wait_for_inferior): Remove breakpoints and
3573         switch terminal settings before calling SOLIB_ADD.
3574         * solib.c (enable_break, SVR4 variant): Don't map in symbols
3575         for the dynamic linker, the namespace pollution causes real
3576         problems.
3577
3578 Sun Mar  3 17:18:57 1996  James G. Smith  <[email protected]>
3579
3580         * remote-mips.c (common_breakpoint): Explicitly terminate the
3581         returned buffer.
3582
3583 Wed Feb 28 22:32:18 1996  Stan Shebs  <[email protected]>
3584
3585         From Wilfried Moser <[email protected]>:
3586         * remote.c (remote_detach): Send a command 'D' to the target
3587         when detaching, update the function's comments.
3588
3589 Thu Jun  6 16:11:38 1996  Miles Bader  <[email protected]>
3590
3591         * gnu-nat.c (thread_cmd_list): New declaration.
3592         (parse_int_arg): New function.
3593
3594 Wed Jun  5 17:28:04 1996  Miles Bader  <[email protected]>
3595
3596         * gnu-nat.h (struct proc): Add DETACH_SC field.
3597         * gnu-nat.c (make_proc): Set DETACH_SC.
3598         (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3599         (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3600         (add_thread_commands): Add set/show for detach-suspend-count.
3601         Add takeover-suspend-count cmd.
3602         (inf_detach): Set suspend counts to the detach SC, not 0.
3603         (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
3604         set_task_detach_sc_cmd, show_task_detach_sc_cmd,
3605         set_thread_default_thread_detach_sc_cmd,
3606         show_thread_default_thread_detach_sc_cmd): New functions.
3607         (show_task_cmd): Also show detach-suspend-count values.
3608         (thread_takeover_sc_cmd): New function.
3609
3610 Fri May 31 16:49:24 1996  Miles Bader  <[email protected]>
3611
3612         * gnu-nat.c (show_thread_run_cmd): Actually print state.
3613
3614 Thu May 30 10:47:56 1996  Miles Bader  <[email protected]>
3615
3616         * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
3617
3618 Tue May 28 17:06:36 1996  Miles Bader  <[email protected]>
3619
3620         * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
3621         pointer to the flags now, not the flags themselves.
3622
3623 Mon May 27 13:31:17 1996  Miles Bader  <[email protected]>
3624
3625         * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
3626         (gnu_create_inferior): Check return from ptrace.
3627
3628 Sun May 26 16:56:35 1996  Miles Bader  <[email protected]>
3629
3630         * gnu-nat.h (struct proc): Add DEAD field.
3631         * gnu-nat.c (make_proc): Initialize DEAD.
3632         (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
3633         (gnu_wait): Only abort for 0 threads if the task isn't dead.
3634
3635 Sat May 25 17:06:05 1996  Miles Bader  <[email protected]>
3636
3637         * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
3638
3639 Wed May 22 18:44:28 1996  Miles Bader  <[email protected]>
3640
3641         * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
3642         (inf_set_traced): Only give no-signal-thread error message if
3643         turning *on* tracing.
3644
3645 Wed May 15 13:03:16 1996  Miles Bader  <[email protected]>
3646
3647         * gnu-nat.c (inf_validate_procs): If INF has no threads, always
3648         set inf->threads_up_to_date to 0.
3649         (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
3650         (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
3651         (proc_update_sc): Cast thread state arg to thread_set_state.
3652         (proc_get_state): Cast thread state arg to thread_get_state.
3653         (inf_validate_task_sc): Cast task_basic_info arg to task_info.
3654         * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
3655         inf_update_procs before we lookup the thread.
3656         * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
3657
3658 Tue May  7 17:52:33 1996  Miles Bader  <[email protected]>
3659
3660         * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
3661
3662 Mon May  6 19:06:49 1996  Miles Bader  <[email protected]>
3663
3664         * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
3665         INIT_TRACEMASK instead of setting the exec flags.
3666
3667 Fri May  3 19:10:57 1996  Miles Bader  <[email protected]>
3668
3669         * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
3670         the task's died, so others have a chance at it.
3671         (gnu_resume): When single-stepping a single thread, given an error
3672         if there is no such thread.  When single-stepping one but running
3673         the others, just given a warning and still run all the threads.
3674         (gnu_wait): If there seem to be no threads, look harder, and
3675         signal an error if there really aren't any.
3676         (gnu_attach): Reset thread numbering to 0.
3677
3678         * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
3679         thread name in warning messages.
3680
3681         * gnu-nat.c (active_inf): New function.
3682         (show_sig_thread_cmd, show_stopped_cmd): Use it.
3683         (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
3684         info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
3685         New functions.
3686         (add_task_commands): Add new port-right info commands.
3687
3688 Fri Apr 26 20:42:16 1996  Miles Bader  <[email protected]>
3689
3690         * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
3691         use mach_msg with MACH_RCV_INTERRUPT.
3692         (set_noninvasive_cmd): New function.
3693         (add_task_commands): Add command entry for `set noninvasive'.
3694
3695 Mon Mar  4 14:12:02 1996  Miles Bader  <[email protected]>
3696
3697         * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
3698         (safe_bcopy): Function removed.
3699
3700 Mon Dec  4 14:18:26 1995  Miles Bader  <[email protected]>
3701
3702         * gnu-nat.c (proc_update_sc): Assert only threads can have state.
3703         (make_proc): Initialize state_valid & state_changed fields.
3704
3705 Tue Nov 28 17:51:21 1995  Miles Bader  <[email protected]>
3706
3707         * reply_mig_hack.awk: New file.
3708
3709 Tue Nov 14 14:31:03 1995  Miles Bader  <[email protected]>
3710
3711         * breakpoint.c (breakpoint_1): Print breakpoint thread field.
3712
3713         * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
3714         threads.
3715
3716 Mon Nov 13 18:30:53 1995  Miles Bader  <[email protected]>
3717
3718         * target.c (debug_to_check_threads): New function.
3719
3720         * inflow.c (terminal_init_inferior_with_pgrp): New function.
3721         (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
3722         * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
3723         but only if PROCESS_GROUP_TYPE is defined.
3724
3725 Mon Nov  6 16:42:09 1995  Miles Bader  <[email protected]>
3726
3727         * target.c (debug_to_thread_alive): Pass through the return value.
3728
3729 Thu Nov  2 18:05:00 1995  Miles Bader  <[email protected]>
3730
3731         * target.c (signals, target_signal_from_host, target_signal_to_host): 
3732         Add mach exceptions.
3733         * target.h (enum target_signal): Add mach exceptions.
3734
3735 Mon Oct 30 16:41:04 1995  Miles Bader  <[email protected]>
3736
3737         * gnu-nat.c: New file: gnu native backend.
3738         * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
3739         * gnu-nat.h: New file.
3740         * config/nm-gnu.h: New file.
3741         * config/tm-i386gnu.h: New file.
3742         * config/xm-i386gnu.h: New file.
3743         * config/i386/i386gnu.mh: New file.
3744         * config/i386/i386gnu.mt: New file.
3745
3746 Wed Feb 28 15:50:12 1996  Fred Fish  <[email protected]>
3747
3748         * Makefile.in (VERSION): Bump version to 4.15.2 to establish
3749         baseline for gdb 4.16 rerelease testing.
3750
3751 Wed Feb 28 13:32:05 1996  Jeffrey A Law  ([email protected])
3752
3753         * somsolib.c (som_solib_create_inferior_hook): Before returning
3754         call clear_symtab_users.
3755
3756 Tue Feb 27 00:04:46 1996  Stu Grossman  ([email protected])
3757
3758         * remote-e7000.c (e7000_open):  Delete all breakpoints when
3759         connecting to e7000.  Change connect message to allow use of
3760         monitor.exp in test suite.
3761         * (e7000_load):  Print transfer rate of download.
3762         * symfile.c (generic_load):  Print transfer rate of download.
3763
3764 Sun Feb 25 13:58:33 1996  Stan Shebs  <[email protected]>
3765
3766         * configure.in (mips*-*-vxworks*): New config.
3767         * configure: Regenerated.
3768
3769         * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
3770         * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
3771         Remove, never used.
3772
3773 Sat Feb 24 12:30:28 1996  Peter Schauer  ([email protected])
3774
3775         * partial-stab.h (case N_FUN):  Function symbols generated
3776         by SPARCworks cc have a meaningless zero value, do not update
3777         pst->textlow if the function symbol value is zero. 
3778
3779         * stabsread.c (define_symbol):  Initialize SYMBOL_TYPE field
3780         for function prototype declaration symbols.
3781
3782 Fri Feb 23 22:33:04 1996  Stu Grossman  ([email protected])
3783
3784         * remote-e7000.c (e7000_load):  New routine to download via the
3785         network.
3786         * (e7000_wait):  Don't backup PC when we hit a breakpoint.
3787         Apparantly new sh2 pods get this right...
3788         * (e7000_ops):  Add call to e7000_load.
3789
3790 Thu Feb 22 00:52:42 1996  J.T. Conklin  <[email protected]>
3791
3792         * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
3793         m68knbsd-nat.c: New files, support for NetBSD/m68k.
3794
3795         * configure.in (m68k-*-netbsd*): New config.
3796         * configure: Regenerated.
3797
3798 Wed Feb 21 19:00:21 1996  Fred Fish  <[email protected]>
3799
3800         * standalone.c (open, _initialize_standalone): Fix obvious typos
3801         reported by Martin Pool <[email protected]>.
3802
3803 Wed Feb 21 14:24:04 1996  Jeffrey A Law  ([email protected])
3804
3805         * solib.c (solib_create_inferior_hook): Fix thinko.
3806
3807 Tue Feb 20 23:59:19 1996  Jeffrey A Law  ([email protected])
3808
3809         * solib.c (solib_break_names): Define for Solaris and Linux.
3810         (enable_break): For SVR4 systems, first try to use the debugger
3811         interfaces in the dynamic linker to track shared library events
3812         as they happen, then fall back to BKPT_AT_SYMBOL code.  Convert
3813         BKPT_AT_SYMBOL code to use shared library event breakpoints.
3814         (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
3815         it no longer needs to restart/wait on the inferior.
3816         * symfile.c (find_lowest_section): No longer static.
3817         * symfile.h (find_lowest_section): Corresponding changes.
3818
3819 Tue Feb 20 18:54:08 1996  Fred Fish  <[email protected]>
3820
3821         * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
3822         (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
3823         * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
3824         * config/mips/tm-mips.h: Ditto.
3825         * config/pa/tm-hppa.h: Ditto.
3826         * config/rs6000/tm-rs6000.h: Ditto.
3827         * config/sparc/tm-sparc.h: Ditto.
3828         
3829 Tue Feb 20 17:32:05 1996  J.T. Conklin  <[email protected]>
3830
3831         * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
3832
3833         * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
3834         * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3835         #ifdef'd out definitions ---  Causes serious gdb failures on 
3836         the i386.  Need to investigate further before enabling.
3837
3838         * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
3839         fetch_core_registers): New functions.  These functions are defined
3840         if FETCH_INFERIOR_REGISTERS is set.  Registers are fetched/stored
3841         with ptrace PT_GETREGS/PT_SETREGS.
3842
3843 Tue Feb 20 16:55:06 1996  Stu Grossman  ([email protected])
3844
3845         * findvar.c (extract_floating store_floating):  Replace `long
3846         double' with `DOUBLEST'.
3847
3848 Mon Feb 19 15:25:51 1996  J.T. Conklin  <[email protected]>
3849
3850         * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3851         Define.
3852
3853 Mon Feb 19 10:32:05 1996  Jeffrey A Law  ([email protected])
3854
3855         * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
3856
3857         * breakpoint.h (remove_solib_event_breakpoints): Declare.
3858         * breakpoint.c (remove_solib_event_breakpoints): New function.
3859         * somsolib.c (solib_create_inferior_hook): Remove all solib event
3860         breakpoints before inserting any new ones.  Use a solib event
3861         breakpoint for the breakpoint at "_start".
3862         Remove extraneous "\n" from calls to warning.  
3863         
3864         * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
3865         name array.
3866         
3867 Mon Feb 19 01:09:32 1996  Doug Evans  <[email protected]>
3868
3869         * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
3870         for CORE_ADDR values.
3871         (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
3872         * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
3873
3874 Sun Feb 18 14:37:13 1996  Peter Schauer  ([email protected])
3875
3876         * mipsread.c (mipscoff_symfile_read):  Unconditionally add
3877         alpha coff dynamic symbols for all symbol files.  Makes skipping
3878         over the trampoline code work when stepping from a function in a
3879         shared library into a function in a different shared library.
3880
3881 Sun Feb 18 09:27:10 1996  Stu Grossman  ([email protected])
3882
3883         * config/sparc/tm-sparc.h:  Define PS_FLAG_CARRY.  Define
3884         RETURN_VALUE_ON_STACK to return long doubles on the stack.
3885
3886 Sat Feb 17 16:33:11 1996  Fred Fish  <[email protected]>
3887
3888         * Makefile.in (ch-exp.o): Add dependencies.
3889         (various): Add gdb_string.h to dependencies that need it.
3890
3891 Sat Feb 17 08:57:50 1996  Fred Fish  <[email protected]>
3892
3893         * symmisc.c (print_symbol_bcache_statistics): Update description for
3894         printing byte cache statistics.
3895
3896 Thu Feb 16 16:02:03 1996  Stu Grossman  ([email protected])
3897
3898         * Add native support for long double data type.
3899         * c-exp.y (%union):  Change dval to typed_val_float.  Use DOUBLEST
3900         to store actual data.  Change types of INT and FLOAT tokens to
3901         typed_val_int and typed_val_float respectively.  Create new token
3902         DOUBLE_KEYWORD to specify the string `double'.  Make production
3903         for FLOAT use type determined by parse_number.  Add production for
3904         "long double" data type.
3905         * (parse_number):  Use sscanf to parse numbers as float, double or
3906         long double depending upon the type of typed_val_float.dval.  Also
3907         allow user to specify `f' or `l' suffix to explicitly specify
3908         float or long double constants.  Change typed_val to
3909         typed_val_int.
3910         * (yylex):  Change typed_val to typed_val_int.  Also, scan for
3911         "double" keyword.
3912         * coffread.c (decode_base_type):  Add support for T_LNGDBL basic
3913         type.
3914         * configure, configure.in:  Add check for long double support in
3915         the host compiler.
3916         * defs.h:  Define DOUBLEST appropriatly depending on whether
3917         HAVE_LONG_DOUBLE (from autoconf) is defined.  Also, fix prototypes
3918         for functions that handle this type.
3919         * expression.h (union exp_element):  doubleconst is now type
3920         DOUBLEST.
3921         * m2-exp.y f-exp.y (%union):  dval becomes type DOUBLEST.
3922         * findvar.c (extract_floating):  Make return value be DOUBLEST.
3923         Also, add support for numbers with size of long double.
3924         * (store_floating):  Arg `val' is now type DOUBLEST.  Handle all
3925         floating types.
3926         * parser-defs.h parse.c (write_exp_elt_dblcst):  Arg expelt is now
3927         DOUBLEST.
3928         * valarith.c (value_binop):  Change temp variables v1, v2 and v to
3929         type DOUBLEST.  Coerce type of result to long double if either op
3930         was of that type.
3931         * valops.c (value_arg_coerce):  If argument type is bigger than
3932         double, coerce to long double.
3933         * (call_function_by_hand):  If REG_STRUCT_HAS_ADDR is defined, and
3934         arg type is float and > 8 bytes, then use pointer-to-object
3935         calling conventions.
3936         * valprint.c (print_floating):  Arg doub is now type DOUBLEST.
3937         Use appropriate format and precision to print out floating point
3938         values.
3939         * value.h:  Fixup prototypes for value_as_double,
3940         value_from_double, and unpack_double to use DOUBLEST.
3941         * values.c (record_latest_value):  Remove check for invalid
3942         floats.  Allow history to store them so that people may examine
3943         them in hex if they want.
3944         * (value_as_double unpack_double):  Change return value to DOUBLEST.
3945         * (value_from_double):  Arg `num' is now DOUBLEST.
3946         * (using_struct_return):  Use RETURN_VALUE_ON_STACK macro (target
3947         specific) to expect certain types to always be returned on the stack.
3948
3949 Fri Feb 16 14:00:54 1996  Fred Fish  <[email protected]>
3950
3951         * bcache.c, bcache.h: New files to implement a byte cache.
3952         * Makefile.in (SFILES): Add bcache.c.
3953         (symtab_h): Add bcache.h.
3954         (HFILES_NO_SRCDIR): add bcache.h
3955         (COMMON_OBJS): Add bcache.o
3956         (bcache.o): New target.
3957         * dbxread.c (start_psymtab): Make global_syms & static_syms
3958         type "partial_symbol **".
3959         * hpread.c (hpread_start_symtab):  Ditto.
3960         * os9kread.c (os9k_start_psymtab):  Ditto.
3961         * stabsread.h (start_psymtab):  Ditto.
3962         * {symfile.c, symfile.h} (start_psymtab_common):  Ditto.
3963         * maint.c (maintenance_print_statistics): Call
3964         print_symbol_bcache_statistics.
3965         * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
3966         and free pointers.
3967         * solib.c (allocate_rt_common_objfile): Ditto.
3968         * symfile.c (reread_symbols):  Ditto.
3969         (free_objfile): Free psymbol bcache when objfile is freed.      
3970         (objfile_relocate): Use new indirect psymbol pointers.
3971         * objfiles.h (struct objfile): Add psymbol cache.
3972         * symfile.c (compare_psymbols): Now passed pointers to pointers to
3973         psymbols.
3974         (reread_symbols): Free psymbol bcache when freeing other objfile
3975         resources.
3976         (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
3977         psymbol using the psymbol bcache.
3978         (init_psymbol_list): Psymbol lists now contain pointers rather than
3979         the actual psymbols.
3980         * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
3981         grown arrays of pointers.
3982         (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
3983         bcache.
3984         * symmisc.c (print_partial_symbols): Now takes pointer to pointer
3985         to partial symbol.
3986         (print_symbol_bcache_statistics): New function to print per objfile
3987         bcache statistics.
3988         (print_partial_symbol, print_partial_symbols,
3989         maintenance_check_symtabs, extend_psymbol_list):
3990         Account for change to pointer to pointer to partial symbol.
3991         * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
3992         make_symbol_completion_list): 
3993         Account for change to pointer to pointer to partial symbol.
3994         * symtab.h (bcache.h): Include.
3995         * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
3996         type "partial_symbol **".
3997
3998 Fri Feb 16 10:02:34 1996  Fred Fish  <[email protected]>
3999
4000         * dwarfread.c (free_utypes): New function.
4001         (read_file_scope): Call free_utypes as cleanup, rather than just
4002         freeing the utypes pointer.
4003
4004 Thu Feb 15 21:40:52 1996  Peter Schauer  ([email protected])
4005
4006         * demangle.c (is_cplus_marker):  New function, checks if a
4007         character is one of the commonly used C++ marker characters.
4008         * defs.h (is_cplus_marker):  Add prototype.
4009         * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
4010         cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
4011         stabsread.c (define_symbol, read_member_functions, read_struct_fields),
4012         symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
4013         values.c (vb_match):  Use is_cplus_marker instead of comparison
4014         with CPLUS_MARKER.
4015
4016 Thu Feb 15 18:08:13 1996  Fred Fish  <[email protected]>
4017
4018         * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
4019         delete entirely someday.
4020
4021 Thu Feb 15 15:25:34 1996  Stan Shebs  <[email protected]>
4022
4023         * mpw-make.sed: Edit out makefile rebuild rule.
4024         (host_alias, target_alias): Comment out instead of deleting.
4025         (@LIBS@): Edit out references.
4026
4027 Tue Feb 13 22:56:46 1996  Fred Fish  <[email protected]>
4028
4029         * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
4030         Use n_psyms in OBJSTAT, not psyms.
4031
4032 Mon Feb 12 15:59:31 1996  Doug Evans  <[email protected]>
4033
4034         * configure.in (sparclet-*-aout*): New config.
4035         * configure: Regenerated.
4036
4037 Mon Feb 12 14:17:52 1996  Fred Fish  <[email protected]>
4038
4039         * somsolib.c (som_solib_add): Use xmalloc rather than bare
4040         unchecked call to malloc.
4041         * remote-mips.c (pmon_load_fast): ditto.
4042         * remote-mm.c (mm_open): ditto.
4043         * hpread.c (hpread_lookup_type): ditto.
4044         * remote-adapt.c (adapt_open): ditto.
4045
4046 Mon Feb 12 13:11:32 1996  Fred Fish  <[email protected]>
4047
4048         * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
4049         allocate_saved_f77_common_node, allocate_common_entry_node,
4050         add_common_block): Use xmalloc rather than malloc, some of which
4051         were unchecked.
4052         * gnu-regex.c: At same point as other gdb specific changes
4053         #undef malloc and then #define it to xmalloc.
4054         * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
4055         bare unchecked calls to malloc/realloc.
4056         * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
4057         unchecked call to malloc.
4058
4059 Wed Feb  7 11:31:26 1996  Stu Grossman  ([email protected])
4060
4061         * symtab.c (gdb_mangle_name):  Change opname var to be const to
4062         match return val of cplus_mangle_name.
4063         * i960-tdep.c:  Change arg types of next_insn to match callers.
4064
4065 Wed Feb  7 07:34:24 1996  Fred Fish  <[email protected]>
4066
4067         * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS):  Remove.  These
4068         apparently aren't needed in any reasonably recent version of
4069         linux.
4070
4071 Tue Feb  6 21:37:03 1996  Per Bothner  <[email protected]>
4072
4073         * stabsread.c (read_range_type):  If !self-subrange and language
4074         is Chill, assume a true range.  If a true_range is a sub_subrange,
4075         use builtin_type_int for index_type.
4076
4077 Tue Feb  6 18:38:51 1996  J.T. Conklin  <[email protected]>
4078
4079         * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
4080         with an ANSI compiler.
4081
4082 start-sanitize-gdbtk
4083 Tue Feb  6 16:31:25 1996  Tom Tromey  <[email protected]>
4084
4085         * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
4086         double-clicking will work again.
4087         (create_asm_win): Put "break" at end of all B1 bindings.
4088         (create_file_win): Lower "sel" tag, don't raise it.
4089         (ensure_line_visible): New proc.
4090         (update_listing, update_assembly): Use it.
4091         (create_copyright_window): Destroy window on Leave event.
4092         (create_command_window): Put "break" at end of all B2 bindings.
4093
4094 end-sanitize-gdbtk      
4095 Mon Feb  5 18:24:28 1996  Steve Chamberlain  <[email protected]>
4096
4097         From [email protected] (Michael Snyder):
4098         * valops.c (value_arg_coerce): Coerce float to double, unless the
4099         function prototype specifies float.
4100         
4101 Mon Feb  5 09:51:55 1996  Tom Tromey  <[email protected]>
4102
4103         * language.c (set_language_command): Use languages table when
4104         printing available languages.
4105
4106 Sat Feb  3 12:22:05 1996  Fred Fish  <[email protected]>
4107
4108         Fix problems reported by Hans Verkuil ([email protected]):
4109         * command.c (add_cmd):  Add missing initialization for enums member.
4110         Reorder members to match structure declaration to make it easier to
4111         tell when one is missing.
4112         * exec.c (exec_file_command): Fix problem where filename in malloc'd
4113         memory is referenced after being freed.
4114
4115 Sat Feb  3 03:26:21 1996  Peter Schauer  ([email protected])
4116
4117         * dwarfread.c (read_func_scope):  Avoid GDB core dumps if
4118         AT_name tag is missing.
4119
4120         * procfs.c (procfs_stopped_by_watchpoint):  Fix logic when
4121         FLTWATCH and FLTKWATCH are defined.
4122
4123         * remote.c (remote_read_bytes):  Advance memaddr for transfers,
4124         return number of bytes transferred for partial reads.
4125
4126         * top.c (init_signals):  Reset SIGTRAP to SIG_DFL.
4127
4128 Fri Feb  2 13:40:50 1996  Steve Chamberlain  <[email protected]>
4129
4130         * win32-nat.c (mappings): Add ppc registers.
4131         (child_resume): Turn off step for ppc.
4132
4133 Thu Feb  1 10:29:31 1996  Steve Chamberlain  <[email protected]>
4134
4135         * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
4136         xm-cygwin32.h): New.
4137         * config/i386/(*win32*): Becomes *cygwin32*.
4138         * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
4139         (powerpcle-*-cygwin32): New.
4140         * configure: Regenerate.
4141         * win32-nat.c  (child_create_inferior): Call CreateProcess
4142         with the right program arg.
4143
4144 Thu Feb  1 11:01:10 1996  Jeffrey A Law  ([email protected])
4145
4146         * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
4147
4148 Wed Jan 31 19:01:28 1996  Fred Fish  <[email protected]>
4149
4150         * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
4151
4152 Wed Jan 31 18:36:27 1996  Stan Shebs  <[email protected]>
4153
4154         * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
4155
4156         * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
4157
4158         * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
4159         here from config/i386/xm-i386mach.h, fix name.
4160         * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
4161         * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
4162         here from config/i386/xm-ptx4.h.
4163         * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
4164         * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
4165         * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
4166         * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
4167         * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
4168
4169         * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
4170         (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
4171         * config/sparc/sun4sol2.mh (NAT_FILE): Update.
4172
4173 Wed Jan 31 17:20:26 1996  Jeffrey A Law  ([email protected])
4174
4175         * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
4176         floating point correctly.
4177         (STORE_RETURN_VALUE): Likewise.
4178         * config/pa/tm-pro.h (SOFT_FLOAT): define.
4179
4180 Wed Jan 31 13:34:52 1996  Fred Fish  <[email protected]>
4181
4182         * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): 
4183         Define to what should be reasonable values.  However, apparently
4184         a bug in linux mmap prevents mapped symbol tables from working.
4185
4186 Tue Jan 30 18:26:19 1996  Fred Fish  <[email protected]>
4187
4188         * defs.h (errno.h>:  Move #include closer to head of file to solve
4189         obscure problem with systems that declare perror with const arg, in
4190         both errno.h and stdio.h, and const is defined away by intervening
4191         local include.
4192
4193 Tue Jan 30 15:41:10 1996  Fred Fish  <[email protected]>
4194
4195         From Jon Reeves <[email protected]>:
4196         * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
4197         (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
4198
4199 Mon Jan 29 19:05:58 1996  Fred Fish  <[email protected]>
4200
4201         * Makefile.in (diststuff): Make all-doc; diststuff target does not
4202         exist in doc/Makefile.in.
4203
4204 Mon Jan 29 18:44:57 1996  Stan Shebs  <[email protected]>
4205
4206         * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
4207
4208 Mon Jan 29 00:10:35 1996  Wilfried Moser (Alcatel)  <[email protected]>
4209
4210         * ch-valprint.c (calculate_array_length): New function to
4211         determine the length of an array type.
4212         (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
4213         array type is zero, call calculate_array_length.
4214
4215         * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
4216         values may not be sorted. Scan all entries and set the real lower
4217         and upper bound.
4218
4219 Sun Jan 28 15:50:42 1996  Fred Fish  <[email protected]>
4220
4221         * config/xm-linux.h: Move include of solib.h and #define of
4222         SVR4_SHARED_LIBS from here ...
4223         * config/nm-linux.h: ...to here.
4224
4225 Sat Jan 27 10:34:05 1996  Fred Fish  <[email protected]>
4226
4227         * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
4228         Also check for gregset_t and fpregset_t types.
4229         * configure: Regenerate.
4230         * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
4231         is defined.
4232         (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
4233         and HAVE_FPREGSET_T are defined.  These changes allow systems
4234         like linux that are migrating to /proc support to use a single
4235         configuration for both new and old versions.
4236
4237         * config/i386/linux.mt: Note that this is now for both a.out and
4238         ELF systems.
4239         * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
4240         i386v4-nat.o
4241         * config/i386/tm-linux.h (tm-sysv4.h): Include.
4242         * config/i386/xm-linux.h (solib.h): Include
4243         (SVR4_SHARED_LIBS): Define.
4244         * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
4245         (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
4246         (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
4247         defined.
4248
4249 Fri Jan 26 13:48:14 1996  Stan Shebs  <[email protected]>
4250
4251         * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
4252         * config/i386/xm-sun386.h: Ditto.
4253         * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
4254
4255 Thu Jan 25 16:05:53 1996  Tom Tromey  <[email protected]>
4256
4257         * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
4258
4259 Thu Jan 25 09:22:15 1996  Steve Chamberlain  <[email protected]>
4260
4261         From Greg McGary  <[email protected]>:
4262         * dcache.c (dcache_peek, dcache_poke): Advance addr for
4263         multi-byte I/O.
4264
4265 Thu Jan 25 13:08:51 1996  Doug Evans ([email protected])
4266
4267         * infrun.c (normal_stop): Fix test for shared library event.
4268
4269 Thu Jan 25 03:26:38 1996  Doug Evans  <[email protected]>
4270
4271         * configure.in (sparc64-*-*): Add default host configuration.
4272 start-sanitize-gdbtk
4273         (sparc64-*-solaris2* host): Link statically if GCC used.
4274 end-sanitize-gdbtk
4275         (sparc64-*-solaris2*): Add target configuration.
4276         * configure: Regenerated.
4277         * sparc/sp64sol2.mt: New file.
4278
4279 Wed Jan 24 22:31:37 1996  Doug Evans  <[email protected]>
4280
4281         * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
4282
4283 Wed Jan 24 15:42:24 1996  Tom Tromey  <[email protected]>
4284
4285         * Makefile.in (lint): Close backquotes.
4286
4287 start-sanitize-gdbtk
4288 Wed Jan 24 15:28:41 1996  Tom Tromey  <[email protected]>
4289
4290         * gdbtk.tcl, gdbtk.c: Updated copyrights.
4291
4292         * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
4293         greater.
4294         * configure: Rebuilt.
4295
4296 end-sanitize-gdbtk      
4297 Wed Jan 24 13:19:10 1996  Fred Fish  <[email protected]>
4298
4299         * NEWS: Make note of new record and replay feature for
4300         remote debug sessions.
4301         * serial.c (gdbcmd.h): Include.
4302         (serial_logfile, serial_logfp, serial_reading, serial_writing):
4303         Define here, for remote debug session logging.
4304         (serial_log_command, serial_logchar, serial_write, serial_readchar):
4305         New functions for remote debug session logging.
4306         (serial_open): Open remote debug session log file when needed.
4307         (serial_close): Close remote debug session log file when needed.
4308         (_initialize_serial): Add set/show commands for name of remote
4309         debug session log file.
4310         * serial.h (serial_readchar): Declare
4311         (SERIAL_READCHAR): Call serial_readchar().
4312         (SERIAL_WRITE): Call serial_write().
4313         (serial_close): Declare as extern.
4314         (serial_logfile, serial_logfp): Declare.
4315         * top.c (execute_command): Declare serial_logfp.  Log user command
4316         in remote debug session log if log file is open.
4317         * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
4318         (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
4319         * remote-array.c (SREC_SIZE): Remove, duplicates define in
4320         monitor.h.
4321         * remote-array.c (hexchars, hex2mem):  Remove, unused.
4322         * gdbserver/low-linux.c (store_inferior_registers): Remove
4323         unnecessary extern declaration of registers[].
4324         * gdbserver/Makefile.in (all): Add gdbreplay.
4325         * gdbserver/gdbreplay.c: New file.
4326         * gdbserver/README: Give example of recording a remote
4327         debug session with gdb and then replaying it with gdbreplay.
4328         
4329 Tue Jan 23 18:02:35 1996  Per Bothner  <[email protected]>
4330
4331         * stabsread.c (rs6000_builtin_type):  Make bool type unsigned.
4332         (read_one_struct_field):  Support boolean bitfields.
4333         * c-valprint.c (c_val_print): Print booleans properly.
4334
4335 Tue Jan 23 18:54:09 1996  Stan Shebs  <[email protected]>
4336
4337         * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
4338         Remove, never used.
4339         * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
4340
4341 Tue Jan 23 14:36:05 1996  Per Bothner  <[email protected]>
4342
4343         * ch-exp.c (parse_tuple):  Error if invalid mode.
4344
4345         * value.h (COERCE_ARRAY):  Don't coerce enums.
4346         (COERCE_ENUM):  Don't COERCE_REF.
4347         (COERCE_NUMBER):  New macro (same as COERCE_ARRAY then COERCE_ENUM).
4348         * valops.c (value_assign):  Only do COERCE_ARRAY if internalvar (let
4349         value_cast handle it otherwise); do *not* COERCE_ENUM either way.
4350         * valarith.c:  Use COERCE_NUMBER instead od COEREC_ARRAY.
4351         Add COERCE_REF before COERCE_ENUM.
4352         * values.c (value_as_long):  Simplify.
4353
4354         * valops.c (value_array):  Create internalvar if !c_style_arrays.
4355
4356         * language.c (lang_bool_type):  Add Fortran support.
4357         * eval.c (OP_BOOL):  Use LA_BOOL_TYPE.
4358
4359 Tue Jan 23 13:08:26 1996  Jeffrey A Law  ([email protected])
4360
4361         * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
4362         All references changed.
4363         * breakpoint.c (bpstat_what): Add shlib_event to the class types.
4364         Update state table.  Reformat so that it's still readable.
4365         When we hit the shlib_event breakpoint, set the calss of shlib_event.
4366         (breakpoint_1): Add "shlib events" as a breakpoint type.
4367         Print the shlib_event breakpoint like other breakpoints.
4368         (create_solib_event_breakpoint): New function.
4369         (breakpoint_re_set_one): Handle solib_event breakpoints.
4370         * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
4371         (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
4372         action.
4373         (create_solib_event_breakpoint): Declare.
4374         * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
4375         (normal_stop): Inform the user when the inferior stoped due
4376         to a shared library event.
4377         (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
4378         to control whether or not gdb continues the inferior or stops it when
4379         a shared library event occurs.
4380         * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
4381         * somsolib.c (TODO list): Update.
4382         (som_solib_create_inferior_hook): Arrange for gdb to be notified
4383         when significant shared library events occur.
4384         * hppa-tdep.c (find_unwind_entry): No longer static.
4385
4386 Tue Jan 23 09:00:48 1996  Doug Evans  <[email protected]>
4387
4388         * printcmd.c (print_insn): Pass fprintf_unfiltered to
4389         INIT_DISASSEMBLE_INFO.
4390 start-sanitize-gdbtk
4391         * gdbtk.c (gdb_disassemble): Likewise.
4392 end-sanitize-gdbtk
4393
4394 Mon Jan 22 16:59:40 1996  Stan Shebs  <[email protected]>
4395
4396         * remote.c (remotebreak): New GDB variable.
4397         (remote_break): New global.
4398         (remote_interrupt): Send a break instead of ^C if remote_break.
4399         * NEWS: Describe the new variable.
4400
4401 Mon Jan 22 16:24:11 1996  Doug Evans  <[email protected]>
4402
4403         * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
4404
4405 Fri Jan 19 07:19:38 1996  Fred Fish  <[email protected]>
4406
4407         * hp300ux-nat.c (getpagesize): Remove unused function
4408         fetch_core_registers.
4409         (hp300ux_core_fns):  Remove, is unused.
4410         (_initialize_core_hp300ux):  Remove, is unused.
4411         (gdbcore.h):  Remove #include, no longer needed.
4412         
4413 Fri Jan 19 00:59:53 1996  Jeffrey A Law  ([email protected])
4414
4415         * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
4416         ptrace bug in aix4.1.3 on the rs6000.
4417
4418 Wed Jan 17 13:22:27 1996  Stan Shebs  <[email protected]>
4419
4420         * remote-hms.c (hms_ops): Add value for to_thread_alive.
4421         * remote-nindy.c (nindy_ops): Ditto.
4422         * remote-udi.c (udi_ops): Ditto.
4423
4424 Tue Jan 16 18:00:35 1996  James G. Smith  <[email protected]>
4425
4426         * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
4427         pmon_checkset, pmon_make_fastrec, pmon_check_ack,
4428         pmon_load_fast): New functions. Support for the PMON monitor world.
4429         (common_open): New function to merge support for different monitors.
4430         (mips_open): Use common_open().
4431         (mips_send_command): New function.
4432         (mips_send_packet): Scan out-of-sequence packets.
4433         (mips_enter_debug, mips_exit_debug): New functions.
4434         (pmon_ops): New target definition structure.
4435         
4436 Tue Jan 16 11:22:58 1996  Stu Grossman  ([email protected])
4437
4438         * Makefile.in (CLIBS):  Add LIBS to allow libraries to be
4439         specified on the make command line (via make LIBS=xxx).
4440 start-sanitize-gm
4441         * configure.in (enable-gm):  magic.o -> gmagic.o.
4442 end-sanitize-gm
4443
4444 start-sanitize-gdbtk
4445 Mon Jan 15 09:58:41 1996  Tom Tromey  <[email protected]>
4446
4447         * gdbtk.tcl (create_expr_window): Many changes to update GUI.
4448         (add_expr): Changes from create_expr_window.
4449         (create_command_window): Set focus.
4450         (delete_expr): Rewrote.
4451         (expr_update_button): New proc.
4452         (add_expr): Put bindings on FocusIn, FocusOut.
4453         Don't allow .file_popup to be torn off.
4454 end-sanitize-gdbtk
4455
4456 Fri Jan 12 21:41:58 1996  Jeffrey A Law  ([email protected])
4457
4458         * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
4459         is set but there are no psymtabs.
4460
4461 Fri Jan 12 15:56:12 1996  Steve Chamberlain  <[email protected]>
4462
4463         * dsrec.c (load_srec): Remove unused variable.
4464         * monitor.c (monitor_expect): Don't expect a ^C to echo.
4465         * serial.c (serial_open): Add parallel interface.
4466         * sh3-rom.c (parallel, parallel_in_use): New.
4467         (sh3_load): If parallel_in_use, download though the
4468         parallel port.
4469         (sh3_open): Open parallel port if specified.
4470         (sh3_close): New function.
4471         (_inititalize_sh3): Add sh3_close hook and documentation.
4472         * monitor.c (monitor_close): Export.
4473         * monitor.h (monitor_close): Add prototype.
4474
4475 Fri Jan 12 13:11:42 1996  Stan Shebs  <[email protected]>
4476
4477         From Wilfried Moser <[email protected]>:
4478         * remote.c (remotetimeout): New GDB variable, use to set the
4479         remote timeout for reading.
4480
4481 start-sanitize-gdbtk
4482 Fri Jan 12 09:36:17 1996  Tom Tromey  <[email protected]>
4483
4484         * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
4485         (update_listing): Use lassign.  Use "see" to scroll.  Don't need
4486         screen_top, screen_bot, screen_height.
4487         (update_assembly): Use "see" to scroll.
4488         (textscrollproc): Removed.
4489         (create_file_win): Don't use textscrollproc.
4490         (asmscrollproc): Removed.
4491         (create_asm_window): Don't use asmscrollproc.
4492         (create_asm_win): Ditto.
4493         (screen_height, screen_top, screen_bot): Removed.
4494         (run_editor): New proc.
4495         (build_framework): Use it.
4496         (create_file_win, create_source_window): Don't use textscrollproc.
4497         (create_breakpoints_window): Set -xscrollcommand on canvas.
4498         (not_implemented_yet): Default button is 0.
4499         (delete_char): Don't use tk_textBackspace.
4500         (create_command_window): Allow Tk bindings to fire after deleting
4501         character.
4502         (create_command_window): Make Delete delete left, not right.
4503 end-sanitize-gdbtk
4504
4505 Fri Jan 12 07:14:27 1996  Fred Fish  <[email protected]>
4506
4507         * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
4508         to get "struct core_fns" defined.
4509         * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
4510         Are dependent upon gdbcore_h.
4511
4512 Thu Jan 11 23:13:24 1996  Per Bothner  <[email protected]>
4513
4514         * symfile.c (decrement_reading_symtab):  New function.
4515         * symfile.c, symtab.h (currently_reading_symtab):  New variable.
4516         * symfile.c (psymtab_to_symtab):  Adjust currently_reading_symtab.
4517         * gdbtypes.c (check_typedef):  Don't call lookup_symbol if
4518         currently_reading_symtab (since that could infinitely recurse).
4519
4520 Thu Jan 11 17:21:25 1996  Per Bothner  <[email protected]>
4521
4522         * stabsread.c (read_struct_type):  Trivial simplification.
4523
4524         * stabsread.c (define-symbol):  Use invisible references
4525         for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
4526         * valops.c (call_function_by_hand):  Likewise.
4527         * eval.c (evaluate_subexp_standard):  When known, use the formal
4528         parameter type as the expected type when evaluating arg expressions.
4529         * ch-lang.c (evaluate_subexp_chill):  Likewise (for MULTI_SUBSCRIPT).
4530
4531 start-sanitize-gdbtk
4532 Thu Jan 11 10:08:14 1996  Tom Tromey  <[email protected]>
4533
4534         * main.c (main): Disable window interface if --help or --version
4535         specified.
4536
4537         * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
4538
4539         Changes in sync with expect:
4540         * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
4541         CY_AC_PATH_TK.
4542         * aclocal.m4: Replaced with version from expect.
4543         * configure: Regenerated.
4544 end-sanitize-gdbtk
4545
4546 Wed Jan 10 16:08:49 1996  Brendan Kehoe  <[email protected]>
4547
4548         * configure.in, configure: Recognize rs6000-*-aix4*.
4549         * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
4550         * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
4551         * config/rs6000/xm-aix4.h: New file.
4552         * config/xm-aix4.h: New file.
4553
4554 Wed Jan 10 11:25:37 1996  Fred Fish  <[email protected]>
4555
4556         From Wilfried Moser <[email protected]>:
4557         * gdbserver/low-linux.c: New file.
4558         * remote.c (remote_read_bytes): Fix aborts on larger packets.
4559
4560         * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
4561         Define.
4562         * stabsread.c (define_symbol): If register value is too large,
4563         tell what it is and what max is.
4564
4565 start-sanitize-gdbtk
4566 Wed Jan 10 09:07:22 1996  Tom Tromey  <[email protected]>
4567
4568         * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
4569         gdbtk_tcl_flush): Use "see", not "yview".
4570         (gdbtk_tcl_query): Use questhead bitmap.
4571         various: Always wrap condition of 'if' in {...}.
4572         (add_breakpoint_frame): Set -value on radiobuttons.
4573         (lassign): New proc.
4574         (add_breakpoint_frame): Use lassign, not series of assignments.
4575         (decr): Made faster.
4576         (interactive_cmd): Use "see", not "yview".
4577         (not_implemented_yet): Use warning bitmap.
4578         (update_expr): Don't allow $expr to be evalled by Tcl.
4579         (create_expr_window): Don't use "focus".
4580         (delete_char, delete_line): Define globally.
4581         (delete_line, delete_char, create_command_window, update_autocmd,
4582         build_framework, create_asm_win, create_file_win): Use "see", not
4583         "yview".
4584         (create_copyright_window, center_window, bind_widget_after_class):
4585         New procs.
4586         (FSBox,create_command_window, create_autocmd_window): Binding
4587         changes for Tk4.
4588         (textscrollproc): Define globally.
4589         (build_framework): tk_menuBar no longer needed.  Keys Prior, Next,
4590         Home, End, Up, and Down are all defined by Tk.
4591         (apply_filespec): Use error bitmap in dialog.
4592         (files_command): Don't use tk_listboxSingleSelect.
4593         (files_command): Don't use "uniq" to remove duplicates from a
4594         list.
4595         (update_assembly): Use lassign.
4596         (create_asm_win): Removed redundant bindings.
4597         (listing_window_button_1, file_popup_menu): Use tk_popup.
4598         (ButtonRelease-1 binding): Just remove tag from window; rest
4599         handled by Tk.
4600
4601         * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
4602         (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
4603         (gdbtk_call_command): Ditto.
4604 end-sanitize-gdbtk
4605
4606 Tue Jan  9 09:33:53 1996  Jeffrey A Law  ([email protected])
4607
4608         * hpread.c (hpread_build_psymtabs): Finish Jan 4th 
4609         enum namespace -> enum_namespace change.
4610
4611 Tue Jan  9 04:44:47 1996  Wilfried Moser (Alcatel)  <[email protected]>
4612
4613         * ch-exp.c (parse_primval): In case ARRAY, add missing
4614         FORWARD_TOKEN ().
4615
4616 Mon Jan  8 13:29:34 1996  Stan Shebs  <[email protected]>
4617
4618         * remote-mips.c (mips_receive_header): Recognize \012 instead
4619         of \n, but write \n when program sends a \012.
4620         * ser-mac.c (mac_input_buffer): Increase size of buffer.
4621
4622 Mon Jan  8 12:00:40 1996  Jeffrey A Law  ([email protected])
4623
4624         * infptrace.c (initialize_infptrace): Move function out of
4625         #ifdef conditional; put code within the function inside an
4626         #ifdef conditional.
4627
4628         * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
4629         arguments.  Sorting is now dependent on OBJF_REORDERED.  All
4630         callers/references changed.
4631         * dbxread.c (read_ofile_symtab): Correctly determine value for
4632         last_source_start_addr for reordered executables.
4633         (process_one_symbol): Handle N_FUN with no name as an end of
4634         function marker.
4635         * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
4636         is the high text address for a psymtab.
4637         (case N_SO): Likewise.
4638         (case N_FUN): Handle N_FUN with no name as an end of function
4639         marker.
4640         * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
4641         at the same address rather than a random subset of them.
4642         * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
4643         * elfread.c (elf_symfile_init): Similarly.
4644         * somread.c (som_symfile_init): Similarly.
4645         * xcoffread.c (xcoff_symfile_init): Similarly.
4646
4647 Fri Jan  5 17:46:01 1996  Stu Grossman  ([email protected])
4648
4649         * stack.c (print_stack_frame print_frame_info) symmisc.c
4650         (dump_symtab):  Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
4651         that catch_errors doesn't get blindsided by QUIT and lose the
4652         cleanup chain.  This fixes a problem where ^C while in a
4653         user-defined command sometimes leaves instream NULL and causes a
4654         segfault in command_loop.
4655
4656 Fri Jan  5 13:59:16 1996  Brendan Kehoe  <[email protected]>
4657
4658         * configure.in, configure: Add `-ldl -lw' for Solaris linking.
4659
4660 Fri Jan  5 12:02:00 1996  Steve Chamberlain  <[email protected]>
4661
4662         * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
4663         config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
4664         srec.o renamed to dsrec.o.
4665
4666 Thu Jan  4 16:04:54 1996  Stu Grossman  ([email protected])
4667
4668         * breakpoint.c (remove_breakpoint):  Change error to warning so
4669         that hardware watchpoint removal problems won't leave breakpoint
4670         traps in the target.
4671 start-sanitize-gdbtk
4672         * configure configure.in:  Make --enable-gdbtk be the default.
4673 end-sanitize-gdbtk
4674         * remote-e7000.c (e7000_insert_breakpoint,
4675         e7000_remove_breakpoint):  Use e7000 based breakpoints, not memory
4676         breakpoints.
4677         * (e7000_wait):  Adjust PC back by two when we see a breakpoint to
4678         compensate for e7000 maladjustment.
4679         * sparcl-tdep.c (sparclite_check_watch_resources):  Fix logic bug
4680         which prevented hardware watchpoints from working.
4681
4682 Thu Jan  4 10:44:17 1996  Fred Fish  <[email protected]>
4683
4684         * infptrace.c (udot_info): New function.
4685         (PT_*): Define each individually if that one is not defined.
4686         * rs6000-nat.c (kernel_u_size): New function
4687         Include <sys/user.h> for "struct user"
4688         * alpha-nat.c (kernel_u_size): New function.
4689         Include <sys/user.h> for "struct user"
4690         * sparc-nat.c (kernel_u_size): New function.
4691         Include <sys/user.h> for "struct user"
4692         * i386b-nat.c (kernel_u_size): New function.
4693         * i386v-nat.c (kernel_u_size): New function.
4694         * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
4695         (kernel_u_size): Declare.
4696         * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
4697         (kernel_u_size): Declare.
4698         * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
4699         (kernel_u_size): Declare.
4700         * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
4701         (kernel_u_size): Declare.
4702         * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
4703         (kernel_u_size): Declare.
4704
4705 Thu Jan  4 11:00:01 1996  steve chamberlain  <[email protected]>
4706
4707         * mdebugread.c (mylookup_symbol): enum namespace becomes
4708         enum_namespace  type.
4709         * symfile.c (add_psymbol_to_list)
4710         (add_psymbol_addr_to_list): Ditto.
4711         * symtab.c (lookup_partial_symbol): Ditto.
4712         (lookup_symbol): Ditto.
4713         (lookup_block_symbol): Ditto.   
4714         * win32-nat.c (handle_load_dll): Use incoming dll base.
4715         (child_wait): Catch DLL load errors.
4716         (create_child_inferior): Translated between paths correctly.
4717
4718 Wed Jan  3 23:13:53 1996  Fred Fish  <[email protected]>
4719
4720         * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
4721         from NUM_REGS to get number of general registers that we care about.
4722         * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
4723         of number of general regs and number of floating point regs.
4724
4725 Wed Jan  3 19:49:54 1996  steve chamberlain  <[email protected]>
4726
4727         * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
4728         (SKIP_TRAMPOLINE_CODE): New.
4729         * config/i386/xm-win32.h (CANT_FORK): Deleted.
4730         (SLASH*) Changed to use unix style slash.
4731         * symtab.h (namespace enum): becomes typedef to avoid namespace
4732         collision in C++. 
4733         * infcmd.c (path_command): Use empty string if PATH name not set.
4734         * i386-tdep.c (skip_trampoline_code): New function.
4735         * srec.c: Renamed dsrec.c to avoid filename collision.
4736         * Makefile.in: Cope with renaming.
4737         
4738 Wed Jan  3 13:09:04 1996  Fred Fish  <[email protected]>
4739
4740         * symmisc.c (print_objfile_statistics): Print memory use statistics
4741         for objfile psymbol, symbol, and type obstacks.
4742
4743 Tue Jan  2 13:41:14 1996  Stan Shebs  <[email protected]>
4744
4745         * config/mips/nm-irix5.h: Restore.
4746         (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
4747         from Lee Iverson <[email protected]>.
4748         * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
4749         * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
4750
4751 For older changes see ChangeLog-95
4752 \f
4753 Local Variables:
4754 mode: indented-text
4755 left-margin: 8
4756 fill-column: 74
4757 version-control: never
4758 End:
This page took 0.281231 seconds and 2 git commands to generate.