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