1 Tue Dec 31 15:19:32 1996 Geoffrey Noer <noer@cygnus.com>
3 * config/mn10300/tm-mn10300.h: more small register fixes
5 Tue Dec 31 06:51:43 1996 Mark Alexander <marka@cygnus.com>
7 * config/i386/xm-windows.h: Undo previous change to SIGTRAP
8 and SIGQUIT values; it messed up non-MIPS targets.
9 * config/mips/tm-mips.h: Undefine BREAKPOINT, replace
10 with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions;
11 this fixes problem with setting breakpoints in little-endian
12 programs in the simulator.
14 Mon Dec 30 00:14:06 1996 Doug Evans <dje@seba.cygnus.com>
16 * remote-sim.c (gdbsim_open_p): New static local.
17 (gdbsim_open): Call unpush_target if sim open. Set gdbsim_open_p.
18 (gdbsim_close): Only call sim_close if sim open. Reset gdbsim_open_p.
20 Sun Dec 29 09:15:03 1996 Mark Alexander <marka@cygnus.com>
22 * config/i386/xm-windows.h: Make SIGTRAP and SIGQUIT consistent
23 with sim/mips/support.h.
25 Fri Dec 27 14:53:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
27 * v850-tdep.c (struct pifsr): Add cur_frameoffset field.
28 (v850_scan_prologue): Add debug code #ifdef'ed DEBUG. Support new
29 compiler prologues using register save functions and short store
30 instructions. Add support for functions with large stack frames.
32 * config/v850/tm-vm850.h ({R0,R1,R12,EP}_REGNUMS): New register
33 number defintiions for r0, r1, r12, ep.
34 (SAVE{1,2,3}_{START,END}_REGNUM): Register number definitions for
35 the 3 sets of saved registers.
37 Thu Dec 26 19:56:55 1996 Mark Alexander <marka@cygnus.com>
39 * valprint.c (print_longest): Don't lose upper bits
40 of 64-bit values on Windows.
41 * config/i386/xm-windows.h: Leave CC_HAS_LONG_LONG defined,
42 undefine PRINTF_HAS_LONG_LONG, so that 64-bit values will
43 be printed without loss of upper bits.
45 Thu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
47 * config/sparc/tm-sparclet.h: make registers ASR15, ASR19 invisible
48 (they're not useful, you can't change, write or even read them)
50 Thu Dec 26 15:20:48 1996 Fred Fish <fnf@cygnus.com>
52 * config/pa/hppahpux.mh (TERMCAP): Always link to libc before
53 libcurses, to avoid picking up broken select() from libcurses
54 on some versions of HPUX.
56 Thu Dec 26 15:14:41 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
58 * sparclet-rom.c: Remove includes of Unix system files.
59 Add function "sparclet_supply_register" so that parse_register_dump
60 will not seg-fault by calling a null function pointer.
61 Remove XMODEM support (unfinished work?).
62 Remove flag "MO_HANDLE_NL", so monitor's output can be read by humans.
64 Remove colon from getreg.resp_delim so PSR register will work.
65 Remove pointer to sparclet_load (downloading SREC's doesn't work).
66 Null out local register names for %g0, all %cc and all %asr regs,
67 since the monitor can't report them. Will return zero instead.
68 * sparclet-stub.c: New -- remote protocol support for sparclet CPU.
69 * config/sparc/tm-sparclet.h: Re-arrange REGISTER_NAMES:
70 Add back %g0 and %psr, add %cc coprocessor regs, add %asr regs.
71 Adjust NUM_REGS and REGISTER_BYTES accordingly
73 Tue Dec 24 10:27:37 1996 Jeffrey A Law (law@cygnus.com)
75 * remote-e7000.c (want_h8300h, want_nopc_h8300h): Renamed
76 from want and want_nopc.
77 (want_h8300s, want_nopc_h8300s): New variables for H8/S register
79 (e7000_fetch_registers): Use H8/300H or H8/S register list string
81 (e7000_wait): Likewise.
83 Mon Dec 23 02:25:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
85 * mips-tdep.c (mips_find_saved_regs): If a frame has been
86 interrupted by a signal, figure out whether the registers that
87 the proc_desc claims are saved have been saved yet.
88 (mips_push_dummy_frame): Write dummy frame register after all
89 registers have been saved in the dummy frame. Update comments
90 to reflect the fact that we are now using an AT_ENTRY_POINT
93 Sun Dec 22 15:52:25 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
95 * d10v-tdep.c (d10v_skip_prologue): PR11287. Fix problem where
96 some breakpoints weren't being set.
98 Sat Dec 21 12:57:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
100 * config/mips/tm-mips.h (PC_IN_CALL_DUMMY): Removed, the default
101 definition in inferior.h is sufficient.
102 * mips-tdep.c (mips_pc_in_call_dummy): Ditto.
103 (mips_push_arguments): Make sure that the stack is aligned to a
104 multiple of 8 after the arguments are pushed.
105 Structures are always passed by value in the old ABI.
106 Adjust argument register value on big endian targets when passing
107 a value whose length is less than the register size.
108 Write stack arguments with a single write_memory call.
109 (mips_pop_frame): Use frame_saved_regs instead of proc_desc to
110 decide which registers have to be restored.
112 * irix5-nat.c (fill_gregset): Sign extend registers before
113 filling in the gregset structure.
115 Fri Dec 20 11:06:03 1996 Stu Grossman (grossman@critters.cygnus.com)
117 * mswin/genmakes: Don't define _DEBUG. This breaks wingdb.
119 Thu Dec 19 19:42:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
121 * v850-tdep.c (v850_scan_prologue): Deal with -mep shorting
122 register saves by using the ep register.
124 Thu Dec 19 15:57:16 1996 Doug Evans <dje@canuck.cygnus.com>
126 * m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def.
128 Thu Dec 19 09:38:56 1996 Mark Alexander <marka@cygnus.com>
130 * values.c (unpack_double): Make it compile with MSVC++ 2.x.
131 * remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g.
133 (common_open): Fix help string.
135 Wed Dec 18 23:01:32 1996 Stan Shebs <shebs@andros.cygnus.com>
137 * mpw-make.sed: Use NewFolderRecursive for installation.
139 Sat Dec 14 20:50:01 1996 Mark Alexander <marka@cygnus.com>
141 * mips-tdep.c (mips_push_arguments): Handle floating point args.
142 * config/mips/tm-mips.h (FIX_CALL_DUMMY): Define to set up $25
143 correctly for PIC on Irix 5.
145 Sat Dec 14 09:52:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
147 * i386-tdep.c (i386_frame_find_saved_regs): Handle zero return
148 from get_pc_function_start gracefully.
150 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
152 * c-exp.y (qualified_name): Replace explicit check for valid
153 destructor name with call to destructor_name_p.
155 * c-lang.h, c-typeprint.c (cp_type_print_method_args): Removed,
158 * c-typeprint.c (c_type_print_varspec_prefix, c_type_print_base):
159 Replace remaining fprintf_unfiltered calls with their filtered variant.
160 (c_type_print_base): Do not print return type for destructors from
162 Replace cp_type_print_method_args with cplus_demangle call to get
163 consistent type output for stubbed and unstubbed methods.
165 * cp-valprint.c (cp_print_class_method): Replace
166 cp_type_print_method_args with cplus_demangle call to get consistent
167 type output for stubbed and unstubbed methods.
169 * gdbtypes.c, gdbtypes.h (get_destructor_fn_field): New function
170 to find the destructor field indices for a type.
172 * gdbtypes.h (struct type): Clarify comments for vptr_basetype
173 and arg_types fields.
174 (struct fn_field): Remove args field, no longer used.
176 * symtab.c (decode_line_1), valops.c (value_struct_elt,
177 check_field_in): Use get_destructor_fn_field to find the destructor
178 field indices instead of assuming that the compiler passes the member
179 function fields in a specific order.
181 * symtab.c (find_methods): Pass NULL instead of SYMBOL_BLOCK_VALUE
183 (list_symbol): Replace cp_type_print_method_args with cplus_demangle
184 call in zapped out code and explain why this code is zapped out.
186 Thu Dec 12 13:29:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
188 * config/powerpc/ppc{,le}-sim.mt (SIM): Add the simulator common
189 library ../sim/common/libcommon.a.
191 Wed Dec 11 11:15:08 1996 Doug Evans <dje@canuck.cygnus.com>
193 * monitor.c (monitor_load): Add support for load address argument.
194 * dsrec.c: #include <time.h>.
195 (load_srec): New argument load_offset. Print download stats.
196 * srec.h (load_srec): Update prototype.
197 * sh3-rom.c (sh3_load): Update call to load_srec.
199 Mon Dec 9 17:34:05 1996 Geoffrey Noer <noer@cygnus.com>
201 * config/mn10300/tm-mn10300.h: more small register fixes
202 * mn10300-tdep.c: filled in from another target
204 Mon Dec 9 17:12:19 1996 Doug Evans <dje@canuck.cygnus.com>
206 * monitor.c (monitor_insert_breakpoint): Handle bi-endian machines.
208 Mon Dec 9 15:58:51 1996 Mark Alexander <marka@cygnus.com>
210 * config/mips/tm-mips.h: Get rid of call-dummy code.
211 Minor changes to make pre-ANSI compilers happy.
212 * mips-tdep.c: Minor changes to make pre-ANSI compilers happy.
213 (mips_push_arguments): Rewrite to partially support EABI.
214 (mips_pc_in_call_dummy): New function.
215 * infcmd.c: Include symfile.h to get prototype of entry_point_address,
216 which fixes 64-bit sign extension bug on MIPS.
218 Mon Dec 9 00:14:49 1996 Geoffrey Noer <noer@cygnus.com>
220 * config/mn10300/tm-mn10300.h: fix register names
221 * mn10300-tdep.c: new skeleton tdep for mn10300
223 Sun Dec 8 18:02:57 1996 Doug Evans <dje@canuck.cygnus.com>
225 * remote-sim.h: Update some comments.
226 * remote-sim.c (gdb_os_error): New function.
227 (init_callbacks): Fix initializing of gdb_callback. Add gdb_os_error.
228 (gdb_os_printf_filtered): Use gdb_stdout, not stdout.
230 Sun Dec 8 00:36:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
232 * irix5-nat.c (supply_gregset, fill_gregset): Handle gregsets
233 from O32 and N32 ABI.
234 (xfer_link_map_member): Work around problem with alignments
235 in struct obj when compiling GDB under N32 ABI.
237 Thu Dec 5 23:30:44 1996 Stan Shebs <shebs@andros.cygnus.com>
239 * d10v-tdep.c: Add support for examination and interpretation
240 of instruction trace buffer.
241 (trace, untrace, info trace, tdisassemble): New commands.
243 Thu Dec 5 14:06:23 1996 Doug Evans <dje@canuck.cygnus.com>
245 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.
246 (TARGET_BYTE_ORDER_SELECTABLE): Define.
248 ({BIG,LITTLE}_BREAKPOINT): Define.
249 (TM_PRINT_INSN_MACH): Redefine for sparclet.
251 Wed Dec 4 16:34:05 1996 Geoffrey Noer <noer@cygnus.com>
253 * config/mn10300/mn10300.mt, config/mn10300/tm-mn10300.h: New.
255 Tue Dec 3 13:02:08 1996 Fred Fish <fnf@ninemoons.com>
257 * infptrace.c (store_inferior_registers): Move some common code out
258 to store_register, like fetch_inferior_registers & fetch_register.
259 (store_register): New function, from store_inferior_registers.
260 (fetch_inferior_registers, fetch_register): Minor code tweaks to
261 make {fetch,store}_inferior_registers and {fetch,store}_register
262 routines as similar in structure as possible.
263 (fetch_inferior_registers, store_inferior_registers): Eliminate
264 local variable numregs and just use ARCH_NUM_REGS directly.
266 Tue Dec 3 11:38:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
268 * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable
269 code for generic call_dummy frames.
270 * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES
271 * config/m32r/tm-m32r.h: Ditto.
272 * config/sh/tm-sh.h: Ditto.
273 * config/v850/tm-v850.h: Ditto.
275 Sun Dec 1 00:41:47 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
277 * vax-tdep.c (vax_print_insn, print_insn_arg): Use info functions
278 for printing. From Valeriy Ushakov <uwe@ptc.spbu.ru>.
280 Sun Dec 1 00:40:46 1996 Geoffrey Noer <noer@cygnus.com>
282 * configure.tgt: Add new mn10300 entry.
284 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
286 Add support for Irix 6.2 native O32 and N32 ABI.
288 * config.in, configure.in, configure: Check for <objlist.h>.
289 * configure.tgt: Handle mips*-sgi-irix6* like irix5 for now.
291 * cp-valprint.c (cp_print_value_fields): Use SYMBOL_VALUE_ADDRESS
292 instead of SYMBOL_BLOCK_VALUE to get the address of a static member.
294 * dwarf2read.c: Turn warnings and recoverable errors into complaints,
295 add new complaints where appropriate.
297 (struct line_head): Change line_base from char to int to avoid
298 problems with compilers whose plain char is represented by an
300 (struct partial_die_info): Add is_declaration field.
301 (dwarf2_tmp_obstack): New obstack for allocating temporary storage
302 used during symbol reading.
303 (cu_header_offset): New variable for resolving relative reference
305 (optimized_out, basereg, islocal, frame_base_reg, frame_base_offset):
306 New interface variables for decode_locdesc.
307 (struct dwarf2_pinfo): New structure for communication between
308 psymtab and symtab reading, passed via pst->read_symtab_private.
309 (dwarf2_has_info, dwarf2_build_psymtabs): Accept objects files
310 without line number sections.
311 (dwarf2_build_psymtabs_hard): Initialize temporary obstack
313 Allocate and initialize pst->read_symtab_private.
314 Relocate pst->textlow and pst->texthigh with baseaddr.
315 (scan_partial_symbols): Do not add DW_AT_declaration symbols
316 to the partial symbol table.
317 Add file scope enumerator symbols to the partial symbol table.
318 Fix typo in highpc computation.
319 If we didn't find a lowpc, set it to highpc to avoid complaints
321 (add_partial_symbol): Relocate symbol values with baseaddr.
322 Add static DW_TAG_subprogram and DW_TAG_variable symbols to the
323 minimal symbol table.
324 Obtain symbol values for DW_TAG_variable symbols from the location
325 descriptor, skip symbols with missing location desciptors.
326 Skip symbols for aggregate types without children.
327 Handle enumerator symbols.
328 (dwarf2_psymtab_to_symtab): Issue symbol reading message if verbose.
329 (psymtab_to_symtab_1): Set local variables from
330 pst->read_symtab_private, set cu_header_offset and baseaddr.
331 Initialize temporary obstack for symbol reading, initialize
332 buildsym and add a cleanup to really_free_pendings.
333 Relocate highpc with baseaddr when calling end_symtab.
334 If the compilation is from a C file generated by language
335 preprocessors, do not set the symtab language if it was already
336 deduced by start_subfile.
337 Removed verbose sorting symbol table message.
338 (process_die): Handle DW_TAG_ptr_to_member_type and
339 DW_TAG_reference_type.
340 Use read_subroutine_type to get the function type for
341 DW_TAG_subprogram before calling read_func_scope.
342 (read_file_scope): Initialize file name to <unknown>, start_subfile
343 expects a non-NULL name.
344 If we didn't find a lowpc, set it to highpc to avoid complaints
346 Relocate lowpc and highpc with baseaddr.
347 Get rid of Irix6.2 native cc compile machine prefix in comp_dir.
348 Zero out ftypes for each new compilation unit (may be different
349 language or different objfile).
350 Accept compilation units without line number information, pass
351 comp_dir to decode_lines.
352 (read_func_scope): Initialize function name to <unknown> to avoid
353 core dumps when DW_AT_name is missing.
354 Relocate lowpc and highpc with baseaddr.
355 Handle DW_AT_frame_base, keep result for DW_OP_fbreg operations.
356 Pass function type to new_symbol.
357 (read_lexical_block_scope): Relocate lowpc and highpc with baseaddr.
358 (read_structure_scope): Set TYPE_TAG_NAME, not TYPE_NAME.
359 Handle DW_TAG_class_type.
360 Copy fields to type_obstack, release temporary storage for fields.
361 Don't add symbol if die is a stub die and has no children.
362 Handle C++ static member fields.
363 (read_enumeration): Set TYPE_TAG_NAME, not TYPE_NAME.
364 Copy fields to type_obstack, release temporary storage for fields.
365 Let new_symbol handle the symbol creation for enumerators
366 instead of handcrafting a symbol.
367 Determine signedness of enum type from enumerators.
368 (dwarf_read_array_type): Handle variable length arrays.
369 Use lookup_pointer_type instead of handcrafting a type.
370 Create array type only if a DW_TAG_subrange_type was found.
371 (read_tag_pointer_type, read_tag_reference_type):
372 Use lookup_pointer_type and lookup_reference_type instead
373 of handcrafting a type.
374 (read_tag_ptr_to_member_type): New function to handle
375 DW_TAG_ptr_to_member_type.
376 (read_subroutine_type): Handle parameter dies.
377 Use lookup_function_type instead of handcrafting a type.
378 (read_typedef): Allocate a TYPE_CODE_TYPEDEF type for the typedef.
379 (read_base_type): If the type has a name, use init_type to create
380 a new type instead of second guessing a fundamental type.
381 (read_comp_unit): Reset die reference table before building
383 (dwarf2_read_section): Read section contents into psymbol_obstack.
384 (dwarf2_read_abbrevs): Handle unterminated abbreviations
385 for a compile unit gracefully.
386 (read_partial_die): Zero partial die before reading its info.
387 Handle DW_AT_declaration.
388 Fix typo in handling of DW_FORM_block4.
389 (read_full_die): Fix typo in handling of DW_FORM_block4.
390 (read_1_signed_byte, read_2_signed_bytes, read_4_signed_bytes):
391 New routines to get signed values from a buffer.
392 (read_n_bytes, read_string): Allocate storage from the temporary
393 obstack. If the host char size permits it, return pointer
394 to buffer instead of allocating storage.
395 (set_cu_language): Handle DW_LANG_Mips_Assembler.
396 (dwarf_attr): Return NULL if reference die for DW_AT_specification
397 or DW_AT_abstract_origin die is not found.
398 (record_minimal_symbol): Removed, replaced with a direct call to
399 prim_record_minimal_symbol, it now handles saving the string itself.
400 (convert_locdesc): Removed, partial symtab reading now uses
402 (dwarf_attr): Use dwarf2_get_ref_die_offset to get the absolute
403 offset for the die reference.
404 (dwarf_decode_lines): Complain if the line section info is missing.
405 Use read_1_signed_byte to extract lh.line_base to avoid
406 problems with compilers whose plain char is represented by an
408 Add cleanups for allocated temporary storage.
409 Start a subfile for the first file in the state machine.
410 Fix off by one problem with dirs.dirs access.
411 Use comp_dir when directory index is 0.
412 Support multiple sequences (from Jason Merrill <jason@cygnus.com>).
413 (dwarf2_start_subfile): Try to keep line numbers from identical
414 absolute and relative file names in a common subfile.
415 (new_symbol): Allocate symbol and symbol name on the symbol_obstack.
416 Set SYMBOL_LINE from DW_AT_decl_line if present.
417 Set SYMBOL_TYPE from passed type if not NULL.
418 Change DW_TAG_variable symbol types with missing type entries
420 Handle optimized_out, offreg and islocal storage classes.
421 Add external symbols with type information whose address isn't
422 known as LOC_UNRESOLVED symbols.
423 Synthesize typedefs for C++ classes, structs, unions and enumerations.
424 Handle DW_TAG_enumerator symbols, complain for unrecognized
426 (die_type): A missing DW_AT_type represents a void type.
427 Use dwarf2_get_ref_die_offset to get the absolute offset for
429 (die_containing_type): New function to build type from
430 DW_AT_containing_type attribut.
431 (read_type_die): Handle DW_TAG_ptr_to_member_type.
432 Treat DW_TAG_subprogram like DW_TAG_subroutine_type.
433 (dwarf_base_type): Fix typo with creation of FT_UNSIGNED_SHORT
435 (create_name): Removed, symbol name allocation is now done
437 (dump_die): Use print_address_numeric to print a CORE_ADDR.
438 (dwarf2_empty_die_ref_table): New function to clear the die
440 (dwarf2_get_ref_die_offset): New function to get the absolute
441 die offset from a die reference attribute.
442 (decode_locdesc): Complete rewrite using a stack, code mostly
443 borrowed from dwarfread.c:locval.
444 (dwarf_alloc_type): Removed, replaced by direct calls to alloc_type.
445 (dwarf_alloc_block): Allocate block on temporary obstack.
447 * elfread.c (elf_symtab_read): When handling Irix dynamic symbols,
448 skip section name symbols and relocate all others.
449 (elf_symfile_read): Build dwarf2 psymtab even if offset is non-zero.
451 * irix5-nat.c (fetch_core_registers): Handle core_reg_sect
452 from N32 executables. Call registers_fetched after extracting
454 (obj_list_variant, struct link_map, LM_OFFSET, LM_ADDR): New
455 definitions to enable support of O32 and N32 format objlists.
456 (struct so_list): New members offset, so_name and lmstart to
457 eliminate dependencies from the objlist format used.
458 (solib_map_sections, symbol_add_stub, solib_add,
459 info_sharedlibrary_command, solib_address, clear_solib): Use
460 so_name and LM_OFFSET.
461 (first_link_map_member): Rewrite to enable support of O32 and N32
463 (next_link_map_member, xfer_link_map_member): New functions to
464 support O32 and N32 format objlists.
465 (find_solib): Use first_link_map_member, next_link_map_member and
466 xfer_link_map_member.
467 (solib_create_inferior_hook): Use TARGET_SIGNAL_* instead of
470 * mdebugread.c (parse_partial_symbols, handle_psymbol_enumerators):
471 Pass CORE_ADDR variant to add_psymbol_to_list.
473 * mips-tdep.c (heuristic_proc_desc): Stop examining the prologue
474 if we encounter a positive stack adjustment. Handle `move $30,$sp'.
475 Handle `sd reg,offset($sp)' for 32 bit ABIs.
477 * symmisc.c (dump_msymbols, print_partial_symbols): Use
478 print_address_numeric to print a SYMBOL_VALUE_ADDRESS.
479 (dump_symtab): Print compilation directory if it is not NULL.
481 * valops.c (search_struct_field, value_struct_elt_for_reference):
482 Use SYMBOL_VALUE_ADDRESS instead of SYMBOL_BLOCK_VALUE to get the
483 address of a static member.
485 Thu Nov 28 00:46:24 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
487 * vax-tdep.c (vax_print_insn): Made static, modified to take
488 disassemble_info as parameter.
489 (_initialize_vax_tdep): New function to initialize tm_print_insn
492 Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
494 * blockframe.c: Remove old-style CALL_DUMMY code.
495 * h8300-tdep.c, config/h8300/tm-h8300.h: Ditto.
496 * m32r-tdep.c, config/m32r/tm-m32r.h: Ditto.
497 * sh-tdep.c, config/sh/tm-sh.h: Ditto.
498 * v850-tdep.c, config/v850/tm-v850.h: Ditto.
500 Wed Nov 27 10:32:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
502 * breakpoint.c: DELETE command will not delete CALL_DUMMY breakpoint.
503 * blockframe.c: Add target-independant support for managing
504 CALL_DUMMY frames on the host side.
505 * frame.h: Declarations for generic CALL_DUMMY frame support.
506 * h8300-tdep.c: Add target function calls using generic frame support.
507 * config/h8300/tm-h8300.h: config for generic target function calls.
508 * m32r-tdep.c: Add target function calls using generic frame support.
509 * config/m32r/tm-m32r.h: config for generic target function calls.
510 * sh-tdep.c: Add target function calls using generic frame support.
511 * config/sh/tm-sh.h: config for generic target function calls.
512 * v850-tdep.c: Add target function calls using generic frame support.
513 * 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.
541 Fri Nov 22 15:55:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
543 * valops.c (value_at, value_fetch_lazy): Put in D10V call
544 to fix up address pointers.
545 * values.c (value_from_longest): Removed previous d10v changes.
546 * config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes.
548 Fri Nov 22 10:06:19 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
550 * config/i386/nm-i386v4.h (LOSING_POLL): Define, needed for
553 Thu Nov 21 19:13:58 1996 Mark Alexander <marka@cygnus.com>
555 * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.
556 (common_breakpoint): Use paddr instead of %x to print 64-bit values.
557 (heuristic_proc_desc): Add tests for 64-bit instructions.
558 (init_extra_frame_info, mips_push_arguments): Recognize additional
560 * remote-mips.c: Extend DDB target to allow TFTP downloads.
561 * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS):
564 Wed Nov 20 19:09:16 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
566 * infcmd.c (do_registers_info): Call val_print with the
567 virtual buf instead of the raw buf. Needed for REGISTER_CONVERT
568 to work with non-floating point regs.
570 * d10v-tdep.c (d10v_skip_prologue): If we have line debugging
571 information, then the end of the prologue should the first
572 assembly instruction of the first source line.
574 * values.c (value_from_longest): Put in D10V call to
575 fix up address pointers.
577 * config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified.
578 (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM.
579 (REGISTER_CONVERTIBLE): Make PC and SP convertible.
580 (REGISTER_CONVERT_TO_VIRTUAL): Define.
581 (REGISTER_CONVERT_TO_RAW): Define.
582 (D10V_MAKE_DADDR): Define.
583 (D10V_MAKE_IADDR): Define.
585 Wed Nov 20 16:15:15 1996 Geoffrey Noer <noer@cygnus.com>
587 * config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC)
588 -DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb
590 Wed Nov 20 00:43:09 1996 Doug Evans <dje@canuck.cygnus.com>
592 * callback.h: Delete, moved to ../include.
593 * callback.c: Delete, moved to ../sim/common.
594 * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co].
595 (callback.o): Delete rule.
596 * remote-sim.h: No longer include callback.h.
597 (sim_callback_write_stdout): Delete prototype.
598 * remote-sim.c (init_callbacks,end_callbacks): New functions.
599 (gdb_os_write_stdout, gdb_os_printf_filtered): New functions.
600 (gdb_callback, callbacks_initialized): New static globals.
601 (gdbsim_open): Call init_callbacks.
602 (gdbsim_close): Call end_callbacks.
603 (simulator_command): Call init_callbacks.
605 * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a.
606 * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.
608 Mon Nov 18 15:58:05 1996 Jim Wilson <wilson@cygnus.com>
610 * config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST
613 Fri Nov 15 15:34:18 1996 Fred Fish <fnf@cygnus.com>
615 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
616 * procfs.c (wait_fd): Handle EINTR error return from poll
617 by restarting the poll.
618 * defs.h (PIDGET): Define a default version that just
619 returns its argument unchanged.
620 * inflow.c (terminal_init_inferior): Eliminate #ifdef
621 of PIDGET and fold both alternatives into common code.
622 (pass_signal): Use PIDGET for pid passed to kill().
624 Thu Nov 14 15:54:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
626 * utils.c (paddr,preg): Use a static variable initialized to 32
627 instead of doing addr>>32 to eliminate a warning produced by GCC
630 * config/d10v/tm-d10v.h (ULONGEST): Define.
632 Tue Nov 12 12:25:27 1996 Jim Wilson <wilson@cygnus.com>
634 * c-typeprint.c (cp_type_print_method_args): Pass -1 for show in
635 recursive call to type_print.
637 Tue Nov 12 12:18:29 1996 Jim Wilson <wilson@cygnus.com>
639 * defs.h (ULONGEST): New macro.
640 * alpha-tdep.c, breakpoint.c, c-exp.y, ch-exp.c, convex-xdep.c,
641 corefile.c, defs.h, f-exp.y, findvar.c, gdbcore.h, m2-exp.y,
642 m88k-tdep.c, printcmd.c, remote-hms.c, remote-mips.c, sparc-tdep.c,
643 valarith.c, valops.c, values.c, config/gould/tm-np1.h,
644 config/mips/tm-mips.h, mswin/prebuilt/gdb/cexptab.c,
645 mswin/prebuilt/gdb/fexptab.c, mswin/prebuilt/gdb/m2exptab.c:
646 Change all occurances of unsigned LONGEST to ULONGEST.
648 * configure.host (mips-sgi-irix6): Add.
650 Tue Nov 12 12:16:40 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
652 * sh-tdep.c: Add functionality for target function calls.
653 * config/sh/tm-sh.h: Add support for target function calls.
655 Tue Nov 12 12:06:58 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
657 * m32r-tdep.c: Add functionality for target function calls.
658 * valops.c: Small change to support target function calls.
659 * config/m32r/tm-m32r.h: Add support for target function calls.
661 Mon Nov 11 17:15:59 1996 Geoffrey Noer <noer@cygnus.com>
663 * defs.h: Modify Nov 11 12:59:00 change so _MSC_VER is checked
665 * win32-nat.c: Fix Nov 11 12:59:00 change (windows.h should
666 be included instead of windefs.h for compilers other than
668 * mswin/windefs.h: Remove ^Ms and change C++ style comments
671 Mon Nov 11 14:32:38 1996 Mark Alexander <marka@cygnus.com>
673 * utils.c (get_cell): Fix off-by-one bug.
674 * mips-tdep.c (get_frame_pointer, fix_sign_extension):
675 New functions to consolidate common code.
676 (mips_frame_chain, init_extra_frame_info): Use new functions
677 to fix problems with backtrace and finish commands on ddb board.
679 Mon Nov 11 12:59:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
681 * mips-tdep.c, remote-mips.c, values.c, mdebugread.c,
682 config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support.
683 * defs.h: Cleanup; add prototypes.
684 * corefile.c: Change FIXME #ifdef
685 * win32-nat.c: Include windefs instead of windows.h.
686 * utils.c: Add routines for printing addresses and registers
689 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
691 * alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue
692 if we encounter a positive stack adjustment.
693 (find_proc_desc): If heuristic_fence_post is non-zero, use
694 heuristic_proc_start to determine the start of a function before
695 calling heuristic_proc_desc.
697 * coffread.c (coff_symtab_read): Change minimal symbol types
698 for C_LABEL symbols from mst_* to mst_file_*.
700 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
702 * configure.in: Handle error message from sun3 native ld when
703 configuring HLDFLAGS.
704 * configure: Regenerated with autoconf.
706 * c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET.
707 * cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure
708 that the virtual base pointer from an user object still points to
711 * dbxread.c (dbx_symfile_init): Initialize sym_stab_info to
712 clear the recently added header_files fields.
713 (dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak.
715 Fri Nov 8 14:30:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
717 * config/tm-sh.h: Added a missing comma in middle of
720 Fri Nov 8 12:29:51 1996 Stan Shebs <shebs@andros.cygnus.com>
722 * monitor.c: Fix some formatting and comments.
724 * remote-sim.c (simulator_command): Set up callbacks before
725 entering the simulator.
727 Thu Nov 7 15:19:08 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
729 * d10v-tdep.c: Fix some problems with inferior function calls.
730 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be
731 a pointer to the dummy's stack instead of just a flag.
733 Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
735 * m32r-tdep.c: Improved frame_chain and fn prologue analysis.
736 * config/tm-m32r.h: Add framesize and register to extra_frame_info.
738 Tue Nov 5 10:08:07 1996 Stu Grossman (grossman@critters.cygnus.com)
740 * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR.
741 * mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth
742 to fix divide-by-zero problem with clicking on source window.
744 Mon Nov 4 00:48:37 1996 Stu Grossman (grossman@critters.cygnus.com)
746 * mswin/recordit: Fix problem with absolute paths.
747 * mswin/recordit: Fix problem with relative paths.
749 Sun Nov 3 18:06:42 1996 Stu Grossman (grossman@critters.cygnus.com)
751 * mswin/{Makefile.in configure configure.in}: New files for
752 configuring wingdb under Unix.
754 Sat Nov 2 03:54:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
756 * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle
757 missing or zero-sized .text sections properly.
758 * mdebugread.c: Handle scRConst and scSUndefined storage classes.
759 * stabsread.c (scan_file_globals): Try to resolve symbols
760 for shared libraries from the minimal symbol table of the main
763 Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
765 * d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support
766 inferior function calls and proper stack backtracing on D10V-EVA
769 Fri Nov 1 10:50:51 1996 Michael Meissner <meissner@tiktok.cygnus.com>
771 * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it
773 (GDBSERVER_DEPFILES,TERMCAP): Ditto.
775 * monitor.c (dev_name,targ_ops): Move static variables before
776 first use, to avoid compiler warnings.
778 Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
780 * m32r-tdep.c: Improved frame_chain and fn prologue analysis.
781 * configure.tgt: Add entry for m32r target.
782 * monitor.h: Add a flag to tell monitor_store_register to use
783 (val, regno) instead of (regno, val).
784 * monitor.c: Make monitor_store_register honor the above flag.
785 Make monitor_exp ignore DC1/DC3 for m32r.
786 Increase buf size in monitor_dump_regs.
788 Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
790 * m32r-tdep.c, m32r-rom.c: New files.
791 * config/m32r/m32r.mt: New file.
792 * config/m32r/tm-m32r.h: New file.
794 Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com>
796 * config/i386/xm-cygwin32.h:
797 * config/powerpc/xm-cygwin32.h:
798 add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly
801 Tue Oct 29 18:36:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
803 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE):
806 Tue Oct 29 14:59:20 1996 Stan Shebs <shebs@andros.cygnus.com>
808 * TODO: Add item suggesting an "info bfd" command.
810 Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
812 * d10v-tdep.c: Snapshot that supports D10V-EVA board.
814 * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
815 (TARGET_READ_FP,TARGET_WRITE_FP): Define.
817 Mon Oct 28 17:34:24 1996 Stu Grossman (grossman@critters.cygnus.com)
819 * mswin/genmakes mswin/recordit: New scripts to generate make
822 Sun Oct 27 20:18:04 1996 Mark Alexander <marka@cygnus.com>
824 * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
826 * configure.tgt: Modify cases for vr5000 to use new files.
828 Sat Oct 26 07:15:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
830 * config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0.
832 * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing
833 the entry to the exit system call to detect termination of the
834 inferior stopped working. Trace termination of the inferior via
835 PRFS_STOPTERM instead.
836 (procfs_init_inferior): Do not trace entry to exit system call
837 if PIOCSSPCACT is defined.
838 (procfs_wait): Handle PR_DEAD event, which signals the termination
839 of the inferior if PRFS_STOPTERM is set.
841 * mdebugread.c (parse_partial_symbols): Ignore stNil section
842 start address symbols.
844 * sparc-tdep.c (get_saved_register): Get saved PC from the
845 frame info if not in innermost frame.
847 Thu Oct 24 10:51:45 1996 Mark Alexander <marka@cygnus.com>
849 * dbxread.c (process_one_symbol): Interpret end-of-function
850 markers correctly; this fixes problem on Vr5000 where all
851 functions in a module had the same address.
852 * configure.in, configure.tgt, configure.host, gdbserver/configure.in:
853 Correct for pc-linux-gnu problem in config.guess.
854 * configure: Regenerate.
856 Thu Oct 24 10:06:58 1996 Stu Grossman (grossman@critters.cygnus.com)
858 * dbxread.c: Don't swap symbols in place, since internal and
859 external forms may have different sizes. Don't assume that an
860 internal_nlist has the same layout as an external_nlist. Create
861 symbol for n_strx element so to hide specifics of nlist from
863 * partial-stab.h: Don't reference dbxread symbols directly. Use
864 CUR_SYMBOL_STRX instead.
865 * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP.
867 * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for
869 * mswin/gdbwin.c (reg_order): Define register order for V850.
870 * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for
872 * mswin/regdoc.h: Define MAXREGS for V850.
874 Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com)
876 * v850-tdep.c (scan_prologue): Changes to deal with scheduled
877 prologues correctly. First, prologue end is now defined by
878 presence of a branch, jump or call insn. Second, can no longer
879 fix frame offsets because we may not know the offset until after a
880 register has been saved.
881 * (v850_init_extra_frame_info): Fixup frame offsets here because
882 we have all the info at this time.
883 * (v850_frame_chain): Use new calling convention for scan_prologue.
885 Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
887 * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
888 backtraces and inferior function calls.
890 Tue Oct 22 10:32:46 1996 Stan Shebs <shebs@andros.cygnus.com>
892 * mpw-make.sed: Update init.c editing to work with Oct 8 change.
893 (@HLDFLAGS@): Always edit out.
895 Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com>
897 * mdebugread.c (parse_partial_symbols): Fix 64-bit
898 sign-extension problems in calculating psymtab addresses.
899 * buildsym.c (end_symtab): Use macro to pop context.
901 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
903 * v850-tdep.c: Cleanup lots of things. Add many comments.
905 * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix
906 sign bugs with scanning prologues. Get a little smarter about
907 calculating the length of uninteresting instructions.
909 Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
911 * top.c: Add new commands "set annotate" and "show annotate".
913 Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
915 * corelow.c (core_close): Clear inferior_pid only if there is
918 * cp-valprint.c (cp_print_value_fields): Pass correct address
921 From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de):
922 * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
923 typedefs before checking for integral type of right operand.
925 Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com>
927 * mdebugread.c (parse_symbol): Fix crash when malloc has
928 no type info and void type has no associated pointer type.
930 Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com>
932 * configure.host: New file, host configuration mapping.
933 * configure.tgt: New file, target configuration mapping.
934 * configure.in: Remove host and target mapping.
935 * configure: Rebuild.
937 Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com>
939 * breakpoint.c (must_shift_inst_regs): New global.
940 (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
941 equivalent expression uses.
942 * infrun.c (wait_for_inferior): Ditto.
944 Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com)
946 * v850-tdep.c (v850_push_arguments): Use symbolic names for arg
948 * config/v850/tm-v850.h: Change FP to 29. Define arg regs.
950 Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com)
952 * Makefile.in (init.c): Don't use -s option with grep. It means
953 something different under Digital Unix.
955 * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
956 LOC_LOCAL_ARG as arguments so that GDB will know about function
957 args declared this way. Mostly affects dwarf.
958 * dwarfread.c (decode_die_type): Change default type from int to
959 void. This allows GDB to recognize void functions.
960 * (new_symbol): If AT_PROTOTYPED is present, set a flag in the
962 * findvar.c (extract_floating store_floating): Clean up comments
964 * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a
965 function has a prototype. Currently, only dwarf supports this.
966 * utils.c (floatformat_from_doublest): Fix logic error with
967 converting from double to float. (It wasn't shifting mant_long if
968 it had a hidden bit.)
969 * v850-tdep.c: Add support for function calling. Fix some
970 problems with debugging code w/o debug symbols.
971 * config/v850/tm-v850.h: Ditto.
973 Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com>
975 * utils.c: Always ensure that size_t is defined. Check
976 HAVE_STDDEF_H rather than __STDC__
977 (xmalloc, xrealloc): Use size_t rather than long.
979 Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
981 * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
982 can use single-step commands.
984 Sun Oct 13 11:38:25 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
986 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
987 follow typedefs before checking TYPE_CODE for structures and unions.
989 Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com)
991 * frame.h: Move definition of struct frame_saved_regs to before
992 struct frame to make it possible to use frame_saved_regs in
993 EXTRA_FRAME_INFO macro.
995 * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and
996 macros to make frame operations (such as backtrace) work.
998 Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com>
1000 * dbxread.c (process_one_symbol): Check for null string directly
1001 rather than using strcmp against "".
1002 * partial-stab.h: Ditto.
1004 Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com>
1006 * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
1007 Make it compile on Linux and eliminate some warnings.
1009 Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com)
1011 * Makefile.in (init.c): Fixup final sed script to work around
1012 Linux bug with `p' operator.
1014 Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com>
1016 * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
1018 (ddb_ops, pmon_ops): Fix the documentation strings.
1020 Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com)
1022 * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
1023 filenames with sed instead.
1025 Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com)
1027 * defs.h: Remove decls of xmalloc and xrealloc. There is a
1028 conflicting definition in libiberty.h.
1030 Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com>
1032 * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
1033 than poking global variable (which is now static).
1034 * hpread.c (hpread_build_psymtabs): Ditto.
1035 * os9kread.c (os9k_symfile_read): Ditto.
1036 * xcoffread.c (xcoff_initial_scan): Ditto.
1038 * buildsym.h (free_pending_blocks): Declare here.
1039 (pending_blocks): Remove declaration of global symbol.
1040 (free_pendings): Remove declaration of global symbol.
1041 (make_blockvector): Declare here.
1042 (record_pending_block): Declare here.
1044 * dstread.c (make_blockvector): Remove static copy that was old
1045 clone of version in buildsym.c.
1046 (process_dst_block): Call record_pending_block rather than doing
1048 (read_dst_symtab): Ditto.
1050 * buildsym.c (make_blockvector): Make global rather than static,
1051 (record_pending_block): New function, code moved from finish_block.
1052 (finish_block): Use record_pending_block.
1053 (free_pending_blocks): New function.
1054 (really_free_pendings): Call free_pending_blocks.
1055 (pending_blocks): Make static instead of global.
1056 (free_pendings): Make static instead of global.
1058 Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com)
1060 * config/i386/windows.mh config/i386/xm-windows.h:: New config
1061 files to support building Wingdb (built under Microsoft build
1064 * Makefile.in: Add rule for hpux-thread.o (needs special header
1066 * (SUBDIRS): Remove mswin.
1067 * Change procedure for creating init.c. Speeds things up quite a
1069 * config.in configure configure.in: Check for select, poll.
1070 * Check for OSF header files before including hpux-thread.o.
1071 * Don't configure doc or testsuite when building under MSVC.
1072 * findvar.c value.h (read_register_pid write_register_pid): Make
1073 global. Needed for hppa-tdep.c.
1074 * (supply_register): Don't set pid to inferior_pid when supplying
1076 * hppa-tdep.c (saved_pc_after_call): frame_saved_pc ->
1078 * (frame_saved_pc): Change name to hppa_frame_saved_pc.
1079 * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc.
1080 Use write_pc instead, which uses the correct pid.
1081 * (target_read_pc target_write_pc): Use read/write_register_pid
1082 instead of read/write_register to preserve the pid passed in.
1083 * inftarg.c (child_can_run): Add flag child_suppress_run to allow
1084 hpux-threads.c to override this as a runnable target.
1085 * config/pa/nm-hppah.h: Define target_new_objfile and
1087 * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc
1088 instead of frame_saved_pc.
1089 * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb.
1090 * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since
1091 we can't easily determine the start file bounds with ELF.
1092 * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb.
1093 * hpux-thread.c: New file for HPUX/OSF thread support.
1094 * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
1095 RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
1096 cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
1097 cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
1098 cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF
1101 Sun Oct 6 15:48:09 1996 Fred Fish <fnf@cygnus.com>
1103 * buildsym.c (finish_block): Change innerblock_anon_complaint to
1104 print the addresses as part of the complaint. Add a complaint for
1105 cases where the block end address is smaller than the block start
1106 address, in case any such conditions slip through our fixup mechanism.
1107 * symmisc.c (dump_symtab): Only print blockvector for primary
1108 symtabs, to avoid massive duplication of output due to secondary
1109 symtabs that point to same blockvector. Also do some minor
1112 Mon Oct 7 10:42:32 1996 Per Bothner <bothner@deneb.cygnus.com>
1114 Replace header_files global by per-objfile field.
1115 * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files,
1116 n_header_files, n_allocated_header_files.
1117 * stabsread.h (header_files, n_header_files, n_allocated_header_files):
1118 Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
1119 N_ALLOCATED_HEADER_FILES.
1120 * dbxread.c (dbx_symfile_finish): Free HEADER_FILES.
1121 (free_header_files, init_header-files): Don't free/init headerfiles.
1122 (various functions): Use macros instead of header_files globals.
1123 * stabsread.c (various functions): Likewise.
1125 Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>
1127 * dwarf2read.c (read_tag_reference_type): New fn.
1128 (read_type_die): Call it.
1129 (dwarf_attr): Also look in the DIEs referred to by specification
1130 or abstract_origin attributes.
1132 Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com>
1134 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
1136 * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
1137 Define with dummy pc arg.
1138 * config/m68k/tm-nbsd.h: Ditto.
1140 Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com>
1142 * defs.h: Remove define of PRIVATE_XMALLOC.
1144 Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com)
1146 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
1148 Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com)
1150 * top.c (execute_control_command): Free values from while_control
1151 and if_control conditions after evaluation to avoid storage leaks.
1154 Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com)
1156 * configure configure.in: Recognize v850 target.
1157 * v850-tdep.c: New file, NEC V850 target support.
1158 * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
1160 Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1162 * infrun.c (wait_for_inferior): Update current_line and
1163 current_symtab when stepping continues in the middle of a new line.
1165 Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com>
1167 * top.c (print_gdb_version): Rewrote to comply with new GNU coding
1168 standards for the --version option.
1169 (print_gnu_advertisement): Remove, now part of print_gdb_version.
1170 (show_version): Remove call to print_gnu_advertisement.
1171 * top.h (print_gnu_advertisement): Remove prototype.
1172 * main.c (print_gdb_help): Move help to static function and
1174 (main): Call print_gdb_help rather than inlining it.
1175 (main): Remove call to print_gnu_advertisement.
1177 Fri Sep 27 13:32:53 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1179 * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
1180 (TARGET_{,LONG_}DOUBLE_BIT): Ditto.
1182 Thu Sep 26 23:10:26 1996 Mark Alexander <marka@cygnus.com>
1184 * configure.in, config/i386/tm-linux.h: Fix configure
1185 problem on older Linux systems that prevented core files
1186 from being recognized.
1188 Wed Sep 25 18:31:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1190 * dbug-rom.c: New file, support for Motorola's dBUG monitor.
1191 * config/m68k/monitor.mt (TDEPFILES): Add it.
1194 Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1196 * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
1197 Now single-steps correctly.
1198 * d10v-tdep.c (d10v_pop_frame): Fixed.
1200 Fri Sep 20 16:10:58 1996 Stan Shebs <shebs@andros.cygnus.com>
1202 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
1203 be consistent with GCC.
1204 (FPUL_REGNUM, etc): Renumber to match list changes.
1205 (ADDR_BITS_REMOVE): Delete.
1206 * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
1207 Rearrange to match REGISTER_NAMES.
1208 * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
1210 Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1212 * d10v-tdep.c: Stack chain should work now.
1214 Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1216 * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
1218 Tue Sep 17 12:20:50 1996 Ian Lance Taylor <ian@cygnus.com>
1220 * configure.in: Add cases for MIPS 5000 like MIPS 4300.
1221 * configure: Rebuild.
1223 Tue Sep 17 12:09:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
1225 * ser-e7kpc.c: Added wingdb support for target e7000pc.
1227 Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
1229 * remote-mips.c (pmon_wait): DDB PMON does not require forced
1230 re-entry back into debug mode.
1232 Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
1234 * remote-mips.c (mips_load): Ensure that the PC is explicitly
1235 loaded after a load to a DDB PMON system.
1237 Fri Sep 13 12:02:39 1996 Fred Fish <fnf@cygnus.com>
1239 * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
1240 (HLDENV): Set to @HLDENV@.
1241 (gdb): Prefix link command line with $(HLDENV).
1242 * configure.in: Add support to test for --enable-shared and
1243 generate appropriate values for HLDFLAGS and HLDENV.
1244 * configure: Regenerated with autoconf.
1246 Sun Sep 8 15:26:27 1996 Fred Fish <fnf@cygnus.com>
1248 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
1249 change for core_read_registers in struct core_fns.
1250 * core-regset.c (fetch_core_registers): Ditto & add prototype.
1251 * core-sol2.c (fetch_core_registers): Ditto & add prototype.
1252 * i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
1253 * i386b-nat.c (fetch_core_registers): Ditto.
1254 * i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
1255 * irix4-nat.c (fetch_core_registers): Ditto.
1256 * irix5-nat.c (fetch_core_registers): Ditto.
1257 * lynx-nat.c (fetch_core_registers): Ditto & add prototype.
1258 * m68knbsd-nat.c (fetch_core_registers): Ditto.
1259 * mips-nat.c (fetch_core_registers): Ditto & add prototype.
1260 * rs6000-nat.c (fetch_core_registers): Ditto.
1261 * sparc-nat.c (fetch_core_registers): Ditto.
1262 * sun3-nat.c (fetch_core_registers): Ditto & add prototype.
1263 * ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
1265 * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
1266 * delta68-nat.c (register_addr): Ditto.
1267 * gdbserver/low-linux.c (register_addr): Ditto.
1268 * gdbserver/low-hppabsd.c (register_addr): Ditto.
1269 * i386m3-nat.c (register_addr): Ditto.
1270 * mips-nat.c (register_addr): Ditto.
1271 * ultra3-nat.c (register_addr): Ditto.
1273 Sun Sep 8 15:14:00 1996 Stu Grossman (grossman@critters.cygnus.com)
1275 * blockframe.c (inside_main_func): Cleanup slightly. Move
1276 mainsym def into the block it's used in.
1277 * configure.in configure: Allow NATDEPFILES to be recognized in
1278 .mh files regardless of whitespace.
1280 * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to
1281 keep downloads from hanging.
1283 * remote-wiggler.c: Add support for flash upgrades.
1284 * (wiggler_error): Fix message format. Add new error code.
1285 * (wiggler_write_byets): Error code is hex. Report errors with
1286 proper routine name.
1287 * (wiggler_read_byets): Report errors with proper routine name.
1288 * (get_packet): Add support for new flash commands.
1289 * (wiggler_load): Call clear_symtab_users() to reset things
1290 properly after download.
1291 * (flash_xfer_memory bdm_update_flash_command): New funxtions to
1292 support flash upgrades for Wiggler.
1293 * (_initialize_remote_wiggler): Add `bdm update-flash' command.
1295 Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com>
1297 * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__
1299 Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com>
1301 * config/i386/cygwin32.mh:
1302 * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts
1304 Thu Sep 5 12:09:13 1996 Per Bothner <bothner@deneb.cygnus.com>
1306 * value.h (COERCE_REF): Fix previous change.
1307 (COERCE_ENUM): Add a check_typedef (this is the real fix).
1309 Thu Sep 5 03:28:30 1996 Wilfried Moser <moser@rtl.cygnus.com>
1311 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
1312 better check of array boundaries.
1314 Thu Sep 5 01:29:42 1996 Stu Grossman (grossman@critters.cygnus.com)
1316 * configure: Update aclocal.m4 and re-run autoconf to get correct
1318 * remote-wiggler.c (wiggler_error): Error codes are hex. Also,
1319 fix default message generation.
1321 Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com)
1323 * Makefile.in: Add mswin to SUBDIRS. Add rules for
1324 mswin/libwingdb.a and remote-wiggler.o.
1325 * breakpoint.c (breakpoint_here_p): Clean up bp enabled test.
1326 * (breakpoint_inserted_here_p): New func, just like
1327 breakpoint_here_p, except it's honest. Honestly.
1328 * breakpoint.h: Proto for above.
1329 * configure configure.in: Add mswin to configdirs if host is
1330 i[3456]86-*-windows.
1331 * core-aout.c (fetch_core_registers register_addr) gdbcore.h:
1332 Change all vars that can contain addresses to type CORE_ADDR.
1333 * findvar.c (supply_register): Allow val to be NULL. This means
1334 that regno is unsupported.
1335 * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms
1336 just call pid forms with inferior_pid so that there's only once
1337 place to hack PC's and such.
1338 * infrun.c (proceed): Don't skip breakpoints if user changed PC.
1339 * remote-wiggler.c: New file. Support for BDM interface from
1341 * serial.c: Enhance serial logging capability. Add hex and octal
1342 output modes (set remotelogbase {hex|octal|ascii}. Also log
1343 breaks, timeouts, errors, and eofs.
1344 * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper
1345 function so that we can log breaks. Don't export serial_logfile
1347 * top.c (execute_command): Don't test for serial_logfp here.
1348 Just call serial_log_comand, and let serial.c sort it out.
1349 * valops.c (value_of_variable): Don't attempt to establish frames
1350 for static and global variables. This makes things work a bit
1351 better if the stack or frame pointer is trashed.
1352 * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o.
1353 * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack
1354 misaligned stacks during function calls.
1356 Wed Sep 4 13:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
1358 * terminal.h: Don't use #elif.
1360 Wed Sep 4 06:49:35 1996 Wilfried Moser <moser@rtl.cygnus.com>
1362 * ch-exp.c (parse_tuple_element): Allow (*): for array tuples
1365 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
1366 check number of args against bounds of array to avoid
1369 * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
1370 a TYPE_CODE_TYPEDEF.
1372 Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>
1374 * remote-mips.c: Provide support for DDBVR4300 target board.
1375 (ddb_open, ddb_ops): Added.
1376 (mips_monitor_type): MON_DDB Added.
1377 (mips_enter_debug, mips_exit_debug, mips_initialize,
1378 mips_fetch_registers, common_breakpoint, mips_load,
1379 _initialize_remote_mips): Updated.
1381 Thu Aug 29 17:00:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1383 * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
1384 * nlm/configure: Regenerate.
1386 * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for
1389 Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com>
1391 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
1392 CY_AC_LOAD_TCLCONFIG.
1393 * configure: Rebuild.
1395 Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com>
1397 * infrun.c (wait_for_inferior): Initialize stop_func_end before calling
1398 find_pc_partial_function.
1400 Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1402 * configure: Regenerate again.
1404 Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>
1406 * configure.in: work around host_alias configure bug.
1407 AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
1408 and second by AC_CANONICAL_SYSTEM). The second clobbers the
1409 previous setting. Circumventing by moving the second check
1410 to before the first.
1411 * configure: regenerated
1413 Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1415 * config/d10v/d10v.mt: New file.
1416 * config/d10v/tm-d10v.h: New file.
1417 * configure.in: New target D10V.
1418 * d10v-tdep.c: New file.
1420 Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com>
1422 * rs6000-tdep.c: Fix typo in comment.
1423 * valops.c (call_function_by_hand): Set using_gcc to 2
1424 for code compiled without -g, per comment in code.
1425 * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
1426 * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
1427 * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
1428 * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
1429 * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
1430 * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
1431 (STACK_ALIGN): Add comment, move to be with other associated
1432 macros, and document.
1433 * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
1434 (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
1435 * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
1436 * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
1437 handled by PUSH_ARGUMENTS.
1438 (PUSH_ARGUMENTS): Enclose args in ()'s.
1440 Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1442 * infrun.c (wait_for_inferior): Try to reenable shared library
1443 breakpoints even if auto_solib_load is not set.
1445 Wed Aug 21 16:31:27 1996 Fred Fish <fnf@cygnus.com>
1447 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
1448 PRINTF_HAS_LONG_LONG.
1449 * expprint.c (dump_expression): Ditto.
1450 * configure.in: Fix check for long long support in compiler to
1451 use a function body, not a nested function.
1452 * configure: Rebuild with autoconf.
1454 Tue Aug 20 17:59:42 1996 Ian Lance Taylor <ian@cygnus.com>
1456 * aclocal.m4: Include ../bfd/aclocal.m4.
1457 * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
1458 BFD_NEED_DECLARATION on malloc, realloc, and free.
1459 * acconfig.h: Add NEED_DECLARATION_MALLOC,
1460 NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
1461 * configure, config.in: Rebuild.
1462 * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
1463 rather than __STDC__. Only declare malloc, realloc, and free if
1464 NEED_DECLARATION_* is defined.
1466 Tue Aug 20 15:37:03 1996 Fred Fish <fnf@cygnus.com>
1468 * solib.c (_initialize_solib): Add missing '\' chars at ends of
1469 strings that continue on next line.
1470 (enable_break): Replace "return 0" with setting success to zero
1471 and letting normal return handle the return.
1473 Sat Aug 17 14:16:23 1996 Fred Fish <fnf@cygnus.com>
1475 * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr
1476 are properly aligned.
1478 Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com>
1480 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
1481 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
1482 to function, declare function correctly.
1484 Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com>
1486 * symtab.h: changed namespace to _namespace for compiling under
1489 Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com>
1491 * mpw-make.sed: Update for various recent changes, add some
1494 Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1496 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an
1497 integer for type correctness.
1499 Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>
1501 * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
1502 simulator is included.
1504 Thu Aug 15 13:44:13 1996 Fred Fish <fnf@cygnus.com>
1506 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
1508 (read_register_pid): Only needed when TARGET_READ_PC is not
1510 * hppa-tdep.c (frame_saved_pc): Remove prototype.
1511 * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
1513 * config/xm-aix4.h (aix_resizewindow): Convert old style decl
1515 * xcoffsolib.c (command.h): Include for needed prototypes.
1517 Wed Aug 14 17:54:19 1996 Stu Grossman (grossman@critters.cygnus.com)
1519 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
1522 Wed Aug 14 02:03:42 1996 Fred Fish <fnf@cygnus.com>
1524 From Blair MacIntyre <bm@cs.columbia.edu>:
1525 * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
1526 than SYMBOL_TYPE on msymbols.
1527 * somsolib.c (som_solib_create_inferior_hook): Ditto.
1529 * Makefile.in (init.c): Generate with prototypes.
1531 * config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
1532 * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
1533 * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
1534 (pc_load_segment_name): Ditto.
1536 (extract_return_value): Ditto.
1537 (is_magic_function_pointer): Ditto.
1538 (push_dummy_frame): Ditto.
1539 (fix_call_dummy): Ditto.
1540 (push_arguments): Ditto.
1541 (skip_trampoline_code): Ditto.
1542 (aix_process_linenos): Ditto.
1544 * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
1545 * config/m68k/tm-es1800.h: Ditto.
1546 * config/m68k/tm-vx68.h: Ditto.
1547 * config/m68k/tm-sun3.h: Ditto.
1548 * config/m68k/tm-m68kv4.h: Ditto.
1550 Tue Aug 13 23:04:36 1996 Fred Fish <fnf@cygnus.com>
1552 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.
1553 * config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
1554 * remote-mips.c (mips_read_processor_type): Remove prototype.
1555 * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
1556 * irix5-nat.c (fetch_core_registers): Add prototype.
1558 Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com>
1560 * remote-pa.c (boot_board): Add dummy params to make type compatible
1561 for passing to add_com.
1562 * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
1563 * buildsym.c (compare_line_numbers): Change function to match
1564 prototype and also what qsort expects.
1566 Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com>
1568 * remote.c: Make remote_write_size public.
1569 * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
1570 to prevent packet errors with some versions of CMON.
1572 Mon Aug 12 16:20:58 1996 Stu Grossman (grossman@critters.cygnus.com)
1574 * defs.h: Define CONST_PTR as blank if compiling with Microsoft
1575 C, else it's `const'.
1576 * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
1577 scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
1579 * configure configure.in defs.h: Use AC_C_CONST to figure out if
1580 the compiler supports const. Gets rid of some cruft in defs.h.
1581 * dwarf2read.c: <string.h> -> "gdb_string.h"
1582 * remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
1583 * sparcl-tdep.c (download): Add prototypes to write_routine and
1586 * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
1587 rid of varargs.h Include string.h.
1588 * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
1589 update): Fix prototypes, fix calls.
1590 * (update): Return value for catch_errors.
1591 * (run_execute_command togdb_command_from_tty togdb_command):
1592 Cleanup catching of errors from calls to execute_command. Also,
1593 dup command string to avoid modifying const strings.
1594 * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
1595 of NULL when see if b->address isn't set.
1596 * (bi_disable_bpt bi_enable_bpt bi_delete_all
1597 bi_delete_breakpoint): Add arg to calls to update.
1598 * (gui_command): Add prototype.
1599 * (mswin_query): Fix prototype.
1600 * (_initialize_gdbwin): Dup string to avoid modifying const.
1601 * (info_path togdb_get_info_path): Remove const from decls cuz
1602 this can't be const (it points at malloc'ed memory).
1603 * (togdb_searchpath): Remove const from path. Dup string to
1604 avoid modifying const strings.
1605 * rindex -> strrchr.
1606 * (gdbwin_list_symbols): Regexp param is const.
1607 * Fix lots of refs to psymtabs to deref correct pointers.
1608 * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
1610 * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
1611 toget_set_info_path): Fix prototypes to match reality.
1612 * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
1613 with proper prototypes.
1614 * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
1615 * mswin/ser-win32s.c: Fix defs of min and max.
1616 * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
1618 * (WriteComm16): Change lpBug from LPVOID to LPCSTR.
1619 * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
1621 Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com)
1623 * main.c (main): Make sure command loop is used with cygwin32.
1624 * terminal.h: Allow cygwin32 to use termios.h.
1626 Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com)
1628 * somread.c (som_symtab_read): Handle secondary definition
1629 symbols (aka weak symbols).
1631 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in
1634 Thu Aug 8 10:12:36 1996 Stu Grossman (grossman@critters.cygnus.com)
1636 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to
1639 * somread.c: Rearrange order of includes to fix warnings under
1640 hpux-10.10. Also don't include sys/file.h.
1642 Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com)
1644 * dbxread.c: Don't include param.h or sys/file.h.
1645 * (dbx_symfile_read): Determine symfile_relocatable from bfd
1646 flags instead of file extension. Also clean up a little bit.
1648 Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com)
1650 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
1651 mdebugread.c os9kread.c source.c top.c utils.c: Don't
1652 include param.h or sys/file.h (or unistd.h in some cases).
1653 * defs.h exec.c inflow.c remote-array.c remote-e7000.c
1654 sparcl-tdep.c terminal.h utils.c: Replace all occurances of
1655 __WIN32__, WINGDB, WIN32, etc... with _WIN32.
1656 * main.c: Remove #ifndef WINGDB around option processing. Fix
1657 bug with passing argc==0 and argv==NULL to getopt.
1658 * (main) Remove calls to access() before source_command. Let
1659 soure_command handle access errors.
1660 * maint.c (maintenance_dump_me): #ifdef out for _WIN32.
1661 * symtab.c (operator_chars): Make this global for wingdb.
1662 * top.c (disconnect): #ifdef out for _WIN32.
1663 * (source_command): If got an error and from_tty, then call print
1664 error, else just return quietly.
1665 * utils.c (fatal_dump_core): Can't kill ourselves under windows.
1667 * (pollquit notice_quit): #ifdef out stuff that doesn't exist
1670 Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com)
1672 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
1673 structures > 4 bytes in size.
1675 * valops.c (call_function_by_hand): Handle aligning stacks that
1677 * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
1678 (STACK_ALIGN): Define.
1679 * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
1680 alignment on structs/unions.
1682 Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com>
1684 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
1685 which is the documented type under at least AIX 3 and AIX 4.
1687 Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com>
1689 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
1691 (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
1694 Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com>
1696 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
1697 this, define when contents are included.
1698 (mips_read_processor_type): Add prototype.
1699 * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
1700 * mdebugread.c (ecoff_relocate_efi): Add prototype.
1701 (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1703 Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com>
1705 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
1706 (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
1707 (fetch_core_registers): Add prototype.
1708 (vmap_symtab): Ditto.
1709 (objfile_symbol_add): Ditto.
1711 (vmap_ldinfo): Ditto.
1714 Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com>
1716 * stabsread.c (get_substring): Declare second arg as int.
1718 * remote-es.c: Include gdb_string.h after defs.h.
1720 Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com>
1722 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
1723 (branch_dest): Remove unused variable "offset".
1724 (pop_dummy_frame): Add prototype and make static.
1725 (push_arguments): Guard against using len uninitialized.
1726 (push_arguments): Guard against using arg uninitialized.
1727 (frame_saved_pc): Remove unused variable "frameless".
1728 (free_loadinfo): Ifdef out unused function.
1730 * xcoffread.c (compare_lte): Change prototype and function to
1731 be correct type for passing to qsort.
1732 (add_stab_to_list): Ifdef out unused function and prototype.
1733 (compare_lte): Add prototype
1734 (arrange_linetable): Ditto.
1735 (record_include_begin): Ditto.
1736 (record_include_end): Ditto.
1737 (process_linenos): Ditto.
1738 (xcoff_next_symbol_text): Ditto.
1739 (scan_xcoff_symtab): Ditto.
1740 (xcoff_initial_scan): Ditto.
1742 * mips-tdep.c (mips_read_processor_type): Add parens around
1743 bitwise-and operands in comparison; previous expression always
1744 evaluated to 0 because of equality comparison of two constants.
1746 * rs6000-tdep.c (skip_prologue): Add missing parens around
1747 operands of logical-or so that first operand does not bind
1748 to previous logical-and.
1750 * configure.in: Expand "long long" test to include code that triggers
1751 known problem on HPUX with native compiler.
1752 (configure): Regenerated.
1754 Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com)
1756 * somsolib.c (som_solib_create_inferior_hook): Don't
1757 warn if __d_pid can't be found.
1759 Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com>
1761 * config/mips/tm-mips.h (struct frame_info): Forward decl.
1762 (struct type): Ditto.
1763 (struct value): Ditto.
1765 * config/mips/tm-mips.h (sigtramp_address): Move extern decl
1766 from mips-tdep.c to here.
1767 (sigtramp_end): Ditto.
1768 (fixup_sigtramp): Ditto.
1770 * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
1771 (mips_frame_chain): Ditto.
1772 (mips_step_skips_delay): Ditto.
1773 (mips_frame_saved_pc): Ditto.
1774 (mips_find_saved_regs): Ditto.
1775 (mips_frame_num_args): Ditto.
1776 (mips_pop_frame): Ditto.
1777 (mips_extract_return_value): Ditto.
1778 (mips_store_return_value): Ditto.
1779 (mips_push_dummy_frame): Ditto.
1780 (mips_push_arguments): Ditto.
1781 (mips_do_registers_info): Ditto.
1782 (ecoff_relocate_efi): Ditto.
1783 (ecoff_relocate_efi): Ditto.
1784 * irix4-nat.c (fetch_core_registers): Add prototype.
1785 * mips-tdep.c (read_next_frame_reg): Add prototype
1786 (heuristic_proc_start): Ditto.
1787 (heuristic_proc_desc): Ditto.
1788 (mips_print_register): Ditto.
1789 * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
1790 (procfs_stopped_by_watchpoint): Ditto.
1791 * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
1792 (procfs_stopped_by_watchpoint): Ditto.
1793 * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
1794 (struct symbol): Add forward decl for prototype.
1796 * breakpoint.c (internal_breakpoint_number): Only needed if
1797 GET_LONGJMP_TARGET or SOLIB_ADD is defined.
1799 * objfiles.c (ecoff_relocate_efi): Remove prototype.
1801 Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com>
1803 * configure.in: Add test for "long long" support.
1804 * configure: Regenerate with autoconf.
1805 * acconfig.h: Add CC_HAS_LONG_LONG
1806 * config.in: Regenerate with autoheader.
1807 * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
1808 * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
1809 * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
1810 * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
1811 * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
1812 (PRINTF_HAS_LONG_LONG): Remove.
1813 (FORCE_LONG_LONG): Remove.
1814 * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
1815 * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
1816 (PRINTF_HAS_LONG_LONG): Remove.
1817 * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
1818 (PRINTF_HAS_LONG_LONG): Remove.
1819 * config/pa/tm-hppa.h (GET_FIELD): Put parens around
1820 subtraction inside shift. Put parens around subtraction
1821 in operand of bitwise and.
1822 (struct frame_info): Forward declare
1823 if __STDC__ defined.
1824 (frame_saved_regs): Ditto.
1825 (struct value): Ditto.
1826 (struct type): Ditto.
1827 (struct inferior_status): Ditto.
1828 (init_extra_frame_info): Add prototype.
1829 (skip_prologue): Ditto.
1830 (frameless_function_invocation): Ditto.
1831 (frame_chain): Ditto.
1832 (frame_chain_valid): Ditto.
1833 (saved_pc_after_call): Ditto.
1834 (hppa_fix_call_dummy): Ditto.
1835 (hppa_push_arguments): Ditto.
1836 (pa_do_registers_info): Ditto.
1837 (in_solib_call_trampoline): Ditto.
1838 (in_solib_return_trampoline): Ditto.
1839 (push_dummy_frame): Ditto.
1840 * convex-tdep.c (decout): Use print_longest rather than
1842 * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
1844 (INT_MIN): Fix so it works correctly when assigned to a long long.
1845 * valprint.c (longest_to_int): Rewrite to remove dependence
1846 on INT_MIN and INT_MAX.
1847 (print_longest): Rewrite the code that falls back to synthesized
1848 hex output when LONGEST value is not representable as in a long and
1849 printf doesn't support printing long longs.
1850 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1851 chill_print_type_scalar to LONGEST.
1852 chill_print_type_scalar): Make static and add prototype.
1853 * hppa-tdep.c (get_field): Ifdef out unused function.
1856 (extract_5_store): Ditto.
1857 (extract_11): Ditto.
1858 (extract_12): Ditto.
1859 (deposit_17): Ditto.
1860 (extract_14): Convert to static and add prototype.
1861 (deposit_14): Ditto.
1862 (extract_21): Ditto.
1863 (deposit_21): Ditto.
1864 (extract_17): Ditto.
1865 (extract_5r_store): Ditto.
1866 (extract_5R_store): Ditto.
1867 (extract_5_load): Ditto.
1868 (find_proc_framesize): Ditto.
1869 (find_dummy_frame_regs): Ditto.
1870 (sign_extend): Ditto.
1871 (find_unwind_entry): Add prototype.
1872 (find_return_regnum): Ditto.
1873 (unwind_command): Ditto.
1874 (find_dummy_frame_regs): Add parens around subtraction in operand
1876 (skip_prologue): Add parens around operands of logical-and inside
1877 operand of logical-or.
1878 (sign_extend): Add parens around operands of subtraction inside
1880 (low_sign_extend): Ditto.
1881 * top.c (filename_completer): Convert old style decl of
1882 filename_completion_function into prototype.
1883 * f-lang.c (patch_common_entries): Ifdef out unused function.
1884 * stabsread.c (read_cfront_baseclasses): Remove unused local
1885 variable "msg_noterm".
1886 (resolve_cfront_continuation): Remove unused local variable "fip".
1887 (read_type): Remove unused variable xtypenums.
1888 (read_cfront_static_fields): Remove unused variable "i".
1889 (read_cfront_static_fields): Remove unused variable "nfields".
1890 (read_cfront_member_functions): Add missing comment terminator.
1891 (read_cfront_static_fields): Return 1 rather than random value.
1892 (read_cfront_baseclasses): Ditto.
1893 (read_cfront_baseclasses): Ditto.
1894 (read_cfront_baseclasses): Ditto.
1895 * somsolib.c (som_solib_create_inferior_hook): Remove unused
1897 (som_solib_create_inferior_hook): Remove unused variable
1899 (language.h): Add for needed prototypes.
1900 (som_solib_sharedlibrary_command): Add prototype.
1901 * hpread.c: (hpread_read_array_type): Add prototype.
1902 * somread.c (hpread_build_pysmtabs): Add prototype.
1903 (hpread_symfile_finish): Ditto.
1904 (hpread_symfile_init): Ditto.
1905 * hppah-nat.c (fetch_register): Convert old style decl
1907 (gdbcore.h): Include for needed prototypes.
1908 (fetch_register): Remove unused variable "mess".
1909 * remote-pa.c (get_offsets): Ifdef out unused function.
1910 (remote_start_remote): Remove unused variable "timeout".
1911 (boot_board): Add prototype.
1912 (reaad_frame): Add prototype.
1913 (getpkt): Remove unused variable "bp".
1914 (remote_kill): Add prototype.
1915 (remote_mourn): Add prototype.
1916 (remote_insert_breakpoint): Add prototype.
1917 (remote_remove_breakpoint): Add prototype.
1918 * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
1919 * infcmd.c (do_registers_info): Only need prototype if
1920 DO_REGISTERS_INFO is not defined.
1921 (breakpoint_auto_delete_contents): Only need if
1922 CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1924 Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com>
1926 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
1927 (END_PSYMTAB): Ditto.
1928 (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1930 Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
1932 * printcmd.c (_initialize_printcmd): Initialize
1933 tm_print_insn_info.flavour.
1935 Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
1937 * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
1938 (arm-tdep.o): Ditto.
1940 (i386ly-tdep.o): Ditto.
1941 (i960-tdep.o): Ditto.
1942 (m68k-tdep.o): Ditto.
1943 (nindy-tdep.o): Ditto.
1944 (scm-lang.o): Ditto.
1945 (w65-tdep.o): Ditto.
1946 (z8k-tdep.o): Ditto.
1947 (m68k-tdep.o): Depends upon value_h and gdb_string.h
1948 (m2-valprint.o): Depends upon m2-lang.h.
1949 (sparc-tdep.o): Depends upon gdb_string.h
1950 (valprint.o): Depends upon valprint.h
1952 * remote-e7000.c (notice_quit): Remove prototype.
1953 * top.c (initialize_targets): Remove prototype, now in target.h.
1954 * stabsread.c (resolve_cfront_continuation): Remove prototype.
1955 * dbxread.c (resolve_cfront_continuation): Remove prototype.
1956 * symfile.h (set_demangling_style): Remove prototype.
1957 * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
1958 * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
1960 * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
1962 * ser-unix.c (hardwire_restore): Remove obsolete prototype.
1963 * sparc-tdep.c (single_step): Remove forward decl of isbranch.
1964 * scm-lang.c (find_function_in_inferior): Remove prototype.
1965 (value_allocate_space_in_inferior): Ditto.
1966 * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
1967 * defs.h (strchr): Remove declarations, they are declared in
1973 * f-valprint.c (f77_print_array_1): Remove extra arg that was being
1974 passed to f77_print_array_1.
1975 * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
1976 * scm-exp.c (scm_istr2int): Remove unused variable "j".
1977 (scm_parse): Remove unused variable "str".
1978 * hp300ux-nat.c (store_inferior_register): Remove unused variable
1980 (store_inferior_registers): Remove unnecessary decl "registers".
1981 * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
1982 * scm-lang.c (scm_get_field): Remove unused variable "val".
1983 (scm_lookup_name): Remove unused variable "symval".
1984 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
1985 * procfs.c (do_attach, do_detach): Remove unused variable "result".
1986 (last_resume_pid): Remove unused static variable.
1987 * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
1989 * objfiles.c (map_to_address): Remove unused function.
1990 * f-valprint.c (print_max): Remove extraneous extern decl,
1992 (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
1993 * ch-exp.c (write_lower_upper_value): Remove prototype for
1996 * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
1997 * ch-exp.c (parse_mode_call): Ditto.
1998 * f-valprint.c (there_is_a_visible_common_named): Ditto.
1999 * f-lang.c (clear_function_list): Ditto.
2000 (get_bf_for_fcn): Ditto.
2001 (clear_bf_list): Ditto.
2002 (add_common_block): Ditto.
2003 (patch_all_commons_by_name): Ditto.
2004 (find_first_common_named): Ditto.
2005 (add_common_entry): Ditto.
2006 (allocate_saved_function_node): Ditto.
2007 (allocate_saved_bf_node): Ditto.
2008 (allocate_common_entry_node): Ditto.
2009 (allocate_saved_f77_common_node): Ditto.
2011 * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
2012 * dcache.c (gdbcore.h): Ditto.
2013 * i386ly-tdep.c (gdbcore.h): Ditto.
2014 * i960-tdep.c (gdbcore.h): Ditto.
2015 * m2-valprint.c (m2-lang.h): Ditto.
2016 * m68k-tdep.c (gdbcore.h): Ditto.
2018 (gdb_string.h): Ditto.
2019 * nindy-tdep.c (gdbcore.h): Ditto.
2020 * scm-lang.c (gdbcore.h): Ditto.
2021 * scm-valprint.c (gdbcore.h): Ditto.
2022 * w65-tdep.c (gdbcore.h): Ditto.
2023 * z8k-tdep.c (gdbcore.h): Ditto.
2024 * sparc-tdep.c (gdb_string.h): Include.
2025 * valprint.c (valprint.h): Include.
2027 * config/xm-lynx.h: Remove part of comment about INT_MIN
2028 redefined warnings from defs.h, since INT_MIN define in
2029 defs.h is now protected by #ifndef INT_MIN.
2030 * config/i386/xm-i386bsd.h: Ditto.
2031 * config/m68k/xm-hp300bsd.h: Ditto.
2032 * config/m68k/xm-news.h: Ditto.
2034 * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
2035 definition as 0x80000000. The macro in defs.h is better.
2036 * config/i386/xm-i386m3.h (INT_MIN): Ditto.
2037 * config/i386/xm-i386mach.h (INT_MIN): Ditto.
2038 * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
2039 * config/pa/xm-hppab.h: Ditto.
2041 * core-aout.c (fetch_core_registers): Add prototype.
2042 * hp300ux-nat.c (fetch_inferior_register): Ditto.
2043 (store_inferior_register_1): Ditto.
2044 (store_inferior_register): Ditto.
2045 * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
2046 *scm-valprint.c (c_val_print): Ditto.
2047 * procfs.c (add_fd): Ditto.
2050 (sigcodename): Ditto.
2051 (sigcodedesc): Ditto.
2052 (procfs_kill_inferior): Ditto.
2053 (procfs_xfer_memory): Ditto.
2054 (procfs_store_registers): Ditto.
2055 (create_procinfo): Ditto.
2056 (procfs_init_inferior): Ditto.
2057 (proc_set_exec_trap): Ditto.
2058 (procfs_attach): Ditto.
2059 (procfs_detach): Ditto.
2060 (procfs_prepare_to_store): Ditto.
2061 (procfs_files_info): Ditto.
2062 (procfs_open): Ditto.
2063 (procfs_wait): Ditto.
2064 (procfs_fetch_registers): Ditto.
2065 (procfs_mourn_inferior): Ditto.
2066 (procfs_can_run): Ditto.
2067 (procfs_thread_alive): Ditto.
2068 (procfs_stop): Ditto.
2069 * alpha-nat.c (fetch_core_registers): Ditto.
2070 * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
2071 * objfiles.c (ecoff_relocate_efi): Ditto.
2072 * inflow.c (pass_signal): Ditto.
2073 (handle_sigio): Ditto.
2074 * annotate.c (breakpoint_changed): Ditto.
2075 * callback.c (wrap): Ditto.
2078 * utils.c (malloc_botch): Ditto.
2079 (fputs_maybe_filtered): Ditto.
2080 (vfprintf_maybe_filtered): Ditto.
2081 * defs.h (notice_quit): Ditto.
2082 * defs.h (xmalloc, xrealloc): Ditto.
2083 * top.c (stop_sig): Ditto.
2084 (init_signals): Ditto.
2085 (user_defined_command): Ditto.
2086 (source_cleanup_lines): Ditto.
2087 (dont_repeat_command): Ditto.
2088 (serial_log_command): Ditto.
2089 (disconnect): Ditto.
2090 * target.h (initialize_targets): Ditto.
2091 * os9kread.c (read_minimal_symbols): Ditto.
2092 * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
2094 (push_parse_stack): Ditto.
2095 (pop_parse_stack): Ditto.
2096 (is_pending_symbol): Ditto.
2097 (add_pending): Ditto.
2098 * serial.c (serial_logchar): Ditto.
2099 (serial_interface_lookup): Ditto.
2100 * serial.h (serial_log_command): Ditto.
2101 * f-valprint.c (info_common_command): Ditto.
2102 * gdbtypes.h (print_type_scalar): Ditto.
2103 * scm-valprint.c (scm_scmlist_print): Ditto.
2105 * scm-lang.c (scm_printstr): Ditto.
2107 (evaluate_subexp_scm): Ditto.
2108 * scm-exp.c (scm_read_token): Ditto.
2109 (scm_skip_ws): Ditto.
2110 (scm_lreadparen): Ditto.
2111 * m2-lang.c (emit_char): Ditto.
2112 (m2_printchar): Ditto.
2113 (m2_printstr): Ditto.
2114 (m2_create_fundamental_type): Ditto.
2115 * f-lang.c (emit_char): Ditto.
2116 (f_printchar): Ditto.
2117 (f_printstr): Ditto.
2118 (f_create_fundamental_type): Ditto.
2119 * ch-lang.c (chill_printchar): Ditto.
2120 (chill_printstr): Ditto.
2121 (chill_create_fundamental_type): Ditto.
2122 (value_chill_length): Ditto.
2123 (value_chill_card): Ditto.
2124 (value_chill_max_min): Ditto.
2125 (evaluate_subexp_chill): Ditto.
2126 * ch-exp.c (PEEK_TOKEN): Ditto.
2127 (peek_token_): Ditto.
2128 (forward_token_): Ditto.
2129 (parse_case_label): Ditto.
2130 (parse_opt_untyped_expr): Ditto.
2131 (parse_unary_call): Ditto.
2132 (parse_call): Ditto.
2133 (parse_named_record_element): Ditto.
2134 (parse_tuple_element): Ditto.
2135 (parse_opt_element_list): Ditto.
2136 (parse_tuple): Ditto.
2137 (parse_primval): Ditto.
2138 (parse_operand6): Ditto.
2139 (parse_operand5): Ditto.
2140 (parse_operand4): Ditto.
2141 (parse_operand3): Ditto.
2142 (parse_operand2): Ditto.
2143 (parse_operand1): Ditto.
2144 (parse_operand0): Ditto.
2145 (parse_expr): Ditto.
2146 (parse_then_alternative): Ditto.
2147 (parse_else_alternative): Ditto.
2148 (parse_if_expression): Ditto.
2149 (parse_untyped_expr): Ditto.
2150 (growbuf_by_size): Ditto.
2151 (match_simple_name_string): Ditto.
2152 (decode_integer_value): Ditto.
2153 (decode_integer_literal): Ditto.
2154 (match_float_literal): Ditto.
2155 (match_float_literal): Ditto.
2156 (match_string_literal): Ditto.
2157 (match_character_literal): Ditto.
2158 (match_integer_literal): Ditto.
2159 (match_bitstring_literal): Ditto.
2160 (write_lower_upper_value): Ditto.
2161 * ch-lang.h (type_lower_upper): Ditto.
2162 * c-lang.c (emit_char): Ditto.
2163 * dwarfread.c (free_utypes): Ditto.
2164 * stabsread.h (resolve_cfront_continuation): Ditto.
2165 * stabsread.c (get_substring): Ditto.
2166 (read_one_struct_field): Ditto.
2167 * stabsread.h (process_later): Ditto.
2168 * demangle.c (set_demangling_command): Ditto.
2169 * defs.h (set_demangling_style): Ditto.
2170 * maint.c (maintenance_info_command): Ditto.
2171 (print_section_table): Ditto.
2172 (maintenance_info_sections): Ditto.
2173 (maintenance_print_command): Ditto.
2174 * symtab.h (maintenance_print_statistics): Ditto.
2175 * objfiles.h (in_plt_section): Ditto.
2176 * objfiles.c (add_to_objfile_sections): Ditto.
2177 * bcache.c (hash): Ditto.
2178 (lookup_cache): Ditto.
2179 * exec.c (bfdsec_to_vmap): Ditto.
2181 * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
2182 * language.c (unk_lang_printchar): Ditto.
2183 (unk_lang_printstr): Ditto.
2184 (unk_lang_create_fundamental_type): Ditto.
2185 (unk_lang_print_type): Ditto.
2186 (unk_lang_val_print): Ditto.
2187 (unk_lang_value_print): Ditto.
2188 * target.c (update_current_target): Ditto.
2189 (debug_to_open): Ditto.
2190 (debug_to_close): Ditto.
2191 (debug_to_attach): Ditto.
2192 (debug_to_detach): Ditto.
2193 (debug_to_resume): Ditto.
2194 (debug_to_wait): Ditto.
2195 (debug_to_fetch_registers): Ditto.
2196 (debug_to_store_registers): Ditto.
2197 (debug_to_prepare_to_store): Ditto.
2198 (debug_to_xfer_memory): Ditto.
2199 (debug_to_files_info): Ditto.
2200 (debug_to_insert_breakpoint): Ditto.
2201 (debug_to_remove_breakpoint): Ditto.
2202 (debug_to_terminal_init): Ditto.
2203 (debug_to_terminal_inferior): Ditto.
2204 (debug_to_terminal_ours_for_output): Ditto.
2205 (debug_to_terminal_ours): Ditto.
2206 (debug_to_terminal_info): Ditto.
2207 (debug_to_kill): Ditto.
2208 (debug_to_load): Ditto.
2209 (debug_to_lookup_symbol): Ditto.
2210 (debug_to_create_inferior): Ditto.
2211 (debug_to_mourn_inferior): Ditto.
2212 (debug_to_can_run): Ditto.
2213 (debug_to_notice_signals): Ditto.
2214 (debug_to_thread_alive): Ditto.
2215 (debug_to_stop): Ditto.
2216 * breakpoint.h (set_breakpoint_sal): Ditto.
2217 * remote-utils.c (usage): Ditto.
2218 * remote.c (set_thread): Ditto.
2219 (remote_thread_alive): Ditto.
2220 (get_offsets): Ditto.
2221 (read_frame): Ditto.
2222 (remote_insert_breakpoint): Ditto.
2223 (remote_remove_breakpoint): Ditto.
2224 * sparc-nat.c (fetch_core_registers): Ditto.
2225 * corelow.c (add_to_thread_list): Ditto.
2227 * inftarg.c (proc_wait): Ditto.
2228 * infptrace.c (udot_info): Ditto.
2229 (fetch_register): Ditto.
2230 * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
2231 (hardwire_print_tty_state): Ditto.
2232 (hardwire_flush_output): Ditto.
2233 (hardwire_flush_input): Ditto.
2234 (hardwire_send_break): Ditto.
2235 (hardwire_setstopbits): Ditto.
2236 * ser-tcp.c (tcp_return_0): Ditto.
2237 (tcp_noflush_set_tty_state): Ditto.
2238 (tcp_print_tty_state): Ditto.
2239 * solib.c (match_main): Ditto.
2240 * gdbtypes.c (print_bit_vector): Ditto.
2241 (print_arg_types): Ditto.
2242 (dump_fn_fieldlists): Ditto.
2243 (print_cplus_stuff): Ditto.
2244 * symfile.h (entry_point_address): Ditto.
2245 * symfile.c (decrement_reading_symtab): Ditto.
2246 * valops.c (value_arg_coerce): Ditto.
2247 * value.h (find_function_in_inferior): Ditto.
2248 (value_allocate_space_in_inferior): Ditto.
2249 * values.c (vb_match): Ditto.
2250 * thread.c (info_thread_command): Ditto.
2251 (restore_current_thread): Ditto.
2252 (thread_apply_all_command): Ditto.
2253 (thread_apply_command): Ditto.
2254 * inferior.h (write_pc_pid): Ditto.
2255 * infrun.c (delete_breakpoint_current_contents): Ditto.
2256 * breakpoint.c (print_it_normal): Ditto.
2257 (watchpoint_check): Ditto.
2258 (print_it_done): Ditto.
2259 (print_it_noop): Ditto.
2260 (maintenance_info_breakpoints): Ditto.
2261 (create_longjmp_breakpoint): Ditto.
2262 (hbreak_command): Ditto.
2263 (thbreak_command): Ditto.
2264 (watch_commnd_1): Ditto.
2265 (rwatch_command): Ditto.
2266 (awatch_command): Ditto.
2267 (do_enable_breakpoint): Ditto.
2268 * ch-valprint.c (chill_val_print_array_elements): Ditto.
2269 * eval.c (evaluate_subexp): Ditto.
2271 (evaluate_struct_tuple): Ditto.
2272 * eval.c (init_array_element): Ditto.
2274 * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
2275 * breakpoint.c (hw_breakpoint_used_count): Ditto.
2276 (hw_watchpoint_used_count): Ditto.
2277 * findvar.c (write_register_gen): Ditto.
2278 (read_register_pid): Ditto.
2279 * symtab.c (cplusplus_hint): Ditto.
2280 * infcmd.c (breakpoint_auto_delete_contents): Ditto.
2281 * ch-valprint.c (chill_print_type_scalar): Ditto.
2282 * gdbtypes.c (add_name): Ditto.
2283 (add_mangled_type): Ditto.
2284 (cfront_mangle_name): Ditto.
2285 * sparc-tdep.c (isbranch): Ditto.
2286 * inftarg.c (child_stop): Ditto.
2287 * win32-nat.c (child_stop): Ditto.
2288 * mac-nat.c (child_stop): Ditto.
2289 * remote-utils.c (sr_com): Ditto.
2290 * dbxread.c (process_now): Ditto.
2291 * ch-exp.c (require): Ditto.
2292 (check_token): Ditto.
2294 (parse_mode_call): Ditto.
2295 (parse_mode_or_normal_call): Ditto.
2296 * scm-lang.c (scm_lookup_name): Ditto
2297 * f-lang.c (allocate_saved_bf_node): Ditto.
2298 (allocate_saved_function_node): Ditto.
2299 (allocate_saved_f77_common_node): Ditto.
2300 (allocate_common_entry_node): Ditto.
2301 (add_common_block): Ditto.
2302 (add_common_entry): Ditto.
2303 (find_first_common_named): Ditto.
2304 (patch_common_entries): Ditto.
2305 (patch_all_commons_by_name): Ditto.
2306 (clear_bf_list): Ditto.
2307 (get_bf_for_fcn): Ditto.
2308 (clear_function_list): Ditto.
2309 * scm-exp.c (scm_istr2int): Ditto.
2310 (scm_istring2number): Ditto.
2311 * scm-valprint.c (scm_inferior_print): Ditto.
2312 * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
2313 * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
2314 (f77_create_arrayprint_offset_tbl): Ditto.
2315 (f77_print_array_1): Ditto.
2316 (f77_print_array): Ditto.
2317 (list_all_visible_commons): Ditto.
2318 (there_is_a_visible_common_named): Ditto.
2319 * mdebugread.c (ecoff_relocate_efi): Ditto.
2320 * callback.c (os_close): Ditto.
2321 (os_get_errno): Ditto.
2326 (os_read_stdin): Ditto.
2328 (os_write_stdout): Ditto.
2333 (os_shutdown): Ditto.
2335 (os_printf_filtered): Ditto.
2337 * scm-lang.h (scm_parse): Change old style decl to prototype.
2338 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
2339 * top.c (init_proc): Ditto.
2340 (query_hook): Ditto.
2341 (error_hook): Ditto.
2342 * f-lang.c (c_value_print): Ditto.
2343 * ch-exp.c (parse_expression): Ditto.
2344 (parse_primval): Ditto.
2345 (parse_untyped_expr): Ditto.
2346 (parse_opt_untyped_expr): Ditto.
2348 * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
2349 (sparc_frame_saved_pc): Ditto.
2350 (sparc_push_dummy_frame): Ditto.
2351 (sparc_pop_frame): Ditto.
2352 * defs.h (fclose): Ditto.
2354 (error_hook): Ditto.
2356 * arc-tdep.c (single_step): Change arg to type "enum target_signal".
2357 * rs6000-tdep.c (single_step): Ditto.
2358 * sparc-tdep.c (single_step): Ditto.
2360 * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
2361 to PTR which is what make_cleanup expects.
2362 * utils.c (null_cleanup): Change arg type to PTR.
2363 * defs.h (null_cleanup): Change prototype to match actual function.
2364 * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
2365 * ch-valprint.c (chill_val_print): Cast 2nd arg of
2366 chill_print_type_scalar to LONGEST.
2367 * infrun.c (wait_for_inferior): Have empty switch case for
2368 BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
2369 (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
2370 * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
2372 * symfile.c (generic_load): Scan long int using a long int spec,
2374 * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
2376 (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
2378 * inflow.c (handle_sigio): Only need prototype when the actual
2379 function is compiled in.
2380 * valprint.c (longest_to_int): Expand error message to be
2381 separate messages for args larger than largest signed int
2382 and args smaller than smallest signed int.
2383 * valprint.c (print_longest): Fix problems with support for case
2384 where compiler supports type "long long" but the runtime doesn't
2385 support printing them with "%ll".
2386 * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
2387 return types to void since we don't actually return anything
2388 meaningful and callees ignore the values anyway.
2389 * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
2391 (modify_run_on_last_close_flag): Ditto.
2392 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
2394 * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
2396 * infrun.c (wait_for_inferior): Ensure random_signal is not used
2398 * valops.c (call_function_by_hand): Ensure struct_addr is not used
2400 * breakpoint.c (watch_command_1): Ensure prev_frame is not used
2402 * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
2404 * infptrace.c (udot_info): Add two dummy args so that the type is
2405 correct for passing to add_info.
2406 * f-lang.c (saved_fcn): Move decl to head of file so it can be used
2408 (saved_bf_symnum): Ditto.
2409 (SAVED_FUNCTION): Ditto.
2410 (SAVED_FUNCTION_PTR): Ditto.
2412 (SAVED_BF_PTR): Ditto.
2413 * ch-exp.c (parse_named_record_element): Build error message in
2414 temporary buffer before passing it to expect, rather than passing
2415 wrong number of args to expect.
2416 * demangle.c (set_demangling_style): Call set_demangling_command with
2417 correct number of arguments.
2418 * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
2419 int to match actual function.
2420 (os_isatty): Call fdmap with right number of arguments, was missing
2421 the host_callback* arg.
2422 * target.c (cleanup_target): Prototype all functions casts.
2423 * target.h (one_stepped, single_step): Declare here and convert
2424 single_step to prototype.
2425 * infrun.c (one_stepped, single_step): Don't declare externs
2426 here, they have moved to target.h.
2427 * eval.c (init_array_element): Declare previously undeclared
2428 last two args as LONGEST.
2429 * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form.
2431 Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com>
2433 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
2435 Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com)
2437 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
2438 * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
2439 use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
2440 text address. Use a seperate flag (textlow_not_set) instead.
2441 This makes stabs in ELF .o files work a lot better.
2442 * mdebugread.c xcoffread.c: Define textlow_not_set for
2444 * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
2446 Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com>
2448 * dwarf2read.c (struct filenames): Change internal "struct file"
2449 to "struct fileinfo" to avoid conflict with "struct file" in
2450 <sys/file.h> on HPUX and Solaris.
2452 Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com>
2454 * dwarf2read.c: New file, DWARF 2 reader originally contributed by
2455 Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
2456 * Makefile.in (COMMON_OBS): Add dwarf2read.o.
2457 (SFILES): Add dwarf2read.c.
2458 (dwarf2read.o): Add build rule.
2459 * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
2461 * elfread.c (elf_symfile_read): Call them.
2462 (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
2464 Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>
2466 * symfile.c (symfile_bfd_open):
2467 * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
2468 free the user from having to type the .exe extension.
2470 Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com>
2472 * mon960-rom.c: Shorten the mon960_inits string to a single
2473 carriage return; this prevents a hang on connecting immediately
2474 after powerup, when MON960 is attempting autobaud detection.
2476 Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com>
2478 * a29k-tdep.c (get_saved_register): Allow PC to be modified
2479 when innermost frame is selected, but not in outer frames.
2481 Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com)
2483 * command.c (do_setshow_command): Don't segfault when showing
2484 var_string and var_string_noescape vars that are NULL.
2486 Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com>
2488 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
2489 cygwin32_conv_to_posix_path.
2490 (child_create_inferior): unix_path_to_dos_path renamed to
2491 cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
2493 Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com)
2495 * defs.h printcmd.c: Create global disassemble_info structure
2497 * i386-tdep.c (set_assembly_language_command): set
2498 tm_print_insn_info.mach to the appropriate value for 386 or 8086
2500 * printcmd.c (print_insn): Move init of disassembler_info to
2501 _initialize_printcmd. Set endian for disassembler here.
2502 * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
2503 select sparc/sparclite.
2504 * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
2505 TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
2506 bfd_mach_sparc/bfd_mach_sparc_sparclite.
2508 Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com>
2510 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
2511 than xmalloc/xrealloc.
2513 Fri Jul 12 17:59:47 1996 Fred Fish <fnf@cygnus.com>
2515 * objfiles.c (map_to_file): Error return from mmalloc_findbase is
2516 a NULL pointer, not a -1.
2518 Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com)
2520 * i386-tdep.c (set_assembly_language_command): New routine to
2521 select between i386 and i8086 instruction sets for disassembly.
2522 New command `set assembly-language {i386 i8086}'.
2524 Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com>
2526 * monitor.c (monitor_write_memory, monitor_read_memory_single):
2527 Disable use of "long long" memory read/write commands; can't
2528 use them because we hold the values to read/write in an int
2529 variable, and because strtoul fails on values that exceed the
2530 size of a long. This fixes breakpoint problems on MON960.
2532 Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com>
2534 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
2535 * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
2537 Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com>
2539 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
2540 and MMALLOC_CHECK macros, and add comment indicating how host dependent
2541 makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
2542 to use it but to not do heap corruption checking.
2543 * gdbserver/Makefile.in: Ditto.
2544 * utils.c (init_malloc): Replace warning() use with direct call of
2545 fprintf_unfiltered, since current_target has not yet been set and thus
2546 we cannot use warning(). If we try to use mmcheck and it fails,
2547 suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
2548 defined. Other small mmalloc related cleanups.
2549 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
2550 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
2552 * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2553 * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2554 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2555 * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2556 * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
2557 * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2558 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2559 * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2560 Remove obsolete defines.
2562 * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
2563 * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
2564 * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
2565 * config/rs6000/aix4.mh (MMALLOC_DISABLE):
2566 * config/powerpc/aix4.mh (MMALLOC_DISABLE):
2567 * config/powerpc/aix.mh (MMALLOC_DISABLE):
2568 * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
2569 * config/mips/mipsm3.mh (MMALLOC_DISABLE):
2570 * config/mips/decstation.mh (MMALLOC_DISABLE):
2571 * config/m88k/cxux.mh (MMALLOC_DISABLE):
2572 * config/i386/i386mk.mh (MMALLOC_DISABLE):
2573 * config/i386/i386m3.mh (MMALLOC_DISABLE):
2574 * config/i386/i386gnu.mh (MMALLOC_DISABLE):
2575 Use MMALLOC_CFLAGS instead.
2577 Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com)
2579 * h8300-tdep.c: Remove some outdated comments.
2580 (h8300_skip_prologue): Rework to be more correct for the H8/300H.
2581 Handle stm.l insns for the H8/S.
2582 (examine_prologue): Likewise.
2584 Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com>
2586 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
2588 Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com>
2590 * mon960-rom.c (mon960_open): Add floating point detection to
2591 prevent hang on non-FPU processors (PR 9775).
2592 (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
2593 setting breakpoints and improve loading speed.
2595 Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com>
2597 * coffread.c (record_minimal_symbol): Don't presave name string
2598 on symbol_obstack before passing to prim_record_minimal_symbol.
2599 It now handles saving the string itself.
2600 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
2601 * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
2602 * os9kread.c (record_minimal_symbol): Ditto.
2603 * solib.c (solib_add_common_symbols): Ditto.
2605 * coffread.c (coff_symtab_read): Don't presave name string on
2606 symbol_obstack before passing to prim_record_minimal_symbol_and_info.
2607 It now handles saving the string itself.
2608 * dbxread.c (record_minimal_symbol): Ditto.
2609 * elfread.c (record_minimal_symbol_and_info): Ditto.
2611 * dstread.c (record_minimal_symbol): Remove static function that just
2612 called prim_record_minimal_symbol with the same args (after change to
2613 prim_record_minimal_symbol to do it's own name string saves).
2614 * nlmread.c (record_minimal_symbol): Ditto.
2615 * somread.c (record_minimal_symbol): Ditto.
2617 * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
2618 (hpread_read_function_type): Ditto.
2619 (hpread_process_one_debug_symbol): Ditto.
2620 * mdebugread.c (parse_symbol): Ditto.
2621 (new_symbol): Ditto.
2622 * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
2624 * coffread.c (process_coff_symbol): Use obsavestring to save
2625 SYMBOL_NAME, rather than obstack_copy0.
2626 * dstread.c (create_new_symbol): Ditto
2627 * symfile.c (obconcat): Ditto.
2628 * stabsread.c (patch_block_stabs): Ditto.
2629 * xcoffread.c (SYMNAME_ALLOC): Ditto.
2631 * symfile.c (obsavestring): Update comments
2632 * solib.c (solib_add_common_symbols): Remove local var origname.
2634 Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com)
2636 * configure: Re-build with autoconf-2.10.
2638 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
2639 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
2640 TM_PRINT_INSN, which comes from the tm file.
2642 Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com>
2644 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
2645 os9kread.c: Replace identical sym_offsets functions with
2646 default_symfile_offsets.
2647 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
2648 macro to allocate section_offsets.
2649 * symfile.c (default_symfile_offsets): New function.
2650 * symfile.h: Declare default_symfile_offsets.
2651 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
2652 simplify allocation of section_offsets.
2654 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
2656 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2657 * configure configure.in: Only make sol-thread.o for native.
2658 Also, switch to dlopened libthread_db.so.1.
2659 * sol-thread.c: Switch to using dlopen to get the thread_db
2662 Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com)
2664 * configure, configure.in: Change test for libthread_db to only
2665 work for configs where build/host/target are the same.
2667 Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2669 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
2672 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
2674 * configure: Regenerate.
2676 Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com>
2678 From Raymond Jou <rjou@mexican.cygnus.com>:
2679 * mpw-make.sed: Add lines to whack out autoconf hook
2682 Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com>
2684 * remote-e7000.c (e7000_stop): New function.
2686 Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com>
2688 * configure, configure.in: Add target sparclet.
2689 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
2690 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
2691 command to start process running on target is different from one
2692 to continue execution), MO_HEX_PREFIX (if addresses from monitor
2693 have a "0x" prefix).
2694 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
2695 registers array. This is to allow NULLs to be place holders in
2696 the tm-*.h file so that only minor changes are needed when a new
2697 processor is introduced (eg, one without floating point).
2698 * sparc-tdep.c: Conditionally remove dependancies on floating
2700 * sparclet-rom.c, config/sparc/sparclet.mt,
2701 config/sparc/tm-sparclet.h: New files for target sparclet.
2702 * symfile.c (load_command): Add option for 2nd parameter; a load
2703 offset added to the vma of each section.
2705 Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com>
2707 * main.c (main): Add option "l" for setting remote_timeout.
2709 Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com>
2711 * remote-e7000.c, remote.c, target.h, top.c: Add set option
2712 "remote_timeout" for setting remote_timeout. Add set option
2713 "use_hard_breakpoints" for setting hardware .vs. memory
2716 Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com>
2718 * remote-e7000.c (e7000_parse_device): New function.
2719 Add option "tcp_remote" to target command if using
2720 tcp to connect to a remote host which is then connected
2721 via serial port to the e7000 (for exampole, a port master).
2722 (e7000_open): Change to call e7000_parse_device.
2724 Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com>
2726 * monitor.c (monitor_debug): Fix remotedebug buffering.
2728 Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com>
2730 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
2731 (NATDEPFILES): Add a space.
2733 Wed Jun 26 06:05:39 1996 Wilfried Moser <moser@rtl.cygnus.com>
2735 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
2736 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
2738 * ch-exp.c (calculate_array_length): Function removed.
2740 Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2742 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
2743 (e7000_xfer_inferior_memory): Call it.
2745 Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2747 * gdbserver/Makefile.in (docdir): Removed.
2749 Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2751 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
2752 Use autoconf set values.
2754 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
2755 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
2756 includedir): Use autoconf set values.
2758 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
2759 * nlm/configure: Rebuilt.
2760 * gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
2762 Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com)
2764 * stabsread.c (read_cfront_member_functions): add type
2766 Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com>
2768 * win32-nat.c: #include <unistd.h>.
2769 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
2770 (child_create_inferior): Convert only env var PATH to win32 style.
2771 (set_pathstyle_dos): Delete.
2772 (_initialize_inftarg): Delete dos-path-style command.
2774 Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com>
2776 * configure.in: Revise sol-thread.o test.
2777 * configure: Regenerated.
2779 * source.c (find_source_lines): Reassign size to result of read.
2781 Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com>
2783 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
2784 (h8300_command): Likewise.
2785 (set_machine): Likewise.
2786 (set_machine_hook): Likewise.
2787 (_initialize_h8300m): Likewise.
2789 * config/h8300/tm-h8300.h (h8300smode): Declare.
2791 Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
2793 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
2794 of shl_load calls for hpux10.
2796 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
2798 * config.in: Regenerated.
2799 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
2801 * configure: Regenerated.
2802 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
2803 avoid name clashes with SunOS headers.
2805 Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com>
2807 From Michael Snyder <Michael_Snyder@next.com>:
2808 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
2809 exception if one or more objfile has no symbols, such as when
2810 a dynamic library has been stripped.
2812 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
2814 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2815 * configure configure.in: Only make sol-thread.o for native.
2816 Also, switch to dlopened libthread_db.so.1.
2817 * sol-thread.c: Switch to using dlopen to get the thread_db
2820 Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com>
2822 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
2823 Change from 0xE0000000 to 0xC0000000.
2825 Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2827 * config/powerpc/xm-solaris.h: Initial version of support for
2830 Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
2832 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
2834 * configure: Rebuild.
2836 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
2837 little-endian builds.
2839 Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com)
2841 * inftarg.c (child_thread_alive): Protect declaration with
2842 #ifndef CHILD_THREAD_ALIVE.
2844 * source.c (find_source_lines): Check the time on the symtab's bfd if
2845 it exists, else check the time on the exec_bfd.
2847 Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com>
2849 * dsrec.c (make_srec): Fix calculation of address size
2850 to allow addresses less than 0x100.
2852 Thu May 30 04:24:09 1996 Wilfried Moser <moser@rtl.cygnus.com>
2854 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
2856 Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
2858 * remote-mips.c: cannot use EINVAL for breakpoint test since
2859 its value varies for different hosts (e.g. go32's is 19, while
2860 sunos is 22). Changed to hardcoded 22 since that is what the
2863 Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com>
2865 * configure: Regenerated.
2866 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
2867 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
2869 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2871 * solib.c (solib_absolute_prefix, solib_search_path): New variables.
2872 (_initialize_solib): Add set/show commands for those variables.
2873 (solib_map_sections): Implement searching using them.
2875 Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com>
2877 Changes from: David Mosberger-Tang <davidm@azstarnet.com>
2879 * NEWS: Add Alpha Linux as a new native configuration.
2881 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
2882 return type VOID, assume no debugging info is available for that
2883 object file and patch the return value into VOID *. Otherwise,
2884 operations requiring an implicit call to malloc() will fail.
2886 * infrun.c (wait_for_inferior): The criterion to detect entering a
2887 sigtramp handler is now: (a) the current pc is inside a sigtramp
2888 handler, (b) the previous pc is not in a sigtramp handler, and (c)
2889 the current stack pointer is "inner" than the old one. Condition
2890 (c) is new to avoid mistaking a return from a signal handler into
2891 sigtramp as a new sigtramp invocation.
2893 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
2894 int may not be big enough to hold an address.
2895 (dcache_hit): Ditto.
2896 (dcache_peek_byte): Fix indentation.
2898 * configure.in (alpha-*-linux*): Add target.
2899 * configure: Rebuild
2901 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
2902 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
2903 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
2904 (SIGCONTEXT_ADDR): Ditto.
2905 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2907 * config/alpha/alpha-linux.mh: New file.
2908 * config/alpha/alpha-linux.mt: Ditto.
2909 * config/alpha/nm-linux.h: Ditto.
2910 * config/alpha/tm-alphalinux.h: Ditto.
2911 * config/alpha/xm-alphalinux.h: Ditto.
2912 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
2913 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
2915 * config/alpha/alpha-osf2.mh: Ditto.
2917 * blockframe.c (find_pc_partial_function): Pass PC to
2918 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
2919 that detect sigtramp code via designated code sequences (as is the
2920 case for Linux/Alpha, for example).
2922 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
2923 to ignore new PC argument.
2924 * config/m68k/tm-hp300bsd.h: Ditto.
2925 * config/vax/tm-vax.h: Ditto.
2927 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
2928 (alpha_osf_skip_sigtramp_frame): Ditto.
2929 (push_sigtramp_desc): Ditto.
2930 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
2931 sigcontext address from frame.
2932 (alpha_saved_pc_after_call): When in sigtramp, use
2933 alpha_frame_saved_pc() instead of read-register().
2934 (after_prologue): When inside a dynamically generated sigtramp
2935 function, there is no prologue, so return address of first
2937 (alpha_in_prologue): Fix typo in comment.
2938 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
2939 whether we're inside a dynamicaly generated sigtramp function. If
2940 so, create and push and appropriate procedure descriptor.
2941 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
2942 the frame past a sigtramp frame (if the current frame is indeed a
2944 (init_extra_frame_info): Don't read next frame register off of
2945 stack-pointer when inside a dynamiccaly generated sigtramp.
2946 (alpha_pop_frame): Also unlink and destroy procedure descriptors
2947 created for dynamically generated sigtramp functions.
2949 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
2950 <alpha/ptrace.h> instead of <machine/reg.h>
2952 Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
2954 * gnu-nat.c (inf_validate_task_sc):
2955 Give terminal to gdb while asking question.
2956 (inf_resume): Don't validate the task suspend-count while execing.
2958 Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
2960 * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
2961 additional suspend count.
2962 (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
2963 (inf_resume): Call inf_validate_task_sc here.
2964 (gnu_resume): Call inf_update_procs to ensure noticing new threads.
2966 Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
2968 * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
2970 Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com)
2972 * h8300-tdep.c (IS_PUSH): Refine.
2973 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
2974 (IS_SUB4_SP, IS_SUBL_SP): New macros.
2975 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
2976 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
2977 when in H8/300H mode. Get the return pointer's address correctly
2978 for the H8/300H. Handle H8/300H prolouge code sequences.
2980 * symfile.c (generic_load): Print the starting address
2981 of the file just loaded.
2983 Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com>
2985 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
2987 Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2989 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
2990 if a `source' command is contained in bs->commands.
2992 * infrun.c (wait_for_inferior): Update step_frame_address when
2993 stepping into a new line.
2995 From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab):
2996 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
2999 Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com>
3001 * dsrec.c (load_srec): Add WAITACK parameter, for machines
3002 like EST visionICE that send back an ACK after each S-record.
3003 * monitor.c (monitor_wait_srec_ack): New function.
3004 (monitor_load): Pass monitor_wait_srec_ack to load_srec
3005 if the monitor's MO_SREC_ACK flag is set.
3006 * monitor.h: Define MO_SREC_ACK flag.
3007 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
3008 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
3009 * srec.h: Add WAITACK parameter to load_srec prototype.
3011 Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
3013 * config/sparc/sparclite.mt: Add the sparc simulator.
3015 Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
3017 * defs.h (read_command_lines, query_hook): Update prototypes.
3018 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
3019 * breakpoint.c (commands_command): Build message in temporary buffer
3020 and pass that, as well as tty control flag, to read_command_lines.
3021 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
3023 (command_loop): Check for non-NULL instream before looping.
3024 (command_line_input): Use readline_hook when appropriate, to get
3025 user input from a GUI window.
3026 (read_next_line): Also build prompt if getting user input from a GUI.
3027 (recurse_read_control_structure): Fix typo in comment.
3028 (read_command_lines): Use passed in prompt and tty flag to decide how
3029 to build message. Use readline_begin_hook when appropriate, to set
3030 up a GUI interaction window. Just return head, whether NULL or not,
3031 after using readline_end_hook to complete GUI interaction.
3032 (define_command, document_command): Build message in a temporary
3033 buffer and pass it to read_command_lines, along with tty flag.
3036 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3038 * blockframe.c (frameless_look_for_prologue):
3039 Add FUNCTION_START_OFFSET only if func_start is non-zero.
3040 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
3041 pc is not in a known section.
3042 * stack.c (print_frame_info): Remove check for fi->pc in known
3043 section, now handled by lookup_minimal_symbol_by_pc.
3046 Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com>
3048 * sh-stub.c: New file, was config/sh/stub.c.
3051 Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com)
3053 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
3055 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
3057 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
3058 Flush cached frames just before exiting.
3059 * remote-sim.c (gdbsim_resume): Complain if the program isn't
3061 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
3063 Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com)
3065 * procfs.c (procfs_thread_alive procfs_stop): Make static.
3066 (procfs_pid_to_str): New routine to print out thread id's in an
3067 intelligible manner.
3068 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
3069 which supply_register is called to fix bug with writing
3071 * config/sparc/tm-sun4sol2.h: Define default for
3072 target_pid_to_str in case host lacks libthread_db.
3074 Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com)
3076 * Makefile.in config.in configure configure.in
3077 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
3078 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
3079 and pthread support, since pre-2.5 systems don't come with
3082 * procfs.c (info_proc): Use int instead of id_t. Old versions of
3083 Irix don't seem to define this.
3085 Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com)
3087 * top.c (execute_control_command, case while_control): Allow
3088 a while command to be interrupted.
3090 Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com)
3092 * sol-thread.c: More cleanup, add comments.
3093 (sol_thread_resume): Prevent people from trying to step
3095 (sol_thread_wait sol_thread_fetch_registers
3096 sol_thread_store_registers): Remove unnecessary check for
3097 sol_thread_active. These routines won't get called unless threads
3100 Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com>
3102 SH3-E support from Allan Tajii <atajii@hmsi.com>:
3103 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
3105 (sh3e_reg_names): New register name array.
3106 (sh_processor_type_table): Add sh3e processor type.
3107 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
3108 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
3109 full set of registers.
3110 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
3111 (e7000_fetch_registers, e7000_wait): Use them.
3112 * sh3-rom.c (sh3_regnames): Add float registers.
3113 (sh3e_cmds, sh3e_ops): New globals.
3114 (sh3e_open): New function.
3115 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
3118 Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com)
3120 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
3121 Print out messages instead of codes for thread_db errors. Make
3122 access macros for thread and lwp manipulation. Make cleanups to
3123 fixup inferior_pid in case of errors.
3125 Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com>
3127 * aclocal.m4: Remove unused definition of AC_C_CROSS.
3128 * configure.in: Add powerpcle-*-solaris* host and target config
3129 so April 30th change does not get lost next time configure is
3132 Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com)
3134 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
3135 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
3136 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
3137 avoid conflict with Solaris /usr/include/thread.h.
3139 Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com>
3141 * abug-rom.c: Config file for the older style ABug monitor that
3142 runs on the mvme13x boards.
3143 * config/m68k/monitor.mt: Add abug support for m68k cross
3146 Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
3148 * infcmd.c (do_registers_info): Always print the raw floating
3149 point value's bytes in big endian order, so the the leftmost bit
3150 is the most significant.
3151 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
3152 that is referenced nowhere else.
3153 (set_breakpoint): Ditto.
3154 (do_enable_breakpoint): Created from enable_once_breakpoint
3155 with a couple of changes.
3156 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
3157 bpdisp enum value to set disposition of breakpoint.
3158 (enable_once_breakpoint): Ditto.
3159 (enable_delete_breakpoint): Ditto.
3160 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
3161 * symtab.c (find_pc_line): Improve comments.
3162 * xcoffread.c: Ditto.
3164 Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com>
3166 * target.c (debug_to_xfer_memory): Insert line breaks when
3167 dumping the memory block.
3169 Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com)
3171 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
3172 returns a possibly modified pid.
3173 * inftarg.c (ptrace_him): Now returns pid;
3174 * m3-nat.c (m3_trace_him): Now returns pid;
3175 * infcmd.c (run_command): Minor cleanup.
3176 * infrun.c (wait_for_inferior): Add another check for one_stepped
3177 near where we read the pc to avoid erroneously setting
3178 random_signal for multi-threaded support.
3179 * procfs.c: Add support for Solaris LWPs. Remove def of
3180 LOSING_POLL. Many cleanups... Several workarounds for Solaris
3181 lossage. System call entry and exit are now handled by
3182 dynamically registered handlers.
3183 * (syscallname): Don't barf when handed an unknown syscall
3185 * (info_proc_syscalls): Ditto.
3186 * sol-thread.c: New file. Implements Solaris thread support.
3187 * symfile.c (symbol_file_add): Add call to target_new_objfile to
3188 notify target-dependent code about new symbol tables.
3189 * (clear_symtab_users): Call target_new_objfile to notify it of
3190 the removal of all symbol tables.
3191 * target.c (push_target): Make sure that to_close is non-zero
3193 * target.h (target_new_objfile): Provide default.
3194 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
3195 of OSF can't hack using poll with /proc.
3196 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
3197 sol-thread-new-objfile.
3198 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
3199 add libthread_db.so.1 to NAT_CLIBS.
3200 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
3203 Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net>
3205 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
3206 removal of the requested fd.
3208 Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3210 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
3213 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
3215 Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com)
3218 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
3219 * breakpoint.c (insert_breakpoints, watchpoint_check,
3220 bpstat_stop_status): Avoid bad references to memory freed via
3221 delete_breakpoint on watchpoints going out of scope.
3222 Do not delete these watchpoints, disable them and change their
3223 disposition to del_at_next_stop instead.
3224 (breakpoint_auto_delete): Delete all breakpoints whose disposition
3225 is del_at_next_stop.
3226 (breakpoint_init_inferior): Use switch to avoid reference to
3227 already deleted breakpoint.
3229 Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com>
3231 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
3232 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
3233 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
3234 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
3235 (solib_info): Call xcoff_relocate_symtab via the hook.
3236 (sharedlibrary_command): Ditto.
3237 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
3238 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
3239 (xcoff_init_loadinfo_hook): Define and initialize here.
3240 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
3241 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
3242 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
3243 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
3244 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
3245 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
3246 of xcoff_relocate_symtab_hook.
3248 Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3250 * configure (powerpcle-*-solaris*): Add Solaris support.
3252 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
3255 Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com>
3257 * c-valprint.c (c_val_print): Fix printing for arrays defined
3260 Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
3262 Support for bi-endian remote breakpoints.
3263 * remote.c (big_break_insn, little_break_insn): New globals.
3264 (break_insn): Remove.
3265 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
3266 code if REMOTE_BREAKPOINT defined, otherwise call memory
3267 breakpoint functions.
3268 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
3269 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
3271 * mon960-rom.c (mon960_cmds): Remove forward decl.
3272 (mon960_load): Use current_monitor instead of mon960_cmds.
3273 (mon960_regnames): Remove backslashes from line ends.
3274 (_initialize_mon960): Fix documentation string.
3276 Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com>
3278 * symfile.h (psymbol_allocation_list): Expand comments which
3279 describe the psymbol allocation list and how each field is
3282 Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3284 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
3286 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
3288 * infcmd.c (run_command), solib.c (locate_base): Check for
3289 target_has_execution in addition to inferior_pid, a core file
3290 from a threaded program is yielding a non-zero inferior_pid.
3292 * sparc-tdep.c (get_saved_register): Handle window registers
3293 in a dummy frame correctly.
3295 Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com>
3297 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
3298 so that anything that wants an allocation function not yet pulled
3299 in, will get it from mmalloc rather than a system library.
3300 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
3301 to avoid surprising results when used.
3303 Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com)
3305 * stabsread.c: Changes and bug fixes for cfront support.
3306 Fix bug for class data members.
3307 Fix parsing bug when no base classes exist.
3308 Fix memory bug - allocate space for cplusplus specific info.
3309 Add support for static data.
3310 Add prototypes for static functions.
3311 Enhance comments to show what each function expects to parse.
3313 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
3314 function to resolve_cfront_continuation.
3316 Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com)
3318 * infrun.c (wait_for_inferior): Call registers_changed when
3319 restarting the inferior to get over a nullified instruction.
3321 Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com)
3323 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
3324 Add new support for parsing cfront stabs.
3326 Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com)
3328 * infrun.c (wait_for_inferior): Move "have_waited" label
3329 outside of #ifdef conditionals. Don't trash the wait status
3330 if we get a signal and the current instruction is nullified.
3332 Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com>
3334 * Makefile.in (VERSION): Bump version number to 4.16.1.
3335 * NEWS: Update for 4.16 release.
3337 Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com>
3339 * monitor.h: Clean up comment formatting.
3340 (current_monitor): Remove decl.
3341 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
3342 (push_monitor, SREC_SIZE): Remove.
3343 * monitor.c: Expand old macro into current_monitor derefs
3345 * remote-os9k.c (current_monitor): Remove definition.
3347 Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com>
3349 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
3351 (call_extra_exec_file_hooks): New function.
3352 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
3353 remove unused variables.
3354 (set_machine_hook): New function.
3355 (_initialize_h8300m): Initialize it.
3357 Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com>
3359 * remote-mips.c (encoding): Don't specify size, to avoid bug in
3360 SunOS native compiler.
3362 Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com>
3364 * monitor.c: Use int rather than LONGEST for values, since
3365 the formatting strings are not prepared to accept long longs.
3367 Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com>
3369 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
3371 Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com)
3373 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
3374 before de-referencing it. Prevents deref of NULL pointer if core
3375 file lacks .reg section.
3376 * defs.h: Rename floatformat_{to from}_long_double to
3377 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
3379 * findvar.c (extract_floating store_floating): Change all refs to
3380 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
3381 * utils.c: Change floatformat_{to from}_long_double to
3382 floatformat_{to from}_doublest cuz the new routines will use
3383 whatever size (double or long double) is appropriate.
3384 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
3385 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
3386 floatformat... routine calls.
3388 Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com>
3390 * stabsread.c (read_type): Move handling of '@' from type
3391 number handling to handling of types proper (as emitted by gcc!).
3392 For typedefs, allocate the typedef type before reading its
3393 definition, to properly handling recursive types.
3395 Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
3397 * ch-exp.c (calculate_array_length): Fix prototype.
3399 Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com)
3401 * remote-nindy.c (nindy_open): Acquire more target state so that
3402 user can attach to a previously running program.
3403 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
3404 conversion code. That's all handled in {extract store}_floating
3406 * utils.c (floatformat_to_double): Don't bias exponent when
3407 handling zero's, denorms or NaNs.
3408 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
3409 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
3410 FLOATFORMAT_TO/FROM_DOUBLEST macros.
3411 * config/i960/tm-nindy960.h: Undefine
3412 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
3413 REGISTER_CONVERTIBLE. These are no longer necessary now that all
3414 the magic happens in extract/store_floating.
3416 Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3418 * eval.c (evaluate_subexp_standard): Report error when attempting to
3419 evaluate subscripts for types which cannot be subscripted.
3421 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
3422 Return a zero value with the return type of the member function
3423 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
3425 * values.h (value_x_binop, value_x_unop): Update prototypes
3427 * eval.c (evaluate_subexp_standard): Update all callers of
3428 value_x_binop, value_x_unop accordingly.
3430 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
3431 integral promotion on operands.
3433 Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com>
3435 * README: Update for 4.16 release.
3436 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
3437 * configure: Regenerate with autoconf.
3438 * config.in: Regenerate with autoheader.
3439 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
3440 * top.c (command_loop): Ditto.
3442 Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com)
3444 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
3445 defaults for bi-endian targets. Replace function pointers for
3446 floatformat routines with macros. No need for these to be runtime
3448 * findvar.c: Get rid of floatformat function pointers. Use
3449 macros in extract_floating and store_floating.
3450 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
3451 Use floatformat macros.
3453 Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com>
3455 From: Miles Bader <miles@gnu.ai.mit.edu>
3456 * configure.in (AC_CHECK_HEADERS): check for endian.h.
3457 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
3458 Add host & target cases for i[345]86-*-gnu*.
3459 * config.in: Regenerate with autoheader.
3460 * configure: Regenerate with autoconf.
3461 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
3462 (init.c): Don't scan mig-generated files.
3463 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
3464 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
3465 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
3466 rather than "#ifndef MACH".
3468 Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com>
3470 * remote.c (remotewritesize): New GDB variable, controls size
3471 of memory packets sent to the target.
3473 Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com)
3475 * dcache.c: Add prototypes. Make many functions static.
3476 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
3477 dcache_poke call dcache_xfer_memory directly in order to fix
3478 problems with turning off dcache. dcache_peek is now unnecessary,
3481 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
3482 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
3483 to a struct floatformat. This allows for better handling of
3484 targets whose floating point formats differ from the host by more
3485 than just byte order.
3486 * (floatformat_to_long_double floatformat_from_long_double):
3487 Prototypes for new functions in utils.c.
3488 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
3489 for pointers to floating point conversion functions. The actual
3490 function uses either double or long double if the host supports it.
3491 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
3492 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
3493 * (extract_floating store_floating): Rewrite. Now, if host fp
3494 format is the same as the target, we just do a copy. Otherwise,
3495 we call floatformat_{to from}_doublest.
3496 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
3497 `write' to `should_write'.
3498 * utils.c (floatformat_to_long_double
3499 floatformat_from_long_double): New routines that implement long
3500 double versions of functions in libiberty/floatformat.c.
3501 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
3502 i960 extended real (80 bit) numbers.
3503 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
3504 actually read or written.
3506 Wed Apr 10 02:56:06 1996 Wilfried Moser <moser@rtl.cygnus.com>
3508 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
3509 (calculate_array_length): Move function from here ...
3511 * ch-exp.c (calculate_array_length): ... to here.
3512 (parse_primval): If we have a symbol with an array type
3513 and the length is 0, call calculate_array_length.
3515 Tue Apr 9 01:23:05 1996 Wilfried Moser <moser@rtl.cygnus.com>
3517 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
3518 Add some checks for powerset compatibility.
3520 * valops.c (value_slice): Use lowbound instead of lowerbound for
3521 call to slice_range_type to get correct bounds.
3523 Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com>
3525 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
3527 * scm-lang.c (gdb_string.h): Include.
3528 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
3529 call to correct type (char *).
3530 * cp-valprint.c (cp_print_static_field): Ditto.
3531 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
3532 for external find_unwind_entry function (from hppa-tdep.c).
3533 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
3534 type of second arg to "char *" to be type compatible with
3536 (remote_wait): Cast second arg to strtol to correct type.
3537 * hppa-tdep.c (compare_unwind_entries): Change argument types to
3538 "const void *" to be type compatible with qsort, and then
3539 assign to local args prior to use.
3541 Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com)
3543 * infptrace.c (kill_inferior): Remove call to "kill"; update
3546 Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com>
3548 * remote-e7000.c: don't append :23 to target port if __WIN32__
3549 is defined (it's WinGDB).
3551 Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com>
3553 From: Miles Bader <miles@gnu.ai.mit.edu>
3554 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
3555 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
3556 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
3557 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
3559 Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com>
3561 * configure.in (case host): Add i386sco5 host.
3562 * configure: Regenerate.
3564 From: Robert Lipe <robertl@dgii.com>
3565 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
3566 target is an SVR3.2 with COFF, ELF, and shared libes, but
3568 * config/i386/i386sco5.mh: New file.
3569 * config/i386/nm-i386sco5.h: New file.
3571 Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
3573 * bcache.c (bcache): When size of chunk to cache is exactly equal to
3574 BCACHE_MAXLENGTH, stash chunk as unique copy.
3576 Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com>
3578 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
3579 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
3580 use it, rather than calling add_psymbol_addr_to_list.
3581 (add_psymbol_addr_to_list): Delete.
3582 (add_psymbol_to_list): Make psymbol static to avoid random data in
3583 gaps due to alignment of structure members.
3584 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
3585 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
3586 performance improvements by inlining via complicated macros and
3587 they just make gdb larger and harder to maintain.
3588 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
3589 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
3590 add_psymbol_to_list with appropriate long or CORE_ADDR args.
3591 (add_partial_symbol): Ditto.
3592 * partial-stab.h: Ditto.
3593 * os9kread.c (read_os9k_psymtab): Ditto
3594 * mdebugread.c (parse_partial_symbols): Ditto.
3595 (handle_psymbol_enumerators): Ditto.
3596 (demangle.h): Include.
3597 * hpread.c (hpread_build_psymtabs): Ditto.
3598 (hpread_build_psymtabs): Ditto.
3599 (demangle.h): Include
3601 Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
3603 * configure.in: Check for setpgid function.
3604 * config.in: Regenerate with autoheader.
3605 * configure: Regenerate with autoconf.
3606 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
3607 if it is actually defined.
3608 (gdb_setpgid): Use HAVE_SETPGID.
3609 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
3610 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
3611 * c-exp.y, serial.c: Include <ctype.h>.
3612 * config/m68k/nm-news.h: Add typedef for pid_t which is
3613 apparently missing from <sys/types.h>. Enclose entire
3614 file in NM_NEWS_H ifndef and define when included.
3615 * config/mips/nm-news-mips.h: Ditto.
3616 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
3617 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
3619 Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
3621 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
3622 * arm-tdep.c (arm_apcs_32): New global.
3623 (arm_addr_bits_remove, arm_saved_pc_after_call,
3624 arm_push_dummy_frame, arm_pop_frame): New functions.
3625 (arm_skip_prologue): Updated version from Richard Earnshaw.
3626 (_initialize_arm_tdep): Add set/show "apcs32".
3627 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
3628 arm_addr_bits_remove.
3629 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
3630 (frame_find_saved_regs): Declare properly.
3631 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
3632 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
3634 * config/arm/nm-arm.h: New file.
3635 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
3636 Move definitions to nm-arm.h.
3637 * config/arm/arm.mh (NAT_FILE): Define.
3639 * symfile.c (generic_load): Initialize data_count properly.
3641 Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
3643 * symmisc.c (print_objfile_statistics): Print memory used by
3644 psymbol cache obstack.
3646 Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com>
3648 * symfile.c (report_transfer_performance): New function.
3649 (generic_load): Call it to report transfer rate.
3650 * remote-e7000.c (e7000_load): Ditto.
3652 Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com>
3654 * mpw-make.sed: Change references to config.h to be in objdir,
3655 edit out rules to rebuild config.h.
3657 Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com>
3659 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
3662 Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com>
3664 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
3665 fetch_register, child_xfer_memory): Use call_ptrace function supplied
3666 by infptrace.c rather than calling ptrace directly.
3668 Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com>
3670 * mon960-rom.c: Cleanups and elimination of unused code,
3671 clarify documentation string.
3672 (mon960_serial, mon960_ttyname): Remove.
3673 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
3674 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
3676 Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com>
3678 * configure.in: Check whether printf family supports printing
3679 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
3680 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
3681 * configure: Regenerate.
3682 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
3683 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
3684 * configure.in: Fix have_gregset and have_fpregset autoconf
3685 variable names so that they match the pattern required to
3688 Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com>
3690 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
3691 before testing against reg_ptr.
3692 * eval.c (evaluate_subexp_standard): Cast type of
3693 TYPE_FN_FIELD_VOFFSET to int.
3694 * findvar.c (extract_signed_integer, extract_unsigned_integer,
3695 extract_long_unsigned_integer): Cast type of sizeof to int.
3696 * values.c (unpack_field_as_long, modify_field): Ditto.
3697 * valops.c (value_assign, call_function_by_hand): Ditto.
3698 * infcmd.c (do_registers_info): Ditto.
3699 * ser-tcp.c (tcp_open): Ditto.
3700 * remote.c (putpkt): Ditto.
3701 * dcache.c (dcache_peek): Ditto.
3702 * dcache.c (dcache_poke): Ditto.
3703 * m2-exp.y (yylex): Ditto.
3704 * gnu-regex.c (re_match_2): Ditto.
3705 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
3706 out unused macro definition and variables.
3707 * inftarg.c (proc_wait): Move from main.c to here, and make static.
3708 * valprint.c (val_print_string): Change bufsize from int to unsigned.
3709 * main.c (wait.h): Include.
3710 * top.c (command_line_input): Remove unused variable "c".
3711 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
3712 value TYPE_CODE_TYPEDEF to switch statement.
3713 (f_type_print_varspec_suffix): Add missing enum value
3714 TYPE_CODE_TYPEDEF to switch statement.
3715 * ch-exp.c (parse_primval): Add remaining enumeration values to
3716 switch statement, with no specific action.
3717 (ch_lex): Add LOC_UNRESOLVED in switch statement.
3718 (pushback_token): Ifdef out, since code using it is ifdef'd out.
3719 * stabsread.c (cleanup_undefined_types): Remove unused label
3721 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
3722 * maint.c (objfiles.h): Include.
3723 (maintenance_print_statistics): Remove unused variable "temp".
3724 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
3725 unused variable "found_file_symbol".
3726 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
3727 * language.c (lang_bool_type): Use existing function local type
3728 variable rather than create block local variables.
3729 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
3730 * infptrace.c (wait.h, command.h): Include.
3731 * ser-tcp.c (gdb_string.h): Include
3732 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
3733 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
3734 * command.c (complete_on_enum): Make assignment used as truth value
3735 explictly check against NULL.
3737 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
3738 that uses it is ifdef'd out.
3739 * parser-defs.h: Add prototype for write_dollar_variable.
3740 * infrun.c: Add prototype for write_pc_pid.
3741 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
3742 * symmisc.c (bcache.h): Include.
3743 * bcache.h: Add prototype for print_bcache_statistics.
3744 * symfile.c: Include <time.h>.
3745 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
3746 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
3747 * valarith.c (value_binop): Change result_len, promoted_len1,
3748 and promoted_len2 to unsigned int.
3749 * valarith.c (value_subscripted_rvalue): Change elt_offs and
3750 elt_size to unsigned int.
3751 * valops.c (value_array): Change typelength to unsigned int.
3752 (destructor_name_p): Change len to unsigned int.
3753 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
3754 * symfile.c (decrement_reading_symtab): Change return type to void.
3755 * valarith.c (value_subscript): Remove unused variable "word".
3756 (value_subscript): Remove unused variable "tint".
3757 * valops.c (auto_abandon): Ifdef out, since code using it is also
3759 * eval.c (init_array_element): Remove unused variable "val".
3760 * Makefile.in (values.o): Depends on scm-lang.h.
3761 (command.o): Depends upon wait_h.
3762 (ser-tcp.o): Depends upon gdb_string.h.
3763 (infptrace.o): Depends upon wait_h and command_h.
3764 (maint.o): Depends on objfiles.h and symfile.h.
3765 * values.c (allocate_repeat_value): Remove unused variable
3767 (scm-lang.h): Include.
3768 * breakpoint.c (create_longjmp_breakpoint): Enclose in
3769 GET_LONGJMP_TARGET define, unused otherwise.
3770 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
3771 i386_remove_watchpoint and i386_stopped_by_watchpoint.
3773 Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com>
3775 * configure.in (sparc64-*-solaris2*): Delete.
3776 Stick with sparc-*-solaris2*.
3777 * configure: Regenerated.
3779 Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com>
3781 * valops.c (value_assign): Make copy of internal variable value
3782 before returning it as a new value, since it is owned by the
3783 internal variable and will be freed along with it.
3785 Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com)
3787 * From Peter Schauer.
3788 * breakpoint.c (breakpoint_re_set_one): Keep temporary
3789 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
3790 and bp_step_resume in case breakpoint_re_set_one is called due
3791 to a step over a dlopen call.
3792 * infrun.c (wait_for_inferior): Always remove breakpoints from
3793 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
3795 Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
3797 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
3798 non-prototyped case over prototyped case for C.
3799 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
3801 Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
3803 * os9kread.c (os9k_process_one_symbol): Note nonportable
3804 assumption that an int can hold a char *.
3806 * bcache.h (struct hashlink): Wrap data[] inside union with
3807 double to force longest alignment.
3808 (BCACHE_DATA): New macro to access data[].
3809 (BCACHE_ALIGNMENT): New macro to get offset to data[].
3810 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
3811 address of cached data. Use BCACHE_ALIGNMENT to compute
3812 amount of space to allocate for each hashlink struct.
3814 Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
3816 * ch-lang.c (evaluate_subexp_chill): Fix typo.
3818 Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
3820 * Makefile.in (VERSION): Bump version to 4.15.3
3822 Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
3824 * config.in: Rename from config.h.in.
3825 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
3826 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
3827 * configure: Rebuild.
3828 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
3829 Set CONFIG_HEADERS to config.h:config.in.
3831 Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3833 * partial-stab.h (case N_ENDM): Finish current partial symbol
3834 table for Solaris 2 cc.
3836 Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
3838 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
3839 PC in the registers array. From Peter Schauer.
3841 Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
3843 * symfile.c (reread_symbols): Reinitialize bcache struct
3844 members to zero using memset. Also use memset to reinit
3845 global_psymbols and static_psymbols, rather than explicitly
3846 resetting each structure member.
3848 Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
3850 * configure.in: Add fragment to create stamp-h.
3852 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3853 * configure.in (AC_CHECK_HEADERS): Check for link.h.
3854 * configure: Regenerate with autoconf.
3855 * config.h.in: Regenerate with autoheader.
3856 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
3858 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
3859 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
3860 older a.out based systems.
3862 Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
3864 * config.h.in: New file.
3865 * acconfig.h: New file, for autoheader.
3866 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
3867 * configure: Regenerate.
3868 * Makefile.in (defs_h): Add config.h
3869 (distclean): Remove config.h and stamp-h during distclean.
3870 (config.h, stamp-h): New targets to remake config.h when necessary.
3871 * defs.h (config.h): Include before any other includes or defines.
3872 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
3873 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
3875 Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
3877 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3878 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
3879 result in an empty line, to work around a bug in native Ultrix 4.4
3880 and OSF/1-3.2C make.
3882 Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
3884 * configure.in: Add gdbserver to configdirs under linux.
3885 * configure: Regenerate.
3887 Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3889 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
3890 * config/i386/tm-nbsd.h (NUM_REGS): Define.
3892 Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
3894 * solib.c (solib_break_names): Add _r_debug_state for
3895 vanilla SVR4 implementations. From Peter Schauer.
3897 Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
3899 * mon960-rom.c: New file; support mon960 rom monitor on i960.
3900 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
3901 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
3902 epecting prompt and echo during open.
3903 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
3904 determine if break should be sent as stop command.
3905 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
3906 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
3907 stack frame on mon960.
3908 * Makefile.in: Add mon960 files.
3909 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
3910 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
3911 * configure: Regenerated.
3912 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
3913 support mon960 rom monitor on i960.
3915 Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
3917 With Michael Snyder:
3918 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
3919 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
3920 (handle_load_dll): Don't reload symbols.
3921 (handle_exception): Use the DEBUG_* names.
3922 (child_wait): Add DEBUG_* code.
3923 (_initialize_inftarg): Add new commands to set debug_ names.
3925 Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
3927 * From Peter Schauer:
3928 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
3929 (bpstat_stop_status): Likewise.
3930 (remove_solib_event_breakpoints): Likewise.
3931 (clear_momentary_breakpoints): Likewise.
3932 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
3933 if we still can't read the memory for that breakpoint.
3934 (mention): Add bp_shlib_event case to keep gcc quiet.
3936 Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
3938 * breakpoint.h (enum enable): New enum shlib_disabled for
3939 shared library breakpoints that have been temporarily disabled.
3940 * breakpoint.c: Handle temporarily disabled shared library
3941 breakpoints like disabled breakpoints in most places.
3942 (insert_breakpoints): Use shlib_disabled to indicate
3943 that an unsettable breakpoint is only temporarily disabled.
3944 (re_enable_breakpoints_in_shlibs): New function.
3945 * corelow.c (solib_add_stub): After adding shared libraries,
3946 try to reenable any temporarily disabled breakpoints.
3947 * infcmd.c (attach_command): Likewise.
3948 * infrun.c (wait_for_inferior): Likewise.
3950 Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
3952 * defs.h (extract_long_unsigned_integer): Declare.
3953 * findvar.c (extract_long_unsigned_integer): New function.
3954 * printcmd.c (print_scalar_formatted): Use it.
3955 * valprint.c (val_print_type_code_int): Likewise.
3957 Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
3959 * infcmd.c (do_registers_info): Ignore anonymous registers.
3960 * sh-tdep.c (set processor): New command to set specific
3962 (sh_reg_names, sh3_reg_names): Arrays of register names for
3963 SH and SH3 processors.
3964 (sh_set_processor_type): New function.
3965 * sh3-rom.c (sh3_open): Call it.
3966 (sh3_regname): Add names of all the bank registers.
3967 (sh3_supply_register): Clean up formatting.
3968 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
3970 (REGISTER_NAMES): Add names of bank registers.
3971 (FP15_REGNUM): Define.
3972 (REGISTER_VIRTUAL_TYPE): Use it.
3973 * monitor.c: Clean up some comments.
3975 Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3977 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
3978 s* and t* symbols too.
3980 Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
3982 * symfile.c (generic_load): Avoid division by zero.
3984 Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
3986 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
3987 not just those with HANDLE_SVR4_EXEC_EMULATORS.
3990 * breakpoint.c (internal_breakpoint_number): Move to file scope.
3991 (create_solib_event_breakpoint): Use an internal breakpoint number.
3993 Wed Mar 6 00:32:44 1996 Wilfried Moser <moser@rtl.cygnus.com>
3995 * valarith.c (value_in): Change builtin_type_chill_bool to
3998 Tue Mar 5 23:48:36 1996 Wilfried Moser <moser@rtl.cygnus.com>
4000 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
4001 (match_string_literal): Handle control sequence.
4002 (match_character_literal): Deto.
4004 * ch-lang.c (chill_printchar): Change formating of nonprintable
4005 characters from C'xx' to ^(num).
4006 (chill_printstr): Deto.
4007 (value_chill_card, value_chill_max_min): New functions to process
4008 Chill's CARD, MAX, MIN.
4009 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
4011 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
4012 for Chill's CARD, MAX, MIN.
4014 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
4015 and change return type from builtin_type_int to
4016 builtin_type_chill_bool.
4018 Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
4020 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
4021 from config/nm-nbsd.h.
4022 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
4023 from config/sparc/tm-nbsd.h.
4025 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
4026 instead of in config/m68k/xm-hp300hpux.h.
4028 Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4030 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
4031 implementation for NetBSD systems.
4033 Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
4035 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
4036 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
4038 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
4039 if "function" is pointer to non-function.
4041 Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
4043 * top.c (print_gdb_version): Update copyright year.
4045 Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
4048 * infrun.c (wait_for_inferior): Remove breakpoints and
4049 switch terminal settings before calling SOLIB_ADD.
4050 * solib.c (enable_break, SVR4 variant): Don't map in symbols
4051 for the dynamic linker, the namespace pollution causes real
4054 Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
4056 * remote-mips.c (common_breakpoint): Explicitly terminate the
4059 Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
4061 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4062 * remote.c (remote_detach): Send a command 'D' to the target
4063 when detaching, update the function's comments.
4065 Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu>
4067 * gnu-nat.c (thread_cmd_list): New declaration.
4068 (parse_int_arg): New function.
4070 Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
4072 * gnu-nat.h (struct proc): Add DETACH_SC field.
4073 * gnu-nat.c (make_proc): Set DETACH_SC.
4074 (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
4075 (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
4076 (add_thread_commands): Add set/show for detach-suspend-count.
4077 Add takeover-suspend-count cmd.
4078 (inf_detach): Set suspend counts to the detach SC, not 0.
4079 (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
4080 set_task_detach_sc_cmd, show_task_detach_sc_cmd,
4081 set_thread_default_thread_detach_sc_cmd,
4082 show_thread_default_thread_detach_sc_cmd): New functions.
4083 (show_task_cmd): Also show detach-suspend-count values.
4084 (thread_takeover_sc_cmd): New function.
4086 Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
4088 * gnu-nat.c (show_thread_run_cmd): Actually print state.
4090 Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
4092 * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
4094 Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu>
4096 * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
4097 pointer to the flags now, not the flags themselves.
4099 Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
4101 * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
4102 (gnu_create_inferior): Check return from ptrace.
4104 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
4106 * gnu-nat.h (struct proc): Add DEAD field.
4107 * gnu-nat.c (make_proc): Initialize DEAD.
4108 (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
4109 (gnu_wait): Only abort for 0 threads if the task isn't dead.
4111 Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
4113 * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
4115 Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
4117 * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
4118 (inf_set_traced): Only give no-signal-thread error message if
4119 turning *on* tracing.
4121 Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
4123 * gnu-nat.c (inf_validate_procs): If INF has no threads, always
4124 set inf->threads_up_to_date to 0.
4125 (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
4126 (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
4127 (proc_update_sc): Cast thread state arg to thread_set_state.
4128 (proc_get_state): Cast thread state arg to thread_get_state.
4129 (inf_validate_task_sc): Cast task_basic_info arg to task_info.
4130 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
4131 inf_update_procs before we lookup the thread.
4132 * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
4134 Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu>
4136 * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
4138 Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu>
4140 * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
4141 INIT_TRACEMASK instead of setting the exec flags.
4143 Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
4145 * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
4146 the task's died, so others have a chance at it.
4147 (gnu_resume): When single-stepping a single thread, given an error
4148 if there is no such thread. When single-stepping one but running
4149 the others, just given a warning and still run all the threads.
4150 (gnu_wait): If there seem to be no threads, look harder, and
4151 signal an error if there really aren't any.
4152 (gnu_attach): Reset thread numbering to 0.
4154 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
4155 thread name in warning messages.
4157 * gnu-nat.c (active_inf): New function.
4158 (show_sig_thread_cmd, show_stopped_cmd): Use it.
4159 (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
4160 info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
4162 (add_task_commands): Add new port-right info commands.
4164 Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
4166 * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
4167 use mach_msg with MACH_RCV_INTERRUPT.
4168 (set_noninvasive_cmd): New function.
4169 (add_task_commands): Add command entry for `set noninvasive'.
4171 Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
4173 * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
4174 (safe_bcopy): Function removed.
4176 Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu>
4178 * gnu-nat.c (proc_update_sc): Assert only threads can have state.
4179 (make_proc): Initialize state_valid & state_changed fields.
4181 Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu>
4183 * reply_mig_hack.awk: New file.
4185 Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu>
4187 * breakpoint.c (breakpoint_1): Print breakpoint thread field.
4189 * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
4192 Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu>
4194 * target.c (debug_to_check_threads): New function.
4196 * inflow.c (terminal_init_inferior_with_pgrp): New function.
4197 (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
4198 * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
4199 but only if PROCESS_GROUP_TYPE is defined.
4201 Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu>
4203 * target.c (debug_to_thread_alive): Pass through the return value.
4205 Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu>
4207 * target.c (signals, target_signal_from_host, target_signal_to_host):
4208 Add mach exceptions.
4209 * target.h (enum target_signal): Add mach exceptions.
4211 Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu>
4213 * gnu-nat.c: New file: gnu native backend.
4214 * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
4215 * gnu-nat.h: New file.
4216 * config/nm-gnu.h: New file.
4217 * config/tm-i386gnu.h: New file.
4218 * config/xm-i386gnu.h: New file.
4219 * config/i386/i386gnu.mh: New file.
4220 * config/i386/i386gnu.mt: New file.
4222 Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
4224 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
4225 baseline for gdb 4.16 rerelease testing.
4227 Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
4229 * somsolib.c (som_solib_create_inferior_hook): Before returning
4230 call clear_symtab_users.
4232 Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
4234 * remote-e7000.c (e7000_open): Delete all breakpoints when
4235 connecting to e7000. Change connect message to allow use of
4236 monitor.exp in test suite.
4237 * (e7000_load): Print transfer rate of download.
4238 * symfile.c (generic_load): Print transfer rate of download.
4240 Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
4242 * configure.in (mips*-*-vxworks*): New config.
4243 * configure: Regenerated.
4245 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
4246 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
4249 Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4251 * partial-stab.h (case N_FUN): Function symbols generated
4252 by SPARCworks cc have a meaningless zero value, do not update
4253 pst->textlow if the function symbol value is zero.
4255 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
4256 for function prototype declaration symbols.
4258 Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
4260 * remote-e7000.c (e7000_load): New routine to download via the
4262 * (e7000_wait): Don't backup PC when we hit a breakpoint.
4263 Apparantly new sh2 pods get this right...
4264 * (e7000_ops): Add call to e7000_load.
4266 Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4268 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
4269 m68knbsd-nat.c: New files, support for NetBSD/m68k.
4271 * configure.in (m68k-*-netbsd*): New config.
4272 * configure: Regenerated.
4274 Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com>
4276 * standalone.c (open, _initialize_standalone): Fix obvious typos
4277 reported by Martin Pool <martin@citr.uq.oz.au>.
4279 Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
4281 * solib.c (solib_create_inferior_hook): Fix thinko.
4283 Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
4285 * solib.c (solib_break_names): Define for Solaris and Linux.
4286 (enable_break): For SVR4 systems, first try to use the debugger
4287 interfaces in the dynamic linker to track shared library events
4288 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
4289 BKPT_AT_SYMBOL code to use shared library event breakpoints.
4290 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
4291 it no longer needs to restart/wait on the inferior.
4292 * symfile.c (find_lowest_section): No longer static.
4293 * symfile.h (find_lowest_section): Corresponding changes.
4295 Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com>
4297 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
4298 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
4299 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
4300 * config/mips/tm-mips.h: Ditto.
4301 * config/pa/tm-hppa.h: Ditto.
4302 * config/rs6000/tm-rs6000.h: Ditto.
4303 * config/sparc/tm-sparc.h: Ditto.
4305 Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4307 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
4309 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
4310 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
4311 #ifdef'd out definitions --- Causes serious gdb failures on
4312 the i386. Need to investigate further before enabling.
4314 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
4315 fetch_core_registers): New functions. These functions are defined
4316 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
4317 with ptrace PT_GETREGS/PT_SETREGS.
4319 Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
4321 * findvar.c (extract_floating store_floating): Replace `long
4322 double' with `DOUBLEST'.
4324 Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4326 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
4329 Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
4331 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
4333 * breakpoint.h (remove_solib_event_breakpoints): Declare.
4334 * breakpoint.c (remove_solib_event_breakpoints): New function.
4335 * somsolib.c (solib_create_inferior_hook): Remove all solib event
4336 breakpoints before inserting any new ones. Use a solib event
4337 breakpoint for the breakpoint at "_start".
4338 Remove extraneous "\n" from calls to warning.
4340 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
4343 Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
4345 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
4346 for CORE_ADDR values.
4347 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
4348 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
4350 Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4352 * mipsread.c (mipscoff_symfile_read): Unconditionally add
4353 alpha coff dynamic symbols for all symbol files. Makes skipping
4354 over the trampoline code work when stepping from a function in a
4355 shared library into a function in a different shared library.
4357 Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
4359 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
4360 RETURN_VALUE_ON_STACK to return long doubles on the stack.
4362 Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
4364 * Makefile.in (ch-exp.o): Add dependencies.
4365 (various): Add gdb_string.h to dependencies that need it.
4367 Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
4369 * symmisc.c (print_symbol_bcache_statistics): Update description for
4370 printing byte cache statistics.
4372 Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
4374 * Add native support for long double data type.
4375 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
4376 to store actual data. Change types of INT and FLOAT tokens to
4377 typed_val_int and typed_val_float respectively. Create new token
4378 DOUBLE_KEYWORD to specify the string `double'. Make production
4379 for FLOAT use type determined by parse_number. Add production for
4380 "long double" data type.
4381 * (parse_number): Use sscanf to parse numbers as float, double or
4382 long double depending upon the type of typed_val_float.dval. Also
4383 allow user to specify `f' or `l' suffix to explicitly specify
4384 float or long double constants. Change typed_val to
4386 * (yylex): Change typed_val to typed_val_int. Also, scan for
4388 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
4390 * configure, configure.in: Add check for long double support in
4392 * defs.h: Define DOUBLEST appropriatly depending on whether
4393 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
4394 for functions that handle this type.
4395 * expression.h (union exp_element): doubleconst is now type
4397 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
4398 * findvar.c (extract_floating): Make return value be DOUBLEST.
4399 Also, add support for numbers with size of long double.
4400 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
4402 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
4404 * valarith.c (value_binop): Change temp variables v1, v2 and v to
4405 type DOUBLEST. Coerce type of result to long double if either op
4407 * valops.c (value_arg_coerce): If argument type is bigger than
4408 double, coerce to long double.
4409 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
4410 arg type is float and > 8 bytes, then use pointer-to-object
4411 calling conventions.
4412 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
4413 Use appropriate format and precision to print out floating point
4415 * value.h: Fixup prototypes for value_as_double,
4416 value_from_double, and unpack_double to use DOUBLEST.
4417 * values.c (record_latest_value): Remove check for invalid
4418 floats. Allow history to store them so that people may examine
4419 them in hex if they want.
4420 * (value_as_double unpack_double): Change return value to DOUBLEST.
4421 * (value_from_double): Arg `num' is now DOUBLEST.
4422 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
4423 specific) to expect certain types to always be returned on the stack.
4425 Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
4427 * bcache.c, bcache.h: New files to implement a byte cache.
4428 * Makefile.in (SFILES): Add bcache.c.
4429 (symtab_h): Add bcache.h.
4430 (HFILES_NO_SRCDIR): add bcache.h
4431 (COMMON_OBJS): Add bcache.o
4432 (bcache.o): New target.
4433 * dbxread.c (start_psymtab): Make global_syms & static_syms
4434 type "partial_symbol **".
4435 * hpread.c (hpread_start_symtab): Ditto.
4436 * os9kread.c (os9k_start_psymtab): Ditto.
4437 * stabsread.h (start_psymtab): Ditto.
4438 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
4439 * maint.c (maintenance_print_statistics): Call
4440 print_symbol_bcache_statistics.
4441 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
4443 * solib.c (allocate_rt_common_objfile): Ditto.
4444 * symfile.c (reread_symbols): Ditto.
4445 (free_objfile): Free psymbol bcache when objfile is freed.
4446 (objfile_relocate): Use new indirect psymbol pointers.
4447 * objfiles.h (struct objfile): Add psymbol cache.
4448 * symfile.c (compare_psymbols): Now passed pointers to pointers to
4450 (reread_symbols): Free psymbol bcache when freeing other objfile
4452 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
4453 psymbol using the psymbol bcache.
4454 (init_psymbol_list): Psymbol lists now contain pointers rather than
4455 the actual psymbols.
4456 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
4457 grown arrays of pointers.
4458 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
4460 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
4462 (print_symbol_bcache_statistics): New function to print per objfile
4464 (print_partial_symbol, print_partial_symbols,
4465 maintenance_check_symtabs, extend_psymbol_list):
4466 Account for change to pointer to pointer to partial symbol.
4467 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
4468 make_symbol_completion_list):
4469 Account for change to pointer to pointer to partial symbol.
4470 * symtab.h (bcache.h): Include.
4471 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
4472 type "partial_symbol **".
4474 Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
4476 * dwarfread.c (free_utypes): New function.
4477 (read_file_scope): Call free_utypes as cleanup, rather than just
4478 freeing the utypes pointer.
4480 Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4482 * demangle.c (is_cplus_marker): New function, checks if a
4483 character is one of the commonly used C++ marker characters.
4484 * defs.h (is_cplus_marker): Add prototype.
4485 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
4486 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
4487 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
4488 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
4489 values.c (vb_match): Use is_cplus_marker instead of comparison
4492 Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
4494 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
4495 delete entirely someday.
4497 Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
4499 * mpw-make.sed: Edit out makefile rebuild rule.
4500 (host_alias, target_alias): Comment out instead of deleting.
4501 (@LIBS@): Edit out references.
4503 Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
4505 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
4506 Use n_psyms in OBJSTAT, not psyms.
4508 Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
4510 * configure.in (sparclet-*-aout*): New config.
4511 * configure: Regenerated.
4513 Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
4515 * somsolib.c (som_solib_add): Use xmalloc rather than bare
4516 unchecked call to malloc.
4517 * remote-mips.c (pmon_load_fast): ditto.
4518 * remote-mm.c (mm_open): ditto.
4519 * hpread.c (hpread_lookup_type): ditto.
4520 * remote-adapt.c (adapt_open): ditto.
4522 Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
4524 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
4525 allocate_saved_f77_common_node, allocate_common_entry_node,
4526 add_common_block): Use xmalloc rather than malloc, some of which
4528 * gnu-regex.c: At same point as other gdb specific changes
4529 #undef malloc and then #define it to xmalloc.
4530 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
4531 bare unchecked calls to malloc/realloc.
4532 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
4533 unchecked call to malloc.
4535 Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
4537 * symtab.c (gdb_mangle_name): Change opname var to be const to
4538 match return val of cplus_mangle_name.
4539 * i960-tdep.c: Change arg types of next_insn to match callers.
4541 Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
4543 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
4544 apparently aren't needed in any reasonably recent version of
4547 Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
4549 * stabsread.c (read_range_type): If !self-subrange and language
4550 is Chill, assume a true range. If a true_range is a sub_subrange,
4551 use builtin_type_int for index_type.
4553 Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
4555 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
4556 with an ANSI compiler.
4558 Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
4560 From Michael_Snyder@NeXT.COM (Michael Snyder):
4561 * valops.c (value_arg_coerce): Coerce float to double, unless the
4562 function prototype specifies float.
4564 Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
4566 * language.c (set_language_command): Use languages table when
4567 printing available languages.
4569 Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
4571 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
4572 * command.c (add_cmd): Add missing initialization for enums member.
4573 Reorder members to match structure declaration to make it easier to
4574 tell when one is missing.
4575 * exec.c (exec_file_command): Fix problem where filename in malloc'd
4576 memory is referenced after being freed.
4578 Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4580 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
4581 AT_name tag is missing.
4583 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
4584 FLTWATCH and FLTKWATCH are defined.
4586 * remote.c (remote_read_bytes): Advance memaddr for transfers,
4587 return number of bytes transferred for partial reads.
4589 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
4591 Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
4593 * win32-nat.c (mappings): Add ppc registers.
4594 (child_resume): Turn off step for ppc.
4596 Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
4598 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
4599 xm-cygwin32.h): New.
4600 * config/i386/(*win32*): Becomes *cygwin32*.
4601 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
4602 (powerpcle-*-cygwin32): New.
4603 * configure: Regenerate.
4604 * win32-nat.c (child_create_inferior): Call CreateProcess
4605 with the right program arg.
4607 Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
4609 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
4611 Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
4613 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
4615 Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
4617 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
4619 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
4621 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
4622 here from config/i386/xm-i386mach.h, fix name.
4623 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
4624 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
4625 here from config/i386/xm-ptx4.h.
4626 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
4627 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
4628 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
4629 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
4630 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
4632 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
4633 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
4634 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
4636 Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
4638 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
4639 floating point correctly.
4640 (STORE_RETURN_VALUE): Likewise.
4641 * config/pa/tm-pro.h (SOFT_FLOAT): define.
4643 Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
4645 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
4646 Define to what should be reasonable values. However, apparently
4647 a bug in linux mmap prevents mapped symbol tables from working.
4649 Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
4651 * defs.h (errno.h>: Move #include closer to head of file to solve
4652 obscure problem with systems that declare perror with const arg, in
4653 both errno.h and stdio.h, and const is defined away by intervening
4656 Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
4658 From Jon Reeves <reeves@zk3.dec.com>:
4659 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
4660 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
4662 Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
4664 * Makefile.in (diststuff): Make all-doc; diststuff target does not
4665 exist in doc/Makefile.in.
4667 Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
4669 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
4671 Mon Jan 29 00:10:35 1996 Wilfried Moser <moser@rtl.cygnus.com>
4673 * ch-valprint.c (calculate_array_length): New function to
4674 determine the length of an array type.
4675 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
4676 array type is zero, call calculate_array_length.
4678 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
4679 values may not be sorted. Scan all entries and set the real lower
4682 Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
4684 * config/xm-linux.h: Move include of solib.h and #define of
4685 SVR4_SHARED_LIBS from here ...
4686 * config/nm-linux.h: ...to here.
4688 Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
4690 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
4691 Also check for gregset_t and fpregset_t types.
4692 * configure: Regenerate.
4693 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
4695 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
4696 and HAVE_FPREGSET_T are defined. These changes allow systems
4697 like linux that are migrating to /proc support to use a single
4698 configuration for both new and old versions.
4700 * config/i386/linux.mt: Note that this is now for both a.out and
4702 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
4704 * config/i386/tm-linux.h (tm-sysv4.h): Include.
4705 * config/i386/xm-linux.h (solib.h): Include
4706 (SVR4_SHARED_LIBS): Define.
4707 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
4708 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
4709 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
4712 Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
4714 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
4715 * config/i386/xm-sun386.h: Ditto.
4716 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
4718 Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
4720 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
4722 Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
4724 From Greg McGary <gkm@gnu.ai.mit.edu>:
4725 * dcache.c (dcache_peek, dcache_poke): Advance addr for
4728 Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
4730 * infrun.c (normal_stop): Fix test for shared library event.
4732 Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
4734 * configure.in (sparc64-*-*): Add default host configuration.
4735 (sparc64-*-solaris2*): Add target configuration.
4736 (sparc64-*-solaris2* host): Link statically if GCC used.
4737 * configure: Regenerated.
4738 * sparc/sp64sol2.mt: New file.
4740 Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
4742 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
4744 Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
4746 * Makefile.in (lint): Close backquotes.
4748 Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
4750 * NEWS: Make note of new record and replay feature for
4751 remote debug sessions.
4752 * serial.c (gdbcmd.h): Include.
4753 (serial_logfile, serial_logfp, serial_reading, serial_writing):
4754 Define here, for remote debug session logging.
4755 (serial_log_command, serial_logchar, serial_write, serial_readchar):
4756 New functions for remote debug session logging.
4757 (serial_open): Open remote debug session log file when needed.
4758 (serial_close): Close remote debug session log file when needed.
4759 (_initialize_serial): Add set/show commands for name of remote
4760 debug session log file.
4761 * serial.h (serial_readchar): Declare
4762 (SERIAL_READCHAR): Call serial_readchar().
4763 (SERIAL_WRITE): Call serial_write().
4764 (serial_close): Declare as extern.
4765 (serial_logfile, serial_logfp): Declare.
4766 * top.c (execute_command): Declare serial_logfp. Log user command
4767 in remote debug session log if log file is open.
4768 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
4769 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
4770 * remote-array.c (SREC_SIZE): Remove, duplicates define in
4772 * remote-array.c (hexchars, hex2mem): Remove, unused.
4773 * gdbserver/low-linux.c (store_inferior_registers): Remove
4774 unnecessary extern declaration of registers[].
4775 * gdbserver/Makefile.in (all): Add gdbreplay.
4776 * gdbserver/gdbreplay.c: New file.
4777 * gdbserver/README: Give example of recording a remote
4778 debug session with gdb and then replaying it with gdbreplay.
4780 Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
4782 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
4783 (read_one_struct_field): Support boolean bitfields.
4784 * c-valprint.c (c_val_print): Print booleans properly.
4786 Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
4788 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
4790 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
4792 Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
4794 * ch-exp.c (parse_tuple): Error if invalid mode.
4796 * value.h (COERCE_ARRAY): Don't coerce enums.
4797 (COERCE_ENUM): Don't COERCE_REF.
4798 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
4799 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
4800 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
4801 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
4802 Add COERCE_REF before COERCE_ENUM.
4803 * values.c (value_as_long): Simplify.
4805 * valops.c (value_array): Create internalvar if !c_style_arrays.
4807 * language.c (lang_bool_type): Add Fortran support.
4808 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
4810 Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
4812 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
4813 All references changed.
4814 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
4815 Update state table. Reformat so that it's still readable.
4816 When we hit the shlib_event breakpoint, set the calss of shlib_event.
4817 (breakpoint_1): Add "shlib events" as a breakpoint type.
4818 Print the shlib_event breakpoint like other breakpoints.
4819 (create_solib_event_breakpoint): New function.
4820 (breakpoint_re_set_one): Handle solib_event breakpoints.
4821 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
4822 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
4824 (create_solib_event_breakpoint): Declare.
4825 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
4826 (normal_stop): Inform the user when the inferior stoped due
4827 to a shared library event.
4828 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
4829 to control whether or not gdb continues the inferior or stops it when
4830 a shared library event occurs.
4831 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
4832 * somsolib.c (TODO list): Update.
4833 (som_solib_create_inferior_hook): Arrange for gdb to be notified
4834 when significant shared library events occur.
4835 * hppa-tdep.c (find_unwind_entry): No longer static.
4837 Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
4839 * printcmd.c (print_insn): Pass fprintf_unfiltered to
4840 INIT_DISASSEMBLE_INFO.
4842 Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
4844 * remote.c (remotebreak): New GDB variable.
4845 (remote_break): New global.
4846 (remote_interrupt): Send a break instead of ^C if remote_break.
4847 * NEWS: Describe the new variable.
4849 Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
4851 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
4853 Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
4855 * hp300ux-nat.c (getpagesize): Remove unused function
4856 fetch_core_registers.
4857 (hp300ux_core_fns): Remove, is unused.
4858 (_initialize_core_hp300ux): Remove, is unused.
4859 (gdbcore.h): Remove #include, no longer needed.
4861 Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
4863 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
4864 ptrace bug in aix4.1.3 on the rs6000.
4866 Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
4868 * remote-hms.c (hms_ops): Add value for to_thread_alive.
4869 * remote-nindy.c (nindy_ops): Ditto.
4870 * remote-udi.c (udi_ops): Ditto.
4872 Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
4874 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
4875 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
4876 pmon_load_fast): New functions. Support for the PMON monitor world.
4877 (common_open): New function to merge support for different monitors.
4878 (mips_open): Use common_open().
4879 (mips_send_command): New function.
4880 (mips_send_packet): Scan out-of-sequence packets.
4881 (mips_enter_debug, mips_exit_debug): New functions.
4882 (pmon_ops): New target definition structure.
4884 Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
4886 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
4887 specified on the make command line (via make LIBS=xxx).
4890 Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
4892 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
4893 is set but there are no psymtabs.
4895 Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
4897 * dsrec.c (load_srec): Remove unused variable.
4898 * monitor.c (monitor_expect): Don't expect a ^C to echo.
4899 * serial.c (serial_open): Add parallel interface.
4900 * sh3-rom.c (parallel, parallel_in_use): New.
4901 (sh3_load): If parallel_in_use, download though the
4903 (sh3_open): Open parallel port if specified.
4904 (sh3_close): New function.
4905 (_inititalize_sh3): Add sh3_close hook and documentation.
4906 * monitor.c (monitor_close): Export.
4907 * monitor.h (monitor_close): Add prototype.
4909 Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
4911 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4912 * remote.c (remotetimeout): New GDB variable, use to set the
4913 remote timeout for reading.
4915 Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com>
4917 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
4918 to get "struct core_fns" defined.
4919 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
4920 Are dependent upon gdbcore_h.
4922 Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
4924 * symfile.c (decrement_reading_symtab): New function.
4925 * symfile.c, symtab.h (currently_reading_symtab): New variable.
4926 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
4927 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
4928 currently_reading_symtab (since that could infinitely recurse).
4930 Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
4932 * stabsread.c (read_struct_type): Trivial simplification.
4934 * stabsread.c (define-symbol): Use invisible references
4935 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
4936 * valops.c (call_function_by_hand): Likewise.
4937 * eval.c (evaluate_subexp_standard): When known, use the formal
4938 parameter type as the expected type when evaluating arg expressions.
4939 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
4941 Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
4943 * main.c (main): Disable window interface if --help or --version
4946 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4948 * configure.in, configure: Recognize rs6000-*-aix4*.
4949 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
4950 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
4951 * config/rs6000/xm-aix4.h: New file.
4952 * config/xm-aix4.h: New file.
4954 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
4956 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4957 * gdbserver/low-linux.c: New file.
4958 * remote.c (remote_read_bytes): Fix aborts on larger packets.
4960 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
4962 * stabsread.c (define_symbol): If register value is too large,
4963 tell what it is and what max is.
4965 Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
4967 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
4968 enum namespace -> enum_namespace change.
4970 Tue Jan 9 04:44:47 1996 Wilfried Moser <moser@rtl.cygnus.com>
4972 * ch-exp.c (parse_primval): In case ARRAY, add missing
4975 Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
4977 * remote-mips.c (mips_receive_header): Recognize \012 instead
4978 of \n, but write \n when program sends a \012.
4979 * ser-mac.c (mac_input_buffer): Increase size of buffer.
4981 Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
4983 * infptrace.c (initialize_infptrace): Move function out of
4984 #ifdef conditional; put code within the function inside an
4987 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
4988 arguments. Sorting is now dependent on OBJF_REORDERED. All
4989 callers/references changed.
4990 * dbxread.c (read_ofile_symtab): Correctly determine value for
4991 last_source_start_addr for reordered executables.
4992 (process_one_symbol): Handle N_FUN with no name as an end of
4994 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
4995 is the high text address for a psymtab.
4996 (case N_SO): Likewise.
4997 (case N_FUN): Handle N_FUN with no name as an end of function
4999 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
5000 at the same address rather than a random subset of them.
5001 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
5002 * elfread.c (elf_symfile_init): Similarly.
5003 * somread.c (som_symfile_init): Similarly.
5004 * xcoffread.c (xcoff_symfile_init): Similarly.
5006 Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
5008 * stack.c (print_stack_frame print_frame_info) symmisc.c
5009 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
5010 that catch_errors doesn't get blindsided by QUIT and lose the
5011 cleanup chain. This fixes a problem where ^C while in a
5012 user-defined command sometimes leaves instream NULL and causes a
5013 segfault in command_loop.
5015 Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5017 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
5019 Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
5021 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
5022 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
5023 srec.o renamed to dsrec.o.
5025 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
5027 * breakpoint.c (remove_breakpoint): Change error to warning so
5028 that hardware watchpoint removal problems won't leave breakpoint
5029 traps in the target.
5030 * remote-e7000.c (e7000_insert_breakpoint,
5031 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
5033 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
5034 compensate for e7000 maladjustment.
5035 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
5036 which prevented hardware watchpoints from working.
5038 Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com>
5040 * infptrace.c (udot_info): New function.
5041 (PT_*): Define each individually if that one is not defined.
5042 * rs6000-nat.c (kernel_u_size): New function
5043 Include <sys/user.h> for "struct user"
5044 * alpha-nat.c (kernel_u_size): New function.
5045 Include <sys/user.h> for "struct user"
5046 * sparc-nat.c (kernel_u_size): New function.
5047 Include <sys/user.h> for "struct user"
5048 * i386b-nat.c (kernel_u_size): New function.
5049 * i386v-nat.c (kernel_u_size): New function.
5050 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
5051 (kernel_u_size): Declare.
5052 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
5053 (kernel_u_size): Declare.
5054 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
5055 (kernel_u_size): Declare.
5056 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
5057 (kernel_u_size): Declare.
5058 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
5059 (kernel_u_size): Declare.
5061 Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
5063 * mdebugread.c (mylookup_symbol): enum namespace becomes
5064 enum_namespace type.
5065 * symfile.c (add_psymbol_to_list)
5066 (add_psymbol_addr_to_list): Ditto.
5067 * symtab.c (lookup_partial_symbol): Ditto.
5068 (lookup_symbol): Ditto.
5069 (lookup_block_symbol): Ditto.
5070 * win32-nat.c (handle_load_dll): Use incoming dll base.
5071 (child_wait): Catch DLL load errors.
5072 (create_child_inferior): Translated between paths correctly.
5074 Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
5076 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
5077 from NUM_REGS to get number of general registers that we care about.
5078 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
5079 of number of general regs and number of floating point regs.
5081 Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
5083 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
5084 (SKIP_TRAMPOLINE_CODE): New.
5085 * config/i386/xm-win32.h (CANT_FORK): Deleted.
5086 (SLASH*) Changed to use unix style slash.
5087 * symtab.h (namespace enum): becomes typedef to avoid namespace
5089 * infcmd.c (path_command): Use empty string if PATH name not set.
5090 * i386-tdep.c (skip_trampoline_code): New function.
5091 * srec.c: Renamed dsrec.c to avoid filename collision.
5092 * Makefile.in: Cope with renaming.
5094 Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5096 * symmisc.c (print_objfile_statistics): Print memory use statistics
5097 for objfile psymbol, symbol, and type obstacks.
5099 Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
5101 * config/mips/nm-irix5.h: Restore.
5102 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
5103 from Lee Iverson <leei@ai.sri.com>.
5104 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
5105 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
5107 For older changes see ChangeLog-1995
5113 version-control: never