Commit graph

42403 commits

Author SHA1 Message Date
Christian Groessler
bb5737a720 * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
(ctrl_table): Add "flags" keyword and some comments.
	(flag_table): Convert to uppercase.
	(get_flags_operand): Be case insensitive.
	(get_interrupt_operand): Be case insensitive.  Support notation
	where the inperrupt arguments are separated by commas.
	(get_operands): Check whether get_flags_operand consumed all
	arguments.  Return failure if get_ctrl_operand didn't recognize a
	valid control register.
	(get_specific): Add case CLASS_CTRL: Test for valid control
	register for ldctlb opcode.
	(build_bytes): Check for valid control registers.
2003-12-15 22:02:42 +00:00
Christian Groessler
a0bd404eac * z8k-dis.c (intr_names): Removed.
(print_intr, print_flags): New functions.
	(unparse_instr): Use new functions.
2003-12-15 22:01:43 +00:00
Mark Kettenis
6a9756ed29 * i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
(XM_CLIBS): Remove.
(NATDEPFILES): Remove core-regset.o and corelow.o.
* config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
2003-12-15 21:54:30 +00:00
DJ Delorie
09e9708c4c merge from gcc 2003-12-15 19:03:58 +00:00
DJ Delorie
97ceaf5b4d merge from gcc 2003-12-15 17:45:42 +00:00
Nick Clifton
a711c44f29 Add PIPE_O attribute to "pop" instruction. 2003-12-15 12:19:13 +00:00
Nick Clifton
8d8199c311 (obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values. 2003-12-15 12:02:38 +00:00
Nick Clifton
25c80428af Ensure that correct flags are set on known PE section types. 2003-12-15 11:50:11 +00:00
Mark Mitchell
1ea5b9f8d1 * arm-opc.h (arm_opcodes): Put V6 instructions before XScale
instructions.
2003-12-15 05:01:41 +00:00
Mark Mitchell
5dfd8c0381 * gas/arm/thumbv6.s: Add nops.
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump.  Add nops.
2003-12-15 04:47:23 +00:00
gdbadmin
b1c1720c5d *** empty log message *** 2003-12-15 00:00:02 +00:00
Alan Modra
e9c8389dc1 daily update 2003-12-14 23:00:05 +00:00
Mark Kettenis
e34e1a8519 * proc-api.c (procfs_note): Add format string to fprintf call. 2003-12-14 13:40:19 +00:00
Mark Kettenis
5daa5b4ecc * i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
for `subl' and `xorl' instructions.
2003-12-14 10:59:08 +00:00
gdbadmin
1eb4d9af74 *** empty log message *** 2003-12-14 00:00:01 +00:00
Alan Modra
accf8041eb * gas/mmix/basep-8.d: Update for lcomm symbol type change.
* gas/mmix/basep-9.d: Likewise.
2003-12-13 23:32:25 +00:00
Alan Modra
0b46f0e55a daily update 2003-12-13 23:00:05 +00:00
Jim Blandy
27bfe10e37 * dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
to strcmp and strncmp.
2003-12-13 22:29:06 +00:00
Jim Blandy
e481341f06 * osabi.c (gdbarch_init_osabi): Reformat error message with better
line breaks.
2003-12-13 21:41:10 +00:00
Jim Blandy
1b3bb3d032 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test. 2003-12-13 20:12:31 +00:00
Hans-Peter Nilsson
8b1ddfd7d1 * mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
SETL_INSN_BYTE, INCH_INSN_BYTE, INCMH_INSN_BYTE, INCML_INSN_BYTE
	and SWYM_INSN_BYTE instead of raw numbers.
2003-12-13 14:56:24 +00:00
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