Alan Modra [Thu, 17 Jan 2002 13:02:40 +0000 (13:02 +0000)]
* elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
Remove "Elf_Internal_Shdr *" param.
(_bfd_mips_elf_section_from_bfd_section): Ditto.
* elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
* elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
* elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
* elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
* elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
* elf.c (_bfd_elf_section_from_bfd_section): Allow backend
function to override special sections. Remove hdr arg from
backend call, and don't loop.
Nick Clifton [Thu, 17 Jan 2002 11:28:49 +0000 (11:28 +0000)]
Add no-c-format comment to prevent confusion when translating string.
Andreas Schwab [Thu, 17 Jan 2002 11:01:39 +0000 (11:01 +0000)]
Remove leftover conflict marker.
Eli Zaretskii [Thu, 17 Jan 2002 08:54:12 +0000 (08:54 +0000)]
* gdb.texinfo: @include fdl.texi. Fixes for overfull hboxes and
for monstrous @multitable (from Brian Youmans).
* fdl.texi: New file.
* Makefile.in (SFILES_INCLUDED): Add fdl.texi.
Eric Christopher [Thu, 17 Jan 2002 08:19:08 +0000 (08:19 +0000)]
2002-01-16 Eric Christopher <echristo@redhat.com>
* elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
relocations requiring gp0 and gp.
Andrew Cagney [Thu, 17 Jan 2002 02:04:27 +0000 (02:04 +0000)]
Daniel J as C++ maintainer.
gdbadmin [Thu, 17 Jan 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Wed, 16 Jan 2002 23:20:25 +0000 (23:20 +0000)]
2002-01-16 H.J. Lu (hjl@gnu.org)
* config.guess: Import from master sources, rev 1.225.
* config.sub: Import from master sources, rev 1.238.
* MAINTAINERS: Updated notes on config.guess and config.sub.
Alan Modra [Wed, 16 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Wed, 16 Jan 2002 21:30:47 +0000 (21:30 +0000)]
* config/tc-mips.c (percent_op): Ensure longer percent_op's are
matched before the shorter ones.
(my_getSmallParser): Fix handling of nested parentheses in
percent_op's. Code cleanup.
(my_getPercentOp): New function, code from my_getSmallParser.
(my_getSmallExpression): Fix handling of closing parentheses.
Code cleanup. Better comments.
Richard Earnshaw [Wed, 16 Jan 2002 13:01:54 +0000 (13:01 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
EF_ARM_VFP_FLOAT.
(elf32_arm_print_private_bfd_data): Likewise.
Richard Earnshaw [Wed, 16 Jan 2002 11:35:18 +0000 (11:35 +0000)]
* coff/arm.h (F_VFP_FLOAT): Define.
* elf/arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.
Nick Clifton [Wed, 16 Jan 2002 10:17:48 +0000 (10:17 +0000)]
Import new Turkish translations.
Alan Modra [Wed, 16 Jan 2002 07:32:04 +0000 (07:32 +0000)]
* elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
(ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
(ORI_R0_R0_0): Correct.
Alan Modra [Wed, 16 Jan 2002 05:53:08 +0000 (05:53 +0000)]
* readelf.c (get_ppc64_dynamic_type): New.
(get_dynamic_type): Call it.
Alan Modra [Wed, 16 Jan 2002 05:52:38 +0000 (05:52 +0000)]
* Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
* Makefile.in: Regenerate.
* emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
* emultempl/ppc64elf.em: New file.
Alan Modra [Wed, 16 Jan 2002 05:50:03 +0000 (05:50 +0000)]
* elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
when plt_not_loaded.
* elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
clear .plt SEC_CODE here. Create .stub and correct .glink flags.
(PLT_INITIAL_ENTRY_SIZE): Set to 24.
(ppc64_elf_glink_code): Delete.
(PPC64_ELF_GLINK_SIZE): Delete.
(ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
ORI_R0_R0_0): Define.
(PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
(struct ppc_link_hash_table): Add sstub and plt_overflow.
(ppc64_elf_link_hash_table_create): Init them.
(ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
Don't copy to shared lib.
(ppc64_elf_check_relocs): Call bfd_set_error on errors.
(ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
(allocate_dynrelocs <plt>): Don't change function sym here. Make
room for .stub and .glink code.
(ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
DT_PPC64_GLINK.
(ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
bfd_elf64_bfd_final_link.
(bfd_elf64_bfd_final_link): Don't define.
(ppc64_elf_size_stubs): New.
(build_plt_stub): New.
(build_one_stub): New.
(ppc64_elf_build_stubs): New.
(ppc64_elf_relocate_section <toc relocs>): Remove assert.
(ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
(ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
case output sections not separate. Adjust DT_RELASZ to not
include plt relocs. Set reserved got entry. Set got and plt
entry size.
(elf_backend_got_header_size): Set to 8.
* elf64-ppc.h: New file.
Alan Modra [Wed, 16 Jan 2002 05:48:56 +0000 (05:48 +0000)]
* ppc.h (DT_PPC64_GLINK): Define.
Alan Modra [Wed, 16 Jan 2002 05:37:10 +0000 (05:37 +0000)]
* elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
sections, use bfd_section_list_remove.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elflink.h (elf_link_add_object_symbols): When removing all
sections, use bfd_section_list_clear.
Daniel Jacobowitz [Wed, 16 Jan 2002 02:43:38 +0000 (02:43 +0000)]
* c-typeprint.c (is_type_conversion_operator): Add additional
check for non-conversion operators.
DJ Delorie [Wed, 16 Jan 2002 01:48:43 +0000 (01:48 +0000)]
* scripttempl/pe.sc: Add support for constructor priorities.
gdbadmin [Wed, 16 Jan 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 15 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Michael Snyder [Tue, 15 Jan 2002 20:14:04 +0000 (20:14 +0000)]
Fix oops with previous checkin.
Michael Snyder [Tue, 15 Jan 2002 20:10:55 +0000 (20:10 +0000)]
2002-01-10 Michael Snyder <msnyder@redhat.com>
* linux-proc.c: Add "info proc" command, a la procfs.c.
(read_mapping): New function, abstract and re-use code.
(linux_find_memory_regions): Use new func read_mapping.
(linux_info_proc_cmd): New function, implement "info proc".
(_initialize_linux_proc): Add new command "info proc".
Michael Snyder [Tue, 15 Jan 2002 20:00:56 +0000 (20:00 +0000)]
2002-01-15 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Use bfd_map_over_sections method
instead of manipulating bfd structure members directly.
(add_section_size_callback): New function, bfd sections callback
used by generic_load.
(load_sections_callback): New function, bfd sections callback
used by generic_load.
Elena Zannoni [Tue, 15 Jan 2002 19:38:19 +0000 (19:38 +0000)]
2002-01-15 Elena Zannoni <ezannoni@redhat.com>
[Based on work by Jim Blandy]
* gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
(builtin_type_vec128): Export.
* gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
types.
(builtin_type_vec128): New builtin type for 128 bit vector
registers.
(build_gdbtypes): Initialize builtin_type_v16qi and
builtin_type_v8hi. Create the vec128 register builtin type
structure.
(build_builtin_type_vec128): New function.
(_initialize_gdbtypes): Register builtin_type_v16qi and
builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
* rs6000-tdep.c (rs6000_register_virtual_type): Change type of
AltiVec register to new builtin type.
Andrew Cagney [Tue, 15 Jan 2002 19:06:22 +0000 (19:06 +0000)]
Doh. s/kdb/kbd/
Andrew Cagney [Tue, 15 Jan 2002 19:01:20 +0000 (19:01 +0000)]
* gdbint.texinfo (Releasing GDB): New chapter.
Nick Clifton [Tue, 15 Jan 2002 17:18:53 +0000 (17:18 +0000)]
Refer to "options" not "switches"
Daniel Jacobowitz [Tue, 15 Jan 2002 16:47:17 +0000 (16:47 +0000)]
2001-01-15 Daniel Jacobowitz <drow@mvista.com>
* stabsread.c (read_type): Pass dbx_lookup_type (typenums)
to make_cv_type.
Richard Earnshaw [Tue, 15 Jan 2002 16:05:34 +0000 (16:05 +0000)]
Support for VFP instructions
* tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
(cp_address_required_here): New argument wb_ok. When false, do not
accept write-back forms of addressing. Change all callers.
(FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
(FPU_VFP_EXT_V2): Define.
(FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
Define in terms of above.
(vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
(vfp_reg): New struct.
(vfp_regs): New array of registers.
(insns): Add VFP instructions.
(sn_table): New array of VFP single-precision register names.
(dn_table): New array of VFP double-precision register names.
(all_reg_maps): Add the new register tables.
(arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
(vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
(do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
(do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
(do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
(do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
(do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
(do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
(vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
(do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
(do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
(do_vfp_sp_dp_cvt): New functions.
(md_begin): Set soft-float flag for appropriate VFP work.
(md_atof): Handle VFP-format doubles.
(md_parse_option): Handle VFP command-line options.
(md_show_usage): Display VFP command-line options.
* testsuite/gas/arm/vfp1.s gas/arm/vf1.d: New files.
* testsuite/gas/arm/vfp1xD.s gas/arm/vf1xD.d: New files.
* testsuite/gas/arm/vfp-bad.s gas/arm/vfp-bad.l: New files.
* testsuite/gas/arm/arm.exp: Run new VFP tests.
Richard Earnshaw [Tue, 15 Jan 2002 15:41:23 +0000 (15:41 +0000)]
* arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
* arm-dis.c (print_insn_arm): Support new disassembly qualifiers for
VFP bitfields.
Richard Earnshaw [Tue, 15 Jan 2002 14:43:09 +0000 (14:43 +0000)]
* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
various command line options.
Nick Clifton [Tue, 15 Jan 2002 13:58:25 +0000 (13:58 +0000)]
Add Swedish translation
Nick Clifton [Tue, 15 Jan 2002 12:56:32 +0000 (12:56 +0000)]
Special case handlign for m32r port
Jakub Jelinek [Tue, 15 Jan 2002 12:52:15 +0000 (12:52 +0000)]
* elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
* elf.c (merge_sections_remove_hook): New function.
(_bfd_elf_merge_sections): Pass it as 3rd argument to
_bfd_merge_sections.
* libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
* libbfd.h: Rebuilt.
* merge.c (_bfd_merge_sections): Add remove_hook argument.
Call remove_hook if a SEC_EXCLUDE section is encountered.
Nick Clifton [Tue, 15 Jan 2002 12:41:00 +0000 (12:41 +0000)]
Add missing 'cp' command
Nick Clifton [Tue, 15 Jan 2002 12:27:53 +0000 (12:27 +0000)]
Fix expected results of disassembly of DSP instructions
Nick Clifton [Tue, 15 Jan 2002 11:58:45 +0000 (11:58 +0000)]
Fix up generation of VTINHERIT relocs
Andrew Cagney [Tue, 15 Jan 2002 02:06:47 +0000 (02:06 +0000)]
* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.
Andrew Cagney [Tue, 15 Jan 2002 01:52:37 +0000 (01:52 +0000)]
Mark all 29k targets as obsolete (second attempt to commit this).
Andrew Cagney [Tue, 15 Jan 2002 01:38:45 +0000 (01:38 +0000)]
* gdb.texinfo (Embedded Processors, Calling program functions):
Obsolete references to a29k.
Andrew Cagney [Tue, 15 Jan 2002 01:29:24 +0000 (01:29 +0000)]
Review cleanups() section. Add examples.
gdbadmin [Tue, 15 Jan 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 14 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Michael Snyder [Mon, 14 Jan 2002 20:00:48 +0000 (20:00 +0000)]
2002-01-14 Michael Snyder <msnyder@redhat.com>
* linux-proc.c (linux_do_thread_registers): Ignore fpxregs
until we can resolve portability issues.
* gregset.h: Remove references to fpxregs.
* gcore.c (gcore_command): Initialize note_sec to NULL.
Richard Earnshaw [Mon, 14 Jan 2002 17:49:29 +0000 (17:49 +0000)]
* MAINTAINERS: Add self as co-maintainer for the ARM code.
Nick Clifton [Mon, 14 Jan 2002 17:40:49 +0000 (17:40 +0000)]
Use section2.e-mips script for v850-elf toolchain.
Richard Earnshaw [Mon, 14 Jan 2002 17:39:02 +0000 (17:39 +0000)]
* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d
arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s,
arm/fpa-dyadic.d: New tests.
* gas/arm/le-fpconst.d (objdump): pass --section=.text
* gas/arm/arm.exp: Add new tests. Run le-fpconst test on elf targets.
Richard Earnshaw [Mon, 14 Jan 2002 17:37:23 +0000 (17:37 +0000)]
* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
the -EL/-EB option that matches the target's endianness.
(md_parse_option): Likewise.
Nick Clifton [Mon, 14 Jan 2002 17:26:13 +0000 (17:26 +0000)]
Expect xscale-coff to fail simple objcopy test for the same reason as arm-coff.
Nick Clifton [Mon, 14 Jan 2002 15:46:50 +0000 (15:46 +0000)]
For ARM targets, link with libgcc.a.
Richard Earnshaw [Mon, 14 Jan 2002 15:36:30 +0000 (15:36 +0000)]
* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
is not dependent on ARM_BI_ENDIAN.
Richard Earnshaw [Mon, 14 Jan 2002 15:01:04 +0000 (15:01 +0000)]
* tc-arm.c (all error messages): Normalize capitalization of messages.
* tc-arm.h (md_operand): Delete define.
* tc-arm.c (in_my_get_expression): New static variable.
(my_get_expression): Set and clear it.
(md_operand): New function. If called from my_get_expression
put the error in inst.error.
(output_inst): Now takes argument of instruction being assembled.
Print it out with any error message.
(do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
with '=' syntax.
(end_of_line): Don't update inst.error if it is already set.
Richard Earnshaw [Mon, 14 Jan 2002 15:00:18 +0000 (15:00 +0000)]
* gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.
* gas/arm/arm.exp (run_error_test): New proc.
(armv1-bad): New error test.
Nick Clifton [Mon, 14 Jan 2002 13:10:20 +0000 (13:10 +0000)]
Add Spanish Translation
Ben Elliston [Mon, 14 Jan 2002 02:47:59 +0000 (02:47 +0000)]
2002-01-14 Ben Elliston <bje@redhat.com>
* sim-fpu.h: Fix comment about sim_fpu_* constants.
gdbadmin [Mon, 14 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 13 Jan 2002 23:54:10 +0000 (23:54 +0000)]
2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
for slightly dubious v2 mangled string.
Alan Modra [Sun, 13 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Sun, 13 Jan 2002 22:13:06 +0000 (22:13 +0000)]
2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
Andrew Cagney [Sun, 13 Jan 2002 21:58:16 +0000 (21:58 +0000)]
Rewrite target_signal_to_name().
Andrew Cagney [Sun, 13 Jan 2002 21:11:38 +0000 (21:11 +0000)]
From Petr Ledvina <ledvinap@kae.zcu.cz>:
* signals.c (target_signal_to_name): Verify that SIG is within the
bounds of the signals array.
Andrew Cagney [Sun, 13 Jan 2002 20:43:46 +0000 (20:43 +0000)]
* MAINTAINERS: Remove arm-coff and arm-pe from target list.
Keith Seitz [Sun, 13 Jan 2002 20:19:28 +0000 (20:19 +0000)]
* stack.c (print_frame_info_base): Print the frame's pc
only if when print_frame_info_listing_hook is not defined.
Keith Seitz [Sun, 13 Jan 2002 20:17:55 +0000 (20:17 +0000)]
* varobj.c (varobj_set_value): Make sure that there were no
errors evaluating the object before attempting to set its
value.
value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
so this offset adjustment is no longer necessary.
(create_child): Don't set the error flag if the child is
a CPLUS_FAKE_CHILD.
(value_of_child): If value_fetch_lazy fails, return NULL
so that callers will be notified that an error occurred.
(c_value_of_variable): Delay check of variable's validity
until later. We actually want all structs and unions to have
the value "{...}".
Do not return "???" for variables which could not be evaluated.
This error condition must be returned to the caller so that it
can get the error condition from gdb.
(cplus_name_of_child): Adjust index for vptr before figuring
out the name of the child.
(cplus_value_of_child): If a child's (real) parent is not valid,
don't even bother trying to give a value for it. Just return
an error. Change all instances in this function.
(cplus_type_of_child): If our parent is one of the "fake"
parents, we need to get at the type of the real parent, and
derive the child's true type using this information.
Andrew Cagney [Sun, 13 Jan 2002 16:16:58 +0000 (16:16 +0000)]
From 2002-01-09 John Marshall <johnm@falch.net>:
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
sources.redhat.com, and tweak some related URLs which had
suffered from linkrot.
Andrew Cagney [Sun, 13 Jan 2002 15:48:56 +0000 (15:48 +0000)]
* hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
structures passed in registers.
Eli Zaretskii [Sun, 13 Jan 2002 09:51:22 +0000 (09:51 +0000)]
* go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
white space which prevented compilation. Reported by DSK
<dsk@student.unsw.edu.au>.
Michael Snyder [Sun, 13 Jan 2002 05:59:30 +0000 (05:59 +0000)]
2002-01-11 Michael Snyder <msnyder@redhat.com>
* symfile.c (build_section_addr_info_from_section_tab):
Use bfd access method instead of manipulating bfd directly.
(syms_from_objfile): Ditto.
(simple_overlay_update_1): Ditto.
(simple_overlay_update): Ditto.
(generic_load): Ditto.
(overlay_unmapped_address): FIXME comment, bfd access methods.
(sections_overlap): FIXME comment, bfd access methods.
(pc_in_mapped_range): FIXME comment, bfd access methods.
(pc_in_unmapped_range): FIXME comment, bfd access methods.
(section_is_mapped): FIXME comment, bfd access methods.
(section_is_overlay): FIXME comment, bfd access methods.
gdbadmin [Sun, 13 Jan 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Sat, 12 Jan 2002 23:44:26 +0000 (23:44 +0000)]
2002-01-11 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Whitespace and long line cleanups.
Remove duplicate variable, change several local variables to
more appropriate data types.
(print_transfer_performance): Use %lu instead of %ld for ulongs.
Alan Modra [Sat, 12 Jan 2002 23:00:09 +0000 (23:00 +0000)]
daily update
Denis Chertykov [Sat, 12 Jan 2002 20:22:19 +0000 (20:22 +0000)]
* emulparams/avr1200.sh (DATA_START): Define as 0x60.
* emulparams/avr23xx.sh: Likewise.
* emulparams/avr4433.sh: Likewise.
* emulparams/avr44x4.sh: Likewise.
* emulparams/avr85xx.sh: Likewise.
* emulparams/avrmega103.sh: Likewise.
* emulparams/avrmega161.sh: Likewise.
* emulparams/avrmega603.sh: Likewise.
* scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
Andrew Cagney [Sat, 12 Jan 2002 20:00:07 +0000 (20:00 +0000)]
Use phex_nz() not printf
Elena Zannoni [Sat, 12 Jan 2002 16:38:47 +0000 (16:38 +0000)]
Update Copyright year.
Elena Zannoni [Sat, 12 Jan 2002 16:29:44 +0000 (16:29 +0000)]
2002-01-12 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
the function.
Matthew Green [Sat, 12 Jan 2002 10:21:12 +0000 (10:21 +0000)]
* Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
* igen.c (main): Change -I to add include paths for :include:
files.
Implement -G as per sim/igen, with just gen-icache=N support.
Call load_insn_table() with the built include path.
* ld-insn.c (parse_include_entry): New. Load an :include: file.
(load_insn_table): New `includes' argument. Look for :include:
entries and call parse_include_entry() for them.
(main): Adjust load_insn_table() call.
* ld-insn.h (model_include_fields): New enum.
(load_insn_table): Update prototype.
* table.c (struct _open_table, struct _table): Rework
structures to handle included files.
(table_push): Move the guts of table_open() here.
* table.c (struct _open table, struct table): Make table object an
indirect ptr to the current table file.
(current_line, new_table_entry, next_line): Make file arg type
open_table.
(table_open): Use table_push.
(table_entry_read): Point variable file at current table, at eof, pop
last open table.
* misc.h (NZALLOC): New macro. From sim/igen.
* table.h, table.c (table_push): New function.
Andrew Cagney [Sat, 12 Jan 2002 05:19:10 +0000 (05:19 +0000)]
* language.c (longest_raw_hex_string): Delete unused function.
gdbadmin [Sat, 12 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 11 Jan 2002 23:00:15 +0000 (23:00 +0000)]
daily update
Michael Snyder [Fri, 11 Jan 2002 20:24:14 +0000 (20:24 +0000)]
2002-01-11 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Choosing files): Change @samp to @file.
Richard Earnshaw [Fri, 11 Jan 2002 18:00:17 +0000 (18:00 +0000)]
* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
op that can be translated into a mvn instruction.
* gas/arm/ldconst.s gas/arm/ldconst.d: New files. Test ldr with
immediate pseudo-operations.
* gas/arm/arm.exp: Run it.
Petr Sorfa [Fri, 11 Jan 2002 16:56:04 +0000 (16:56 +0000)]
1) Handling of the DW_AT_byte_size attribute when processing a
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0
standard.)
2) In read_tag_string_type(), a fix for FORTRAN that propagates the
first string length to all string types. This is important as FORTRAN
strings are not delimited as in C/C++.
3) Handling of the DW_LANG_Fortran95.
Petr Sorfa [Fri, 11 Jan 2002 16:51:03 +0000 (16:51 +0000)]
Added Self to Write After Approval
Richard Earnshaw [Fri, 11 Jan 2002 10:46:15 +0000 (10:46 +0000)]
* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
GETPID(inferior_ptid).
(store_inferior_registers): Likewise.
Jason Merrill [Fri, 11 Jan 2002 09:32:50 +0000 (09:32 +0000)]
* dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
Fix DW_OP_minus.
Nick Clifton [Fri, 11 Jan 2002 09:29:18 +0000 (09:29 +0000)]
Add ia64-hpux target. LD and GDB are not currently supported.
Nick Clifton [Fri, 11 Jan 2002 09:27:39 +0000 (09:27 +0000)]
Add support for ia64-hpux target.
Matthew Green [Fri, 11 Jan 2002 07:24:59 +0000 (07:24 +0000)]
[cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
(gr-Rb-names): ... to this.
(h-Rb): New hardware peice.
(h-Rbj): Use gr-Rb-names.
(Rb): Use h-Rb.
(holdx): New instruction.
[opcodes/ChangeLog]
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Likewise.
* xstormy16-desc.h: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-opc.c: Likewise.
* xstormy16-opc.h: Likewise.
[gas/testsuite/ChangeLog]
* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.
[sid/component/cgen-cpu/xstormy16/ChangeLog]
* xstormy16.cxx (do_holdx): Define.
* xstormy16.h (do_holdx): Declare.
Michael Snyder [Fri, 11 Jan 2002 01:46:17 +0000 (01:46 +0000)]
2002-01-10 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention --pid and corefile/proc-id behavior change.
Andrew Cagney [Fri, 11 Jan 2002 01:13:26 +0000 (01:13 +0000)]
* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
and bfd/elf32-sh-nbsd.c.
gdbadmin [Fri, 11 Jan 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 10 Jan 2002 23:32:25 +0000 (23:32 +0000)]
2002-01-10 Michael Snyder <msnyder@redhat.com>
* Makefile.in: Add rules for gcore.o and linux-proc.o.
* gcore.c: Include cli/cli-decode.h instead of command.h.
Michael Snyder [Thu, 10 Jan 2002 23:05:21 +0000 (23:05 +0000)]
2002-01-10 Michael Snyder <msnyder@redhat.com>
* elf.c (elfcore_write_prstatus): Use long instead of pid_t;
(elfcore_write_pstatus): Use long instead of pid_t;
* elf-bfd.h: Change prototypes to use long instead of pid_t;
Michael Snyder [Thu, 10 Jan 2002 23:03:35 +0000 (23:03 +0000)]
2002-01-05 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (--pid): Document new command line option (attach).
Michael Snyder [Thu, 10 Jan 2002 23:03:08 +0000 (23:03 +0000)]
2002-01-10 Michael Snyder <msnyder@redhat.com>
* main.c (captured_main): Add new command line option "--pid".
If the second command line argument (following the symbol-file)
begins with a digit, try to attach to it before trying to open
it as a corefile.
(print_gdb_help): Document the "--pid" argument.
Alan Modra [Thu, 10 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Jason Merrill [Thu, 10 Jan 2002 20:46:16 +0000 (20:46 +0000)]
* gdb.c++/namespace.exp: Accept trailing const for 'this'.
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
constructors.
* gdb.c++/derivation.exp: Likewise.
* gdb.c++/templates.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.