Alexandre Oliva [Thu, 18 May 2000 22:56:28 +0000 (22:56 +0000)]
* mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
genericXor, genericBtst): Use `unsigned32'.
* op_utils.c: Likewise.
* mn10300.igen, am33.igen: Use `unsigned32', `signed32',
`unsigned64' or `signed64' where type width is relevant.
H.J. Lu [Thu, 18 May 2000 22:01:04 +0000 (22:01 +0000)]
2000-05-18 H.J. Lu <hjl@gnu.org>
* lexsup.c (parse_args): `i' == `r', not `q'.
Nick Clifton [Thu, 18 May 2000 17:12:31 +0000 (17:12 +0000)]
Force relocs emited for an executable to contain virtual addresses.
H.J. Lu [Thu, 18 May 2000 17:11:17 +0000 (17:11 +0000)]
20000-05-18 H.J. Lu (hjl@gnu.org)
* configure: Ask to create the gcc directory for cross
compiling if necessary.
Jeff Law [Thu, 18 May 2000 16:58:06 +0000 (16:58 +0000)]
* configure.in (hppa*64*-*-*): Do build ld for this configuration.
Jeff Law [Thu, 18 May 2000 16:55:34 +0000 (16:55 +0000)]
* config.bfd (hppa*64*-*-hpux11*): New target triplet.
Jeff Law [Thu, 18 May 2000 16:52:11 +0000 (16:52 +0000)]
* configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
build PA64 ELF tools.
* configure: Rebuilt.
Jeff Law [Thu, 18 May 2000 16:48:14 +0000 (16:48 +0000)]
* configure.tgt (hppa*64*-*-*): Enable PA64 target.
David Edelsohn [Thu, 18 May 2000 14:28:32 +0000 (14:28 +0000)]
* configure.in: Special case powerpc*-*-aix* target_makefile_frag.
Andrew Cagney [Thu, 18 May 2000 00:29:13 +0000 (00:29 +0000)]
Typo. bfd@sourceware -> binutils@sourceware.
Nick Clifton [Wed, 17 May 2000 19:55:14 +0000 (19:55 +0000)]
Add part of patch omittede from previous delta
Nick Clifton [Wed, 17 May 2000 19:53:11 +0000 (19:53 +0000)]
Fix typo in previous delta
Nick Clifton [Wed, 17 May 2000 19:38:53 +0000 (19:38 +0000)]
Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
--emit-relocs switch to the linker to preserve relocs in an output executable
Alexandre Oliva [Wed, 17 May 2000 19:23:34 +0000 (19:23 +0000)]
* Makefile.in (configure-target-libiberty): Depend on
configure-target-newlib.
Michael Snyder [Wed, 17 May 2000 17:10:19 +0000 (17:10 +0000)]
2000-05-12 Michael Snyder <msnyder@.cygnus.com>
* gdb.base/break.exp (bp on small function, optimized file):
Add a second pass pattern. The behavior differs here between stabs
and dwarf for one-line functions. Stabs preserves two line symbols
(one before the prologue and one after) with the same line number,
but dwarf regards these as duplicates and discards one of them.
Therefore the address after the prologue (where the breakpoint is)
has no exactly matching line symbol, and GDB reports the breakpoint
as if it were in the middle of a line rather than at the beginning.
Michael Snyder [Wed, 17 May 2000 17:09:27 +0000 (17:09 +0000)]
2000-05-12 Michael Snyder <msnyder@.cygnus.com>
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.
Alan Modra [Wed, 17 May 2000 14:24:25 +0000 (14:24 +0000)]
Update dependencies.
Eli Zaretskii [Wed, 17 May 2000 11:49:53 +0000 (11:49 +0000)]
* gdb/config/djgpp/README: Fine-tune installation instructions
based on user reports.
Eli Zaretskii [Wed, 17 May 2000 11:45:56 +0000 (11:45 +0000)]
* mmalloc/Makefile.in (install-info): Make sure $(infodir) exists.
Run install-info program on the installed Info files.
* gdb/doc/Makefile.in (install-info): Run install-info on installed
Info files.
Andrew Cagney [Wed, 17 May 2000 08:46:20 +0000 (08:46 +0000)]
Minor maint et.al. tweeks.
Andrew Cagney [Wed, 17 May 2000 06:51:28 +0000 (06:51 +0000)]
Change v850 break-point instruction to loop. Get around lack of 16
bit breakpoint.
Alan Modra [Wed, 17 May 2000 00:47:51 +0000 (00:47 +0000)]
Fix fild.
Nick Clifton [Tue, 16 May 2000 20:53:26 +0000 (20:53 +0000)]
Apply patch from Charles Wilson to make PE ports search for dynamic libraries
in foo.dll and libfoo.dll before libfoo.a.
Frank Ch. Eigler [Tue, 16 May 2000 19:28:07 +0000 (19:28 +0000)]
* cgen/opcodes fix
* approved by nickc
[opcodes/ChangeLog]
2000-05-16 Frank Ch. Eigler <fche@redhat.com>
* fr30-desc.h: Partially regenerated to account for changed
CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
* m32r-desc.h: Ditto.
[include/opcode/ChangeLog]
2000-05-16 Frank Ch. Eigler <fche@redhat.com>
* cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that
it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set.
(CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds
CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.
Catherine Moore [Tue, 16 May 2000 14:20:10 +0000 (14:20 +0000)]
* som.c (som_decode_symclass): Recognize weak symbols.
Andrew Cagney [Tue, 16 May 2000 09:00:20 +0000 (09:00 +0000)]
Review TODO.
Andrew Cagney [Tue, 16 May 2000 05:07:53 +0000 (05:07 +0000)]
Rename mi/ChangeLog-mi -> mi/ChangeLog
Andrew Cagney [Tue, 16 May 2000 04:57:49 +0000 (04:57 +0000)]
Make free_current_contents more robust. Use in MI.
Andrew Cagney [Tue, 16 May 2000 04:07:39 +0000 (04:07 +0000)]
Cleanup discard_minimal_symbols cleanup.
Andrew Cagney [Tue, 16 May 2000 03:03:13 +0000 (03:03 +0000)]
Fix signature of add_set_enum_cmd. Change VAR parameter to char**.
Cleanup signature of add_set_cmd. Change VAR parameter to void*.
Andrew Cagney [Tue, 16 May 2000 02:50:23 +0000 (02:50 +0000)]
Remove stray extern declaration of wrap_value_subscript().
Andrew Cagney [Tue, 16 May 2000 02:43:39 +0000 (02:43 +0000)]
Cleanup bfd_close() cleanups.
Alan Modra [Tue, 16 May 2000 02:10:00 +0000 (02:10 +0000)]
Fix problems introduced with my last change.
Andrew Cagney [Tue, 16 May 2000 00:09:00 +0000 (00:09 +0000)]
Skip CVS directories when creating tar ball.
Andrew Cagney [Tue, 16 May 2000 00:04:11 +0000 (00:04 +0000)]
Add code to tweek djunpack as part of release process.
Joern Rennecke [Mon, 15 May 2000 23:10:59 +0000 (23:10 +0000)]
* elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
Andrew Cagney [Mon, 15 May 2000 23:10:56 +0000 (23:10 +0000)]
Add notes on register cache.
Joern Rennecke [Mon, 15 May 2000 21:12:42 +0000 (21:12 +0000)]
sh-dsp support, simulator speedup by using host byte order:
sim:
* Makefile.in (interp.o): Depends on ppi.c .
(ppi.c): New rule.
* gencode.c (printonmatch, think, genopc): Deleted.
(MAX_NR_STUFF): Now 42.
(tab): Add SH-DSP CPU instructions.
Amalgamate ldc / stc / lds / sts instructions with similar
bit patterns. Fix opcodes of stc Rm_BANK,@-<REG_N>.
Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
(movsxy_tab): New array.
For movs, change MMMM field to GGGG, and mmmm field to MMMM.
Added entries for movx, movy and parallel processing insns.
(ppi_tab): New array.
(qfunc): Stabilize sort.
(expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
(dumptable): Now takes three arguments. Changed all callers.
Emit just one contigous jump table.
(filltable): Now takes an argument. Changed all callers.
Make index static.
(ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
(gensim_caselist): New function, broken out of gensim.
Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
Handle ref '9'.
(gensim): Handle 'N' in code field and '8' in refs field.
Call gensim_caselist - twice.
(ppi_index): New static variable.
(main): Unsupport default action.
Add dsp support for -x / -s option. Add -p option.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
(saved_state_type): Rearrange to allow amalgamated ldc / stc /
lds / sts to work efficiently.
(target_dsp): New static variable.
(GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
(FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
(SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
(RS, RE, MOD, MOD_ME, DSP_R): Likewise.
(set_fpscr1): Likewise. Use target_dsp to check for dsp.
(MOD_MSi, SIG_BUS_FETCH): Deleted.
(CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
(SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
(SET_MOD): Reflect saved_state_type change. Set MOD_DELTA instead
of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
(set_sr): Reflect saved_state_type change. Fix SR_RB handling.
Use SET_MOD.
(MA, L, TL, TB): Now controlled by ACE_FAST.
(SEXT32): Just cast to int.
(SIGN32): Fixed to only shift by 31.
(CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
(ppi_insn): Declare.
(ppi.c): Include.
(init_dsp): Set target_dsp. When it changes, switch end of
sh_jump_table with sh_dsp_table.
(sim_resume) Don't declare sh_jump_table0. Use sh_jump_table instead.
Don't Declare PR if it's #defined.
Fix single-stepping (Was broken in Mar 6 16:59:10 patch).
(sim_store_register, sim_read_register): Translate accesses to
reflect saved_state_type change.
* interp.c (set_sr): Set sr.
(SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
(set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
(DSP_R): Fix definition.
(sim_resume): Remove outdated SET_SR use.
* interp.c (saved_state): New members for struct member asregs:
rs, re, insn_end, xram_start, yram_start.
(struct loop_bounds): New struct.
(SKIP_INSN): New macro.
(get_loop_bounds): New function.
(endianw): Renamed to global_endianw.
(maskw): negated bits.
(PC): Now insn_ptr.
(SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
(RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
(M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
(SIG_BUS_FETCH): Likewise
(raise_exception, riat_fast): New functions.
(raise_buserror, sim_stop): Use raise_exception.
(PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
(BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
Reverse sense of mask argument.
(FP_OP, set_dr): Use RAISE_EXCEPTION.
(wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
Declare. Remove redundant masking.
(wwat_fast, rwat_fast): Add argument endianw. Changed callers.
(MA): Updated for change pc -> PC.
(Delay_Slot): Use RIAT.
(empty): Deleted.
(trap): Remove argument little_endian. Add argument endianw.
Changed all callers. Use raise_exception.
(macw): Add argument endainw. Changed all callers.
(init_dsp): New function, extended after broken out of init_pointers.
(sim_resume): Replace pc with insn_ptr. Replace little_endian with
endianw. Replace nia with nip. Reverse sense of maskb / maskw /
maskl. Implement logic for zero-overhead loops. Don't try to
interpret garbage when getting a SIGBUS at insn fetch.
(sim_open): Call init_dsp.
* gencode.c (tab): Use SET_NIP instead of nia = . Use PH2T / PT2H /
RAISE_EXCEPTION where appropriate.
Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.
* interp.c (sim_store_register, sim_fetch_register):
Do proper endianness switch.
* interp.c (saved_state_type): New members for struct member asregs:
xymem_select, xmem, ymem, xmem_offset, ymem_offset.
(special_address): Delete.
(BUSERROR): Now a two-argument predicate.
(PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
(wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
(process_wlat_addr, process_wwat_addr): New functions.
(process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
(process_rbat_addr): Likewise.
(wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
(rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
(rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
(do_rdat, trap): Delete SLOW code.
(SEXT32, SIGN32): New macros.
(swap, swap16): Now integer in - integer out. Changed all callers.
(strswaplen, strnswap): Delete SLOW versions.
(init_pointers): Initialize dsp memory selection (preliminary).
(sim_store_register, sim_fetch_register): Use swap instead of
big / little endian read / write functions.
* interp.c (maskl): Deleted.
(endianw, endianb): New variables.
(special_address): Now inline.
(bp_holder): Put raising of buserror there, rename to:
(raise_buserror).
(BUSERROR): Now yields a value. Changed all users.
(wbat_big): Delete.
(wlat_fast, wwat_fast, wbat_fast): New functions.
(rlat_fast, rwat_fast, rbat_fast): Likewise.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
(do_rdat, do_wdat): Likewise. Take maskl argument instead of
little_endian one. Changed caller macros.
(swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
(strswaplen, strnswap): New functions.
(trap): Use them to fix up endian mismatches;
disable SYS_execve and SYS_execv; fix double address translation for
SYS_pipe and SYS_stat.
(sym_write, sym_read): Add endianness translation.
(sym_store_register, sym_fetch_register): Add maskl local variable.
(sim_open): Set endianw and endianb.
gdb:
* sh-tdep.c (sh_dsp_reg_names, sh3_dsp_reg_names): New arrays.
(sh_processor_type_table): Add entries for bfd_mach_sh_dsp and
bfd_mach_sh3_dsp.
(sh_show_regs): Floating point registers are called fr0-fr15.
For sh4, display fpul, fpscr and fr0-fr15 / dr0-dr14 as appropriate.
Handle sh-dsp and sh3-dsp.
config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): sh-dsp / sh3-dsp
don't have floating point registers.
(DSR_REGNUM, A0G_REGNUM, A0_REGNUM, A1G_REGNUM, A1_REGNUM): Define.
(M0_REGNUM, M1_REGNUM, X0_REGNUM, X1_REGNUM, Y0_REGNUM): Likewise.
(Y1_REGNUM, MOD_REGNUM, RS_REGNUM, RE_REGNUM, R0B_REGNUM): Likewise.
Nick Clifton [Mon, 15 May 2000 19:25:22 +0000 (19:25 +0000)]
Add support for _x and _s flags to MSR instruction
Andrew Cagney [Mon, 15 May 2000 11:48:50 +0000 (11:48 +0000)]
Cleanup cleanups - delete use of make_cleanup_func as cast.
Eli Zaretskii [Mon, 15 May 2000 07:10:04 +0000 (07:10 +0000)]
* Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
* wrapper.h (gdb_value_subscript, wrap_value_subscript): Add
prototypes.
Andrew Cagney [Mon, 15 May 2000 06:27:18 +0000 (06:27 +0000)]
Convert SAVE_DUMMY_FRAME_TOS to multi-arch.
Andrew Cagney [Mon, 15 May 2000 06:15:27 +0000 (06:15 +0000)]
Cleanup free_agent_expr cleanups.
Andrew Cagney [Mon, 15 May 2000 05:54:02 +0000 (05:54 +0000)]
Cleanup delete_breakpoint cleanups.
Andrew Cagney [Mon, 15 May 2000 03:56:30 +0000 (03:56 +0000)]
Move core_addr_lessthan and core_addr_greaterthan to arch-utils.
Andrew Cagney [Mon, 15 May 2000 03:16:15 +0000 (03:16 +0000)]
Use make_cleanup_ui_out_stream_delete().
Alan Modra [Mon, 15 May 2000 02:17:52 +0000 (02:17 +0000)]
Update printed copyright.
Andrew Cagney [Mon, 15 May 2000 01:44:40 +0000 (01:44 +0000)]
Fix IRIX cc warnings. Fix ui_out functions that didn't return a value.
Phil Blundell [Sun, 14 May 2000 18:53:18 +0000 (18:53 +0000)]
Apply David O'Brien's comment patch.
Phil Blundell [Sun, 14 May 2000 18:49:34 +0000 (18:49 +0000)]
Support ARM ELF defaulting to big endian
H.J. Lu [Sun, 14 May 2000 17:13:16 +0000 (17:13 +0000)]
2000-05-14 H.J. Lu (hjl@gnu.org)
* objcopy.c (filter_symbols): Don't strip global symbols in
relocatable object files.
Alan Modra [Sun, 14 May 2000 11:48:42 +0000 (11:48 +0000)]
Kazu Hirata's output reloc for mov.
Don't rely on short being 16 bits.
Alan Modra [Sun, 14 May 2000 10:40:48 +0000 (10:40 +0000)]
Accept and ignore -f command line option.
Improve usage message.
Alan Modra [Sun, 14 May 2000 09:37:07 +0000 (09:37 +0000)]
New file
H.J. Lu [Sat, 13 May 2000 21:19:50 +0000 (21:19 +0000)]
2000-05-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltmain.sh: Preserve in relink_command any environment
variables that may affect the linker behavior.
H.J. Lu [Sat, 13 May 2000 16:54:32 +0000 (16:54 +0000)]
2000-05-13 H.J. Lu (hjl@gnu.org)
* lib/ld-lib.exp (default_ld_link): Redirect the linker output
to link_output and make it global.
* ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
tests.
* ld-elfvsb/elfvsb.dat: Likewise.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfvsb/main.c: Likewise.
* ld-elfvsb/sh1.c: Likewise.
* ld-elfvsb/sh2.c: Likewise.
Alan Modra [Sat, 13 May 2000 14:01:54 +0000 (14:01 +0000)]
Fix cpu_flags for sys{enter,exit} fx{save,restore}
Alan Modra [Sat, 13 May 2000 13:05:36 +0000 (13:05 +0000)]
Quell some gcc warnings by defining textdomain and bindtextdomain
as intl/libgettext.h does.
Alan Modra [Sat, 13 May 2000 12:49:55 +0000 (12:49 +0000)]
Add x86 gas -q option to quiet some x86 gas warnings.
Remove useless -m flag_do_long_jump from x86 gas.
If BFD_ASSEMBLER, store --defsym value in a bfd_vma, and use scan_bfd_vma.
Alan Modra [Sat, 13 May 2000 09:26:23 +0000 (09:26 +0000)]
`.arch cpu_type' pseudo for x86.
H.J. Lu [Sat, 13 May 2000 06:38:34 +0000 (06:38 +0000)]
2000-05-12 H.J. Lu <hjl@gnu.org>
* nlmconv.c (temp_filename): Removed.
* nlmconv.c (link_inputs): Use make_temp_file () instead of
choose_temp_base ().
* objdump.c (display_target_list): Likewise.
(display_info_table): Likewise.
Kevin Buettner [Sat, 13 May 2000 01:38:05 +0000 (01:38 +0000)]
For IA-64, allow ``finish'' to land on caller rather than on next executable
line after the caller.
Kevin Buettner [Sat, 13 May 2000 00:51:35 +0000 (00:51 +0000)]
Fix typo in sign extension code in dwarf2_const_value_data().
Jeff Law [Fri, 12 May 2000 17:23:42 +0000 (17:23 +0000)]
* config.sub (basic_machine): Recognize hppa64 as a valid cpu type.
Nick Clifton [Fri, 12 May 2000 17:15:21 +0000 (17:15 +0000)]
Fix disassembly of DLRS{H|B} instruction
H.J. Lu [Fri, 12 May 2000 15:35:15 +0000 (15:35 +0000)]
Remove the erroneous ">>>>>>> 1.419".
Andrew Cagney [Fri, 12 May 2000 10:50:50 +0000 (10:50 +0000)]
Mention UnixWare thread problem.
Andrew Cagney [Fri, 12 May 2000 10:42:02 +0000 (10:42 +0000)]
Doc weak symbol problem.
Andrew Cagney [Fri, 12 May 2000 10:30:32 +0000 (10:30 +0000)]
Add Stan to authors attempt two. Also add et.al.
Andrew Cagney [Fri, 12 May 2000 10:23:54 +0000 (10:23 +0000)]
Add Andrew Cagney. Add Stan Shebs as an author.
Andrew Cagney [Fri, 12 May 2000 10:15:16 +0000 (10:15 +0000)]
Update section on kernel debugging.
Andrew Cagney [Fri, 12 May 2000 09:21:30 +0000 (09:21 +0000)]
Handle case of 32 ABI saving 32 bit registers on stack when target
has 64 bit ISA.
Alexandre Oliva [Fri, 12 May 2000 06:16:30 +0000 (06:16 +0000)]
* config/tc-mn10300.h (md_end): Define.
(mn10300_finalize): Declare.
* config/tc-mn10300.c: Include dwarf2dbg.h.
(debug_line): Define.
(md_assemble): Generate dwarf2 line info.
(mn10300_finalize): New function. Finalize dwarf2 info.
Alan Modra [Fri, 12 May 2000 06:07:04 +0000 (06:07 +0000)]
(bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
Andrew Cagney [Fri, 12 May 2000 04:51:22 +0000 (04:51 +0000)]
Fix tipo 32->64 in MIPS_EABI.
Andrew Cagney [Fri, 12 May 2000 04:37:00 +0000 (04:37 +0000)]
Check -W options before using them.
Alan Modra [Thu, 11 May 2000 23:24:27 +0000 (23:24 +0000)]
Restore some functionality removed by previous patch.
Tidy printing of bfd_vma's.
Elena Zannoni [Thu, 11 May 2000 20:39:58 +0000 (20:39 +0000)]
2000-05-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* coffread.c (coff_symtab_read): In the case of C_THUMBEXT |
C_THUMBEXTFUNC | C_EXT, sec will never ever be the index for
.rodata, because cs_to_section doesn't deal with .rodata. Fix test
accordingly.
Andrew Cagney [Thu, 11 May 2000 11:49:21 +0000 (11:49 +0000)]
Only try to print a macro when it is defined (in gdbarch_dump).
Andrew Cagney [Thu, 11 May 2000 07:55:25 +0000 (07:55 +0000)]
Update README file to 5.0.
Alan Modra [Thu, 11 May 2000 07:10:19 +0000 (07:10 +0000)]
Don't mask top 32 bits of 64-bit address.
Jim Wilson [Thu, 11 May 2000 04:27:08 +0000 (04:27 +0000)]
Add toplevel configure support for ia64-elf.
* configure.in (ia64*-*-elf*): Add gdb and friends to noconfigdirs.
Andrew Cagney [Thu, 11 May 2000 03:40:08 +0000 (03:40 +0000)]
Add preliminary support for IRIX's n32 abi to the MIPS's multi-arch code.
Alan Modra [Thu, 11 May 2000 01:55:11 +0000 (01:55 +0000)]
Ulf Carlsson's patches:
Include *-*-linux* in svr4pic tests
Test weak symbol handling.
Alan Modra [Thu, 11 May 2000 01:48:09 +0000 (01:48 +0000)]
(md_estimate_size_before_relax): Use the external version of
the relocation for weak symbols.
Elena Zannoni [Thu, 11 May 2000 00:36:17 +0000 (00:36 +0000)]
2000-05-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* solib.c (symbol_add_stub): Remember the index and the name of
the section with the lowest address. Use this data (instead of
data from .text) to pass info into symbol_file_add.
* elfread.c (record_minimal_symbol_and_info): Use the section
where the symbol lives to get the index, instead of guessing.
H.J. Lu [Wed, 10 May 2000 23:12:35 +0000 (23:12 +0000)]
2000-05-10 H.J. Lu <hjl@gnu.org>
* ldlang.c (open_input_bfds): Don't load the same file within
a group again if the whole archive has been loaded already.
Michael Snyder [Wed, 10 May 2000 20:07:25 +0000 (20:07 +0000)]
2000-05-10 Michael Snyder <msnyder@seadog.cygnus.com>
Make Sparc a Multi-Arch target. Discard PARAMS macro (require ANSI).
* sparc-tdep.c: include arch-utils.h.
(SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
(GDB_TARGET_IS_SPARC64): make into a runtime test.
(struct frame_extra_info): Define, use instead of the macro.
(Many places): Use alloca instead of statically allocated buffers
that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
(sparc_extract_struct_value_address): Accept a pointer arg instead
of an array sized by REGISTER_BYTES.
(examine_prologue): Accept a pointer to an array of CORE_ADDR,
instead of the defunct struct frame_saved_regs. Recognize new
Sparc64 store instructions as part of the prologue. Ignore the
destination of a frame store when parsing the prologue (so long
as it's on the stack).
(sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
(sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
instead of the defunct struct frame_saved_regs.
(supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
supply_register. Provide 4-byte offset to compensate for diff
between size of the prgreg_t elements on a 64-bit host and size
of the registers for a 32-bit target. Fill all inaccessible regs
with zero so they won't keep being requested again and again.
(fill_gregset): Handle 32/64 size difference between registers
and prgreg_t. Handle as many new 64-bit regs as possible.
(supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
(sparc_push_arguments): Rename to sparc32_push_arguments.
Copy arguments into registers as well as onto stack, so that the
CALL_DUMMY (code pushed onto the target stack) is not required.
(sparc_extract_return_value): Rename to sparc32_extract_return_value.
(sparc_store_return_value): Use memset instead of bzero.
Use write_register_gen instead of write_register_bytes.
(sparclet_store_return_value): New function.
(_initialize_sparc_tdep): Call register_gdbarch_init to activate
the gdbarch multi-architecture system.
(sp64_push_arguments): Rename to sparc64_push_arguments.
Extend to store arguments in general registers as well as on stack.
(sparc64_extract_return_value): Rename to sp64_extract_return_value.
Use as a private function, to be called by the new external function
sparc64_extract_return_value.
(sparclet_extract_return_value): New function.
(sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
sparc64_register_name, sparc_print_extra_frame_info,
sparclite_register_name, sparclet_register_name,
sparc_push_return_address, sparc64_use_struct_convention,
sparc32_store_struct_return, sparc64_store_struct_return,
sparc32_register_virtual_type, sparc64_register_virtual_type,
sparc32_register_size, sparc64_register_size,
sparc32_register_byte, sparc64_register_byte,
sparc_gdbarch_skip_prologue, sparc_convert_to_virtual,
sparc_convert_to_raw, sparc_frame_init_saved_regs,
sparc_frame_address, sparc_gdbarch_fix_call_dummy,
sparc_coerce_float_to_double, sparc_call_dummy_address,
sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
sparc_return_value_on_stack): New functions supporting multi-arch.
(sparc_gdbarch_init): New function; initialize multi-arch.
(struct gdbarch_tdep): Define, use for private multi-arch data.
* config/sparc/tm-sparc.h: Move definitions around, enclose with
#ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
definitions. Add enums for register names, to help debugging gdb.
This header file must work for non-multi-arch and for multi-arch.
* config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration. Also add
AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
Define GDB_MULTI_ARCH.
* config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
* config/sparc/tm-sparclite.h: Ditto.
* config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
* sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
avoid using deprecated REGISTER_NAMES macro.
* Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
Geoffrey Keating [Wed, 10 May 2000 19:42:25 +0000 (19:42 +0000)]
* ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
also available in common mode when powerpc syntax is being used.
Michael Snyder [Wed, 10 May 2000 17:38:16 +0000 (17:38 +0000)]
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
* gdbarch.c, gdbarch.h: Regenerate.
* core-regset.c: Change FP0_REGNUM to a runtime test.
* procfs.c: Ditto.
* sun3-nat.c: Ditto.
* sparc-tdep.c: Ditto.
* i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
* ptx4-nat.c: Ditto.
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
Eli Zaretskii [Tue, 9 May 2000 08:24:34 +0000 (08:24 +0000)]
* gdb.texinfo: Proofreading changes from Brian Youmans.
Jim Wilson [Tue, 9 May 2000 01:54:37 +0000 (01:54 +0000)]
Unwind info bug fixes from David Mosberger.
* config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
frame size in units of 16 bytes, as required per SW Conventions manual.
(output_unw_records): Output info-block header as a dword to get
byte-order right.
Alan Modra [Tue, 9 May 2000 00:43:44 +0000 (00:43 +0000)]
Fix some nits shown up by objcopy.
Frank Ch. Eigler [Mon, 8 May 2000 23:07:39 +0000 (23:07 +0000)]
* merge from internal tree
2000-04-14 Gary Thomas <gthomas@redhat.com>
* v850.igen: Define 'br *' as illegal since this is the only
way to provide a breakpoint on some v850 family processors.
Michael Snyder [Mon, 8 May 2000 22:34:38 +0000 (22:34 +0000)]
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
Michael Snyder [Mon, 8 May 2000 22:18:05 +0000 (22:18 +0000)]
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/interrupt.exp: Make "pass" message say "send"
rather than "send_gdb" (for consistancy).
Eli Zaretskii [Mon, 8 May 2000 15:13:30 +0000 (15:13 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
with the version name.
Eli Zaretskii [Mon, 8 May 2000 15:06:27 +0000 (15:06 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
with the version name.
* config/djgpp/djconfig.sh: Use more warning switches.
* config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
@V@ placebo.
Alan Modra [Mon, 8 May 2000 11:01:40 +0000 (11:01 +0000)]
(print_insn_tic54x): Declare.
Alan Modra [Mon, 8 May 2000 10:24:06 +0000 (10:24 +0000)]
Michael Sokolov's 68000 patches + assorted compiler warning fixes.