aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-01-12 * stabsread.c (read_struct_type): Trivial simplification.Per Bothner3-7/+11
* valops.c (call_function_by_hand): Use invisible references for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
1996-01-12 * xcofflink.c (xcoff_link_add_symbols): Create the specialIan Lance Taylor2-12/+43
sections if we see a DYNAMIC object, in case that is the only XCOFF input object we see. PR 8788.
1996-01-12 * Makefile.in (PROGS): Removed.Per Bothner2-6/+4
(clean mostlyclean): Remove *.exe rather than ${PROGS}.
1996-01-12 * pr-8742.ch, pr-8742.exp: New test case.Per Bothner4-0/+97
1996-01-12 * stabsread.c (define-symbol): Use invisible referencesPer Bothner4-28/+63
for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. * eval.c (evaluate_subexp_standard): When known, use the formal parameter type as the expected type when evaluating arg expressions. * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). This (with a fix to gcc/config/sparc/sparc.h) fixes PR chill/8742.
1996-01-11update copyrightMichael Meissner2-2/+2
1996-01-11Add support for SHT_ORDERED and SHF_EXCLUDEMichael Meissner8-51/+158
1996-01-11fix crinfo swappingIan Lance Taylor1-25/+30
1996-01-11Add new V.4 flagsMichael Meissner2-2/+35
1996-01-11 * elf32-mips.c: Extensive changes for a start at dynamic linkingIan Lance Taylor6-263/+3043
support, from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>. * elf-bfd.h (struct elf_backend_data): Add type_change_ok field. (struct elf_backend_data): Remove elf_backend_create_program_headers field. Add elf_backend_additional_program_headers and elf_backend_modify_segment_map fields. * elfxx-target.h (elf_backend_type_change_ok): Define if not defined. (elf_backend_additional_program_headers): Likewise. (elf_backend_modify_segment_map): Likewise. (elf_backend_create_program_headers): Don't define. (elfNN_bed): Change to account for field changes. * elf.c (assign_file_positions_for_segments): Call new modify_segment_map backend function. Don't call old create_program_headers backend function. (get_program_header_size): Call additional_program_headers rather than create_program_headers. * elflink.h (elf_link_add_object_symbols): Initialize type_change_ok from new backend field. (elf_link_output_extsym): Don't warn if _rld_new_interface is defined. (elf_reloc_link_order): Treat a reloc against a defined symbol as a reloc against the appropriate section.
1996-01-11Forget to add low-linux.c during recent checkins.Fred Fish1-0/+1
1996-01-11 * coredep.c: Renamed to core-aout.cFred Fish57-216/+566
* core-svr4.c: Renamed to core-regset.c * Makefile.in (ALLDEPFILES): Account for renamings. * corelow.c (core_file_fns): Add, points to chain of structs. (add_core_fns): New function to build chain of structs. (get_core_registers): Modify to search core functions chain and call appropriate fetch_core_registers function based on core file flavour. * gdbcore.h (fetch_core_registers): Remove declaration. (struct core_fns): Define struct for core function info. * i386m3-nat.c: Update comment for filename change (coredep->core-aout) * a68v-nat.c (fetch_core_registers): Remove stub, not needed now. * alpha-nat.c (fetch_core_registers): Make static. (alpha_core_fns, _initialize_core_alpha): New struct and func. * core-aout.c (fetch_core_registers): Make static (aout_core_fns, _initialize_core_aout): New struct and func. * core-regset.c (fetch_core_registers): Make static. (regset_core_fns, _initialize_core_regset): New struct and func. * core-sol2.c (fetch_core_registers): Make static. (solaris_core_fns, _initialize_core_solaris): New struct and func. * hp300ux-nat.c (fetch_core_registers): Make static. (hp300ux_core_fns, _initialize_core_hp300ux): New struct and func. * i386aix-nat.c (fetch_core_registers): Make static. (i386aix_core_fns, _initialize_core_i386aix): New struct and func. * i386mach-nat.c (fetch_core_registers: Make static. (i386mach_core_fns, _initialize_core_i386mach): New struct and func. * irix4-nat.c (fetch_core_registers): Make static. (irix4_core_fns, _initialize_core_irix4): New struct and func. * irix5-nat.c (fetch_core_registers): (irix5_core_fns, _initialize_core_irix5): New struct and func. * lynx-nat.c (fetch_core_registers): Make static. (lynx_core_fns, _initialize_core_lynx): New struct and func. * mips-nat.c (fetch_core_registers): Make static. (mips_core_fns, _initialize_core_mips): New struct and func. * ns32km3-nat.c (fetch_core_registers): Remove stub. * rs6000-nat.c (fetch_core_registers): Make static. (rs6000_core_fns, _initialize_core_rs6000): New struct and func. * sparc-nat.c (fetch_core_registers): Make static. (sparc_core_fns, _initialize_core_sparc): New struct and func. * sun3-nat.c (fetch_core_registers): (sun3_core_fns, _initialize_core_sun3): New struct and func. * sun386-nat.c (fetch_core_registers): Remove stub. * ultra3-nat.c (fetch_core_registers): Make static. (ultra3_core_fns, _initialize_core_ultra3): New struct and func. * config/gould/pn.mh (XDEPFILES), config/i386/fbsd.mh (NATDEPFILES), config/i386/i386bsd.mh (NATDEPFILES), config/i386/i386m3.mh (XDEPFILES), config/i386/i386sco.mh (NATDEPFILES), config/i386/i386sco4.mh (NATDEPFILES), config/i386/i386v.mh (NATDEPFILES), config/i386/i386v32.mh (NATDEPFILES), config/i386/nbsd.mh (NATDEPFILES), config/i386/ptx.mh (XDEPFILES), config/i386/ptx4.mh (XDEPFILES), config/i386/symmetry.mh (NATDEPFILES), config/m68k/3b1.mh (XDEPFILES), config/m68k/cisco.mt (TDEPFILES), config/m68k/delta68.mh (NATDEPFILES), config/m68k/dpx2.mh (NATDEPFILES), config/m68k/hp300bsd.mh (NATDEPFILES), config/m68k/hp300hpux.mh (NATDEPFILES), config/m68k/isi.mh (XDEPFILES), config/m68k/news.mh (NATDEPFILES), config/m68k/news1000.mh (XDEPFILES), config/m88k/cxux.mh (NATDEPFILES), config/m88k/delta88.mh (NATDEPFILES), config/mips/littlemips.mh (XDEPFILES), config/mips/mipsm3.mh (XDEPFILES), config/ns32k/merlin.mh (XDEPFILES), config/ns32k/nbsd.mh (NATDEPFILES), config/ns32k/ns32km3.mh (NATDEPFILES), config/pa/hppabsd.mh (NATDEPFILES), config/pa/hppahpux.mh (NATDEPFILES), config/romp/rtbsd.mh (XDEPFILES), config/tahoe/tahoe.mh (XDEPFILES), config/vax/vaxbsd.mh (XDEPFILES), config/vax/vaxult.mh (NATDEPFILES), config/vax/vaxult2.mh (NATDEPFILES), Account for coredep.o to core-aout.o name change. * config/i386/i386dgux (NATDEPFILES), config/i386/i386sol2.mh (NATDEPFILES), config/i386/i386v4.mh (NATDEPFILES), config/i386/linux.mh (NATDEPFILES), config/i386/ncr3000.mh (NATDEPFILES), config/m68k/m68kv4.mh (NATDEPFILES), config/m88k/delta88v4.mh (NATDEPFILES), config/mips/mipsv4.mh (NATDEPFILES), Account for core-svr4.o to core-regset.o name change.
1996-01-11oops, forgot the sanitize files for the aix4* changesBrendan Kehoe2-0/+2
1996-01-11 * objcopy.c (filter_symbols): NULL terminate the output symbols.Ian Lance Taylor1-0/+4
(copy_object): Allocate space for a possible extra NULL pointer.
1996-01-11 * ieee.c (ieee_enum_type): Handle an undefined enum.Ian Lance Taylor1-9/+15
1996-01-11 * debug.c (debug_make_undefined_tagged_type): Make sure we areIan Lance Taylor4-104/+154
given a kind of type we can handle. (debug_write_type): Handle undefined enums and structs. (debug_write_class_type): Handle undefined classes. * prdbg.c (pr_enum_type): Handle an undefined enum. Also comment changes to debug.h.
1996-01-11 * elf-bfd.h (struct bfd_elf_section_data): Add tdata field.Ian Lance Taylor3-10/+22
(struct elf_obj_tdata): Rename ppc_flags_init field to flags_init. (elf_flags_init): Rename from elf_ppc_flags_init. * elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not elf_ppc_flags_init. (ppc_elf_copy_private_bfd_data): Likewise. (ppc_elf_merge_private_bfd_data): Likewise.
1996-01-11 * elf32-m68k.c (howto_table): Change src_mask to 0 for allIan Lance Taylor2-95/+83
relocation entries.
1996-01-11 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>Brendan Kehoe6-85/+133
* configure.in, configure: Recognize rs6000-*-aix4*. * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. * config/rs6000/xm-aix4.h: New file. * config/xm-aix4.h: New file. From the Mentor work...enable configure & build on rs6000-ibm-aix4.1.*. Note this is an unbelievably buggy debugger on this host.
1996-01-10 * Makefile.in: (ALLOCA, MALLOC): Remove variables.Ian Lance Taylor5-1328/+5
(ADDL_LIBS): Remove $(MALLOC) from definition. * alloca.c, gmalloc.c: Remove.
1996-01-10Latest changes from AndrewMichael Meissner11-401/+994
1996-01-10 * Makefile.in: Updated dependencies.Ian Lance Taylor2-1/+6
1996-01-10 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:Fred Fish5-47/+492
* gdbserver/low-linux.c: New file. * remote.c (remote_read_bytes): Fix aborts on larger packets. * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): Define. * stabsread.c (define_symbol): If register value is too large, tell what it is and what max is.
1996-01-10 * gas/mips/*.d: Update for changes to disassembler.Ian Lance Taylor5-23/+27
1996-01-10 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.Ian Lance Taylor1-0/+5
(_print_insn_mips): Change i from int to unsigned int.
1996-01-09update copyrightsIan Lance Taylor2-2/+2
1996-01-09 * scripttempl/alpha.sc: Put .rconst right after .rdata.Ian Lance Taylor1-0/+4
1996-01-09Tue Jan 9 15:22:53 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor20-306/+911
* coff-alpha.c (alpha_relocate_section): During final link, allow output .lita section to be bigger than 64k by adjusting gp value on a per-input section basis. * libecoff.h (struct ecoff_tdata): Add issued_multiple_gp_warning field. (struct ecoff_section_tdata): Add gp field. Tue Jan 9 12:00:36 1996 Ian Lance Taylor <ian@cygnus.com> Handle Alpha ECOFF changes in OSF/1 3.2. * libecoff.h (struct ecoff_backend_data): Add get_elt_at_filepos field. * coff-alpha.c: Include "aout/ar.h". (alpha_ecoff_get_relocated_section_contents): Don't require an ALPHA_R_IGNORE reloc after an ALPHA_R_GPDISP reloc, since OSF/1 3.2 doesn't generate one. (alpha_relocate_section): Likewise. (alpha_ecoff_slurp_armap): Define. (alpha_ecoff_slurp_extended_name_table): Define. (alpha_ecoff_construct_extended_name_table): Define. (alpha_ecoff_truncate_arname): Define. (alpha_ecoff_write_armap): Define. (alpha_ecoff_generic_stat_arch_elt): Define. (alpha_ecoff_update_armap_timestamp): Define. (ARFZMAG): Define. (alpha_ecoff_read_ar_hdr): New static function. (alpha_ecoff_get_elt_at_filepos): New static function. (alpha_ecoff_openr_next_archived_file): New static function. (alpha_ecoff_get_elt_at_index): New static function. (alpha_ecoff_backend_data): Initialize get_elt_at_filepos field. (ecoffalpha_little_vec): Change BFD_JUMP_TABLE_ARCHIVE from _bfd_ecoff to alpha_ecoff. * ecoff.c (ecoff_link_add_archive_symbols): Use get_elt_at_filepos field from backend structure, rather than always calling _bfd_get_elt_at_filepos. * coff-mips.c (mips_ecoff_backend_data): Initialize get_elt_at_filepos field. * archive.c (_bfd_generic_read_ar_hdr_mag): New function, copied from _bfd_generic_read_ar_hdr with minor changes. (_bfd_generic_read_ar_hdr): Use _bfd_generic_read_ar_hdr_mag. * libbfd-in.h (_bfd_generic_read_ar_hdr_mag): Declare. * libbfd.h: Rebuild. * bfd-in.h (BFD_IN_MEMORY): Define. * libbfd-in.h (struct bfd_in_memory): Define. * libbfd.c (bfd_read): Handle BFD_IN_MEMORY flag. (bfd_get_file_window): Don't try to map a BFD_IN_MEMORY file. (bfd_write, bfd_stat): Abort if BFD_IN_MEMORY is set. (bfd_tell, bfd_flush, bfd_seek): Handle BFD_IN_MEMORY flag. * bfd.c (struct _bfd): Change iostream field from char * to PTR. (bfd_get_size): Handle BFD_IN_MEMORY flag. * cache.c (bfd_cache_close): Ignore BFD_IN_MEMORY files. (bfd_open_file): Cast to PTR, not char *, when setting iostream. (bfd_cache_lookup_worker): Abort if BFD_IN_MEMORY is set. * opncls.c (bfd_fdopenr): Cast to PTR, not char *, when setting iostream. (bfd_openstreamr): Likewise. * aoutx.h (NAME(aout,some_aout_object_p)): Only fstat iostream if BFD_IN_MEMORY is not set. * riscix.c (riscix_some_aout_object_p): Likewise. * bfd-in2.h, libbfd.h: Rebuild. * targets.c (bfd_target): Add _bfd_get_elt_at_index field. (BFD_JUMP_TABLE_ARCHIVE): Add _get_elt_at_index. (bfd_get_elt_at_index): Define. * archive.c (_bfd_generic_get_elt_at_index): Rename from bfd_get_elt_at_index. Change index parameter from int to symindex. * libbfd-in.h (_bfd_generic_get_elt_at_index): Declare. (_bfd_noarchive_get_elt_at_index): Define. (_bfd_archive_bsd_get_elt_at_index): Define. (_bfd_archive_coff_get_elt_at_index): Define. * bfd-in2.h, libbfd.h: Rebuild. * aout-target.h (MY_get_elt_at_index): Define if not defined. * coff-rs6000.c (xcoff_get_elt_at_index): Define. * ieee.c (ieee_get_elt_at_index): Define. * libecoff.h (_bfd_ecoff_get_elt_at_index): Define. * oasys.c (oasys_get_elt_at_index): Define. * som.c (som_get_elt_at_index): Define.
1996-01-09 * ecoff.c (_bfd_ecoff_find_nearest_line): Don't restrict lineIan Lance Taylor2-13/+12
numbers to the .text section. PR 8767.
1996-01-09 * hpread.c (hpread_build_psymtabs): Finish Jan 4thJeff Law2-1/+6
enum namespace -> enum_namespace change.
1996-01-09 * misc.ch, misc.exp: Enhance test case.Wilfried Moser3-1/+14
1996-01-09 * ch-exp.c (parse_primval): in case ARRAY: Add missing FORWARD_TOKEN ().Wilfried Moser2-0/+5
1996-01-09 * remote-mips.c (mips_receive_header): Recognize \012 insteadStan Shebs3-3/+15
of \n, but write \n when program sends a \012. * ser-mac.c (mac_input_buffer): Increase size of buffer.
1996-01-08 * ieee.c: Add global function write_ieee_debugging_info and aIan Lance Taylor2-179/+2542
bunch of static functions and structs used to write out IEEE debugging information. * budbg.h (write_ieee_debugging_info): Declare. * ieee.c (struct ieee_type): Add pslot field. (enum builtin_types): Define. (ieee_builtin_type): For a pointer, return a pointer to the named type. Use enum values rather than numbers. (ieee_alloc_type): New static function. (ieee_read_type_index): Use ieee_alloc_type. (parse_ieee_bb): Likewise. (parse_ieee_ty): Likewise. Use ieee_builtin_type for array range, rather than making a new integer type. Store the new type in the slot, if there is one. (parse_ieee_atn): Treat ATN10 as defining a register variable. (ieee_regno_to_genreg): Rename from ieee_regno_to_gen. Change all callers. (ieee_genreg_to_regno): New static function.
1996-01-08 * stabs.c (parse_stab_type): Add new typename parameter. ChangeIan Lance Taylor1-57/+144
all callers. (parse_stab_range_type): Add new typename parameter. Change all callers.
1996-01-08 * debug.h (struct debug_write_fns): Add tag parameter toIan Lance Taylor3-146/+155
enum_type, start_struct_type, and start_class_type. * debug.c (debug_write_type): Pass any tag name to start_struct_type, debug_write_class_type, and enum_type. If DEBUG_KIND_TAGGED, pass the name in the recursive call. (debug_write_class_type): Accept a new tag parameter, and pass it to start_class_type. * prdbg.c (pop_type): Don't remove '+' character. (pr_enum_type): Accept and use tag parameter. (pr_start_struct_type): Likewise. (pr_start_class_type): Likewise. (pr_class_baseclass): Adjust algorithm used to find where to put the baseclass name. (pr_tag): Don't bother to insert the tag name.
1996-01-08 * objcopy.c: Include budbg.h.Ian Lance Taylor4-22/+91
(convert_debugging): New static variable. (OPTION_DEBUGGING): Define. (copy_options): Add "debugging". (copy_usage): Mention --debugging. (is_strip_section): Skip debugging sections if convert_debugging. (setup_section, copy_section): Likewise. (filter_symbols): Skip debugging symbols if convert_debugging. (copy_object): If convert_debugging, read and write debugging information. (write_debugging_info): New static function. (copy_main): Handle --debugging. * Makefile.in (DEBUG_OBJS): New variable. ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS). ($(STRIP_PROG)): Likewise. (OBJDUMP_OBJS): Remove variable. ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than $(OBJDUMP_OBJS). * binutils.texi, objcopy.1: Document --debugging.
1996-01-08update copyrightIan Lance Taylor1-1/+1
1996-01-08 * ieee.c (ieee_write_debug_part): Change return type to boolean.Ian Lance Taylor2-49/+43
If there is a SEC_DEBUGGING section, get the contents of the debug information part from it. (ieee_set_section_contents): Store the contents of a SEC_DEBUGGING section in memory. (ieee_write_object_contents): Check ieee_write_debug_part return.
1996-01-08 * infptrace.c (initialize_infptrace): Move function out ofJeff Law1-1/+5
#ifdef conditional; put code within the function inside an #ifdef conditional.
1996-01-08Latest cagney updateMichael Meissner7-230/+941
1996-01-08 * buildsym.c (end_symtab): Remove sort_pending and sort_linevecJeff Law12-46/+120
arguments. Sorting is now dependent on OBJF_REORDERED. All callers/references changed. * dbxread.c (read_ofile_symtab): Correctly determine value for last_source_start_addr for reordered executables. (process_one_symbol): Handle N_FUN with no name as an end of function marker. * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE is the high text address for a psymtab. (case N_SO): Likewise. (case N_FUN): Handle N_FUN with no name as an end of function marker. * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols at the same address rather than a random subset of them. * coffread.c (coff_symfile_init): Set OBJF_REORDERED. * elfread.c (elf_symfile_init): Similarly. * somread.c (som_symfile_init): Similarly. * xcoffread.c (xcoff_symfile_init): Similarly. Support for debugging reordered executables. Remaining mentor vm changes.
1996-01-06Make all-gdb include all-tcl/all-tk unless gdbtk is not built.Michael Meissner3-3/+26
1996-01-06Change guile directory structure.Gordon Irlam1-1/+1
1996-01-06 * stack.c (print_stack_frame print_frame_info) symmisc.cStu Grossman1-0/+9
(dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so that catch_errors doesn't get blindsided by QUIT and lose the cleanup chain. This fixes a problem where ^C while in a user-defined command sometimes leaves instream NULL and causes a segfault in command_loop.
1996-01-05 * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):Steve Chamberlain2-2/+30
sort using right pointer.
1996-01-05 * configure.in, configure: Add `-ldl -lw' for Solaris linking.Brendan Kehoe3-2/+6
1996-01-05 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,Steve Chamberlain6-5/+11
config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: srec.o renamed to dsrec.o.
1996-01-05Fix tlb for PowerPCMichael Meissner1-0/+5
1996-01-05Move creating section begin/end labels to compiler crt{i,n}.oMichael Meissner2-18/+8