OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago* i386-tdep.c (i386_gdbarch_init): Use
cagney [Tue, 13 Aug 2002 19:14:08 +0000 (19:14 +0000)]
* i386-tdep.c (i386_gdbarch_init): Use
generic_unwind_get_saved_register.

21 years ago * m68hc11-opc.c: Update call operand to accept the page definition.
ciceron [Tue, 13 Aug 2002 19:09:00 +0000 (19:09 +0000)]
* m68hc11-opc.c: Update call operand to accept the page definition.
Identify instructions that are branches and calls to generate a
RL_JUMP relocation.

21 years ago * m68hc11-dis.c (print_insn): Take into account 68HC12 memory
ciceron [Tue, 13 Aug 2002 19:01:25 +0000 (19:01 +0000)]
* m68hc11-dis.c (print_insn): Take into account 68HC12 memory
banks and fix disassembling of call instruction.
(print_indexed_operand): New param to tell whether
it was an indirect addressing operand (for disassembling call).

21 years ago * m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
ciceron [Tue, 13 Aug 2002 19:00:40 +0000 (19:00 +0000)]
* m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
(M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE,
M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12
memory banks.
(M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value.

21 years ago * procfs.c (procfs_can_use_hw_breakpoint): New function.
kevinb [Tue, 13 Aug 2002 18:03:37 +0000 (18:03 +0000)]
* procfs.c (procfs_can_use_hw_breakpoint): New function.
(init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs
target vector.
* config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Delete.  Add comment regarding this now-deleted target method.

21 years ago * m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
ciceron [Tue, 13 Aug 2002 17:24:49 +0000 (17:24 +0000)]
* m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
(M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg).
(m68hc11_pseudo_register_read): Compute the 68HC12 PC using the
real PC and the page number (if it's within the memory bank window).
(m68hc11_pseudo_register_write): Likewise when saving.
(m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc.
(m68hc11_register_virtual_type): Return uint32 for virtual pc.
(m68hc11_register_raw_size): And use 32-bit for it.
(m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the
16K memory bank is used by the prog; also use the virtual pc.

21 years ago * m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
ciceron [Tue, 13 Aug 2002 16:40:46 +0000 (16:40 +0000)]
* m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
(m68hc11_gdbarch_init): Install it in gdbarch.
(MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags.
(MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags.
(MSYMBOL_SIZE): New for documentation.
(insn_return_kind): Enum to specify how a function returns.
(frame_extra_info): Cleanup and record the return mode.
(gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page
register in address computation.
(m68hc11_get_return_insn): New to obtain the return instruction used
by the function.
(m68hc11_frame_init_saved_regs): Take into account the return
instruction used by the function for far and interrupt functions.
(m68hc11_init_extra_frame_info): Take into account page register.
(m68hc11_frame_args_address): Adjust according to the return mode.
(show_regs): Print page register only when it's used.

21 years ago * m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
ciceron [Tue, 13 Aug 2002 16:19:22 +0000 (16:19 +0000)]
* m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
(M68HC11_LAST_HARD_REG, m68hc11_register_names): Update.
(m68hc11_register_virtual_type): Return a 8-bit type for 8-bit
registers.
(m68hc11_register_raw_size): Likewise.

21 years ago* regtool.cc (find_key): Add support for custom key separator.
cgf [Tue, 13 Aug 2002 15:37:32 +0000 (15:37 +0000)]
* regtool.cc (find_key): Add support for custom key separator.
(usage): Document it.

21 years ago2002-08-13 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 13 Aug 2002 14:32:28 +0000 (14:32 +0000)]
2002-08-13  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c (i386_register_name): Handle mmx registers.
(mmx_regnum_p): New function.
(i386_mmx_names): New array.
(mmx_num_regs): New variable.
(i386_pseudo_register_read): New function.
(i386_pseudo_register_write): New function.
(mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser.

* regcache.c (regcache_raw_read_unsigned): New function.
(regcache_raw_read_signed): New function.
* regcache.h (regcache_raw_read_unsigned): Declare.
(regcache_raw_read_signed): Declare.

21 years ago2002-08-12 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 13 Aug 2002 13:58:49 +0000 (13:58 +0000)]
2002-08-12  Andrew Cagney  <cagney@redhat.com>
* regcache.c (regcache_raw_read_as_address): Delete function.
(regcache_cooked_read_signed): New function.
(regcache_cooked_read_unsigned): New function.
* regcache.h (regcache_cooked_read_signed): Declare.
(regcache_cooked_read_unsigned): Declare.
(regcache_raw_read_as_address): Delete declaration.
* blockframe.c (generic_read_register_dummy): Use
regcache_cooked_read_unsigned.
* i386-tdep.c (i386_extract_struct_value_address): Use
regcache_cooked_read_unsigned.

21 years ago2002-08-13 H.J. Lu <hjl@gnu.org>
hjl [Tue, 13 Aug 2002 13:39:02 +0000 (13:39 +0000)]
2002-08-13  H.J. Lu <hjl@gnu.org>

* objcopy.c (copy_object): Don't warn about the unsupported
architecture unless the input target is defaulted or the
output architecture is different from the input.

21 years ago * m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
ciceron [Tue, 13 Aug 2002 13:10:42 +0000 (13:10 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
double sizes according to ELF ABI flags.
(gdbarch_tdep): Record elf_flags.

21 years ago * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,
ciceron [Tue, 13 Aug 2002 13:02:25 +0000 (13:02 +0000)]
* m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,
EF_M68HC11_ABI): Define for ABI specification.
(STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for
linker and debugger.
(R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs.
(R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker
relaxation.

21 years ago * m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines.
ciceron [Tue, 13 Aug 2002 11:03:41 +0000 (11:03 +0000)]
* m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines.
(m6812_prolog): They can appear in 68HC12 function prologue.
(m68hc11_frame_chain): Cleanup.

21 years ago * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
ciceron [Tue, 13 Aug 2002 09:01:16 +0000 (09:01 +0000)]
* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.

21 years ago * interp.c (sim_prepare_for_program): Look up the image for the
ciceron [Tue, 13 Aug 2002 08:52:01 +0000 (08:52 +0000)]
* interp.c (sim_prepare_for_program): Look up the image for the
reset vector and set cpu_use_elf_start to 1 if not found.
(sim_open): Do not set cpu_use_elf_start.

21 years ago * interp.c (sim_hw_configure): Return 1 for success.
ciceron [Tue, 13 Aug 2002 08:47:18 +0000 (08:47 +0000)]
* interp.c (sim_hw_configure): Return 1 for success.
(sim_prepare_for_program): Use the sim_hw_configure exit code to
return SIM_RC_FAIL.

21 years agoFix english and ChangeLog entry
ciceron [Tue, 13 Aug 2002 08:40:32 +0000 (08:40 +0000)]
Fix english and ChangeLog entry

21 years ago * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
ciceron [Tue, 13 Aug 2002 08:38:09 +0000 (08:38 +0000)]
* dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
bank window to some virtual address to read from extended memory.
(m68hc11cpu_io_write_buffer): Likewise for writing.
(attach_m68hc11_regs): When use_bank property is defined, attached
to the 68HC12 16K memory bank window.
* interp.c (sim_hw_configure): Create memory region for banked
memory.

21 years ago * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
ciceron [Tue, 13 Aug 2002 08:10:45 +0000 (08:10 +0000)]
* interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
* dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
(m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.

21 years ago * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
ciceron [Tue, 13 Aug 2002 07:57:18 +0000 (07:57 +0000)]
* dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
when IO mapping changed, not when internal RAM mapping is changed.

21 years ago * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
ciceron [Tue, 13 Aug 2002 07:46:09 +0000 (07:46 +0000)]
* m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
* sim-main.h (M6812_CALL_INDIRECT): Add to enum.
(m6811_regs): Add page register.
(cpu_set_page, cpu_get_page): New macros.
(phys_to_virt): New function.
(cpu_get_indexed_operand_addr, cpu_return): Declare.
* gencode.c: Identify indirect addressing mode for call and fix daa.
(gen_function_entry): New param to tell if src8/dst8 locals are
necessary.
(gen_interpreter): Use it to avoid generation of unused variables.
* interp.c (sim_fetch_register): Allow to read page register; page
register, A, B and CCR are only 1 byte wide.
(sim_store_register): Likewise for writing.

21 years ago * header.sed: Strip tabs.
amodra [Tue, 13 Aug 2002 02:37:47 +0000 (02:37 +0000)]
* header.sed: Strip tabs.

21 years ago * ld.texinfo (ALIGN): Remove power of 2 restriction.
amodra [Tue, 13 Aug 2002 02:27:11 +0000 (02:27 +0000)]
* ld.texinfo (ALIGN): Remove power of 2 restriction.

21 years ago * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
amodra [Tue, 13 Aug 2002 02:08:25 +0000 (02:08 +0000)]
* emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
(MAXPAGESIZE): Set to 1.

* ld.h (ALIGN_N): Delete.
* ldexp.h (align_n): Declare.
* ldexp.c (align_n): New function.
(fold_binary): Use align_n instead of ALIGN_N.
(exp_fold_tree): Likewise.
* ldlang.c (lang_size_sections_1): Likewise.
(lang_one_common): Likewise.

21 years ago2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 13 Aug 2002 00:11:50 +0000 (00:11 +0000)]
2002-08-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
        Declare as extern chars and use the address operator to
        properly use values set in linker script.

21 years ago*** empty log message ***
gdbadmin [Tue, 13 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 13 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * include/commdlg.h: Don't include COM headers if __OBJC__.
dannysmith [Mon, 12 Aug 2002 23:33:09 +0000 (23:33 +0000)]
* include/commdlg.h: Don't include COM headers if __OBJC__.

21 years ago * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
dannysmith [Mon, 12 Aug 2002 23:10:15 +0000 (23:10 +0000)]
* include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Add prototypes.

21 years ago2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>
dannysmith [Mon, 12 Aug 2002 22:24:28 +0000 (22:24 +0000)]
2002-08-12  Andriy Palamarchuk  <apa3a@yahoo.com>

* include/shellapi.h (FOF_NOERRORUI): Add define.

21 years ago2002-08-12 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Aug 2002 19:23:33 +0000 (19:23 +0000)]
2002-08-12  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): Preserve section across
elf_merge_symbol.

21 years ago2002-08-12 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Aug 2002 19:21:59 +0000 (19:21 +0000)]
2002-08-12  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers23.

* ld-elfvers/vers23.c: New.
* ld-elfvers/vers23.dsym: New.
* ld-elfvers/vers23.ver: New.
* ld-elfvers/vers23a.c: New.
* ld-elfvers/vers23a.dsym: New.
* ld-elfvers/vers23a.map: New.
* ld-elfvers/vers23a.sym: New.
* ld-elfvers/vers23a.ver: New.
* ld-elfvers/vers23b.c: New.
* ld-elfvers/vers23b.dsym: New.
* ld-elfvers/vers23b.map: New.
* ld-elfvers/vers23b.ver: New.

21 years ago2002-08-12 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 12 Aug 2002 19:05:33 +0000 (19:05 +0000)]
2002-08-12  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete
declarations.
* i386-linux-tdep.c (i386_linux_register_byte): Delete function.
(i386_linux_register_raw_size): Delete function.
i386_linux_init_abi): Update.
* i386-tdep.c (i386_register_raw_size): Delete function.
(i386_register_byte): Delete function.
(i386_gdbarch_init): Update.
(i386_register_size): Delete array.
(i386_register_offset): Delete array.

* config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro.
(REGISTER_RAW_SIZE): Delete macro.
* config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro.
(REGISTER_BYTE): Delete macro.

21 years ago * fhandler.h (fhandler_socket::recv): Remove method.
scottc [Mon, 12 Aug 2002 13:54:12 +0000 (13:54 +0000)]
* fhandler.h (fhandler_socket::recv): Remove method.
(fhandler_socket::send): Ditto.
* fhandler_socket.cc (fhandler_socket::recv): Ditto.
(fhandler_socket::send): Ditto.
(fhandler_socket::read): Delegate to fhandler_socket::recvfrom.
(fhandler_socket::write): Delegate to fhandler_socket::sendto.
(fhandler_socket::sendto): Check for null `to' address.
* net.cc (cygwin_sendto): Check for zero request length.
(cygwin_recvfrom): Ditto.  Fix signature, use void *buf.
(cygwin_recv): Delegate to cygwin_recvfrom.
(cygwin_send): Delegate to cygwin_sendto.

21 years ago * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
hp [Mon, 12 Aug 2002 09:01:17 +0000 (09:01 +0000)]
* ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
listing.
* ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.

21 years ago * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
hp [Mon, 12 Aug 2002 08:51:10 +0000 (08:51 +0000)]
* ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
is no longer set to object.
* ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
ld-sh/sh64/shdl64.xd: Likewise.

21 years ago[gas/]
rsandifo [Mon, 12 Aug 2002 08:33:42 +0000 (08:33 +0000)]
[gas/]
* config/tc-mips.c (mips_ip): Don't work out the value of
constant %hi()s here.

[gas/testsuite/]
* gas/mips/elf-consthilo.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago[gas/]
rsandifo [Mon, 12 Aug 2002 08:30:49 +0000 (08:30 +0000)]
[gas/]
* config/tc-mips.c (mips_ip): Don't work out the value of
constant %hi()s here.

[gas/testsuite/]
* gas/mips/elf-consthilo.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago*** empty log message ***
gdbadmin [Mon, 12 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 12 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * include/objidl.h (IEnumMoniker): Put 'interface' back.
dannysmith [Sun, 11 Aug 2002 21:16:29 +0000 (21:16 +0000)]
* include/objidl.h (IEnumMoniker): Put 'interface' back.

21 years ago* cygthread.cc (cygthread::cygthread): Close another race.
cgf [Sun, 11 Aug 2002 19:31:24 +0000 (19:31 +0000)]
* cygthread.cc (cygthread::cygthread): Close another race.

21 years ago* assert.cc (__assert): Call debugger on assertion failure if debugging.
cgf [Sun, 11 Aug 2002 19:19:29 +0000 (19:19 +0000)]
* assert.cc (__assert): Call debugger on assertion failure if debugging.
* dcrt0.cc (dll_crt0_1): Just wait for signal thread to go live rather than
going through the overhead of invoking it.
* fork.cc (fork_child): Ditto.
* exceptions.cc (signal_fixup_after_fork): Call sigproc_init here.
* sigproc.cc (proc_can_be_signalled): Assume that the signal thread is live.
(sig_dispatch): Ditto.
(sig_send): Ditto.
(wait_for_sigthread): Renamed from "wait_for_me".  Assume that wait_sig_inited
has been set and that this function is only called from the main thread.
* winsup.h (wait_for_sigthread): Declare new function.

21 years ago * ada-lang.c (ada_lookup_partial_symbol)
aidan [Sun, 11 Aug 2002 18:15:49 +0000 (18:15 +0000)]
* ada-lang.c (ada_lookup_partial_symbol)
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix
prototype names so that grep ^func works properly.

* ada-lang.c (ada_array_element_type)
(ada_lookup_partial_symbol): Fix typos in parameter list.

* ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
Fix prototype names so that grep ^func works properly.

21 years ago * ada-lang.c (ada_lookup_partial_symbol)
aidan [Sun, 11 Aug 2002 18:14:51 +0000 (18:14 +0000)]
* ada-lang.c (ada_lookup_partial_symbol)
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix
prototype names so that grep ^func works properly.

* ada-lang.c (ada_array_element_type)
(ada_lookup_partial_symbol): Fix typos in parameter list.

* ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
Fix prototype names so that grep ^func works properly.

21 years ago * include/objidl.h (IEnumMoniker): Correct declaration.
dannysmith [Sun, 11 Aug 2002 07:36:43 +0000 (07:36 +0000)]
* include/objidl.h (IEnumMoniker): Correct declaration.

21 years ago*** empty log message ***
gdbadmin [Sun, 11 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 11 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * w32sdk: New winsup module.
earnie [Sat, 10 Aug 2002 15:07:51 +0000 (15:07 +0000)]
* w32sdk: New winsup module.

21 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
amodra [Sat, 10 Aug 2002 14:49:47 +0000 (14:49 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
for ELF, and don't bother checking ELF relocs when non-ELF.
(i386_immediate): Allow absolute_section expressions for aout.
(i386_displacement): Likewise.  Also test bfd_is_com_section.
(md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
(md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
not when fx_addsy.  Remove dead code.

21 years ago * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
amodra [Sat, 10 Aug 2002 12:48:52 +0000 (12:48 +0000)]
* ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
* ld-linkonce/linkonce.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-selective/selective.exp: Don't run on aout or bout.

21 years ago2002-08-10 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 10 Aug 2002 05:12:39 +0000 (05:12 +0000)]
2002-08-10  Andrew Cagney  <cagney@redhat.com>
            Elena Zannoni  <ezannoni@redhat.com>
            Martin M. Hunt  <hunt@redhat.com>

* gdbtypes.c (build_builtin_type_vec128): Set the vector bit.
(build_builtin_type_vec128i): Set the vector bit.
* gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare.
* gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define.
(build_builtin_type_vec64): New function.
(build_builtin_type_vec64i): New function.
(build_gdbtypes): Initialize builtin_type_vec64 and
builtin_type_vec64i.

21 years ago2002-08-09 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 10 Aug 2002 02:00:16 +0000 (02:00 +0000)]
2002-08-09  Andrew Cagney  <cagney@redhat.com>

* regcache.c (regcache_dump): Compare the register offset
with REGISTER_BYTE.
* arch-utils.c (generic_register_byte): New function.
* arch-utils.h (generic_register_byte): Declare.
* gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte.
* gdbarch.h, gdbarch.c: Regenerate.

21 years agoOversights in previous checkin.
msnyder [Sat, 10 Aug 2002 01:09:10 +0000 (01:09 +0000)]
Oversights in previous checkin.

21 years agoShh, revert unintended commit.
cagney [Sat, 10 Aug 2002 00:40:40 +0000 (00:40 +0000)]
Shh, revert unintended commit.

21 years ago2002-08-09 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 10 Aug 2002 00:36:46 +0000 (00:36 +0000)]
2002-08-09  Andrew Cagney  <cagney@redhat.com>

* regcache.c: Include "gdbcmd.h"
(_initialize_regcache): Add commands "maintenance print
registers", "maintenance print raw-registers" and "maintenance
print cooked-registers".
(enum regcache_dump_what): Define.
(dump_endian_bytes): New function.
(regcache_dump): New function.
(regcache_print): New function.
(maintenance_print_registers): New function.
(maintenance_print_raw_registers): New function.
(maintenance_print_cooked_registers): New function.
* Makefile.in (regcache.o): Update dependencies.

21 years ago2002-08-09 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 10 Aug 2002 00:34:04 +0000 (00:34 +0000)]
2002-08-09  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope.
(mips_push_arguments): Correct some comments.  Use paddr_nz
for printing addresses in debug output.  Replace static
allocation using MAX_REGISTER_RAW_SIZE with alloca.
(mips_n32n64_push_arguments): New function, cloned from
mips_push_arguments and tuned for the n32/n64 ABI.
(mips_push_register): Buffer needs dynamic allocation.
(mips_print_register): Ditto.
(do_gp_register_row): Ditto.
(mips_store_return_value): Ditto.
(mips_gdbarch_init): Set gdbarch_push_arguments per ABI.

21 years ago*** empty log message ***
gdbadmin [Sat, 10 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 10 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-09 Don Howard <dhoward@redhat.com>
dhoward [Fri, 9 Aug 2002 22:50:31 +0000 (22:50 +0000)]
2002-08-09  Don Howard  <dhoward@redhat.com>

        * memattr.c (mem_info_command): Print special case of upper bound
        as max CORE_ADDR + 1.

21 years ago2002-08-08 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 9 Aug 2002 21:58:14 +0000 (21:58 +0000)]
2002-08-08  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_n32n64_use_struct_convention): N32 only
returns structs by ref if they're too big to fit in two registers.

21 years ago2002-08-09 Jason Tishler <jason@tishler.net>
jjohnstn [Fri, 9 Aug 2002 21:33:29 +0000 (21:33 +0000)]
2002-08-09  Jason Tishler  <jason@tishler.net>

        * libc/stdlib/mallocr.c: Include <limits.h>.
        (request2size): Change macro to do
        unsigned long comparisons and avoid signed overflow.
        (mALLOc): Add overflow check for the number of bytes to allocate.
        (rEALLOc): Ditto.

21 years ago2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 9 Aug 2002 21:12:07 +0000 (21:12 +0000)]
2002-08-09  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add check for --enable-newlib-io-pos-args
        and define WANT_IO_POS_ARGS flag if enabled.  Define
        the flag by default for x86-linux configurations.
        * configure.in: Add support for --enable-newlib-io-pos-args.
        * libc/configure.in: Ditto.
        * configure: Regenerated.
        * libc/configure: Ditto.
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
        vfprintf.c and vfiprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/vfprintf.c: Add positional argument support that
        is enabled by compiling with -DWANT_IO_POS_ARGS.

21 years agoFix minor formatting problem in previous patch.
kevinb [Fri, 9 Aug 2002 20:38:49 +0000 (20:38 +0000)]
Fix minor formatting problem in previous patch.

21 years ago * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
kevinb [Fri, 9 Aug 2002 20:30:20 +0000 (20:30 +0000)]
* mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
saved regs value.
(read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of
mips_find_saved_regs().
(mips_pop_frame): Likewise.

21 years ago * blockframe.c (frame_saved_regs_register_unwind): Revise
kevinb [Fri, 9 Aug 2002 18:26:15 +0000 (18:26 +0000)]
* blockframe.c (frame_saved_regs_register_unwind): Revise
PC_IN_CALL_DUMMY assertion to only apply when generic dummy
frames are in use.

21 years ago * remote.c: (remote_wait, remote_async_wait): Add check for awatch
graces [Fri, 9 Aug 2002 16:41:24 +0000 (16:41 +0000)]
    * remote.c: (remote_wait, remote_async_wait): Add check for awatch
        T-packets; the 'a' is not taken as a register number.
(remote_check_watch_resources, remote_stopped_by_watchpoint)
        (remote_stopped_data_address): New functions; add to target
        vector.
        (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change
        prototypes to match other implementations of this
        function. replace integer argument with pointer -- the length
        field in the Z-packet is the length of what is pointed to or 1 if
        pointer is null. Add to target vector.
        (remote_insert_watchpoint, remote_remove_watchpoint): Add to
        target vector.

        From Mark Salter:
        * remote.c (remote_wait): Add support to extract optional
        watchpoint information from T-packet. Ignore unrecognized
        optional info in T-packet.
        (remote_async_wait): Ditto.
doc:
From Mark Salter:
* gdb.texinfo (Protocol): Document T packet extension to
allow watchpoint address reporting.

21 years ago * cli/cli-dump.c: Change fopen modes to use binary open modes
corinna [Fri, 9 Aug 2002 16:36:10 +0000 (16:36 +0000)]
* cli/cli-dump.c: Change fopen modes to use binary open modes
as defined in include/fopen-bin.h throughout.

21 years agoOops - omitted from previous delta
nickc [Fri, 9 Aug 2002 15:39:19 +0000 (15:39 +0000)]
Oops - omitted from previous delta

21 years agoAdd QNX Neutrino PowerPC support and common up QNX functions
nickc [Fri, 9 Aug 2002 15:38:20 +0000 (15:38 +0000)]
Add QNX Neutrino PowerPC support and common up QNX functions

21 years agoUpdated Swedish translation
nickc [Fri, 9 Aug 2002 15:07:55 +0000 (15:07 +0000)]
Updated Swedish translation

21 years ago * config/tc-i386.h: Reorganize.
amodra [Fri, 9 Aug 2002 12:37:41 +0000 (12:37 +0000)]
* config/tc-i386.h: Reorganize.

21 years ago* config/tc-mips.c (macro): Handle a register plus a 16-bit
macro [Fri, 9 Aug 2002 11:07:22 +0000 (11:07 +0000)]
* config/tc-mips.c (macro): Handle a register plus a 16-bit
immediate offset in "dla" and "la" expansions.
* gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when
$0 is source.
* mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as
aliases to "daddiu" and "addiu".

21 years ago * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
ths [Fri, 9 Aug 2002 05:35:25 +0000 (05:35 +0000)]
* elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
g->global_gotsym is NULL.

21 years agoAdd the missing space.
hjl [Fri, 9 Aug 2002 04:56:20 +0000 (04:56 +0000)]
Add the missing space.

21 years ago2002-08-08 H.J. Lu <hjl@gnu.org>
hjl [Fri, 9 Aug 2002 04:42:43 +0000 (04:42 +0000)]
2002-08-08  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers22.

* ld-elfvers/vers22.c: New.
* ld-elfvers/vers22.dsym: New.
* ld-elfvers/vers22.map: New.
* ld-elfvers/vers22.ver: New.
* ld-elfvers/vers22a.c: New.
* ld-elfvers/vers22a.dsym: New.
* ld-elfvers/vers22a.sym: New.
* ld-elfvers/vers22a.ver: New.
* ld-elfvers/vers22b.c: New.
* ld-elfvers/vers22b.dsym: New.
* ld-elfvers/vers22b.ver: New.

21 years ago2002-08-08 H.J. Lu <hjl@gnu.org>
hjl [Fri, 9 Aug 2002 04:40:29 +0000 (04:40 +0000)]
2002-08-08  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): Don't warn a defintion
overrides an indirect versioned symbol.

21 years ago * configure.in: bfd_gas=yes for all i386 targets. Formatting.
amodra [Fri, 9 Aug 2002 03:42:15 +0000 (03:42 +0000)]
* configure.in: bfd_gas=yes for all i386 targets.  Formatting.
Remove "bfd_gas=yes" from target table when covered later.
Consolidate some entries.
* configure: Regenerate

21 years ago * include/commctrl.h: Whitespace change.
dannysmith [Fri, 9 Aug 2002 02:49:38 +0000 (02:49 +0000)]
* include/commctrl.h: Whitespace change.

21 years ago2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>
dannysmith [Fri, 9 Aug 2002 02:45:49 +0000 (02:45 +0000)]
2002-08-09  Mark Schreiber  <mark7@users.sourceforge.net>

* include/wincrypt.h (CRYPT_NOHASHOID): Add define.

2002-08-09  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commctrl.h: Whitespace change.

21 years ago2002-08-09 Lars Munch <lars@segv.dk>
dannysmith [Fri, 9 Aug 2002 02:29:57 +0000 (02:29 +0000)]
2002-08-09  Lars Munch  <lars@segv.dk>

* include/commctrl.h (tagTVHITTESTINFO): Replace obsolete
struct name _TVHITTESTINFO and typedefs. Add defines for
backward compatability.
(ListView_SetExtendedListViewStyleEx): Add macro.

21 years ago2002-08-08 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 9 Aug 2002 01:42:40 +0000 (01:42 +0000)]
2002-08-08  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c: Minor whitespace and indentation clean-ups.

21 years ago * doublest.c (store_floating): Avoid floatformat_from_doublest()
kevinb [Fri, 9 Aug 2002 00:45:10 +0000 (00:45 +0000)]
* doublest.c (store_floating): Avoid floatformat_from_doublest()
assertion failure by returning early after a warning.

21 years ago * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
jakub [Fri, 9 Aug 2002 00:10:19 +0000 (00:10 +0000)]
* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
at start of insn, pass it to output_disp and output_imm.
(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
in displacement for R_386_32 reloc, use R_386_GOTPC and compute
properly addend.
(output_imm): Added arguments.  Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
* testsuite/gas/i386/gotpc.s: New.
* testsuite/gas/i386/gotpc.d: New.
* testsuite/gas/i386/i386.exp: Add gotpc test.

21 years ago * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
jakub [Fri, 9 Aug 2002 00:09:50 +0000 (00:09 +0000)]
* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
at start of insn, pass it to output_disp and output_imm.
(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
in displacement for R_386_32 reloc, use R_386_GOTPC and compute
properly addend.
(output_imm): Added arguments.  Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
* testsuite/gas/i386/gotpc.s: New.
* testsuite/gas/i386/gotpc.d: New.
* testsuite/gas/i386/i386.exp: Add gotpc test.

21 years agodaily update
amodra [Fri, 9 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 9 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoMultiarch FRAME_INIT_SAVED_REGS for mips.
kevinb [Thu, 8 Aug 2002 23:42:26 +0000 (23:42 +0000)]
Multiarch FRAME_INIT_SAVED_REGS for mips.

21 years ago * mips-tdep.c (mips_find_saved_regs): Make static.
kevinb [Thu, 8 Aug 2002 23:32:52 +0000 (23:32 +0000)]
* mips-tdep.c (mips_find_saved_regs): Make static.
(mips_frame_init_saved_regs): New function.
(mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method.
* config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro.
(mips_find_saved_regs): Delete declaration.

21 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Aug 2002 22:44:46 +0000 (22:44 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.

21 years ago * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
jakub [Thu, 8 Aug 2002 21:38:26 +0000 (21:38 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
for R_386_TLS_TPOFF32 relocs against symndx 0.

21 years ago* remote.c (remote_wait, remote_async_wait): Change
graces [Thu, 8 Aug 2002 19:45:50 +0000 (19:45 +0000)]
* remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST.
(unpack_varlen_hex): Change result parameter from
int * to ULONGEST *.

21 years ago* environ.cc (parse_options): Remember the "no" part of any options for later
cgf [Thu, 8 Aug 2002 18:02:09 +0000 (18:02 +0000)]
* environ.cc (parse_options): Remember the "no" part of any options for later
export.

21 years ago * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
scottc [Thu, 8 Aug 2002 17:03:19 +0000 (17:03 +0000)]
* winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
(__check_null_invalid_struct_errno): Ditto.
* miscfuncs.cc (__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(__check_invalid_read_ptr_errno): Remove superfluous cast.
* net.cc (get): Set appropriate errno if fd is not a socket.
(cygwin_sendto): Fix parameter checking.
(cygwin_recvfrom): Ditto.
(cygwin_setsockopt): Ditto.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_gethostbyaddr): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_listen): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_send): Ditto.
(cygwin_shutdown): Ditto.  Move sigframe to fhandler_socket.
(cygwin_recvmsg): Fix parameter checking.  Add tracing.
(cygwin_sendmsg): Ditto.
* fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe.
* resource.cc (setrlimit): Fix parameter checking.

21 years ago2002-08-08 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 8 Aug 2002 15:37:28 +0000 (15:37 +0000)]
2002-08-08  Andrew Cagney  <ac131313@redhat.com>

* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
powerpc*-*-*.
* MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.

21 years ago2002-08-08 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 8 Aug 2002 14:59:34 +0000 (14:59 +0000)]
2002-08-08  Andrew Cagney  <cagney@redhat.com>

* gcore.c (override_derive_stack_segment): Delete variable.
(preempt_derive_stack_segment): Delete function.
(derive_stack_segment): Delete function.
(default_derive_stack_segment): Renamed to derive_stack_segment.
(override_derive_heap_segment): Delete variable.
(preempt_derive_heap_segment): Delete function.
(derive_heap_segment): Delete function.
(default_derive_heap_segment): Rename to derive_heap_segment.

21 years ago Patch by Joe Buehler <jbuehler@hekimian.com>:
corinna [Thu, 8 Aug 2002 14:16:13 +0000 (14:16 +0000)]
Patch by Joe Buehler  <jbuehler@hekimian.com>:
* sec_helper.cc (sec_acl): remove extraneous arg to debug_printf.

21 years agoCheck symbols with undefine version.
hjl [Thu, 8 Aug 2002 03:50:16 +0000 (03:50 +0000)]
Check symbols with undefine version.