Commit Graph

42132 Commits

Author SHA1 Message Date
Mark Kettenis f614e9d90b * blockframe.c (inside_main_func): Reformat. Introduce new local
variables to prevent long lines.  Update comments to reflect
reality.
2003-12-13 13:16:52 +00:00
Alan Modra dbe2df79e9 * config/obj-elf.c: Convert to C90, remove unneeded prototypes and
casts.  Formatting.
	* config/obj-elf.h: Remove PARAMS.
2003-12-13 12:57:40 +00:00
Alan Modra 13c5698440 * read.c (s_lcomm_internal): Make global.
* read.h (s_lcomm_internal): Declare.
	* config/obj-elf.c (elf_pseudo_table): Handle lcomm.
	(obj_elf_lcomm): New function.
2003-12-13 08:59:24 +00:00
Alan Modra e13bab5a71 * read.c: Remove unneeded prototypes.
(s_comm): Split out code to..
	(s_comm_internal): ..here.  Tidy error returns.  Rearrange so that
	"name" from input line may be used in more places.  Merge code
	testing for valid size from elf_common.  Merge code from
	s_lcomm_internal.  Call comm_parse_extra.
	(bss_alloc): New function, split out of s_lcomm_internal and
	elf_common.
	(parse_align): Likewise.
	(s_lcomm_internal): Rewrite.
	(s_lcomm, s_lcomm_bytes): Use s_comm_internal.
	* read.h (bss_alloc, parse_align, s_comm_internal): Declare.
	* config/obj-elf.c (elf_common): Split out code to..
	(elf_common_parse): ..here.  Remove code common to s_comm_internal,
	parse_align and bss_alloc.  Rearrange and Tidy.
	* config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
