Jeffrey Osier
10f2a7f6ac
binutils.texi: minor formatting updates for next release
1994-02-07 23:19:00 +00:00
Jeffrey Osier
9ccc1b37fa
nlmconv.1: minor fix
1994-02-07 23:07:38 +00:00
Ken Raeburn
2d33b3aacb
tc-alpha.c (md_atof): Warn that FP vals might not assemble properly
1994-02-07 21:36:35 +00:00
Ken Raeburn
c3591adb28
configure.in, tc-alpha, atof-generic changes
1994-02-07 21:14:39 +00:00
Ken Raeburn
34de45f9a6
Enable alpha-*-osf* configuration.
1994-02-07 21:12:55 +00:00
Ken Raeburn
cf272f0244
(load_expression): Parenthesize operations in range checking, to avoid
...
precedence questions.
(addr32): New static variable.
(md_parse_option): Set it for "-32addr".
(load_symbol_address): If addr32 is set, use ldl instead of ldq.
1994-02-07 21:12:03 +00:00
Ian Lance Taylor
bf96913525
* elfcode.h (bfd_section_from_shdr): Get vma and alignment_power
...
of an SHT_STRTAB section from sh_addr and sh_addralign, rather
than just setting them to zero.
1994-02-07 20:04:46 +00:00
Jim Kingdon
ea5dad7f09
* config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
...
* configure.in: Remove comment about m68k-em.mt.
* Makefile.in: Remove references.
1994-02-07 17:04:47 +00:00
Jim Kingdon
6ddba99277
* defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
...
BFD_HOST_64_TYPE.
1994-02-07 16:25:25 +00:00
Ken Raeburn
5facbfd428
tc-alpha, obj-ecoff changes
1994-02-07 10:13:59 +00:00
Ken Raeburn
4a6e1a39e7
* tc-alpha.c (md_section_align): Change second argument and
...
return type to valueT, to agree with tc.h.
(alpha_do_align): Local static array nop_pattern is now unsigned
char, to avoid overflow warnings.
* tc-alpha.h (md_section_align): Delete declaration.
* obj-ecoff.c (ecoff_frob_file): Ensure that ecoff_data for
output bfd is non-null before indirecting through it.
Crock to get GP set right:
* tc-alpha.c (alpha_frob_ecoff_data): Renamed from alpha_frob_file.
* tc-alpha.h (tc_frob_file): Macro deleted.
* obj-ecoff.c (ecoff_frob_file) [TC_ALPHA]: Call alpha_frob_ecoff_data, then
fill in optional-header info with gp value and register masks.
1994-02-07 10:11:43 +00:00
Ken Raeburn
fc6b54fdf5
atof-generic.c, ecoff.c, literal.c, write.c changes
1994-02-07 09:58:29 +00:00
Ken Raeburn
a5ac3a14a1
(atof_generic): Calculate maximum number of useful digits in integer
...
arithmetic, to eliminate only source of dependence on floating point support,
which currently doesn't work yet on the Alpha.
1994-02-07 09:56:47 +00:00
David MacKenzie
6f6712661f
* ldmain.c (main): Call xatexit, not atexit.
...
Call xmalloc_set_program_name.
1994-02-07 06:07:26 +00:00
David MacKenzie
b9d5cdf003
* elfcode.h (prep_headers, swap_out_syms): Check for NULL return
...
from bfd_new_strtab.
(elf_compute_section_file_positions): Check for false return from
swap_out_syms.
* linker.c (default_indirect_link_order): Check for NULL return
from bfd_get_relocated_section_contents.
* syms.c: Make example application in doc call xmalloc, not
bfd_xmalloc.
* aoutx.h (NAME(aout,slurp_symbol_table),
aout_link_get_symbols, NAME(aout,link_hash_table_create)):
* bout.c (b_out_slurp_reloc_table, b_out_squirt_out_relocs):
* ecoff.c (ecoff_bfd_link_hash_table_create):
* ecofflink.c (bfd_ecoff_debug_init):
* format.c (bfd_check_format_matches):
* linker.c (_bfd_generic_link_hash_table_create):
(_bfd_generic_final_link):
* reloc16.c (bfd_coff_reloc16_relax_section):
(bfd_coff_reloc16_get_relocated_section_contents):
* elf32-hppa.c (hppa_elf_build_arg_reloc_stub):
* elf32-mips.c (mips_elf_final_link):
* elfcode.h (bfd_new_strtab):
(bfd_add_2_to_strtab):
(elf_slurp_symbol_table):
(elf_corefile_note):
* libbfd.c (bfd_zmalloc):
Use malloc and check the result, instead of bfd_xmalloc.
1994-02-07 05:17:21 +00:00
David MacKenzie
f49721350b
* ldlang.c (lang_size_sections): Check if bfd_relax_section set
...
bfd_errno.
1994-02-07 05:00:18 +00:00
Jim Kingdon
cac7615942
(udi_create_inferior): If udi_session_id is negative, open a new
...
TIP rather than giving an error.
1994-02-07 02:23:31 +00:00
Jim Kingdon
fd70af24a3
* gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
...
gdb.t03/ptype.exp (ptype structure, ptype union):
Remove xfails; the test is looser than when the xfails were added.
1994-02-07 02:06:27 +00:00
Jim Kingdon
2558ba5dd6
* config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
...
since "run" automatically loads if necessary. Call gdb_target_udi
after the "file" since "file" kills any execution target.
1994-02-07 01:50:51 +00:00
Jim Kingdon
1dd29bef1b
* target.c (target_preopen): If target_kill doesn't remove the
...
target from the stack, use pop_target to do it.
1994-02-07 01:31:15 +00:00
Jim Kingdon
5bf581053c
* gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; they
...
are fixed.
* gdb.t02/whatis.exp: Remove xfails for v_char_array and
v_signed_char_array; the test is looser than when the xfails were
added.
* gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
* gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1994-02-07 00:59:37 +00:00
Jim Kingdon
704aea4326
* coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
...
of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
changes to stabsread.c from summer 1993.
1994-02-07 00:53:43 +00:00
Jeff Law
939d9e8a5f
* config.sub (hiux): Fix typo. From m-kasahr@sramhc.sra.co.JP.
1994-02-07 00:35:51 +00:00
Jeff Law
f8693e71a7
* configure.in (hiux): Fixes from m-kasahr@sramhc.sra.co.JP.
1994-02-07 00:34:59 +00:00
Jim Kingdon
b6999724da
* gdb.t01/run.exp: Only run shell test if isnative.
1994-02-07 00:18:08 +00:00
Jeff Law
dc536cc0ca
* config/obj-som.c (obj_som_init_stab_section): Same change
...
as coffbfd and elf below. Zero the initial stab symbol after
allocating it.
1994-02-07 00:15:01 +00:00
Jim Kingdon
ebbed4c4c3
* config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
...
since "run" automatically loads if necessary.
1994-02-07 00:06:45 +00:00
Jim Kingdon
d3b06c5fcf
* config/udi-gdb.exp (gdb_start): Don't send "set args main" to
...
GDB. GDB doesn't work that way (not anymore at least) on UDI.
* gdb.t01/run.exp: Don't pass extra first argument for UDI.
1994-02-06 23:45:18 +00:00
Jim Kingdon
4a00e1de7b
* remote-udi.c (udi_files_info): If prog_name is NULL, just skip
...
printing the program, rather than passing NULL to printf.
(udi_detach): Set udi_session_id to -1 so that udi_close doesn't
try to call UDIDisconnect again. Print better message.
(udi_kill): Just call UDIDisconnect ourselves, rather than doing
it via udi_close.
(udi_open): Unpush UDI target after target_preopen, now that
udi_kill doesn't pop the target.
(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.
1994-02-06 23:34:13 +00:00
Jim Kingdon
01cd70b985
* config/mips/mipsm3.mh, config/i386/i386m3.mh,
...
config/ns32k/ns32km3.mh: Define NAT_FILE.
* config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
(it was inconsistent and namespace-wrong) to NM_M3_H.
* m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
(m3_open): New function.
(m3_ops): Use it.
* TODO: Update Mach section.
* Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1994-02-06 22:38:28 +00:00
Per Bothner
d41b3eed26
* printcmd.c (printf_command): Add missing single-letter
...
backslash-escape sequences, and improve error message.
1994-02-06 21:29:32 +00:00
Jim Kingdon
842cf83162
* corelow.c (solib_add_stub, core_open): Pass address of from_tty
...
rather than trying to shove an int into a pointer and back out
again. This avoids compiler warnings.
1994-02-06 16:16:39 +00:00
Jim Kingdon
9f80c72bb1
* i960-dis.c (reg, mem): Just use a static array instead of
...
calling xmalloc.
1994-02-06 15:49:03 +00:00
Jim Kingdon
7343d7167f
* defs.h (alloca): Declare as void *, not char *, on hpux.
...
Don't prototype it, just declare the return type.
1994-02-06 15:00:00 +00:00
Peter Schauer
57a9fee313
* config/i386/tm-sun386.h, config/i386/tm-symmetry.h
...
(REGISTER_CONVERT_TO_RAW): Add missing backslash.
1994-02-06 11:32:46 +00:00
David MacKenzie
744b2885b4
remove cvs lossage
1994-02-06 01:05:54 +00:00
Jim Kingdon
021b10e345
* remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
...
ZERO_REGNUM, just read it as zero without talking to the board.
1994-02-05 22:29:06 +00:00
Ian Lance Taylor
3a0e38ee59
Don't refer to new fields unless BFD_ASSEMBLER (from sac).
1994-02-05 22:17:20 +00:00
Stan Shebs
41b5ef0f76
Sat Feb 5 12:30:32 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* config/obj-coffbfd.c (obj_coff_init_stab_section): Zero the
initial stab symbol after allocating it.
* config/obj-elf.c (obj_elf_init_stab_section): Ditto.
This fixes a critical bug observed in Q4 for Lynx.
1994-02-05 21:45:51 +00:00
Jim Kingdon
60f1cc9858
* gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
...
* gdb.t17/callfuncs.exp: Add xfails for rs6000.
1994-02-05 21:29:45 +00:00
Jim Kingdon
6b054519ff
* config.bfd: Put m68*-*-sysv* line after m68*-*-sysv4*.
1994-02-05 20:41:44 +00:00
Jim Kingdon
8b0a85bad1
* config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
...
backslash.
* i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
to store_floating, not nonexistent variable len.
1994-02-05 20:38:12 +00:00
Jim Kingdon
aa56c7161b
* remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
...
New functions.
(mips_store_word): Change calling convention to return errors, and
to provide old contents if the caller wants it.
(mips_xfer_memory): Deal with errors from mips_store_word.
* config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
define now that remote-mips.c doesn't use BREAKPOINT.
1994-02-05 20:30:35 +00:00
Jeff Law
fa4beb7e8f
* config/tc-hppa.c (pa_ip): addb[tf] should only accept
...
non-negated condition completers. Add support for addb pseudo-op
which accepts both negated and non-negated completers.
1994-02-05 19:54:51 +00:00
Jeff Law
2f0440121a
* hppa.h (addb): Use '@' for addb and addib pseudo ops.
...
(so we can determine valid completers for both addb and addb[tf].)
1994-02-05 19:53:05 +00:00
Jeff Law
90e77b4aec
* gdb.disasm/hppa.s (comib_tests): Add missing instruction.
...
(comib_nullified_tests): Fix typo.
* gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
strings. No longer expected to fail.
1994-02-05 19:16:49 +00:00
Jeff Law
0bb364c6b3
* hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
...
condition name index if this is for a negated condition.
1994-02-05 19:15:20 +00:00
Jim Kingdon
29fc92e81a
* remote-e7000.c: Replace "snoop" command (e7000_noecho) with
...
remote_debug.
1994-02-05 18:50:52 +00:00
Jeff Law
8a1f1fbab0
* gdb.disasm/hppa.s (addib_tests): Fix typo.
...
* gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
strings. No longer expected to fail.
1994-02-05 18:40:20 +00:00
Jim Kingdon
3c409d2045
* gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
...
properly quoting regexps. This makes the second argument to
demangle a fixed string, which matches the callers, instead of a
shell-style pattern which is what the previous implementation
used. Update some of the callers.
1994-02-05 18:34:33 +00:00