aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-05-03 * cofflink.c (_bfd_coff_link_input_bfd): Correct setting ofIan Lance Taylor2-12/+77
last_bf_index.
1996-05-03 * Makefile.in (all-inet): Depend on all-tcl.Tom Tromey2-0/+11
(all-inet): Depend on all-send-pr.
1996-05-03 * gdbtk.tcl (debug_interface): New global, use to aid debugging.Stan Shebs2-56/+84
(insert_breakpoint_tag, delete_breakpoint_tag): Fix range. (file_popup_menu): Delete, never used. (listing_window_popup): Rename from listing_window_button_1, remove breakpoint toggling code. (toggle_breakpoint): New procedure. (create_file_win): Bind popup menu to button 2, toggle breakpoints with button 1 in breakpoint area, add display of tagged areas if debugging on.
1996-05-02 * From Peter Schauer:Jeff Law3-81/+179
* breakpoint.h (enum bpdisp): Add del_at_next_stop. * breakpoint.c (insert_breakpoints, watchpoint_check, bpstat_stop_status): Avoid bad references to memory freed via delete_breakpoint on watchpoints going out of scope. Do not delete these watchpoints, disable them and change their disposition to del_at_next_stop instead. (breakpoint_auto_delete): Delete all breakpoints whose disposition is del_at_next_stop. (breakpoint_init_inferior): Use switch to avoid reference to already deleted breakpoint. Fixes dangling pointer problems with watchpoints.
1996-05-02 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtraceJeff Law1-0/+20
test.
1996-05-02tweak last changeIan Lance Taylor2-7/+9
1996-05-02 * coffcode.h (styp_to_sec_flags): Handle long symbol namesIan Lance Taylor2-6/+9
when looking for the section symbol.
1996-05-02 * coffcode.h (coff_write_object_contents): In comdat section lookup,David Edelsohn2-14/+26
stop looking when section is found.
1996-05-02 * subsegs.h (segment_info_type): If MANY_SEGMENTS and notIan Lance Taylor3-33/+104
BFD_ASSEMBLER, add name field. * config/obj-coff.c (coff_header_append): Handle long section names. (crawl_symbols): Just use the name field for the symbol name, without worrying about null byte termination. (w_strings): Handle long section names. (write_object_file): Likewise. Also, use the name field, rather than scnhdr.s_name. (obj_coff_add_segment): Permit long section names. (obj_coff_init_stab_section): Use the name field, rather than scnhdr.s_name. (adjust_stab_section): Likewise. * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
1996-05-02 * coffcode.h (STRING_SIZE_SIZE): Define.Ian Lance Taylor3-6/+56
(bfd_coff_backend_data): Add _bfd_coff_long_section_names field. (bfd_coff_long_section_names): Define. (coff_write_object_contents): Handle long section names. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * coffgen.c (make_a_section_from_file): Handle long section names. (coff_write_symbols): Handle long section names. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. * coff-mips.c (mips_ecoff_backend_data): Likewise. * pe-arm.c (COFF_LONG_SECTION_NAMES): Define. * pei-arm.c (COFF_LONG_SECTION_NAMES): Define. * pe-i386.c (COFF_LONG_SECTION_NAMES): Define. * pei-i386.c (COFF_LONG_SECTION_NAMES): Define. * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define. * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define.
1996-05-02 * internal.h (SCNNMLEN): Define.Ian Lance Taylor2-4/+30
(struct internal_scnhdr): Use SCNNMLEN for s_name field.
1996-05-02 * Makefile.in (rs6000-nat.o): Dependant on xcoffsolib.h.Fred Fish7-17/+69
* config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... * config/rs6000/rs6000.mt (TDEPFILES): ... to here * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. (solib_info): Call xcoff_relocate_symtab via the hook. (sharedlibrary_command): Ditto. * xcoffread.c: Remove all FAKING_RS6000 comments and defines. (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. (xcoff_init_loadinfo_hook): Define and initialize here. (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. * rs6000-nat.c (_initialize_core_rs6000): Add initialization of xcoff_relocate_symtab_hook.
1996-05-02 * ldlang.c (section_already_linked): Fix typos.David Edelsohn2-3/+7
1996-05-01 * bout.c (b_out_callback): Set lma of sections.Ian Lance Taylor1-0/+7
(b_out_bfd_get_relocated_section_contents): Rename in_abfd parameter to output_bfd. Used input_bfd instead of output_bfd in several places.
1996-05-01 * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.Ian Lance Taylor1-0/+6
(mem_fmt): Likewise. (md_apply_fix): Don't check fx_im_disp field. Fixes problem introduced by September 5, 1995 change to fx_im_disp definition.
1996-05-01 * i386.h: Remove Abs32 from lcall.Ian Lance Taylor1-0/+10
1996-05-01 * aoutx.h (translate_from_native_sym_flags): Don't createIan Lance Taylor2-1/+12
SEC_CONSTRUCTOR sections. * ecoff.c (ecoff_set_symbol_info): Likewise.
1996-05-01 * elf32-mips.c (mips_elf_copy_private_bfd_data): Copy elf_gp.Ian Lance Taylor1-0/+5
From Don Bowman <bowman@waterloo.hp.com>.
1996-05-01 * coff-arm.c (armcoff_little_vec): If COFF_WITH_PE is defined, addDavid Edelsohn1-0/+5
SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags.
1996-04-30Work in a cross compile environmentMichael Meissner3-2372/+494
1996-04-30Turn off tk/tcl for powerpcle-*-solaris for nowMichael Meissner2-1/+6
1996-04-30Add bieginning of Solaris/PowerPC supportMichael Meissner7-1/+143
1996-04-30 * scripttempl/pe.sc (.endjunk): Define __end__.David Edelsohn2-1/+7
1996-04-29 * c-valprint.c (c_val_print): Fix printing for arrays definedDawn Perchik2-0/+6
with 0 length.
1996-04-29 * ldlang.c (longest_section_name): Remove.Ian Lance Taylor3-313/+284
(SECTION_NAME_MAP_LENGTH): Define. (print_size, print_alignment, print_fill, print_section): Remove. (print_flags): Remove. (lang_map): Rewrite. (print_output_section_statement): Rewrite. (print_assignment): Rewrite. (print_one_symbol): Rewrite. (print_input_section): Rewrite. (print_fill_statement): Rewrite. (print_data_statement): Rewrite. (print_address_statement): New static function. (print_reloc_statement): Rewrite. (print_padding_statement): Rewrite. (print_wild_statement): Rewrite. (print_statement_list): Clean up. (print_statement): Clean up. Some minor output changes. (print_statements): Clean up. (load_symbols): Put another - before -whole-archive. * ldexp.c (exp_print_tree): Change etree_value and etree_rel to print 0x and to omit leading zeroes. For etree_rel, use %B to print the BFD. For etree_assign, remove the space after the destination name. * ldwrite.c: Include "libiberty.h". (clone_section): Call xstrdup, not strdup. (ldwrite): Don't print any map information. (print_symbol_table, print_file_stuff, print_symbol): Remove. * ldmain.c (main): Call lang_map when appropriate. * ldmisc.c (vfinfo): Add support for %W. (print_address): Remove. * ldmisc.h (print_address): Don't declare. * Makefile.in: Rebuild dependencies.
1996-04-29 * elf32-mips.c (struct mips_elf_link_hash_entry): AddIan Lance Taylor2-94/+219
mips_32_relocs field. (mips_elf_link_hash_newfunc): Initialize mips_32_relocs field. (mips_elf_relocate_section): Copy R_MIPS_REL32 and R_MIPS_32 relocs against a global symbol which is not defined in a regular file. (mips_elf_check_relocs): For a R_MIPS_REL32 or R_MIPS_32 reloc against a global symbol, increment mips_32_relocs. (mips_elf_adjust_dynamic_symbol): If mips_32_relocs is set, and the symbol is not defined in a regular file, make room in the .rel.dyn section.
1996-04-29Mon Apr 29 10:33:10 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+18
<schwab@issan.informatik.uni-dortmund.de> * ld-shared/shared.exp: Run the shared library tests on Linux/m68k.
1996-04-29Mon Apr 29 10:29:07 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+9
<schwab@issan.informatik.uni-dortmund.de> * configure.host (m68*-*-linux*): Add -dynamic-linker to HOSTING_CRT0. Search -lgcc both before and after -lc in HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory at first. (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler directory at first.
1996-04-28 Support for bi-endian remote breakpoints.Stan Shebs3-14/+67
* remote.c (big_break_insn, little_break_insn): New globals. (break_insn): Remove. (remote_insert_breakpoint, remote_remove_breakpoint): Use own code if REMOTE_BREAKPOINT defined, otherwise call memory breakpoint functions. * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove. (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
1996-04-28 * mon960-rom.c (mon960_cmds): Remove forward decl.Stan Shebs2-12/+17
(mon960_load): Use current_monitor instead of mon960_cmds. (mon960_regnames): Remove backslashes from line ends. (_initialize_mon960): Fix documentation string.
1996-04-28 * symfile.h (psymbol_allocation_list): Expand comments whichFred Fish1-0/+6
describe the psymbol allocation list and how each field is used.
1996-04-28 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->expPeter Schauer3-5/+31
storage leaks. (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. * infcmd.c (run_command), solib.c (locate_base): Check for target_has_execution in addition to inferior_pid, a core file from a threaded program is yielding a non-zero inferior_pid. * sparc-tdep.c (get_saved_register): Handle window registers in a dummy frame correctly.
1996-04-28 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,Fred Fish2-6/+17
so that anything that wants an allocation function not yet pulled in, will get it from mmalloc rather than a system library. * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS, to avoid surprising results when used.
1996-04-28Fix typo in ChangeLog entry.Jeff Law1-1/+1
1996-04-28Remove some #if 0 code which creeped into wait_for_inferior duringJeff Law1-4/+0
my previous change.
1996-04-27 * stabsread.c: Changes and bug fixes for cfront support.Dawn Perchik2-12/+204
Fix bug for class data members. Fix parsing bug when no base classes exist. Fix memory bug - allocate space for cplusplus specific info. Add support for static data. Add prototypes for static functions. Enhance comments to show what each function expects to parse. Cleanup code. * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename function to resolve_cfront_continuation.
1996-04-27 * infrun.c (wait_for_inferior): Call registers_changed whenJeff Law2-0/+12
restarting the inferior to get over a nullified instructions. Fixes PA testsuite regressions.
1996-04-26 * ecoff.c (ecoff_compute_section_file_positions): Track the realIan Lance Taylor2-28/+79
file position and the virtual file position separately. Set filepos information bsaed on the real file position. (_bfd_ecoff_set_section_contents): Handle .lib sections like the Jan 23 change to coffcode.h. Make Irix 4 shared libraries work again.
1996-04-26 * ldmisc.h (demangle): Declare.Ian Lance Taylor7-233/+496
* ldmisc.c: Include "libiberty.h". Include demangle.h with "", not <>. (demangle): Make non-static. Remove remove_underscore paramter. Always return an allocated string. (vfinfo): Free result of demangle. Add case 'G'. Use %T to print functionname, rather than calling demangle. Print a colon between the BFD(section+offset) and the line number. * ldmain.c (add_archive_element): Improve format of archive information in map file. (constructor_callback): Don't print anything to the map file. * ldlang.c (lang_one_common): Improve format of common symbol information in map file. * ldctor.c (ldctor_build_sets): If producing a map file, print set information. * ldwrite.c (print_symbol_table): Print a newline before the header in the map file. * Makefile.in: Rebuild dependencies.
1996-04-26 * som.c (som_slurp_symbol_table): Set the symbol count to theIan Lance Taylor2-2/+41
number of BFD symbols created. PR 5332.
1996-04-26 * ldmisc.c (vfinfo): Reindent.Ian Lance Taylor2-245/+252
1996-04-26Forward relocs to output if -BsharedMichael Meissner2-38/+84
1996-04-25 * configure.in: Add * after sparc*-*-vxworks.Ian Lance Taylor1-0/+3
* configure: Rebuild.
1996-04-25Add support for linking against shared librariesMichael Meissner2-67/+338
1996-04-25Do not make _SDA_BASE{,2}_ a dynamic symbol.Michael Meissner1-0/+5
1996-04-25 * configure.in: Don't configure --with-gnu-ld on AIX.Ian Lance Taylor2-0/+11
1996-04-25 * app.c (do_scrub_begin): If tc_comment_chars is not defined,Ian Lance Taylor1-0/+15
define it to comment_chars. Use tc_comment_chars rather than comment_chars. (do_scrub_chars): Use tc_comment_chars rather than comment_chars. * config/tc-m68k.h (tc_comment_chars): Define. (m68k_comment_chars): Declare. * config/tc-m68k.c (m68k_comment_chars): Rename from comment_chars. Change into a pointer rather than an array. (md_longopts): Add "bitwise-or". (md_parse_option): Handle OPTION_BITWISE_OR. (md_show_usage): Mention --bitwise-or. * doc/c-m68k.texi: Document --bitwise-or. PR 9518.
1996-04-25Turn off gdb temporarily on powerpcle-*-solaris*Michael Meissner2-0/+25
1996-04-24 * gas/m68k/op68000.d: Add statements now caught by gas.Ian Lance Taylor1-0/+4
1996-04-24 * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsetsIan Lance Taylor2-0/+6
in 68000 mode.