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