OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago * include/_mingw.h (_MINGW_ATTR_*): Replace with
dannysmith [Sun, 25 Jul 2004 11:23:42 +0000 (11:23 +0000)]
* include/_mingw.h (_MINGW_ATTR_*):  Replace with
__MINGW_ATTRIB_*.
* include/stdlib.h (_ATTRIB_NORETURN): Replace with
__MINGW_ATTRIB_NOREURN, throughout.
(malloc): Declare with __MINGW_ATTRIB_MALLOC.
(calloc): Likewise.
(abs): Declare with __MINGW_ATTRIB_CONST.
(labs): Likewise.
(div): Likewise.
(ldiv): Likewise.
(lldiv): Likewise.
(_rotl): Likewise.
(_rotr): Likewise.
(_lrotl): Likewise.
(_lrotr): Likewise.
* include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.

20 years ago*** empty log message ***
gdbadmin [Sun, 25 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 25 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago* dcrt0.cc (dll_crt0_0): Use proper boolean arguments.
cgf [Sat, 24 Jul 2004 19:18:57 +0000 (19:18 +0000)]
* dcrt0.cc (dll_crt0_0): Use proper boolean arguments.
* pinfo.cc (pinfo::init): Don't consider MapViewOfFileEx error to be fatal if
exiting.
* pinfo.h (pinfo::init): Eliminate default argument and supply the argument in
the one case that needed it.

20 years agomerge from gcc
dj [Sat, 24 Jul 2004 18:04:39 +0000 (18:04 +0000)]
merge from gcc

20 years agoPartial fix for PR backtrace/1718.
kettenis [Sat, 24 Jul 2004 12:59:51 +0000 (12:59 +0000)]
Partial fix for PR backtrace/1718.
* i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
that GCC migrates into the prolugue.  Don't handle any
instructions that clobber %ebx.

20 years ago * include/wingdi.h (CMYK): Its fun to play with the C-M-Y-K.
dannysmith [Sat, 24 Jul 2004 12:47:43 +0000 (12:47 +0000)]
* include/wingdi.h (CMYK):  Its fun to play with the C-M-Y-K.
(young man, young man,...)

20 years ago * autoload.cc (GetNativeSystemInfo): Add.
corinna [Sat, 24 Jul 2004 09:41:34 +0000 (09:41 +0000)]
* autoload.cc (GetNativeSystemInfo): Add.
(IsWow64Process): Add.
* init.cc (respawn_wow64_process): New function.
(dll_entry): If process has been started from a 64 bit
process, call respawn_wow64_process.
* uname.cc (uname): On 64 bit systems, use GetNativeSystemInfo.
Show actual CPU type.

20 years ago2004-07-24 Brodie Thiesfield <brofield@users.sourceforge.net>
dannysmith [Sat, 24 Jul 2004 09:00:51 +0000 (09:00 +0000)]
2004-07-24  Brodie Thiesfield  <brofield@users.sourceforge.net>

* include/shlobj.h (FILEDESCRIPTOR): Unicode it.
(FILEGROUPDESCRIPTOR): LIkewise.

20 years ago2004-07-23 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 24 Jul 2004 01:00:17 +0000 (01:00 +0000)]
2004-07-23  Andrew Cagney  <cagney@gnu.org>

Use regcache_raw_collect instead of regcache_collect.
* regcache.h (regcache_collect): Delete declaration.
* regcache.c (regcache_colect): Delete function.
* win32-nat.c (do_child_store_inferior_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_fill_reg): Update.
* rs6000-nat.c (store_register): Update.
* remote.c (store_register_using_P, remote_store_registers): Update.
* ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
* ppc-linux-nat.c (store_altivec_register, store_spe_register)
(fill_vrregset, store_spe_registers, fill_gregset)
(fill_gregset): Update.
* nto-procfs.c (procfs_store_registers): Update.
* mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
* mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
* m68klinux-nat.c (store_register, fill_gregset): Update.
* m68k-tdep.c (fill_gregset): Update.
* infptrace.c (store_register): Update.
* i386-nto-tdep.c (i386nto_regset_fill): Update.
* i386-linux-nat.c (store_register, fill_gregset): Update.
* hppa-linux-nat.c (fill_gregset): Update.
* go32-nat.c (store_register): Update.
* armnbsd-nat.c (store_register, store_regs, store_fp_register)
(store_fp_regs): Update.
* arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
(store_nwfpe_extended, store_fpregister, store_fpregs)
(store_register, store_regs, fill_gregset, fill_fpregset): Update.
* alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
* aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
(store_regs_user_thread, store_regs_kernel_thread): Update.

