Alan Modra
ec217c8240
daily update
2004-07-01 00:00:06 +00:00
Jim Wilson
21a8f7fa66
Fix @pltoff linker segfault for non-shared link.
...
* elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff. Initialize
to NULL. Call get_pltoff if NULL and NEED_PLTOFF is true.
2004-06-30 20:23:23 +00:00
Mark Kettenis
1a6923e031
* gdbint.texinfo (Target Architecture Definition): Remove
...
SUN_FIXED_LBRAC_BUG.
2004-06-30 20:01:23 +00:00
Mark Kettenis
d81cbc94d2
* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
...
dead code.
2004-06-30 19:44:22 +00:00
Mark Kettenis
076817596d
* alphabsd-nat.c: Update copyright year.
...
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
2004-06-30 19:23:21 +00:00
Jim Wilson
8a41c3ea7d
Adjust for "mov rX=imm" changes.
...
* gas/ia64/dv-imply.d: Update.
* gas/ia64/dv-mutex.d: Likewise.
* gas/ia64/dv-safe.d: Likewise.
2004-06-30 18:14:38 +00:00
Jim Wilson
7a33b495a5
Correctly assemble mov rX=imm.
...
* ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds.
* ia64-asmtab.c: Regnerate.
2004-06-30 18:12:38 +00:00
H.J. Lu
2de26f35df
bfd/
...
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* elflink.c (elf_link_input_bfd): Issue an error for non-debug
local references to discarded sections and report their
locations.
ld/testsuite/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
2004-06-30 16:19:20 +00:00
Alan Modra
72d7a15c9d
* elflink.c (elf_section_ignore_discarded_relocs): Don't test
...
sec_info_type, test section name instead.
2004-06-30 13:42:45 +00:00
Michael Chastain
06ea1a610f
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.
2004-06-30 08:01:33 +00:00
H.J. Lu
e7f0a16764
2004-06-29 H.J. Lu <hongjiu.lu@intel.com>
...
PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch
in .init/.fini sections.
2004-06-30 03:51:25 +00:00
gdbadmin
2a79e10f2b
*** empty log message ***
2004-06-30 00:00:33 +00:00
Alan Modra
bec6a61d01
daily update
2004-06-30 00:00:06 +00:00
Bob Wilson
bff5f93a2c
* elf32-xtensa.c (elf_xtensa_relocate_section): Use
...
bfd_get_section_limit.
2004-06-29 22:03:33 +00:00
Bob Wilson
b54d4b0722
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
...
output section size.
2004-06-29 21:03:13 +00:00
Maciej W. Rozycki
4d1cd5c7c2
* doc/Makefile.am (info): Rename goal to...
...
(info-local): ... this, to preserve implicit dependencies.
* doc/Makefile.in: Regenerate with automake 1.8.5.
2004-06-29 19:41:23 +00:00
Joel Brobecker
f7948b5f30
* i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
...
(i386_cygwin_in_solib_call_trampoline): New function.
(i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
and skip_trampoline_code gdbarch methods.
2004-06-29 18:17:41 +00:00
Corinna Vinschen
daab125139
* gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
...
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
2004-06-29 17:52:49 +00:00
Jim Blandy
8f113c9aba
* Makefile.in (gdb_callback_h): Renamed from callback_h to the
...
name actually used in the dependency lists.
2004-06-29 17:19:47 +00:00
Joern Rennecke
5b9b7d8109
gas/testsuite:
...
Actually add these files:
2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
ld/testsuite:
Actually add these files:
2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.
2004-06-29 16:35:05 +00:00
Randolph Chung
97dc871c11
2004-06-29 Randolph Chung <tausq@debian.org>
...
* NEWS (New native configurations): Mention GNU/Linux/hppa.
2004-06-29 16:13:07 +00:00
Corinna Vinschen
47216e5118
* win32-nat.c (child_pid_to_exec_file): New function.
...
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
functionality.
2004-06-29 15:37:31 +00:00
Andrew Cagney
f03b584349
fix scrambled changelog
2004-06-29 15:22:28 +00:00
Andrew Cagney
e623b5041f
2004-06-28 Andrew Cagney <cagney@gnu.org>
...
* defs.h (xstrvprintf): Declare.
* utils.c (xstrvprintf): New function.
(internal_vproblem, xstrprintf, xasprintf)
(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
* serial.c (serial_printf): Ditto.
* complaints.c (vcomplaint): Ditto.
2004-06-29 14:57:39 +00:00
Alan Modra
3874ed78d9
* ld-elf/frame.exp: Don't run on mcore.
2004-06-29 14:44:25 +00:00
Alan Modra
62b51c0b7b
* gas/m68k/mode5.s: Pad section.
...
* gas/m68k/mode5.d: Update.
2004-06-29 14:43:55 +00:00
Alan Modra
1a23a9e613
bfd/
...
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in
rawsize.
(mmix_elf_perform_relocation): Adjust for above change.
(mmix_elf_relocate_section): Likewise.
(mmix_elf_relax_section): Likewise. Use output_section->rawsize.
(mmix_elf_get_section_contents): Delete.
(bfd_elf64_get_section_contents): Delete.
(mmix_elf_relocate_section): Zero stub area.
* linker.c (default_indirect_link_order): Alloc max of section size
and rawsize.
* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
* section.c (bfd_malloc_and_get_section): Likewise.
(struct bfd_section): Update rawsize comment.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (lang_reset_memory_regions): Save last relax pass section
size in rawsize.
2004-06-29 14:13:47 +00:00
Alan Modra
e87a64e1f0
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
2004-06-29 13:51:20 +00:00
Alan Modra
075154045b
* bfd-in.h (bfd_get_section_limit): Define.
...
* reloc.c (bfd_perform_relocation, bfd_install_relocation)
(_bfd_final_link_relocate): Use bfd_get_section_limit.
* aout-tic30.c (tic30_aout_final_link_relocate): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Likewise.
(bfd_ns32k_final_link_relocate): Likewise.
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise.
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise.
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc)
(i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise.
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc)
(m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise.
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elf32-or32.c (or32_elf_consth_reloc): Likewise.
* elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise.
* elf32-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Likewise.
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise.
* elf32-v850.c (v850_elf_reloc): Likewise.
* elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise.
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise.
* elf64-mips.c (mips_elf64_gprel32_reloc)
(mips16_gprel_reloc): Likewise.
* elf64-mmix.c (mmix_elf_reloc): Likewise.
* elf64-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf64-sparc.c (init_insn_reloc): Likewise.
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp)
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc)
(_bfd_mips_elf_generic_reloc): Likewise.
* bfd-in2.h: Regenerate.
2004-06-29 13:46:34 +00:00
DJ Delorie
950ad202a5
merge from gcc
2004-06-29 12:51:56 +00:00
Corinna Vinschen
79acc9b3cc
* infcmd.c (attach_command): Move call to target_terminal_inferior
...
behind loading symbol table.
2004-06-29 06:39:06 +00:00
Corinna Vinschen
cc98411666
* gdb.base/bigcore.exp: Skip test on Cygwin.
2004-06-29 06:34:50 +00:00
Andrew Cagney
1daf35d984
2004-06-28 Andrew Cagney <cagney@gnu.org>
...
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
change - add back extern deprecated_ui_loop_hook declaration.
2004-06-29 01:01:32 +00:00
Andrew Cagney
0aaa4a81b0
Index: mn10200/ChangeLog
...
2004-06-28 Andrew Cagney <cagney@gnu.org>
* interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Index: d10v/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* interp.c (sim_resume): Rename ui_loop_hook to
deprecated_ui_loop_hook.
Index: arm/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Index: common/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
2004-06-29 00:54:00 +00:00
Alan Modra
243374f656
daily update
2004-06-29 00:00:06 +00:00
gdbadmin
37ab888827
*** empty log message ***
2004-06-29 00:00:03 +00:00
Andrew Cagney
b435e160dd
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
xstrprintf.
* varobj.c (varobj_gen_name, create_child, c_name_of_child)
(c_value_of_variable): Ditto.
* utils.c (internal_vproblem): Ditto.
* solib-aix5.c (build_so_list_from_mapfile): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* remote-rdp.c (rdp_set_command_line): Ditto.
* regcache.c (regcache_dump): Ditto.
* frv-tdep.c (new_variant, new_variant): Ditto.
* fbsd-proc.c (child_pid_to_exec_file): Ditto.
(fbsd_find_memory_regions): Ditto.
* breakpoint.c (create_thread_event_breakpoint)
(create_breakpoints): Ditto.
* aix-thread.c (aix_thread_pid_to_str): Ditto.
* ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
Index: doc/ChangeLog
2004-06-26 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.
2004-06-28 23:59:29 +00:00
Alexandre Oliva
e073c4747a
sim/h8300/ChangeLog:
...
2003-07-23 Richard Sandiford <rsandifo@redhat.com>
* compile.c (sim_resume): Make sure that dst.reg refers to the
right register byte in mova/sz.l @(dd,RnL),ERn.
2003-07-21 Richard Sandiford <rsandifo@redhat.com>
* compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
mulxs, divs and divxs.
sim/testsuite/sim/h8300/ChangeLog:
2003-07-22 Michael Snyder <msnyder@redhat.com>
* mul.s: Don't try to use negative immediate (it's always
unsigned).
* div.s: Ditto.
2004-06-28 19:26:37 +00:00
Alexandre Oliva
e4d3c499f5
* compile.c (sim_load): Update sd->memory_size.
2004-06-28 19:25:43 +00:00
Jim Blandy
71d39cfcfd
* e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
...
unsigned type before or-ing it with a 64-bit value.
2004-06-28 19:02:49 +00:00
Joel Brobecker
06d5cf63af
* ada-lang.c: Re-indent file, with some massaging to help indent
...
a bit when the result is otherwise really too ugly.
2004-06-28 18:59:14 +00:00
Michael Chastain
c279b077e0
2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
formats for "info register". Use gdb_test_multiple. Fix
the "invalid register" test.
2004-06-28 18:19:47 +00:00
DJ Delorie
a21da8bff0
merge from gcc
2004-06-28 18:01:46 +00:00
Maciej W. Rozycki
8ffc9dd4f4
* Makefile.in: Regenerate to clean up breakage.
2004-06-28 15:11:14 +00:00
Alan Modra
98e6987548
opcodes/
...
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf.
(extract_fxm): Don't test dialect.
(XFXFXM_MASK): Include the power4 bit.
(XFXM): Add p4 param.
(powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr.
gas/testsuite/
* gas/ppc/power4.d: Update.
2004-06-28 14:08:08 +00:00
Alan Modra
3722b82f10
* bfd-in.h (struct stab_info): Move from stabs.c.
...
* stabs.c (struct stab_link_includes_table): Delete.
(stab_link_includes_lookup): Delete.
(_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
level of indirection from sinfo parm.
(_bfd_link_section_stabs): Likewise. Set SEC_LINKER_CREATED on
stabstr section. Adjust hash table accesses.
* coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
alloc. Adjust stab_info test.
* cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
(_bfd_coff_final_link): Adjust stab_info test.
(_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
* elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
in place.
* libcoff-in.h (struct coff_link_hash_table): Likewise.
* elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
* elflink.c (bfd_elf_final_link): Don't attempt to link linker created
stabstr section. Adjust stab_info test.
* libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
(_bfd_write_stab_strings): Adjust prototypes.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
* bfd-in2.h: Regenerate.
2004-06-28 13:57:59 +00:00
Corinna Vinschen
0e9157473d
* gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
...
PID for Cygwin. Add Cygwin specific strings to check for in some
tests.
(do_attach_tests): Add a test for user interaction when attaching
to a process with no matching symbol table already loaded.
2004-06-28 11:15:31 +00:00
Alan Modra
c2b37aa518
daily update
2004-06-28 00:00:06 +00:00
gdbadmin
b2cc3700eb
*** empty log message ***
2004-06-28 00:00:02 +00:00
Ulrich Weigand
35809fad09
* frame.h (struct frame_id): Change bit field type of stack_addr_p,
...
code_addr_p and special_addr_p to 'unsigned int'.
2004-06-27 22:26:34 +00:00