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