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