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