Andrew Cagney [Tue, 13 Aug 2002 21:39:00 +0000 (21:39 +0000)]
 
2002-08-13  Andrew Cagney  <
ac131313@redhat.com>
* gdb.texinfo (Maintenance Commands): Document "maint print
registers", "maint print raw-registers" and "maint print
cooked-registers".
 
Stephane Carrez [Tue, 13 Aug 2002 21:38:15 +0000 (21:38 +0000)]
 
	* config/tc-m68hc11.c (md_begin): Take into account additional
	page operand for call instruction.
	(print_opcode_format): Likewise.
	(check_range): Likewise for page range checking.
	(get_operand): Don't skip a possible comma in operands.
	(fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
	(fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
	(fixup24): New to handle call reloc.
	(build_insn): Handle missing page operand for call instruction.
	(find): Likewise.
	(md_apply_fix3): Take into account new relocs.
	(get_operand): Fix the mode for indexed indirect addressing.
	(build_indexed_byte): Fix post index byte for indexed indirect mode.
Stephane Carrez [Tue, 13 Aug 2002 21:15:47 +0000 (21:15 +0000)]
 
	* elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC.
	(elf32_m68hc11_gc_sweep_hook): Likewise.
	(elf_backend_gc_mark_hook): Define for GC section support.
	(elf_backend_gc_sweep_hook): Likewise.
	(elf_backend_can_gc_sections): Likewise.
	* elf32-m68hc12.c: Likewise.
Stephane Carrez [Tue, 13 Aug 2002 21:04:21 +0000 (21:04 +0000)]
 
Fix integration pb for:
    * elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
    fix masks for PC-rel relocs.
    (m68hc11_elf_ignore_reloc): New function.
Stephane Carrez [Tue, 13 Aug 2002 20:56:59 +0000 (20:56 +0000)]
 
	* elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New.
	(_bfd_m68hc11_elf_merge_private_bfd_data): New function.
	(_bfd_m68hc11_elf_set_private_flags): New function.
	Use them to set/check/print ELF flags specific to 68HC11.
	* elf32-m68hc12.c (_bfd_m68hc12_elf_print_private_bfd_data): New.
	(_bfd_m68hc12_elf_merge_private_bfd_data): New function.
	(_bfd_m68hc12_elf_set_private_flags): New function.
	Use them to set/check/print ELF flags specific to 68HC12.
Stephane Carrez [Tue, 13 Aug 2002 20:43:01 +0000 (20:43 +0000)]
 
	* elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
	fix masks for PC-rel relocs.
	(m68hc11_elf_ignore_reloc): New function.
	* elf32-m68hc12.c (m68hc12_elf_special_reloc): New to handle specific
	68HC12 banked addressing relocs.
	(m68hc12_phys_addr): New to compute physical address of banked memory.
	(m68hc12_phys_page): Likewise for page.
	(m68hc12_addr_is_banked): New to see if address is in banked area.
	(elf_m68hc12_howto_table): Add new relocs and rename to xx12.
Stephane Carrez [Tue, 13 Aug 2002 20:08:49 +0000 (20:08 +0000)]
 
	* reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP,
	BFD_RELOC_M68HC11_LO16, BFD_RELOC_M68HC11_PAGE,
	BFD_RELOC_M68HC11_24): New relocs for 68HC11/68HC12.
	* bfd-in2.h: Regenerate.
Andrew Cagney [Tue, 13 Aug 2002 19:14:09 +0000 (19:14 +0000)]
 
* i386-tdep.c (i386_gdbarch_init): Use
generic_unwind_get_saved_register.
Stephane Carrez [Tue, 13 Aug 2002 19:09:01 +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.
Stephane Carrez [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).
Stephane Carrez [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.
Kevin Buettner [Tue, 13 Aug 2002 18:03:38 +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.
Stephane Carrez [Tue, 13 Aug 2002 17:24:50 +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.
Stephane Carrez [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.
Stephane Carrez [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.
Andrew 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.
Andrew Cagney [Tue, 13 Aug 2002 13:58:50 +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.
H.J. Lu [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.
Stephane Carrez [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.
Stephane Carrez [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.
Stephane Carrez [Tue, 13 Aug 2002 11:03:42 +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.
Stephane Carrez [Tue, 13 Aug 2002 09:01:16 +0000 (09:01 +0000)]
 
	* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
Stephane Carrez [Tue, 13 Aug 2002 08:52:02 +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.
Stephane Carrez [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.
Stephane Carrez [Tue, 13 Aug 2002 08:40:32 +0000 (08:40 +0000)]
 
Fix english and ChangeLog entry
Stephane Carrez [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.
Stephane Carrez [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.
Stephane Carrez [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.
Stephane Carrez [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.
Alan Modra [Tue, 13 Aug 2002 02:37:47 +0000 (02:37 +0000)]
 
	* header.sed: Strip tabs.
Alan Modra [Tue, 13 Aug 2002 02:27:11 +0000 (02:27 +0000)]
 
	* ld.texinfo (ALIGN): Remove power of 2 restriction.
Alan Modra [Tue, 13 Aug 2002 02:08:26 +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.
gdbadmin [Tue, 13 Aug 2002 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Tue, 13 Aug 2002 00:00:06 +0000 (00:00 +0000)]
 
daily update
H.J. Lu [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.
H.J. Lu [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.
Andrew 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.
Hans-Peter Nilsson [Mon, 12 Aug 2002 09:01:18 +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.
Hans-Peter Nilsson [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.
Richard Sandiford [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.
gdbadmin [Mon, 12 Aug 2002 00:00:32 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Mon, 12 Aug 2002 00:00:04 +0000 (00:00 +0000)]
 
daily update
Aidan Skinner [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.
gdbadmin [Sun, 11 Aug 2002 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sun, 11 Aug 2002 00:00:04 +0000 (00:00 +0000)]
 
daily update
Alan Modra [Sat, 10 Aug 2002 14:49:48 +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.
Alan Modra [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.
Andrew Cagney [Sat, 10 Aug 2002 05:12:40 +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.
Andrew 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.
Michael Snyder [Sat, 10 Aug 2002 01:09:11 +0000 (01:09 +0000)]
 
Oversights in previous checkin.
Andrew Cagney [Sat, 10 Aug 2002 00:40:40 +0000 (00:40 +0000)]
 
Shh, revert unintended commit.
Andrew 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.
Michael Snyder [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.
gdbadmin [Sat, 10 Aug 2002 00:00:32 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sat, 10 Aug 2002 00:00:04 +0000 (00:00 +0000)]
 
daily update
Don Howard [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.
Michael Snyder [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.
Kevin Buettner [Fri, 9 Aug 2002 20:38:49 +0000 (20:38 +0000)]
 
Fix minor formatting problem in previous patch.
Kevin Buettner [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.
Kevin Buettner [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.
Grace Sainsbury [Fri, 9 Aug 2002 16:41:25 +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.
Corinna Vinschen [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.
Nick Clifton [Fri, 9 Aug 2002 15:39:19 +0000 (15:39 +0000)]
 
Oops - omitted from previous delta
Nick Clifton [Fri, 9 Aug 2002 15:38:24 +0000 (15:38 +0000)]
 
Add QNX Neutrino PowerPC support and common up QNX functions
Nick Clifton [Fri, 9 Aug 2002 15:07:57 +0000 (15:07 +0000)]
 
Updated Swedish translation
Alan Modra [Fri, 9 Aug 2002 12:37:41 +0000 (12:37 +0000)]
 
	* config/tc-i386.h: Reorganize.
Maciej W. Rozycki [Fri, 9 Aug 2002 11:07:24 +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".
Thiemo Seufer [Fri, 9 Aug 2002 05:35:26 +0000 (05:35 +0000)]
 
	* elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
	g->global_gotsym is NULL.
H.J. Lu [Fri, 9 Aug 2002 04:56:20 +0000 (04:56 +0000)]
 
Add the missing space.
H.J. Lu [Fri, 9 Aug 2002 04:42:44 +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.
H.J. Lu [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.
Alan Modra [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
Michael Snyder [Fri, 9 Aug 2002 01:42:41 +0000 (01:42 +0000)]
 
2002-08-08  Michael Snyder  <msnyder@redhat.com>
	* mips-tdep.c: Minor whitespace and indentation clean-ups.
Kevin Buettner [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.
Jakub Jelinek [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.
Alan Modra [Fri, 9 Aug 2002 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Fri, 9 Aug 2002 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Kevin Buettner [Thu, 8 Aug 2002 23:42:26 +0000 (23:42 +0000)]
 
Multiarch FRAME_INIT_SAVED_REGS for mips.
Kevin Buettner [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.
Michael Snyder [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.
Jakub Jelinek [Thu, 8 Aug 2002 21:38:27 +0000 (21:38 +0000)]
 
	* elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
	for R_386_TLS_TPOFF32 relocs against symndx 0.
Grace Sainsbury [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 *.
Andrew Cagney [Thu, 8 Aug 2002 15:37:29 +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.
 
Andrew Cagney [Thu, 8 Aug 2002 14:59:35 +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.
H.J. Lu [Thu, 8 Aug 2002 03:50:18 +0000 (03:50 +0000)]
 
Check symbols with undefine version.
Michael Snyder [Thu, 8 Aug 2002 00:26:51 +0000 (00:26 +0000)]
 
2002-08-06  Michael Snyder  <msnyder@redhat.com>
        * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
	* mips-tdep.c (mips_EABI_use_struct_convention,
	mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
	New functions.  (mips_use_struct_convention): Delete.
	(mips_gdbarch_init): set use_gdbarch_convention.
Alan Modra [Thu, 8 Aug 2002 00:20:16 +0000 (00:20 +0000)]
 
	* elflink.h (elf_link_output_extsym): Don't output symbols from
	SEC_EXCLUDE sections.
Alan Modra [Thu, 8 Aug 2002 00:11:37 +0000 (00:11 +0000)]
 
	* aoutx.h (aout_link_write_symbols): Correct handling of warning syms.
Alan Modra [Thu, 8 Aug 2002 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Thu, 8 Aug 2002 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
DJ Delorie [Wed, 7 Aug 2002 21:01:25 +0000 (21:01 +0000)]
 
merge from gcc
Michael Snyder [Wed, 7 Aug 2002 18:17:26 +0000 (18:17 +0000)]
 
2002-08-06  Michael Snyder  <msnyder@redhat.com>
	*  mips-tdep.c: gdbarch-ify reg_struct_has_addr.
	(mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr,
	mips_o32_reg_struct_has_addr): New functions.
	(mips_gdbarch_init): Set gdbarch reg_struct_has_addr.
Andrew Cagney [Wed, 7 Aug 2002 16:01:58 +0000 (16:01 +0000)]
 
2002-08-07  Andrew Cagney  <
ac131313@redhat.com>
* regcache.c (pseudo_register): Delete function.
(fetch_register): Delete function.
(store_register): Delete function.
(regcache_raw_read, legacy_read_register_gen): Use
target_fetch_registers instead of fetch_register.
(legacy_write_register_gen, regcache_raw_write): Use
target_store_register instead of store_register.
(write_register_bytes): Ditto.
* gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete.
(STORE_PSEUDO_REGISTER): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
 
Nick Clifton [Wed, 7 Aug 2002 15:22:41 +0000 (15:22 +0000)]
 
Only search for an interworking bfd if there are input bfds.
Corinna Vinschen [Wed, 7 Aug 2002 08:52:24 +0000 (08:52 +0000)]
 
	* cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
	write dump file binary.
Alan Modra [Wed, 7 Aug 2002 05:23:09 +0000 (05:23 +0000)]
 
	* elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
	entries.
Thiemo Seufer [Wed, 7 Aug 2002 04:44:14 +0000 (04:44 +0000)]
 
	* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
	mismatch.
Thiemo Seufer [Wed, 7 Aug 2002 04:37:24 +0000 (04:37 +0000)]
 
	* elfxx-mips.c (ABI_64_P): Remove superfluous check.
Thiemo Seufer [Wed, 7 Aug 2002 04:32:14 +0000 (04:32 +0000)]
 
	* elf32-mips.c (mips_reloc_map): Fix typo.
Michael Snyder [Wed, 7 Aug 2002 00:28:31 +0000 (00:28 +0000)]
 
2002-08-05  Michael Snyder  <msnyder@redhat.com>
	*  mips-tdep.c (mips_find_saved_regs): Adjust stack according
	to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64.  Enhance comment.
	(mips_gdbarch_init): Set N32 target to be mips64.