20 years ago*** empty log message ***
gdbadmin [Sat, 24 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
kettenis [Fri, 23 Jul 2004 22:08:39 +0000 (22:08 +0000)]
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.

20 years ago* dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
kettenis [Fri, 23 Jul 2004 22:05:19 +0000 (22:05 +0000)]
* dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
(decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
encoding.
(dwarf2_build_frame_info): Adjust for removal of `addr_size'
member of `struct comp_unit'.

20 years ago2004-07-23 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 23 Jul 2004 19:37:20 +0000 (19:37 +0000)]
2004-07-23  Andrew Cagney  <cagney@gnu.org>

* infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.

20 years ago2004-07-23 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 23 Jul 2004 18:53:06 +0000 (18:53 +0000)]
2004-07-23  Michael Snyder  <msnyder@redhat.com>

        * MAINTAINERS: Remove Andrew Cagney, at his request.

20 years ago2004-07-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Jul 2004 17:45:59 +0000 (17:45 +0000)]
2004-07-23  Martin Hunt  <hunt@redhat.com>
Kevin Buettner <kevinb@redhat.com>

* dwarf2-frame.c (execute_cfa_program): Fix typo in which the
alignment was being added to the offset instead of multiplied.

20 years ago(_place_orphan): Use an already existing section name if that section does not
nickc [Fri, 23 Jul 2004 16:32:52 +0000 (16:32 +0000)]
(_place_orphan): Use an already existing section name if that section does not
have any flags set.

20 years ago2004-07-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 23 Jul 2004 15:40:19 +0000 (15:40 +0000)]
2004-07-23  H.J. Lu  <hongjiu.lu@intel.com>

* bin-bugs.h (REPORT_BUGS_TO): Set to
"<URL:http://www.sourceware.org/bugzilla/>".

20 years ago* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
kettenis [Fri, 23 Jul 2004 13:43:34 +0000 (13:43 +0000)]
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
changed signal trampoline in OpenBSD 3.5-current.

20 years ago* sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
kettenis [Fri, 23 Jul 2004 10:33:35 +0000 (10:33 +0000)]
* sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(sparc64nbsd_supply_pcb): New function.
(_initialize_sparc64nbsd_nat): Renamed from
_initialize_sparcnbsd_nat.  Enable libkvm interface.
* Makefile.in (sparc64nbsd-nat.o): Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
(LOADLIBES): New variable.

20 years ago * dtable.cc (dtable::get_debugger_info): Make stderr r/w according
corinna [Fri, 23 Jul 2004 09:04:58 +0000 (09:04 +0000)]
* dtable.cc (dtable::get_debugger_info): Make stderr r/w according
to SUSv3.

20 years ago* config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
kettenis [Fri, 23 Jul 2004 00:15:11 +0000 (00:15 +0000)]
* config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.

