Commit Graph

42300 Commits

Author SHA1 Message Date
Nick Clifton 4f03e98cb5 Add N_PATCH to DO definition. 2004-01-06 17:05:11 +00:00
Michael Snyder 673fc5d0a7 2003-12-18 Michael Snyder <msnyder@redhat.com>
* gencode.c (expand_opcode): Simplify and reorganize.
        Eliminate "shift" parameter.  Eliminate "4 bits at a time"
        assumption.  Flatten switch statement to a single level.
        Add "eeee" token for even-numbered registers.
        (bton): Delete.
        (fsca): Use "eeee" token.
        (ppi_moves): Rename to "expand_ppi_movxy".  Do the ddt
        [movx/movy] expansion here, as well as the ppi expansion.
        (gensim_caselist): Accept 'eeee' along with 'nnnn'.
2004-01-06 01:05:02 +00:00
Michael Snyder 3d29fdb489 2004-01-05 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_load):	Don't pass a type to bfd_openr.
2004-01-06 00:58:48 +00:00
gdbadmin c06c4df5f8 *** empty log message *** 2004-01-06 00:00:32 +00:00
Andrew Cagney 54f1137d66 2004-01-05 Andrew Cagney <cagney@redhat.com>
* ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
	should be a switch case and not a label.
	* mips-tdep.c (mips32_next_pc): Delete unused labels
	"greater_equal_branch" and "less_zero_branch".
	* jv-valprint.c (java_print_value_fields): Delete unused label
	"flush_it".
2004-01-05 23:09:45 +00:00
Alan Modra 295320329c daily update 2004-01-05 23:00:05 +00:00
Mark Kettenis 023c10246b * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files. 2004-01-05 22:55:33 +00:00
Andrew Cagney 5269965e4c 2004-01-05 Andrew Cagney <cagney@redhat.com>
* target.c (unpush_target): Only close a target that is in the
	target stack.
2004-01-05 22:32:23 +00:00
Maciej W. Rozycki 4a4c4a1dfb * doc/as.texinfo: Let texi2pod parse asconfig.texi and
gasver.texi.  Remove duplicate symbol definitions for texi2pod.
2004-01-05 22:19:33 +00:00
Maciej W. Rozycki 2251dd8905 * Makefile.am (Makefile): Move the dependency on
$(BFDDIR)/configure.in to...
(CONFIG_STATUS_DEPENDENCIES): ... here.
(AUTOMAKE_OPTIONS): Require automake 1.8.
* Makefile.in: Regenerate.
* doc/Makefile.am (BASEDIR, BFDDIR): Define.
(CONFIG_STATUS_DEPENDENCIES): Add a dependency on
$(BFDDIR)/configure.in here as well.
* doc/Makefile.in: Regenerate.
2004-01-05 22:16:05 +00:00
Maciej W. Rozycki c658116845 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* doc/Makefile.am (install, install-info): Remove.
(install-data-local): A new hook for install-info.
(AUTOMAKE_OPTIONS): Require automake 1.8.
* doc/Makefile.in: Regenerate.
2004-01-05 22:13:52 +00:00
Maciej W. Rozycki 4301eeb1c7 * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
targets to support pages of up to 64kB.
(elf32_bed): Redefine to get a separate backend data structure for
traditional targets.
* elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
targets to support pages of up to 64kB.
(elf64_bed): Redefine to get a separate backend data structure for
traditional targets.
* elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
targets to support pages of up to 64kB.
(elf32_bed): Redefine to get a separate backend data structure for
traditional targets.
2004-01-05 22:09:38 +00:00
Mark Kettenis 9515395e66 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
address from [sp + 64] instead of %o2.
2004-01-05 20:38:57 +00:00
Mark Kettenis dbc22fa117 * frame.c (get_prev_frame): Don't try to unwind the PC. This
fixes PR backtrace/1476.
2004-01-05 20:33:35 +00:00
Andrew Cagney 5439edaaea 2004-01-05 Andrew Cagney <cagney@redhat.com>
* libunwind-frame.h (struct frame_id): Add opaque declaration,
	move to start of file.
	* i386-tdep.h (struct regcache): Add opaque declaration.
	* config/ia64/nm-linux.h (struct target_ops): Add opaque
	declaration.
	* ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
	(ia64_gdbarch_init): Use "GNU/Linux" in comment.
	* win32-nat.c (fake_create_process): Use ISO C style definition.
	* stabsread.c (define_symbol): Delete #ifndef
	DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
	stabs_argument_has_addr call, macro never defined.
2004-01-05 19:53:08 +00:00
Michael Chastain 19703c4ab8 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
	hppa*-hp-hpux*.
