OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
drow [Fri, 5 Apr 2002 02:45:47 +0000 (02:45 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/relocate.exp: New file.
        * gdb.base/relocate.c: New file.

22 years ago2002-04-04 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 5 Apr 2002 02:35:25 +0000 (02:35 +0000)]
2002-04-04  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c: Add support for hardware breakpoints in overlays.
(overlay_events_enabled): New state variable.
(insert_breakpoints): Use overlay_events_enabled to decide
whether to attempt to set a breakpoint at the overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(remove_breakpoint): Use overlay_events_enabled to decide
whether breakpoints need to be removed from overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
(create_overlay_event_breakpoint, enable_overlay_breakpoints,
disable_overlay_breakpoints): Update overlay_events_enabled.

22 years ago * library/download.itb (constructor): Set feedback meter
kseitz [Fri, 5 Apr 2002 02:16:20 +0000 (02:16 +0000)]
    * library/download.itb (constructor): Set feedback meter
        to "0.0".
        Remove "steps" array.
        (update_download): Use fractional completions for feedback.
        (done): Ditto.
        * library/download.ith (protected variable steps): Remove.

22 years ago 2002-04-04 Fred Fish <fnf@redhat.com>
fnf [Fri, 5 Apr 2002 00:30:09 +0000 (00:30 +0000)]
2002-04-04  Fred Fish  <fnf@redhat.com>
* gdb.base/step-test.exp: Update comment regarding stopping in
memcpy/bcopy calls inserted as part of the compiler runtime.

22 years agodaily update
amodra [Fri, 5 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 5 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Apr 2002 22:41:10 +0000 (22:41 +0000)]
2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add support for installing crt1.o if one exists.
        * configure.host: Specify crt1.o for linux.
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
        * Makefile.in: Regenerated.
        * configure: Ditto.
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
        Added for non-Cygwin, non-RTEMS configurations.
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
        by gcc.  This fixes problem with reconfiguring linux newlib build.
        * libc/sys/linux/sysconf.c: New file.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 4 Apr 2002 22:26:42 +0000 (22:26 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2read.c (struct function_range): New.
        (cu_first_fn, cu_last_fn, cu_cached_fn): New.
        (check_cu_functions): New.
        (read_file_scope): Initialize global function lists.
        Call dwarf_decode_line after processing children.
        (read_func_scope): Add to global function list.
        (dwarf_decode_lines): Call check_cu_functions everywhere
        record_line is called.  Call record_line with a linenumber
        of 0 to mark sequence ends.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 4 Apr 2002 20:38:23 +0000 (20:38 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * generic/gdbtk-cmds.c (gdb_disassemble_driver): Skip
        end-of-function markers in the line table.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 4 Apr 2002 20:23:36 +0000 (20:23 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
        markers in the line table.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 4 Apr 2002 19:53:34 +0000 (19:53 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define.
* aout-target.h (MY_bfd_link_hash_table_free): Conditionally
define.
* aout-tic30.c (MY_bfd_link_hash_table_free): Likewise.
* bfd.c (bfd_link_hash_table_free): Define.
* binary.c (binary_bfd_link_hash_table_free): Define.
* bout.c (b_out_bfd_link_hash_table_free): Define.
* coff-rs6000.c (rs6000coff_vec): Include
_bfd_generic_link_hash_table_free.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_link_hash_table_free): Conditionally define.
* elf-m10300.c (elf32_mn10300_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-hppa.c (elf32_hppa_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally
define.
* i386msdos.c (msdos_bfd_link_hash_table_free): Define.
* i386os9k.c (os9k_bfd_link_hash_table_free): Define.
* ieee.c (ieee_bfd_link_hash_table_free): Define.
* ihex.c (ihex_bfd_link_hash_table_free): Define.
* libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define.
(_bfd_generic_link_hash_table_free): Add prototype.
* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype.
* libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define.
* linker.c (_bfd_generic_link_hash_table_free): New function.
* mmo.c (mmo_bfd_link_hash_table_free): Define.
* nlm-target.h (nlm_bfd_link_hash_table_free): Define.
* oasys.c (oasys_bfd_link_hash_table_free): Define.
* ppcboot.c (ppcboot_bfd_link_hash_table_free): Define.
* som.c (som_bfd_link_hash_table_free): Define.
* srec.c (srec_bfd_link_hash_table_free): Define.
* tekhex.c (tekhex_bfd_link_hash_table_free): Define.
* versados.c (versados_bfd_link_hash_table_free): Define.
* vms.c (vms_bfd_link_hash_table_free): New function.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function.

* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc
instead of bfd_alloc.
* coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
* coff-mcore.c (coff_mcore_link_hash_table_create): Likewise.
* coff-ppc.c (ppc_coff_link_hash_table_create): Likewise.
* cofflink.c (_bfd_coff_link_hash_table_create): Likewise.
* ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise.
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
* elf.c (_bfd_elf_link_hash_table_create): Likewise.
* elf32-arm.h (elf32_arm_link_hash_table_create): Likewise.
* elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
* elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
* elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
* elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
* elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf32-sh.c (sh_elf_link_hash_table_create): Likewise.
* elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise.
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise.
* elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
* elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise.
* elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* linker.c (_bfd_generic_link_hash_table_create): Likewise.
* m68klinux.c (linux_link_hash_table_create): Likewise.
* sparclinux.c (linux_link_hash_table_create): Likewise.
* sunos.c (sunos_link_hash_table_create): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.

* targets.c: Add _bfd_link_hash_table_free to xvec.

* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.

22 years ago2002-04-04 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 4 Apr 2002 19:48:08 +0000 (19:48 +0000)]
2002-04-04  Michael Snyder  <msnyder@redhat.com>

* gdb.base/ovlymgr.c: Add overlay event breakpoint support.

22 years ago * dep-in.sed: Cope with absolute paths.
amodra [Thu, 4 Apr 2002 14:07:55 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
amodra [Thu, 4 Apr 2002 14:07:21 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
amodra [Thu, 4 Apr 2002 14:06:48 +0000 (14:06 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
amodra [Thu, 4 Apr 2002 14:06:19 +0000 (14:06 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
amodra [Thu, 4 Apr 2002 14:05:43 +0000 (14:05 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* ppc-opc.c: Whitespace.
* s390-dis.c: Fix copyright date.

22 years ago * dep-in.sed: Cope with absolute paths.
amodra [Thu, 4 Apr 2002 14:04:37 +0000 (14:04 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* coff-arm.c: Fix copyright date.
* cpu-h8300.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-s390.c: Likewise.
* cpu-mips.c: Likewise.
* po/SRC-POTFILES.in: Regenerate.

22 years ago* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change sync
mludvig [Thu, 4 Apr 2002 13:18:56 +0000 (13:18 +0000)]
* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change sync

22 years ago * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
dannysmith [Thu, 4 Apr 2002 08:54:48 +0000 (08:54 +0000)]
* include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
TLOSS, PLOSS): Move oldname defines back, following
the underscored names.

22 years agoOpen out one-line if-then-else test clauses so that other clauses can be
nickc [Thu, 4 Apr 2002 08:23:29 +0000 (08:23 +0000)]
Open out one-line if-then-else test clauses so that other clauses can be
inserted in the future.

22 years ago * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
ths [Thu, 4 Apr 2002 07:43:10 +0000 (07:43 +0000)]
* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
(mips_ip): Remove unused variable.
(md_apply_fix3): Cast signed/unsignes mismatches. Replace
unsigned char with bfd_byte.
(s_file): Remove unused variable.
(s_mips_ent): Likewise.

22 years ago * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
ths [Thu, 4 Apr 2002 07:21:38 +0000 (07:21 +0000)]
* emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.

22 years agoActually commit the new files ommitted before.
ths [Thu, 4 Apr 2002 07:09:59 +0000 (07:09 +0000)]
Actually commit the new files ommitted before.

22 years ago * Makefile.am: Add elfxx-mips.c to the known backends.
ths [Thu, 4 Apr 2002 07:01:11 +0000 (07:01 +0000)]
* Makefile.am: Add elfxx-mips.c to the known backends.
(elf32-mips.lo): remove dependency to coff/external.h.
* Makefile.in: Regenerate.
* configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo
Remove elf32-mips.lo from 64 bit vectors. Update dependencies
accordingly.
* configure: Regenerate.
* elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h.
(irix_compat_t): IRIX compatibility level, moved from elf32-mips.c.
(elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New
MIPS specific backend functions.
* elf32-mips.c: Moved most code to elfxx-mips.c.
(mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make
static.
(mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc.
(mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc.
(mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc.
(mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed
interface to allow selection of the right REL or RELA howto table.
(mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made
static. Let it refuse n32 objects.
(elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus.
(elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo.
(elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info.
(elf32_mips_ignore_discarded_relocs): Rename from
_bfd_elf32_mips_ignore_discarded_relocs.
(elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section.
(elf32_mips_irix_compat): New function, replaces IRIX_COMPAT.
(elf_mips_howto_table_rela): Remove.
* elf64-mips.c: Moved most code to elfxx-mips.c.
(bfd_elf64_bfd_reloc_type_lookup): Make static.
(mips_elf64_rtype_to_howto): New function.
(mips_elf64_object_p): Likewise.
(elf64_mips_irix_compat): Likewise.
* elfxx-mips.c: New file containing common code merged together from
elf32-mips.c and elf64-mips.c.
* elfxx-mips.h: New file containing MIPS specific prototypes from
elf-bfd.h.
* elfxx-target.h: Add handling for elf_backend_mips_irix_compat and
elf_backend_mips_rtype_to_howto.

22 years agonew description for old api.
cgf [Thu, 4 Apr 2002 05:28:49 +0000 (05:28 +0000)]
new description for old api.

22 years ago * srec.c (MAXCHUNK, Chunk): Revise comments.
amodra [Thu, 4 Apr 2002 03:05:50 +0000 (03:05 +0000)]
* srec.c (MAXCHUNK, Chunk): Revise comments.
(srec_write_record): Correct buffer size.
(srec_write_header): Do without intermediate buffer.
(srec_write_section): Validate Chunk.
(srec_write_terminator): Pass NULL instead of dummy buffer.
(srec_write_symbols): Pass file and symbol names directly to
bfd_bwrite so sprintf won't overflow buffer.

22 years ago* configure.in: Call AC_C_INLINE.
jimb [Thu, 4 Apr 2002 00:12:40 +0000 (00:12 +0000)]
* configure.in: Call AC_C_INLINE.
* configure: Regenerated.

22 years agodaily update
amodra [Thu, 4 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 4 Apr 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 3 Apr 2002 22:46:11 +0000 (22:46 +0000)]
2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>

* configure.host: Add support for machine subdirectory of
sys subdirectory.
* configure.in: Add check for sys machine subdirectory.
* Makefile.am: Ditto.
* configure: Regenerated.
* Makefile.in: Ditto.
* libc/sys/linux/crt0.c: Moved to machine/i386 directory.
* libc/sys/linux/sys/syscall.h: Ditto.
* libc/sys/linux/sleep.c: New file.
* libc/sys/linux/socket.c: Ditto.
* libc/sys/linux/sockops.h: Ditto.
* libc/sys/linux/stack.c: Ditto.
* libc/sys/linux/usleep.c: Ditto.
* libc/sys/linux/machine/Makefile.am: Ditto.
* libc/sys/linux/machine/Makefile.in: Ditto.
* libc/sys/linux/machine/aclocal.m4: Ditto.
* libc/sys/linux/machine/configure: Ditto.
* libc/sys/linux/machine/configure.in: Ditto.
* libc/sys/linux/machine/i386/Makefile.am: Ditto.
* libc/sys/linux/machine/i386/Makefile.in: Ditto.
* libc/sys/linux/machine/i386/aclocal.m4: Ditto.
* libc/sys/linux/machine/i386/configure: Ditto.
* libc/sys/linux/machine/i386/configure.in: Ditto.
* libc/sys/linux/machine/i386/crt0.c: Ditto.
* libc/sys/linux/machine/i386/sigset.c: Ditto.
* libc/sys/linux/machine/i386/sigstack.h: Ditto.
* libc/sys/linux/machine/i386/socketcall.h: Ditto.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/select.h: Ditto.
* libc/sys/linux/configure.in: Add support for machine directory.
* libc/sys/linux/Makefile.am: Ditto plus add new files above.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
* libc/sys/linux/inode.c: Ditto.
* libc/sys/linux/linux.c: Ditto.
* libc/sys/linux/process.c: Ditto.
* libc/sys/linux/systat.c: Ditto.
* libc/sys/linux/time.c: Ditto.
* libc/sys/linux/wait.c: Ditto.
* libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
* libc/sys/linux/io.c: Change header plus add readv/writev.
* libc/sys/linux/signal.c: Change header plus change sigsuspend to
use __sigsuspend syscall.
* libc/sys/linux/select.c: Change header plus change select to
use _newselect syscall.
* libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
used by glibc header files.
* libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
types.

22 years agoVarious fixes and improvements for d10v.
trix [Wed, 3 Apr 2002 19:44:05 +0000 (19:44 +0000)]
Various fixes and improvements for d10v.

22 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
jakub [Wed, 3 Apr 2002 17:42:38 +0000 (17:42 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
PC relative relocs against hidden symbols.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

22 years ago2002-04-03 Daniel Jacobowitz <drow@mvista.com>
drow [Wed, 3 Apr 2002 16:17:10 +0000 (16:17 +0000)]
2002-04-03  Daniel Jacobowitz  <drow@mvista.com>

        * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
        (gdb_expect): Remove $notransfer hack.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): When setting section
amodra [Wed, 3 Apr 2002 13:26:32 +0000 (13:26 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): When setting section
LMAs, loop over segments until p_vaddr and p_memsz specify an
extent enclosing the section.

22 years ago * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
jakub [Wed, 3 Apr 2002 10:25:40 +0000 (10:25 +0000)]
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
is smaller than maximum, round dot up to common page boundary.

22 years ago * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
amodra [Wed, 3 Apr 2002 04:10:28 +0000 (04:10 +0000)]
* symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
O_logical_not>): Derive final_seg from add_symbol.
<O_multiply..O_logical_or>: More final_seg twiddles.

22 years ago2002-04-02 Daniel Jacobowitz <drow@mvista.com>
drow [Wed, 3 Apr 2002 01:35:22 +0000 (01:35 +0000)]
2002-04-02  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.c++/classes.exp ("calling method for small class"): Match
        updated register output.

22 years ago*** empty log message ***
gdbadmin [Wed, 3 Apr 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 3 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-02 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 2 Apr 2002 20:23:28 +0000 (20:23 +0000)]
2002-04-02  Daniel Jacobowitz  <drow@mvista.com>

        From Nathanael Nerode <neroden@doctormoo.dyndns.org>:
        * utils/spu/configure.in: Autoconfiscated.
        * utils/spu/Makefile.in: Autoconfiscated.
        * utils/spu/configure: New generated file.

22 years agoDo not allow records to cross a 64K boundary - wrap if necessary.
nickc [Tue, 2 Apr 2002 14:08:49 +0000 (14:08 +0000)]
Do not allow records to cross a 64K boundary - wrap if necessary.

22 years ago * include/objidl.h (IRunningObjectTable.Register): Correct
dannysmith [Tue, 2 Apr 2002 09:00:07 +0000 (09:00 +0000)]
* include/objidl.h (IRunningObjectTable.Register): Correct
prototype.
* include/wtypes.h (ROTFLAGS_REGISTRATIONKEEPSALIVE,
ROTFLAGS_ALLOWANYCLIENT): Add defines.
* include/wtypes.h (enum tagCLSCTX): Change formatting.

22 years ago * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
rth [Tue, 2 Apr 2002 00:32:39 +0000 (00:32 +0000)]
    * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
        in 32-bit mode.

22 years agodaily update
amodra [Tue, 2 Apr 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 2 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 1 Apr 2002 23:06:17 +0000 (23:06 +0000)]
2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
        initializing a struct _reent that has been dynamically allocated.
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
        _REENT_SMALL and does nothing otherwise.
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
        [_REENT_SMALL](struct _misc_reent): New structure containing
        miscellaneous reentrant areas needed by newlib.
        [_REENT_SMALL](struct _reent): Add _misc pointer.
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
        and _REENT_STRTOK_LAST macros.
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
        and _REENT_MBLEN_STATE macros.
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
        and _REENT_MBTOWC_STATE macros.
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
        and _REENT_WCTOMB_STATE macros.

22 years ago * iwidgets3.0.0/generic/feedback.itk: Import version 1.5.
kseitz [Mon, 1 Apr 2002 22:36:15 +0000 (22:36 +0000)]
    * iwidgets3.0.0/generic/feedback.itk: Import version 1.5.
        (iwidgets::Feedback): Define new option, "-fraction".
        (fraction): New configbody.
        (step): Cap the step increment at the total number of
        requested steps.

22 years ago2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
jjohnstn [Mon, 1 Apr 2002 22:29:40 +0000 (22:29 +0000)]
2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>

        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.

22 years ago * generic/gdbtk-cmds.c (gdb_load_disassembly): Use string_to_core_addr
kseitz [Mon, 1 Apr 2002 22:29:21 +0000 (22:29 +0000)]
    * generic/gdbtk-cmds.c (gdb_load_disassembly): Use string_to_core_addr
        instead of parse_and_eval_address.
        Use xfree instead of free.

22 years agomerge from gcc
dj [Mon, 1 Apr 2002 22:01:20 +0000 (22:01 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Mon, 1 Apr 2002 22:01:09 +0000 (22:01 +0000)]
merge from gcc

22 years ago2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
thorpej [Mon, 1 Apr 2002 18:31:45 +0000 (18:31 +0000)]
2002-04-01  Nathan Williams  <nathanw@wasabisystems.com>

* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro
which caused the returned LWP ID to always be 0.

22 years ago * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
rth [Mon, 1 Apr 2002 10:00:47 +0000 (10:00 +0000)]
    * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
        (elf32_sparc_relocate_section): Use it to figure out when to
        initialize .got entries.
        * elf64-sparc.c: Similarly.

22 years ago2002-04-01 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 1 Apr 2002 05:58:45 +0000 (05:58 +0000)]
2002-04-01  Daniel Jacobowitz  <drow@mvista.com>

        * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
        and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".

22 years ago*** empty log message ***
gdbadmin [Mon, 1 Apr 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 1 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * include/shellapi.h (SHGFI_ATTR_SPECIFIED): Add define.
dannysmith [Sun, 31 Mar 2002 20:45:37 +0000 (20:45 +0000)]
* include/shellapi.h (SHGFI_ATTR_SPECIFIED): Add define.

22 years ago* NEWS: Mention gcore support on FreeBSD/i386.
kettenis [Sun, 31 Mar 2002 17:52:59 +0000 (17:52 +0000)]
* NEWS: Mention gcore support on FreeBSD/i386.

22 years ago* fbsd-proc.c: New file.
kettenis [Sun, 31 Mar 2002 17:47:15 +0000 (17:47 +0000)]
* fbsd-proc.c: New file.
* config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
* config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.

22 years ago* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
kettenis [Sun, 31 Mar 2002 15:10:38 +0000 (15:10 +0000)]
* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
while statement.

22 years agodaily update
amodra [Sun, 31 Mar 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 31 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-03-30 Daniel Jacobowitz <drow@mvista.com>
drow [Sat, 30 Mar 2002 23:47:17 +0000 (23:47 +0000)]
2002-03-30  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/452
        * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
        when finished.  Make gdb_file_cmd send "exec-file" when
        appropriate.

22 years ago2002-03-30 Daniel Jacobowitz <drow@mvista.com>
drow [Sat, 30 Mar 2002 18:54:37 +0000 (18:54 +0000)]
2002-03-30  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/attach.exp: Remove extra setup_xfail.

22 years agomerge from gcc
dj [Sat, 30 Mar 2002 06:17:57 +0000 (06:17 +0000)]
merge from gcc

22 years ago * include/stdio.h (_snwprintf): Correct spelling.
dannysmith [Sat, 30 Mar 2002 01:38:27 +0000 (01:38 +0000)]
* include/stdio.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.
* include/wchar.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.

22 years ago * include/wingdi.h (SetPixelFormat): Correct prototype.
dannysmith [Sat, 30 Mar 2002 01:03:22 +0000 (01:03 +0000)]
* include/wingdi.h (SetPixelFormat): Correct prototype.
* include/richedit.h (EM_SHOWSCROLLBAR): Add define.

22 years ago*** empty log message ***
gdbadmin [Sat, 30 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
jimb [Fri, 29 Mar 2002 23:34:41 +0000 (23:34 +0000)]
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't.  So
escape them.

22 years agodaily update
amodra [Fri, 29 Mar 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 29 Mar 2002 01:32:19 +0000 (01:32 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>
            Andrew Cagney <cagney@redhat.com>

* cli/cli-dump.c: New file.  Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.
        * NEWS: Mention new commands.

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 29 Mar 2002 01:22:41 +0000 (01:22 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>
    Andrew Cagney <cagney@redhat.com>

* cli/cli-dump.c: New file.  Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.

22 years ago2002-03-27 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 29 Mar 2002 01:19:37 +0000 (01:19 +0000)]
2002-03-27  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo: Document new commands dump, append, and restore.

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 29 Mar 2002 01:19:11 +0000 (01:19 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>

* gdb.base/default.exp: Add tests for dump, append, and restore.
* gdb.base/help.exp: Add tests for dump, append, and restore.
* gdb.base/dump.exp: New file, test dump, append and restore.
* gdb.base/dump.c: New file.

22 years ago2002-03-28 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 29 Mar 2002 01:09:26 +0000 (01:09 +0000)]
2002-03-28  Michael Snyder  <msnyder@redhat.com>

* symfile.c (symbol_file_add): Move test for null symbols to later.

22 years ago*** empty log message ***
gdbadmin [Fri, 29 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Thu, 28 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* times.cc (gettimeofday): Fix typo in previous patch.
cgf [Thu, 28 Mar 2002 05:20:53 +0000 (05:20 +0000)]
* times.cc (gettimeofday): Fix typo in previous patch.

22 years ago* times.cc (gettimeofday): Revert to setting timezone info if tz != NULL.
cgf [Thu, 28 Mar 2002 04:56:06 +0000 (04:56 +0000)]
* times.cc (gettimeofday): Revert to setting timezone info if tz != NULL.

22 years ago* libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
cgf [Thu, 28 Mar 2002 04:26:47 +0000 (04:26 +0000)]
* libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.

22 years agomerge from gcc
dj [Thu, 28 Mar 2002 04:06:37 +0000 (04:06 +0000)]
merge from gcc

22 years agoFrom veksler at il.ibm.com:
cagney [Thu, 28 Mar 2002 03:43:36 +0000 (03:43 +0000)]
From veksler at il.ibm.com:
* utils.c (gdb_realpath): If canonicalize_file_name fails, return
the xstrduped original path.
Fix PR gdb/417.

22 years ago * linker.c (link_action): Ignore duplicate warning syms.
amodra [Thu, 28 Mar 2002 03:27:40 +0000 (03:27 +0000)]
* linker.c (link_action): Ignore duplicate warning syms.
(_bfd_generic_link_write_global_symbol): Follow warning symbol link.
* elflink.h (elf_adjust_dynstr_offsets): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_export_symbol): Likewise.
(elf_link_find_version_dependencies): Likewise.
(elf_link_assign_sym_version): Likewise.
(elf_link_sec_merge_syms): Likewise.
(elf_link_output_extsym): Likewise.
(elf_gc_sweep_symbol): Likewise.
(elf_gc_propagate_vtable_entries_used): Likewise.
(elf_gc_smash_unused_vtentry_relocs): Likewise.
(elf_gc_allocate_got_offsets): Likewise.
(elf_collect_hash_codes): Likewise.
* elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise.
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise.
* elf32-arm.h (elf32_arm_discard_copies): Likewise.
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise.
(elf_cris_discard_excess_dso_dynamics): Likewise.
* elf32-hppa.c (clobber_millicode_symbols): Likewise.
(mark_PIC_calls): Likewise.
(allocate_plt_static): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i386.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i370.c (i370_elf_adjust_dynindx): Likewise.
* elf32-m68k.c (elf_m68k_discard_copies): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_sort_hash_table_f): Likewise.
(mips_elf_check_mips16_stubs): Likewise.
* elf32-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-sh.c (sh_elf_discard_copies): Likewise.
* elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise.
(xstormy16_relax_plt_realloc): Likewise.
* elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise.
(elf64_alpha_output_extsym): Likewise.
* elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise.
(mips_elf64_check_mips16_stubs): Likewise.
(mips_elf64_output_extsym): Likewise.
* elf64-ppc.c (func_desc_adjust): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-sh64.c (sh64_elf64_discard_copies): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise.
* aoutx.h (aout_link_write_other_symbol): Likewise.
* cofflink.c (_bfd_coff_write_task_globals): Likewise.
(_bfd_coff_write_global_sym): Likewise.
* i386linux.c (linux_tally_symbols): Likewise.
* m68klinux.c (linux_tally_symbols): Likewise.
* sparclinux.c (linux_tally_symbols): Likewise.
* pdp11.c (aout_link_write_other_symbol): Likewise.
* sunos.c (sunos_scan_dynamic_symbol): Likewise.
* xcofflink.c (xcoff_build_ldsyms): Likewise.
(xcoff_write_global_symbol): Likewise.

* cofflink.c (_bfd_coff_final_link): Formatting.
* cpu-mips.c (mips_compatible): Make static, prototype.
* elf32-i386.c (elf_i386_check_relocs): Formatting.
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_output_extsym): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table): Likewise.
(mips_elf64_final_link): Likewise.
* elflink.h (elf_link_find_version_dependencies): Remove duplicate
prototype.

22 years ago2002-03-27 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 28 Mar 2002 01:36:22 +0000 (01:36 +0000)]
2002-03-27  Michael Snyder  <msnyder@redhat.com>

* gdb.base/help.exp: Modify expect strings to reflect
clean-ups in help messages.

22 years ago2002-03-27 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 28 Mar 2002 01:35:55 +0000 (01:35 +0000)]
2002-03-27  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (_initialize_breakpoint): Clean up help string.
* infcmd.c (_initialize_infcmd): Ditto.
* language.c (_initialize_language): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* top.c (_init_main): Ditto.
* cli/cli-cmds.c (init_cli_cmds): Ditto.

22 years ago2002-03-27 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 28 Mar 2002 00:48:40 +0000 (00:48 +0000)]
2002-03-27  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
vector registers handling.
(skip_prologue): Handle new AltiVec instructions.  Fill in new
fields of frame data.
(frame_get_saved_regs): Fill in information for AltiVec registers.

22 years ago*** empty log message ***
gdbadmin [Thu, 28 Mar 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
jimb [Wed, 27 Mar 2002 23:10:23 +0000 (23:10 +0000)]
* symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
a function; leave this macro here to invoke that function.
(symbol_init_mangled_name): Declaration for that function.
* symtab.c (symbol_init_mangled_name): New function.

22 years agodaily update
amodra [Wed, 27 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years agos/strerror/safe_strerror/
cagney [Wed, 27 Mar 2002 21:35:34 +0000 (21:35 +0000)]
s/strerror/safe_strerror/

22 years ago * event-top.c (command_line_handler): Remove useless if.
schwab [Wed, 27 Mar 2002 21:20:12 +0000 (21:20 +0000)]
* event-top.c (command_line_handler): Remove useless if.

22 years ago* gdbint.texinfo (Releasing GDB): Revise the section `Before the
cagney [Wed, 27 Mar 2002 21:16:33 +0000 (21:16 +0000)]
* gdbint.texinfo (Releasing GDB): Revise the section `Before the
Branch'.

22 years agomerge from gcc
dj [Wed, 27 Mar 2002 19:17:34 +0000 (19:17 +0000)]
merge from gcc

22 years ago * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
schwab [Wed, 27 Mar 2002 16:22:02 +0000 (16:22 +0000)]
* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
field for pc-relative fixups.
(output_disp): Likewise.
(md_estimate_size_before_relax): Likewise.
(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
pc-relative fixups in 64bit mode.

22 years ago * MAINTAINERS: Update my email address.
petert [Wed, 27 Mar 2002 16:04:12 +0000 (16:04 +0000)]
* MAINTAINERS: Update my email address.

22 years ago * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
aj [Wed, 27 Mar 2002 14:32:08 +0000 (14:32 +0000)]
* dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
comment.

22 years ago * configure.host: Set up for generic hosts first, then tweak as
amodra [Wed, 27 Mar 2002 14:07:48 +0000 (14:07 +0000)]
* configure.host: Set up for generic hosts first, then tweak as
necessary in more specific targets.
(HOSTING_LIBS): Include libgcc_eh.a if found.

22 years agoCopy the r_offset field into and out of the internal reloc strcuture.
nickc [Wed, 27 Mar 2002 11:28:17 +0000 (11:28 +0000)]
Copy the r_offset field into and out of the internal reloc strcuture.

22 years ago * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
mludvig [Wed, 27 Mar 2002 10:21:24 +0000 (10:21 +0000)]
* x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
(x86_64_num_regs, x86_64_num_gregs): Added extern variables.
* x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
(x86_64_linux_dr_get_status, supply_gregset),
(fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
* x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
(x86_64_register_info_table): Add.
(X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
(x86_64_register_raw_size, x86_64_register_virtual_type),
(x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
general x86_64_register_info_table.
(i386_gdbarch_init): gdbarch_register_bytes is now set
dynamicaly during initialization.
* regformats/reg-x86-64.dat: Synced with changes to registers above.
* gdbserver/linux-x86-64-low.c: Ditto.