20 years ago*** empty log message ***
gdbadmin [Fri, 23 Jul 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
kettenis [Thu, 22 Jul 2004 23:07:35 +0000 (23:07 +0000)]
* sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.

20 years ago * fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
corinna [Thu, 22 Jul 2004 20:39:08 +0000 (20:39 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
values also when copying fhandler from archetype.

20 years agoSet BFD_VERSION_DATE to 20040722.
hjl [Thu, 22 Jul 2004 19:14:51 +0000 (19:14 +0000)]
Set BFD_VERSION_DATE to 20040722.

20 years ago2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 22 Jul 2004 19:10:49 +0000 (19:10 +0000)]
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.

20 years ago* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.
cgf [Thu, 22 Jul 2004 18:25:52 +0000 (18:25 +0000)]
* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.

20 years ago2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 22 Jul 2004 18:09:01 +0000 (18:09 +0000)]
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-inval.l: Remove the leading `+'.

20 years agoFix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers
nickc [Thu, 22 Jul 2004 16:52:40 +0000 (16:52 +0000)]
Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers

20 years ago2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 22 Jul 2004 15:06:31 +0000 (15:06 +0000)]
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_fixup_link_order): Add _() to error message.

20 years agobfd/
hjl [Thu, 22 Jul 2004 14:19:01 +0000 (14:19 +0000)]
bfd/

2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_fixup_link_order): Issue a warning and flag
an error if failed.

ld/

2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/crossref.exp: XFAIL ia64-*-* on the first test.

20 years agooops - omitted from previous delta
nickc [Thu, 22 Jul 2004 10:45:40 +0000 (10:45 +0000)]
oops - omitted from previous delta

20 years ago2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 22 Jul 2004 09:56:41 +0000 (09:56 +0000)]
2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>

Test for PR exp/1715.
* gdb.base/radix.exp: Refactor common procedures.  Make all
test names unique.  Change XFAIL to KFAIL.

20 years ago* xstormy16-decode.cxx: Regenerate.
dj [Thu, 22 Jul 2004 01:49:45 +0000 (01:49 +0000)]
* xstormy16-decode.cxx: Regenerate.
* xstormy16-sem.cxx: Regenerate.
* xstormy16-write.cxx: Regenerate.

20 years ago* cpu/xstormy16.cpu (movhmemgr): Use hmem8, not lmem8.
dj [Thu, 22 Jul 2004 01:49:26 +0000 (01:49 +0000)]
* cpu/xstormy16.cpu (movhmemgr): Use hmem8, not lmem8.

20 years ago2004-07-21 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 22 Jul 2004 01:31:46 +0000 (01:31 +0000)]
2004-07-21  Andrew Cagney  <cagney@gnu.org>

Use regcache_raw_supply instead of supply_register.
* regcache.h (supply_register): Delete declaration.
* regcache.c (supply_register): Delete function.
* wince.c (do_child_fetch_inferior_registers): Update.
* win32-nat.c (do_child_fetch_inferior_registers)
(fetch_elf_core_registers): Update.
* v850ice.c (v850ice_fetch_registers): Update.
* thread-db.c (thread_db_store_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_supply_reg): Update.
* rs6000-nat.c (fetch_register): Update.
* rom68k-rom.c (rom68k_supply_one_register): Update.
* remote.c (remote_wait, remote_async_wait): Update.
* remote-st.c (get_hex_regs): Update.
* remote-sim.c (gdbsim_fetch_register): Update.
* remote-sds.c (sds_fetch_registers): Update.
* remote-rdp.c (remote_rdp_fetch_register): Update.
* remote-rdi.c (arm_rdi_fetch_registers): Update.
* remote-mips.c (mips_wait, mips_fetch_registers): Update.
* remote-m32r-sdi.c (m32r_fetch_register): Update.
* remote-hms.c (init_hms_cmds): Update.
* remote-est.c (init_est_cmds): Update.
* remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
(e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
(fetch_register, supply_vrregset, supply_vrregset)
(fetch_spe_registers): Update.
* ppc-bdm.c (bdm_ppc_fetch_registers): Update.
* monitor.c (monitor_supply_register): Update.
* mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg)
(mipsnbsd_supply_fpreg): Update.
* mips-nat.c (fetch_inferior_registers)
(fetch_core_registers): Update.
* mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
(supply_fpregset, mips64_supply_gregset)
(mips64_supply_fpregset): Update.
* m68klinux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* m68k-tdep.c (supply_gregset, supply_fpregset): Update.
* m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
* lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
* irix5-nat.c (supply_gregset, supply_fpregset): Update.
* infptrace.c (fetch_register): Update.
* ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
* ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_gregset)
(gnu_fetch_registers, gnu_store_registers): Update.
* i386-nto-tdep.c (i386nto_supply_gregset): Update.
* i386-linux-nat.c (fetch_register, supply_gregset)
(dummy_sse_values): Update.
* hpux-thread.c (hpux_thread_fetch_registers): Update.
* hppah-nat.c (fetch_register): Update.
* hppa-linux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* go32-nat.c (fetch_register): Update.
* dve3900-rom.c (fetch_bitmapped_register)
(_initialize_r3900_rom): Update.
* cris-tdep.c (supply_gregset): Update.
* abug-rom.c (init_abug_cmds): Update.
* core-aout.c (fetch_core_registers): Update.
* armnbsd-nat.c (supply_gregset, supply_fparegset)
(fetch_register, fetch_fp_register): Update.
* arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
(fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
* alphanbsd-tdep.c (fetch_core_registers): Update.
* alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
* alpha-nat.c (fetch_osf_core_registers)
(fetch_osf_core_registers, fetch_osf_core_registers): Update.
* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
(supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.

20 years ago*** empty log message ***
gdbadmin [Thu, 22 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoknetbsd/kfreebsd patches from Robert Millan.
wilson [Wed, 21 Jul 2004 19:21:41 +0000 (19:21 +0000)]
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

20 years agoFor DefaultSize instructions, don't guess a 'q' suffix if the instruction
nickc [Wed, 21 Jul 2004 18:17:58 +0000 (18:17 +0000)]
For DefaultSize instructions, don't guess a 'q' suffix if the instruction
doesn't support it.

20 years agomerge from gcc
dj [Wed, 21 Jul 2004 17:27:07 +0000 (17:27 +0000)]
merge from gcc

20 years ago2004-07-21 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 21 Jul 2004 16:17:56 +0000 (16:17 +0000)]
2004-07-21  Andrew Cagney  <cagney@gnu.org>

* PROBLEMS: Mention breakpoints/1702.
* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
that is known to work.

20 years agoCorrections for x86_64 assembly.
nickc [Wed, 21 Jul 2004 16:09:40 +0000 (16:09 +0000)]
Corrections for x86_64 assembly.

20 years agoUpdate BFD_VERSION_DATE to 20040721.
hjl [Wed, 21 Jul 2004 15:46:22 +0000 (15:46 +0000)]
Update BFD_VERSION_DATE to 20040721.

20 years agobfd/
hjl [Wed, 21 Jul 2004 15:42:56 +0000 (15:42 +0000)]
bfd/

2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* aout-adobe.c (aout_32_section_already_linked): Defined.
* aout-target.h (MY_section_already_linked): Likewise.
* aout-tic30.c (MY_section_already_linked): Likewise.
* binary.c (binary_section_already_linked): Likewise.
* bout.c (b_out_section_already_linked): Likewise.
* coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise.
* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
* coffcode.h (coff_section_already_linked): Likewise.
* i386msdos.c (msdos_section_already_linked): Likewise.
* i386os9k.c (os9k_section_already_linked): Likewise.
* ieee.c (ieee_section_already_linked): Likewise.
* ihex.c (ihex_section_already_linked): Likewise.
* mach-o.c (bfd_mach_o_section_already_linked): Likewise.
* mmo.c (mmo_section_already_linked): Likewise.
* nlm-target.h (nlm_section_already_linked): Likewise.
* oasys.c (oasys_section_already_linked): Likewise.
* pef.c (bfd_pef_section_already_linked): Likewise.
* ppcboot.c (ppcboot_section_already_linked): Likewise.
* som.c (som_bfd_discard_group): Likewise.
* srec.c (srec_section_already_linked): Likewise.
* tekhex.c (tekhex_section_already_linked): Likewise.
* versados.c (versados_section_already_linked): Likewise.
* vms.c (vms_section_already_linked): Likewise.
* coff-target.h (_bfd_xcoff_section_already_linked): Likewise.
* xsym.c (bfd_sym_section_already_linked): Likewise.

* bfd-in.h (bfd_section_already_linked_table_init): New.
(bfd_section_already_linked_table_free): Likewise.

* coff-rs6000.c (rs6000coff_vec): Add
_bfd_generic_section_already_linked.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

* elf-bfd.h (_bfd_elf_section_already_linked): New prototype.
* elflink.c (_bfd_elf_section_already_linked): New function.

* elfxx-target.h (bfd_elfNN_section_already_linked): Defined.

* libbfd-in.h (_bfd_nolink_section_already_linked): Defined.
(_bfd_generic_section_already_linked): New.
(bfd_section_already_linked_hash_entry): Likewise.
(bfd_section_already_linked): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.

* linker.c (bfd_section_already_linked): New.
(_bfd_section_already_linked_table): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
(already_linked_newfunc): Likewise.
(bfd_section_already_linked_table_init): Likewise.
(bfd_section_already_linked_table_free): Likewise.
(_bfd_generic_section_already_linked): Likewise.

* section.c (bfd_section): Remove comdat.
(bfd_comdat_info): Moved to ...
* bfd-in.h (coff_comdat_info): Here.
(bfd_coff_get_comdat_section): New.
* coffgen.c (bfd_coff_get_comdat_section): Likewise.
* libcoff-in.h (coff_section_tdata): Add comdat.
* coffcode.h (handle_COMDAT): Updated.
* cofflink.c (coff_link_add_symbols): Likewise.
* ecoff.c (bfd_debug_section): Likewise.

* targets.c (bfd_target): Add _section_already_linked.
(BFD_JUMP_TABLE_LINK): Updated.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libcoff.h: Likewise.

binutils/

2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
to access comdat.
* objdump.c (dump_section_header): Likewise.

ld/

2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (already_linked_hash_entry): Removed.
(already_linked): Likewise.
(already_linked_table): Likewise.
(section_already_linked): Call bfd_section_already_linked.
(lang_process): Replace already_linked_table_init with
bfd_section_already_linked_table_init and check return. Replace
already_linked_table_free with bfd_section_already_linked_table_free.

20 years ago(init_os): Make sure that the newly allocated userdata structure is zeroed out.
nickc [Wed, 21 Jul 2004 15:05:46 +0000 (15:05 +0000)]
(init_os): Make sure that the newly allocated userdata structure is zeroed out.

20 years ago2004-07-21 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 21 Jul 2004 14:23:33 +0000 (14:23 +0000)]
2004-07-21  Andrew Cagney  <cagney@gnu.org>

* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
* mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
* infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
(handle_inferior_event): Wrap call to deprecated
IGNORE_HELPER_CALL in #ifdef.
* config/mips/tm-nbsd.h: Update.

20 years ago * elflink.c (elf_get_linked_section_vma, compare_link_order,
pbrook [Wed, 21 Jul 2004 13:32:22 +0000 (13:32 +0000)]
* elflink.c (elf_get_linked_section_vma, compare_link_order,
elf_fixup_link_order): New functions.
(bfd_elf_final_link): Call elf_fixup_link_order.

20 years ago * include/_mingw.h: Undefine __attribute__.
dannysmith [Wed, 21 Jul 2004 10:59:53 +0000 (10:59 +0000)]
* include/_mingw.h: Undefine __attribute__.
(__MINGW_ATTR_NORETURN): New define.
(__MINGW_ATTR_CONST): New define.
(__MINGW_ATTR_MALLOC): New define.
(__MINGW_ATTR_PURE): New define.
(_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
expansions.

20 years ago* elf-bfd.h (ELF_COMMON_DEF_P): New.
aoliva [Wed, 21 Jul 2004 06:46:17 +0000 (06:46 +0000)]
* elf-bfd.h (ELF_COMMON_DEF_P): New.
* elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle
common definitions.
* elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of
_bfd_elf_symbol_refs_local_p.
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common
symbols.

20 years ago*** empty log message ***
gdbadmin [Wed, 21 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
chastain [Tue, 20 Jul 2004 23:11:20 +0000 (23:11 +0000)]
2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.

20 years ago* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
jimb [Tue, 20 Jul 2004 22:09:46 +0000 (22:09 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
bfd_mach_ppc has no segment registers.

20 years agoInclude PowerPC SPR numbers for special-purpose registers.
jimb [Tue, 20 Jul 2004 22:08:30 +0000 (22:08 +0000)]
Include PowerPC SPR numbers for special-purpose registers.
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.

20 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
jimb [Tue, 20 Jul 2004 22:05:58 +0000 (22:05 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
replace references with expression used to initialize variable.

20 years ago2004-07-20 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 20 Jul 2004 19:59:26 +0000 (19:59 +0000)]
2004-07-20  Andrew Cagney  <cagney@gnu.org>

* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
XFAILs.  Clean up test messages and comments.  Check backtraces.
Delete re-sync code.

20 years ago2004-07-20 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 20 Jul 2004 19:45:02 +0000 (19:45 +0000)]
2004-07-20  Andrew Cagney  <cagney@gnu.org>

* breakpoint.c (deprecated_read_memory_nobpt): Rename
read_memory_nobpt.
* sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
* s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
(s390_sigtramp_frame_sniffer): Update.
* mn10300-tdep.c (mn10300_analyze_prologue): Update.
* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips32_fetch_instruction): Update.
* mcore-tdep.c (get_insn): Update.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
* i386-linux-tdep.c (i386_linux_sigtramp_start)
(i386_linux_rt_sigtramp_start): Update.
* i386-linux-nat.c (child_resume): Update.
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
* hppa-linux-tdep.c (insns_match_pattern): Update.
* gdbcore.h: Update.
* frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
* frame.c (safe_frame_unwind_memory): Update.
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
* alpha-tdep.c (alpha_read_insn): Update.

20 years ago* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
macro [Tue, 20 Jul 2004 18:02:08 +0000 (18:02 +0000)]
* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
expects load delay slots.

20 years agoopcodes/
macro [Tue, 20 Jul 2004 17:58:59 +0000 (17:58 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2
move/branch operations to the bottom so that VR5400 multimedia
instructions take precedence in disassembly.
gas/testsuite/
* gas/mips/vr5400.d: Update for a correct disassembly of
"racm.ob".

20 years ago* config/tc-mips.c (append_insn): Handle constant expressions with
macro [Tue, 20 Jul 2004 17:54:58 +0000 (17:54 +0000)]
* config/tc-mips.c (append_insn): Handle constant expressions with
no associated relocation.
(mips_ip): Cancel the expression after use for the Q format
specifier.
(parse_relocation): Return no relocation for unsupported
operators.
(my_getSmallExpression): Return no relocation if no relocation
operators are used.

20 years agoopcodes/
macro [Tue, 20 Jul 2004 17:49:28 +0000 (17:49 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Remove the MIPS32
ISA-specific "break" encoding.
gas/testsuite/
* gas/mips/mips32.s: Adjust for the unified "break" syntax.  Add
another "break" case.  Update the comment accordingly.
* gas/mips/set-arch.s: Likewise.
* gas/mips/mips32.d: Adjust for the new output.
* gas/mips/set-arch.d: Likewise.

20 years ago2004-07-20 Dave Brolley <brolley@redhat.com>
brolley [Tue, 20 Jul 2004 17:10:48 +0000 (17:10 +0000)]
2004-07-20  Dave Brolley  <brolley@redhat.com>

        * cacheutil.cxx (find): Make sure cache line is valid before returning
        it.
        * cache.cxx (write_any): Move call to addr_to_tag to a later point when
        the result is actually needed. Make sure cache line is valid before
        flushing it.
        (read_any): Make sure cache line is valid before flushing it.

20 years ago * shm.cc: Whitespace fixes.
corinna [Tue, 20 Jul 2004 16:08:48 +0000 (16:08 +0000)]
* shm.cc: Whitespace fixes.

20 years ago * bsd_helper.cc: Whitespace fixes.
corinna [Tue, 20 Jul 2004 16:06:14 +0000 (16:06 +0000)]
* bsd_helper.cc: Whitespace fixes.
* bsd_mutex.cc: Ditto.

20 years agorevert erroneous checkin
cgf [Tue, 20 Jul 2004 16:01:39 +0000 (16:01 +0000)]
revert erroneous checkin

20 years ago* Makefile.in (clean): Remove cygwin.def since it is autogenerated.
cgf [Tue, 20 Jul 2004 15:52:31 +0000 (15:52 +0000)]
* Makefile.in (clean): Remove cygwin.def since it is autogenerated.

20 years ago2004-07-20 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 20 Jul 2004 15:11:36 +0000 (15:11 +0000)]
2004-07-20  Andrew Cagney  <cagney@gnu.org>

* tramp-frame.h (struct tramp_frame): Change "insn" to a struct
containing both bytes and mask.  Add "frame_type".
* tramp-frame.c (tramp_frame_start): Update.
(tramp_frame_prepend_unwinder): Update.
* mips-linux-tdep.c (mips_linux_o32_sigframe)
(mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
(mips_linux_n64_rt_sigframe): Update.  Make "static const".
* ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.

20 years ago2004-07-20 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 20 Jul 2004 15:11:26 +0000 (15:11 +0000)]
2004-07-20  Andrew Cagney  <cagney@gnu.org>

* tramp-frame.h (struct tramp_frame): Change "insn" to a struct
containing both bytes and mask.  Add "frame_type".
* tramp-frame.c (tramp_frame_start): Update.
(tramp_frame_prepend_unwinder): Update.
* mips-linux-tdep.c (mips_linux_o32_sigframe)
(mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
(mips_linux_n64_rt_sigframe): Update.  Make "static const".
* ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.

20 years ago * config/obj-som.c (adjust_stab_sections): Add prototype.
danglin [Tue, 20 Jul 2004 03:07:08 +0000 (03:07 +0000)]
* config/obj-som.c (adjust_stab_sections): Add prototype.
(obj_som_compiler, obj_som_version, obj_som_copyright,
adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
* config/tc-hppa.c (update_subspace):  Likewise.
(is_defined_subspace): Amplify comment.
* config/obj-som.h (som_frob_file): Add prototype.

20 years ago * server.c (main): Set ``server_quit_p'' when debugged process
kevinb [Tue, 20 Jul 2004 00:42:45 +0000 (00:42 +0000)]
* server.c (main): Set ``server_quit_p'' when debugged process
exits or terminates.

20 years agoArgh, I screwed up and committed a ChangeLog entry for a patch
chastain [Tue, 20 Jul 2004 00:26:35 +0000 (00:26 +0000)]
Argh, I screwed up and committed a ChangeLog entry for a patch
that is still in the comment period.  Sorry!

20 years ago2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
chastain [Tue, 20 Jul 2004 00:24:39 +0000 (00:24 +0000)]
2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>

Fix PR cli/740.
* gdb.base/annota1.exp: Honor gdb,nosignals.
* gdb.base/annota3.exp: Likewise.

20 years ago*** empty log message ***
gdbadmin [Tue, 20 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * include/time.h (__time64_t): Add missing ';'.
dannysmith [Mon, 19 Jul 2004 22:51:38 +0000 (22:51 +0000)]
* include/time.h (__time64_t): Add missing ';'.

20 years ago2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
chastain [Mon, 19 Jul 2004 21:33:52 +0000 (21:33 +0000)]
2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>

* lib/java.exp: Update copyright notice.

20 years ago2004-07-19 Martin Hunt <hunt@redhat.com>
hunt [Mon, 19 Jul 2004 19:21:51 +0000 (19:21 +0000)]
2004-07-19  Martin Hunt  <hunt@redhat.com>

* All: Updated load_lib calls to find new location
of insight-support.exp.

20 years ago2004-07-19 Christopher Faylor <cgf@timesys.com>
hjl [Mon, 19 Jul 2004 19:15:42 +0000 (19:15 +0000)]
2004-07-19  Christopher Faylor  <cgf@timesys.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* subsegs.c (section_symbol): Don't create a new segment when
existing segment is undefined.

20 years ago2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 19 Jul 2004 19:14:50 +0000 (19:14 +0000)]
2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention the new --add-needed/--no-add-needed and
--as-needed/--no-as-needed options.

20 years agoAdd remapping for bfd/elf32-cr*.c,
eliz [Mon, 19 Jul 2004 18:42:39 +0000 (18:42 +0000)]
Add remapping for bfd/elf32-cr*.c,
bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
sim/testsuite/sim/mips/hilo-hazard-[123].s, and
sim/testsuite/sim/mips/fpu64-ps-sb1.s.

20 years agobfd/
hjl [Mon, 19 Jul 2004 16:40:43 +0000 (16:40 +0000)]
bfd/

2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and
DYN_NO_NEEDED.
(bfd_elf_get_dyn_lib_class): New prototype.
* elf.c (bfd_elf_get_dyn_lib_class): New function.

* elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED,
DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED
entry is needed. Issue an error if a DT_NEEDED entry is needed
for a file marked DYN_NO_NEEDED.
(elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit
for DT_NEEDED tags.

* bfd-in2.h: Regenerated.

ld/

2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
check the add_needed field.
(dt_needed): New struct.
(gld${EMULATION_NAME}_try_needed): Change the first argument
to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
bit in the file where the DT_NEEDED entry comes from.
(gld${EMULATION_NAME}_search_needed): Change the second
argument to a pointer to struct dt_needed.
(gld${EMULATION_NAME}_check_ld_so_conf): Updated.
(gld${EMULATION_NAME}_after_open): Likewise.

* ld.texinfo: Add --add-needed document.
* ldlang.c (new_afile): Set p->add_needed.
* ldlang.h (lang_input_statement_type): Add add_needed field.
* ldmain.h (add_needed): Declare.
* ldmain.c (add_needed): New global var.
* lexsup.c (option_values): Add OPTION_ADD_NEEDED and
OPTION_NO_ADD_NEEDED.
(ld_options): Likewise.
(parse_args): Handle them.

20 years ago * transport.cc (transport_layer_base::~transport_layer_base): Remove.
corinna [Mon, 19 Jul 2004 14:04:51 +0000 (14:04 +0000)]
* transport.cc (transport_layer_base::~transport_layer_base): Remove.
* transport.h (transport_layer_base::~transport_layer_base): Ditto.

20 years ago2004-07-19 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 19 Jul 2004 13:58:20 +0000 (13:58 +0000)]
2004-07-19  Andrew Cagney  <cagney@gnu.org>

* gdb.base/selftest.exp: Copy file from here ...
* gdb.gdb/selftest.exp: ... to here.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::init): Fix non-ISO
corinna [Mon, 19 Jul 2004 13:13:46 +0000 (13:13 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::init): Fix non-ISO
expression.
* fhandler_floppy.cc (fhandler_dev_floppy::open): Remove unused
variable.
* fhandler_proc.cc (format_proc_meminfo): Fix compiler warning.

20 years ago * bsd_mutex.cc (win_priority): Actually calculate p from priority.
corinna [Mon, 19 Jul 2004 13:11:59 +0000 (13:11 +0000)]
* bsd_mutex.cc (win_priority): Actually calculate p from priority.

20 years ago*** empty log message ***
gdbadmin [Mon, 19 Jul 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoGRR, commit was lost.
cagney [Sun, 18 Jul 2004 22:29:39 +0000 (22:29 +0000)]
GRR, commit was lost.

20 years ago*** empty log message ***
gdbadmin [Sun, 18 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 14:46:37 +0000 (14:46 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* README: Update to 6.2.

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 14:41:59 +0000 (14:41 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* utils.c (xvasprintf): Call xstrvprintf.

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 14:27:55 +0000 (14:27 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* parse.c: Update copyright.
(null_post_parser): Eliminate ARGSUSED.

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 14:24:05 +0000 (14:24 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
* tui/tui-win.c (tui_get_cmd_list): Ditto.
* symfile-mem.c (_initialize_symfile_mem): Ditto.

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 14:15:29 +0000 (14:15 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
* ppc-linux-nat.c: Use "Linux kernel".
* hppa-linux-tdep.c: Use GNU/Linux.
* hppa-linux-nat.c: Use GNU/Linux.
* dwarfread.c: Add [sic] to use of Linux.

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 13:58:53 +0000 (13:58 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* hppa-linux-nat.c: Do not include <string.h>.
(supply_fpregset): Remove "register" attribute.

20 years ago2004-07-17 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 17 Jul 2004 13:53:47 +0000 (13:53 +0000)]
2004-07-17  Andrew Cagney  <cagney@gnu.org>

* solib-frv.c (fetch_loadmap): Use xfree, not free.

20 years ago(Edit): Fix markup of EDITOR and improve wording.
eliz [Sat, 17 Jul 2004 12:25:39 +0000 (12:25 +0000)]
(Edit): Fix markup of EDITOR and improve wording.
(Search, Expressions, Arrays, Variables, Data, Machine Code)
(Auto Display): Improve indexing.

20 years ago* configure.in: Define _MSE_INT_H on Solaris 9 too.
kettenis [Sat, 17 Jul 2004 11:24:20 +0000 (11:24 +0000)]
* configure.in: Define _MSE_INT_H on Solaris 9 too.
* configure, config.in: Regenerated.

20 years ago* vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
kettenis [Sat, 17 Jul 2004 11:03:39 +0000 (11:03 +0000)]
* vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
"bsd-kvm.h".
(vaxbsd_supply_pcb): New function.
(_initialize_vaxbsd_nat): New prototype and function.
* config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
solib-sunos.o.
(LOADLIBES): New variable.
* config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (vaxbsd-nat.o): Update dependencies.

20 years ago * include/math.h: Guard ISO C99 additions with __cplusplus
dannysmith [Sat, 17 Jul 2004 05:15:25 +0000 (05:15 +0000)]
* include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.

20 years ago* Makefile.in (CC): Strip inappropriate include file settings from any
cgf [Sat, 17 Jul 2004 04:31:14 +0000 (04:31 +0000)]
* Makefile.in (CC): Strip inappropriate include file settings from any
passed-in CC.

20 years agoIndex: ChangeLog
cagney [Sat, 17 Jul 2004 03:25:09 +0000 (03:25 +0000)]
Index: ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>

* defs.h (event_loop_p): Replace variable declaration with macro,
always 1.
* main.c (captured_main): Delete options "-async" and "-noasync".
(event_loop_p): Delete variable.
* NEWS: Mention that "-async" and "-noasync" were removed.

Index: doc/ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>

* gdb.texinfo (Mode Options): Delete documentation on "-async" and
"-noasync".