2004-01-05 12:32:11 +00:00
Jakub Jelinek 060feee54d * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
* emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2004-01-05 09:53:31 +00:00
Nathanael Nerode bb5dca17fb * configure.in: Use ./config.cache, not config.cache.
* configure: Regenerate.
	* Makefile.tpl: Special-casing not needed for GCC any more.
	* Makefile.in: Regenerate.
2004-01-05 04:38:54 +00:00
Nathanael Nerode 82252c06fb * configure.in: Don't share a cache file for host dirs.
* configure: Regenerate.
2004-01-05 00:50:42 +00:00
Nathanael Nerode aff0e9df40 * config-ml.in: Don't mess with the cache file. 2004-01-05 00:42:16 +00:00
gdbadmin 4e3b70a6f3 *** empty log message *** 2004-01-05 00:00:02 +00:00
Michael Chastain 19061abea9 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
* op50-rom.c: Delete.
	* w89k-rom.c: Delete.
	* Makefile.in: Remove references.
2004-01-04 23:21:17 +00:00
Alan Modra 565f41e3d3 daily update 2004-01-04 23:00:05 +00:00
Mark Kettenis e53bef9fbd * x86-64-tdep.c: Update copyright year.
(struct amd64_register_info): Rename from x86_64_register_info.
(amd64_register_info): Rename from x86_64_register_info.
(AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
(amd64_register_name): Rename from x86_64_register_name.
(amd64_register_type): Rename from x86_64_register_type.
(amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
(amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
(amd64_dwarf_reg_to_regnum): Rename from
x86_64_dwarf_reg_to_regnum.
(amd64_convert_register_p): Rename from x86_64_convert_register_p.
(amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
(AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
(struct amd64_frame_cache): Renamed from x86_64_frame_cache.
(amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
(amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
(amd64_skip_prologue): Rename from x86_64_skip_prologue.
(amd64_frame_cache): Rename from x86_64_frame_cache.
(amd64_frame_this_id): Rename from x86_64_frame_this_id.
(amd64_frame_prev_register): Rename from
x86_64_frame_prev_register.
(amd64_frame_unwind): Rename from x86_64_frame_unwind.
(amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
(amd64_sigtramp_frame_cache): Rename from
x86_64_sigtramp_frame_cache.
(amd64_sigtramp_frame_prev_register): Rename from
x86_64_sigtramp_frame_prev_register.
(amd64_sigtramp_frame_unwind): Rename from
x86_64_sigtramp_frame_unwind.
(amd64_sigtramp_frame_sniffer): Rename from
x86_64_sigtramp_frame_sniffer.
(amd64_frame_base_address): Rename from x86_64_frame_base_address.
(amd64_frame_base): Rename from x86_64_frame_base.
(amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
(amd64_frame_align): Rename from x86_64_frame_align.
(amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
(amd64_regset_from_core_section): Rename from
x86_64_regset_from_core_section.
(x86_64_init_abi): Update comments.
2004-01-04 19:07:02 +00:00
Nick Roberts c681880448 (write after approval): Add myself. 2004-01-04 15:27:24 +00:00
Nick Roberts fca6aa58fd *** empty log message *** 2004-01-04 15:26:47 +00:00
Mark Kettenis ba6219c89f * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
x86_64-*-*.
2004-01-04 15:04:41 +00:00
Mark Kettenis 18b6703720 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
sparc64-*-* and sparc*-solaris2*.
2004-01-04 14:06:00 +00:00
Mark Kettenis 8ada74e3cc * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
`float' arguments.
2004-01-04 12:18:25 +00:00
Mark Kettenis 0647ed71ac * elf32-sparc.c (elf32_sparc_grok_psinfo): New function. 2004-01-04 09:24:27 +00:00
gdbadmin 3390c393e1 *** empty log message *** 2004-01-04 00:00:02 +00:00
Mark Kettenis 1bfbbb9d24 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
return ${tests}" test.  The ${tests} already mentions the
filename.
2004-01-03 23:49:31 +00:00
Mark Kettenis 5154b0cdb1 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
such that it mentions a specific version of GCC that exhibits this
bug.
2004-01-03 23:24:57 +00:00
Alan Modra 696419f58e daily update 2004-01-03 23:00:04 +00:00
Mark Kettenis 200cc5539f * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
structure that has a single `float' member, store it in %f1 in
addition to %f0.
2004-01-03 20:46:30 +00:00
Nathanael Nerode ac7b618e10 * Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.
2004-01-03 18:31:06 +00:00
Nathanael Nerode 95036d20ff PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates
	to them.)
	* configure.in: Don't use shared config.cache for target
	directories.
	* configure: Regenerate.
2004-01-03 18:24:38 +00:00
Mark Kettenis e226a4a0de * sparc-sol2-nat.c: Add missing ''. 2004-01-03 18:21:01 +00:00
Mark Kettenis b9d4c5eddc * sparc-tdep.c (sparc32_return_value): New function.
(sparc32_use_struct_convention, sparc32_return_value_on_stack):
Remove functions.
(sparc32_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value, use_struct_convention
and return_value_on_stack.
2004-01-03 17:59:04 +00:00
Mark Kettenis fb316966f9 * sparc-sol2-nat.c: Add missing ')'. 2004-01-03 15:56:15 +00:00
Joel Brobecker 1af510a802 * infrun.c (handle_step_into_function): New function.
(handle_inferior_event): Extract out some code into the new
        function above.
2004-01-03 15:22:21 +00:00
Joel Brobecker 5cf4d23a4e * infrun.c (handle_inferior_event): Move the declaration of
real_stop_pc inside the if blocks where it is used.
2004-01-03 15:17:09 +00:00
Mark Kettenis 60af1db256 * sparc64-tdep.c (sparc64_16_byte_align_p)
(sparc64_store_floating_fields, sparc64_store_floating_fields):
Use check_typedef to get subtypes of structures and unions.
(sparc64_store_return_value): Fix calculation of the appropriate
offset into VALBUF when storing a structure or union.
(sparc64_return_value): New function.
(sparc64_use_struct_convention): Remove function.
(sparc64_init_abi): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
2004-01-03 15:00:10 +00:00
Eli Zaretskii 1a901d3f9c * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
	gdb/config/alpha/xm-alphaosf.h,
	gdb/config/powerpc/tm-ppcle-eabi.h,
	gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
	gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
	gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
	gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
	gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
	gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
	gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
	gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
	gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
	gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
	gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
	nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
	include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
	opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
	opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
	sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
	sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
	sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
	sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
	sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
	sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
	Remove lines for .cvsignore files.
2004-01-03 13:44:53 +00:00
Joel Brobecker ef52e463d0 * infrun.c: Backout the previous change. 2004-01-03 13:02:00 +00:00
Alan Modra c2df3ea5c0 typo fix 2004-01-03 12:49:29 +00:00
Alan Modra e5caa5e0ca * ldexp.c (align_n): Make static.
* ldexp.h (align_n): Delete declaration.
	* ldlang.h (lang_enter_output_section_statement): Remove
	block_value param.
	* ldlang.c (lang_enter_output_section_statement): Likewise.
	(TO_ADDR, TO_SIZE): Define.
	(opb): New var.
	(init_opb): New function.
	(print_input_section): Call init_opb and use TO_ADDR.
	(print_data_statement, print_reloc_statement): Likewise.
	(print_padding_statement): Likewise.
	(size_input_section): Use TO_SIZE and TO_ADDR, and global opb.
	(lang_check_section_addresses): Likewise.
	(lang_size_sections_1): Likewise.
	(lang_do_assignments_1): Likewise.
	(lang_set_startof): Likewise.
	(lang_one_common): Likewise.  Combine power_of_two and opb alignment.
	(lang_process): Call init_opb.
	(lang_abs_symbol_at_end_of): Use TO_ADDR and global opb.
	(lang_enter_overlay_section): Adjust
	lang_enter_output_section_statement call.
	* ldgram.y: Likewise.
	* mri.c (mri_draw_tree): Likewise.
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
	* emultempl/mmo.em (mmo_place_orphan): Likewise.
	* emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2004-01-03 12:39:07 +00:00
Mark Kettenis f0424ef6d4 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
sparc-*-sunos4* to the list of REMOVED configurations.
2004-01-03 12:21:09 +00:00
Mark Kettenis cb1bf9dc67 * configure.tgt: Add back sparc-*-vxworks*.
* remote-vxsparc.c: Remove all includes except for "defs.h",
"regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
Include "sparc-tdep.h".
(SPARC_R_G1): New define.
(vxsparc_gregset): New variable.
(ext_format_sparc): Remove extern declaration.
(vx_read_register): Rewrite to use sparc32_supply_gregset and
sparc32_supply_fpregset.
(vx_write_register): Rewrite to use sparc32_collect_gregset,
sparc_collect_rwindow and sparc32_collect_fpregset.
* config/sparc/tm-vxworks.h: New file, based on recently removed
tm-vxsparc.h.
* config/sparc/vxworks.mt: New file, based on recently removed
vxworks.mt.
2004-01-03 12:09:48 +00:00
Joel Brobecker 5e938f9ff1 * infrun.c (handle_step_into_function): New function.
(handle_inferior_event): Extract out some code into the new
        function above.
2004-01-03 11:51:22 +00:00