aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-07-25 * gdb.base/interrupt.exp: xfail test for calling function whileJeff Law1-0/+3
inferior is asleep for lynx.
1995-07-25 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing moreJeff Law1-0/+5
than one cr-lf after each command.
1995-07-25Add a more useful comment.David Edelsohn1-0/+8
And add a comment about where the "Right" place for cfg-*.in is (if any).
1995-07-25more vms work from patKen Raeburn1-786/+716
1995-07-25fix more compilation problemsKen Raeburn1-0/+8
1995-07-24Try even harder to draw attention to the comments about files that aren'tKen Raeburn1-2/+13
checked out with every module.
1995-07-24srconv.c (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytesJ.T. Conklin1-0/+3
for the sh.
1995-07-24 * ecofflink.c (_bfd_ecoff_locate_line): When handling stabs:Ian Lance Taylor1-0/+5
correct setting of sym_ptr_end to consider symbols skipped when setting sym_ptr; don't leave loop early unless an N_FUN is found with a larger value.
1995-07-24 * config/default.exp: Define objcopy if it is not defined.Ian Lance Taylor5-0/+195
* ld-sh/*: New tests for SH relaxing.
1995-07-24* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.J.T. Conklin2-17/+55
* sysdump.c (fillup): Return size - 1, the last byte is a checksum and shouldn't be counted. * sysroff.info (hd): Changed segment identifier from a byte to a 1 bit field. The sysroff 2.0-01 specification seems to be in error here. Reduce width of following "spare" field from 4 to 3 bits. (rl): Changed order and width of first 4 bitfields to correspond to sysroff specification. (dln_head, dln_inside, dln_tail): Removed.
1995-07-24 * ld-empic/empic.exp: If $CC does not exist, call untested ratherIan Lance Taylor2-0/+21
than unresolved.
1995-07-24 * ldlang.c (lang_process): Call reset_memory_regions for eachIan Lance Taylor1-0/+10
relaxation pass.
1995-07-24 * cofflink.c (coff_link_add_object_symbols): CallIan Lance Taylor1-0/+69
_bfd_coff_get_external_symbols, not coff_link_get_symbols. Call _bfd_coff_free_symbols, not coff_link_free_symbols. Call _bfd_coff_read_string_table, not coff_read_string_table. (coff_link_check_archive_element): Likewise. (coff_link_input_bfd): Likewise. (coff_link_get_symbols): Move to coffgen.c. (coff_read_string_table): Likewise. (coff_link_free_symbols): Likewise. (_bfd_coff_internal_syment_name): New static function. (coff_link_check_ar_symbols): Use _bfd_coff_internal_syment_name. (coff_link_add_symbols): Likewise. (coff_link_input_bfd): Likewise. (_bfd_coff_generic_relocate_section): Likewise. (_bfd_coff_read_internal_relocs): New function. (coff_link_input_bfd): Use cached section contents if available. Use _bfd_coff_read_internal_relocs. * coffcode.h (coff_slurp_symbol_table): Don't call bfd_seek. (coff_bfd_get_relocated_section_contents): Only define if not already defined. (coff_bfd_relax_section): Likewise. * coffgen.c (build_string_table): Remove. (_bfd_coff_get_external_symbols): New function, moved in from old coff_link_get_symbols in cofflink.c. (_bfd_coff_read_string_table): New function, moved in from old coff_read_string_table in cofflink.c. (_bfd_coff_free_symbols): New function, moved in frmo old coff_link_free_symbols in cofflink.c. (coff_get_normalized_symtab): Use _bfd_coff_get_external_symbols rather than reading the symbols directly. To free them, call _bfd_coff_free_symbols. Use _bfd_coff_read_string_table rather than build_string_table. * libcoff-in.h (obj_coff_keep_syms): Define. (obj_coff_keep_strings): Define. (coff_data_type): Add fields keep_syms and keep_strings. (coff_section_tdata): Define new structure. (coff_section_data): Define. (_bfd_coff_get_external_symbols): Declare. (_bfd_coff_read_string_table): Declare. (_bfd_coff_free_symbols): Declare. (_bfd_coff_read_internal_relocs): Declare. * libcoff.h: Rebuild.
1995-07-24 * coff-sh.c (sh_coff_howtos): Mark R_SH_PCDISP8BY2 and R_SH_PCDISPIan Lance Taylor1-159/+1351
as PC relative. Describe R_SH_IMM16. Add entries for R_SH_SWITCH16, R_SH_SWITCH32, R_SH_USES, R_SH_COUNT, and R_SH_ALIGN. (SWAP_IN_RELOC_OFFSET): Define. (SWAP_OUT_RELOC_OFFSET): Define. (CALC_ADDEND): Define. (sh_reloc): Change sym_value and addr to type bfd_vma. Skip reloc types other than R_SH_IMM32 and R_SH_PCDISP on an external symbol. (coff_bfd_relax_section): Define. (coff_bfd_get_relocated_section_contents): Define. (sh_relax_section): New static function. (sh_relax_delete_bytes): New static function. (sh_relocate_section): Handle R_SH_PCDISP on an external symbol. (sh_coff_get_relocated_section_contents): New static function.
1995-07-24 * config/tc-sh.c (md_pseudo_table): Add "uses".Ian Lance Taylor2-16/+110
(s_uses): New static function. (sh_coff_frob_file): New function. (md_convert_frag): Call subseg_change before calling fix_new. (sh_handle_align): New function. (SWITCH_TABLE): Define. (sh_force_relocation): New function. (md_apply_fix): Handle R_SH_USES, R_SH_COUNT and R_SH_ALIGN. (sh_coff_reloc_mangle): Likewise. Also handle switch table entries. * config/tc-sh.h (HANDLE_ALIGN): Define. (sh_handle_align): Declare. (TC_FORCE_RELOCATION): Define. (sh_force_relocation): Declare. (TC_COUNT_RELOC): Simplify; rely on TC_FORCE_RELOCATION instead. (tc_frob_file): Define. (sh_coff_frob_file): Declare. * config/obj-coff.c (write_object_file): Call tc_frob_file if it is defined. (fixup_mdeps): Call HANDLE_ALIGN if it is defined. (TC_FORCE_RELOCATION): Define if not defined. (fixup_segment): Use TC_FORCE_RELOCATION to decide whether to clear the symbol fields of fixP.
1995-07-24Add comment.David Edelsohn1-0/+3
1995-07-24 * configure.in: Reinstate setting of stabsdirs variable, fixPeter Schauer2-5/+20
typo in setting up configdirs for native builds. * gdb.base/return.exp: Fix typo in return double test. * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the compiler from optimizing them away.
1995-07-23(arc_files): Add cfg-ml-com.in.David Edelsohn1-1/+1
1995-07-23 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.Jeff Law1-0/+9
1995-07-22Add R_PPC_SDAREL relocation.Michael Meissner1-4/+5
1995-07-22(multi-do, multi-clean): Add comment regarding @-signs.David Edelsohn1-0/+4
1995-07-21 * lynx-nat.c (child_thread_alive): New function. Somehow IJeff Law1-0/+17
forgot to check this in with all the other thread_alive changes.
1995-07-21Rewrite so Makefiles do not reference undefined variables.David Edelsohn1-60/+41
1995-07-21Delete extra semi-colons.David Edelsohn1-3/+3
1995-07-21Add some comments.David Edelsohn1-0/+6
1995-07-21Rename config-{com,pos}.multi to cfg-ml-{com,pos}.in.David Edelsohn3-2/+2
1995-07-21 * config-com.multi: New file.David Edelsohn4-0/+342
* config-pos.multi: New file.
1995-07-21 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lfJeff Law1-3/+3
sequences to be echo'd by gdb when using gdb_test. * gdb.chill/chexp.exp: Likewise. * gdb.fortran/exprs.exp: Likewise
1995-07-21 * elf32-hppa.c (hppa_elf_gen_reloc_type): Add new (ignored)Jeff Law1-0/+6
argument. * elf32-hppa.h: Corresponding change.
1995-07-21 * somread.c (som_symtab_read): Add unsatisfied common symbols toJeff Law2-0/+23
the minimal symbol table. All common symbols are "unsatisfied" when -E is passed to the linker. mentor-7462
1995-07-20fix some compilation problemsKen Raeburn1-0/+8
1995-07-20 * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_lineFred Fish2-1/+6
to proper type of "unsigned int *".
1995-07-20 * top.c (show_endian): Cast first arg of printf_unfiltered toFred Fish2-1/+6
correct type of "char *".
1995-07-20 * lynx-nat.c (child_wait): A thread_id of zero from wait apparentlyJeff Law2-2/+12
means the process is single threaded, so there's no need to add it to the thread list. Handle case where multi-threaded process reverts back to a single-threaded process.
1995-07-20 * gdbserver/low-hppabsd.c: Remove error declaration.Jeff Law4-3/+13
* gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. * gdbserver/server.h: Remove error and fatal declaration. * gdbserver/utils.c (error): Update to be compatable with recent changes in defs.h. (fatal): Likewise.
1995-07-20ldmain.c (constructor_callback): Allocate set_name in stack frame, rather thanKen Raeburn1-0/+5
always calling alloca with a fixed size.
1995-07-20 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 secondsJeff Law5-100/+234
after the inferior gdb has started. 'cuz lynx may take a couple minutes to start the inferior gdb... * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf after each command. * gdb.base/funcargs.exp: Likewise. * gdb.base/gdbvars.exp: Likewise. * gdb.base/interrupt.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.c++/demangle.exp: Likewise. * gdb.c++/inherit.exp: Likewise. * gdb.chill/chexp.exp: Likewise. * gdb.fortran/exprs.exp: Likewise. Just in case we can't get a version of expect that sets the tty modes right on lynx to avoid this problem.
1995-07-20 * hosts/i386v4.h (getgid, getuid): Change prototypes to beFred Fish2-2/+8
compatible with Unixware 1.x and Unixware 2.x, and probably other i386 svr4 versions as well.
1995-07-20 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscallJeff Law2-1/+8
test if we can't handle IO to/from the inferior.
1995-07-20 * gdb.c++/misc.exp: Always check for a program already beingJeff Law1-0/+3
started after sending a "run" command to gdb.
1995-07-20 * gdb.base/twice.exp: Start with a fresh gdb.Jeff Law1-0/+2
1995-07-20 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these testsJeff Law2-2/+3
only depend on gdb's expression code, not the chill runtime.
1995-07-20 * gdb.base/return.c: Put return values into variables so weJeff Law1-0/+5
can have gdb print them rather than depending on the program to print them. * gdb.base/return.exp: Corresponding changes.
1995-07-20 * lib/gdb.exp: Provide default value for noinferiorio.Jeff Law2-2/+39
* gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from the inferior.
1995-07-20* targets.c (bfd_target_vector): Since armpe and armpei have been split intoKen Raeburn1-0/+6
big- and little-endian variants, list all of them, instead of the now-nonexistant armpe[i]_vec.
1995-07-20 * gdb.base/break.exp: Always check for a program already beingJeff Law1-0/+6
started after sending a "run" command to gdb. (text_next_with_recursion): Don't check the output from the program's printf statement. Instead just make sure the program exited.
1995-07-20 * gdb.base/commands.exp: Protect tests which need arguments withJeff Law1-0/+5
$noargs conditionals.
1995-07-20* configure.in (arm-*-riscix*): Don't set emulation.Ken Raeburn1-0/+2
1995-07-20* config/tc-m68k.c (md_convert_frag): Rename argument seg to sec, since seg isKen Raeburn1-0/+5
a macro name in this file.
1995-07-20 * gdb.base/printcmds.exp: Adjust expect patterns for addressesPeter Schauer1-0/+10
of structure member arrays to match gdb/valops.c:value_addr change.