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