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