2003-12-13 08:23:05 +00:00
Kevin Buettner 503ff15d38 From David Mosberger <davidm@hpl.hp.com>:
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
	with a single unw_dyn_info_t pointer.
	(libunwind_find_dyn_list): Likewise.
	* libunwind-frame.h: Likewise.
	* ia64-tdep.c (ia64_find_unwind_table): Switch to using
	UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
	entire unwind-table at once.  Support for this table format has
	been added to libunwind v0.95.
	(ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
	(ia64_get_dyn_info_list): Adjust for interface change for
	libunwind_find_dyn_list().
2003-12-13 03:51:56 +00:00
Kevin Buettner 3a4c93712e * gdb.asm/frv.inc: New file.
* gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2003-12-13 01:01:08 +00:00
gdbadmin 34ce82ec84 *** empty log message *** 2003-12-13 00:00:02 +00:00
Alan Modra 5c472bf80f daily update 2003-12-12 23:00:05 +00:00
Nick Clifton d0a5adde99 Updated Romanian translation 2003-12-12 20:42:51 +00:00
Jeff Johnston 468d015dea 2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
* breakpoint.c (breakpoint_enabled): New function to test whether
        breakpoint is active and enabled.
        (insert_bp_location, insert_breakpoints): Call new function to test
        for enabled breakpoint.
        (remove_breakpoint, breakpoint_here_p, breakpoint_thread_match)
        (bpstat_should_step, bpstat_have_active_hw_watchpoints)
        (disable_breakpoints_in_shlibs, hw_watchpoint_used_count)
        (disable_watchpoints_before_interactive_call_start)
        (breakpoint_re_set_one): Ditto.
        (bpstat_stop_status): Use new function and simplify test.
2003-12-12 19:04:46 +00:00
Nick Clifton 4b09af6f19 oops - forgot to add this file! 2003-12-12 16:35:21 +00:00
Mark Kettenis f82de61cdc * observer.c (observer_test_first_observer)
(observer_test_second_observer, observer_test_third_observer):
Don't define as `static'.
(observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Likewise.
2003-12-12 16:14:26 +00:00
Alan Modra ac7bbf74d3 * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
NULL dyn_h.
2003-12-12 14:11:58 +00:00
gdbadmin 1b80b9a026 *** empty log message *** 2003-12-12 00:00:32 +00:00
Alan Modra 4110ab5b98 daily update 2003-12-11 23:00:06 +00:00
Nick Clifton 03394ac999 (INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments. 2003-12-11 18:10:19 +00:00
Mark Kettenis 9db7c108d9 * solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
of (0).
2003-12-11 13:45:12 +00:00
Nick Clifton 6ea3dd37ae Add --only-keep-debug to the --help output. 2003-12-11 13:22:51 +00:00
Nick Clifton 16b47b253e Add support for the m32r2 processor 2003-12-11 11:33:44 +00:00
Dhananjay Deshpande 8bfdb6721b * MAINTAINERS (write after approval): Add myself 2003-12-11 06:30:10 +00:00
Dhananjay Deshpande 454d05118b Fix GDB crash problem when object file of different H8 cpu is loaded 2003-12-11 06:21:12 +00:00
gdbadmin 8f02783d3a *** empty log message *** 2003-12-11 00:00:01 +00:00
Alan Modra bea534c88a daily update 2003-12-10 23:00:05 +00:00
Zack Weinberg 1f6c9eb084 opcodes:
* ppc-opc.c (MO): Make optional.
	(RAO, RSO, SHO): New optional forms of RA, RS, SH operands.
	(tlbwe): Accept for both PPC403 and BOOKE.  Make all operands optional.
gas:
	* tc-ppc.c (md_assemble): Rewrite comment about optional operands
	to indicate that 'all or none' is also handled.  Pluralize a
	word in another comment.
gas/testsuite:
	* gas/ppc/booke.s: Add two more forms of the mbar instruction
	and three forms of the tlbwe instruction.
	* gas/ppc/booke.d: Update to match.
2003-12-10 22:12:50 +00:00
Joel Brobecker 7ae4c3a566 * frame.c (select_frame): Get the current frame PC using
get_frame_address_in_block() instead of get_frame_pc().
        * stack.c (get_frame_language): Likewise.
2003-12-10 17:40:43 +00:00
Paul Brook 4249f881bd * gas/arm/arm.exp: Add r15-bad.
* gas/arm/r15-bad.s: New file.
	* gas/arm/r15-bad.l: New file.
2003-12-10 12:50:26 +00:00
Paul Brook 33a392fb88 * config/tc-arm.c (FPU_MAVERICK): Define.
(FPU_ARCH_MAVERICK): Define.
	(arm_float_abi): Define.
	(mfloat_abi_opt): New variable.
	(md_begin): Use them.
	(arm_opts): Add msoft-float and mhard-float.
	(arm_cpus): Use FPU_ARCH_MAVERICK.
	(arm_fpus): Add maverick.
	(arm_float_abis): Add.
	(arm_parse_float_abi): New function.
	(arm_long_options): Add mfloat-abi.
	* doc/as.texinfo: Document -mfloat-abi=.
	* doc/c-arm.text: Ditto. Menution -fpu=maverick.
2003-12-10 12:11:26 +00:00
Ben Elliston 1a9a8ab429 Remove redundant returns in void functions. 2003-12-10 06:41:08 +00:00
gdbadmin eda9487562 *** empty log message *** 2003-12-10 00:00:01 +00:00
Alan Modra f62025164d daily update 2003-12-09 23:00:06 +00:00
Fred Fish a1dea79abe Committed after testing and independent approval/endorsement.
2003-12-09  Fred Fish  <fnf@redhat.com>
	* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
	functions to break1.c and leave prototypes behind.  Add more
	"set breakpoint NN here" comments.
	* gdb.base/break1.c: New file.
	* gdb.base/break.exp: Handle compiling test case from multiple
	source files and change source file references as needed.
	* gdb.base/completion.exp: Ditto.
	* gdb.base/condbreak.exp: Ditto.
	* gdb.base/define.exp: Ditto.
	* gdb.base/ena-dis-br.exp: Ditto.
	* gdb.base/info-proc.exp: Ditto.
	* gdb.base/maint.exp: Ditto.
	* gdb.base/until.exp: Ditto.
	* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
	hardcoded line numbers.
	* gdb.base/define.exp: Ditto.
	* gdb.base/ena-dis-br.exp: Ditto.
	* gdb.base/maint.exp: Ditto.
	* gdb.base/until.exp: Ditto.
	* gdb.base/completion.exp: Use "break1" for completion tests since
	"break" is no longer a unique prefix.
2003-12-09 18:19:20 +00:00
Paul Brook 5533419b3d * config/tc-arm.c (do_umaal): Fix typo. 2003-12-09 17:41:12 +00:00
gdbadmin 42e44c6dee *** empty log message *** 2003-12-09 00:00:02 +00:00
Alan Modra ff0c0cbc9e daily update 2003-12-08 23:00:06 +00:00
Thomas Fitzsimmons f2ab599022 2003-12-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.in (raw_libstdcxx_flags): Remove the leading space.
	* configure: Regenerate.
2003-12-08 21:19:41 +00:00
Richard Sandiford 9719ad4149 * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.
2003-12-08 20:04:34 +00:00
Kevin Buettner 9b74d5d385 * remote.c (remote_open_1, remote_cisco_open): Avoid closing
remote_desc more than once.
2003-12-08 17:00:06 +00:00
Alan Modra 754021d045 * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
"elflink_hash_entry *" param to elf_backend_link_output_symbol_hook.
	Add "elflink_hash_entry *" param to elf_backend_output_arch_syms.
	* elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param,
	and pass to output_symbol_hook.
	(elf_bfd_final_link): Adjust elf_link_output_sym calls.
	(elf_link_output_extsym): Likewise.
	(elf_link_input_bfd): Likewise.
	* elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust.
	* elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
	* elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
	* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
	* elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
	* elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise.
	* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
	Validate dynh->h against h.
	* elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield.
	(link_hash_newfunc): Init it.
	(adjust_opd_syms): New function.
	(ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted.
	Set opd.adjust for all .opd relocs.  Call adjust_opd_syms.
	(ppc64_elf_tls_optimize): Adjust possible .opd sym values here.
	(ppc64_elf_relocate_section): Also adjust syms not a multiple of 24.
	(ppc64_elf_output_symbol_hook): New function.
	(elf_backend_link_output_symbol_hook): Define.
2003-12-08 13:05:11 +00:00
H.J. Lu 2f97444a4f 2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
	cplus_demangle.
2003-12-08 03:43:33 +00:00
gdbadmin d992e8df4a *** empty log message *** 2003-12-08 00:00:31 +00:00
Kazu Hirata 62b635b637 * ldemul.c: Convert to ISO-C.
* ldver.c: Likewise.
2003-12-07 23:52:44 +00:00
Alan Modra 424d6be11c daily update 2003-12-07 23:00:05 +00:00
Richard Sandiford 258e658f8b * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
2003-12-07 21:49:09 +00:00
Richard Sandiford 11a2be4ddc * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.
2003-12-07 21:24:28 +00:00
Andrew Cagney e7ebf6d61f 2003-12-07 Andrew Cagney <cagney@redhat.com>
* defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
	directly calling strcmp equivalents.  Add disclaimer.
2003-12-07 17:22:29 +00:00
Andrew Cagney 0b2e03b491 More reversion of incomplete m32r changes. Should be back to normal. 2003-12-07 16:13:06 +00:00
Andrew Cagney cd886a95bf Revert last commit, build problems. 2003-12-07 02:58:01 +00:00
Andrew Cagney 3c041444b5 2003-12-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* Makefile.in : Add new machine m32r2.
        * m32r2.c : New file for m32r2.
	* mloop2.in : Ditto
	* model2.c : Ditto
	* sem2-switch.c : Ditto
        * m32r-sim.h : Add EVB register.
        * sim-if.h : Ditto
        * sim-main.h : Ditto
        * traps.c : Ditto
2003-12-07 02:27:45 +00:00
Kazu Hirata 48ecb30c92 * lexsup.c (is_num): Remove. 2003-12-07 00:08:41 +00:00
gdbadmin ff85c3bec4 *** empty log message *** 2003-12-07 00:00:32 +00:00