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
Alan Modra
01617db8b6
daily update
2003-12-06 23:00:06 +00:00
Andrew Cagney
8ccc128739
2003-12-06 Andrew Cagney <cagney@redhat.com>
...
* remote.c (remote_fetch_registers): For short packets, explicitly
supply a zero value. Use regcache_raw_supply. Fix suggested by
Jonathan Larmour.
2003-12-06 22:58:27 +00:00
Andrew Cagney
5266b69c16
2003-12-06 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp (test_struct_returns): When applicable, set
"return_value_unimplemented". When an unimplemented struct return
architecture, report incorrect values as a KFAIL
2003-12-06 22:49:02 +00:00
Kazu Hirata
d73424248e
* dwarf2dbg.c: Convert to ISO-C.
...
* write.c: Likewise.
* write.h: Likewise.
2003-12-06 16:16:51 +00:00
Richard Sandiford
0a6ace1e0e
gas/
...
* config/tc-mips.c (macro): Switch misordered call to frag_grow()
and setting of tc_fr_offset.
gas/testsuite/
* gas/mips/elf-rel16.[sd]: New test.
* gas/mips/mips.exp: Run it.
* gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)".
* gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-12-06 13:52:23 +00:00
Kazu Hirata
b76033d904
Fia x comment typo.
2003-12-06 10:02:06 +00:00
Alan Modra
0bec1a8421
* common.h (DT_HIOS): Correct value.
2003-12-06 05:32:21 +00:00
Michael Chastain
374451f0e9
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/rtti.exp: Accept new wording of warning from
cp_lookup_rtti_type.
2003-12-06 04:40:42 +00:00
Michael Chastain
ba9b20a7b1
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
(test_at_foo): Likewise.
(test_at_bar): Likewise.
2003-12-06 02:06:22 +00:00
Mark Mitchell
09d92015d3
* gas/arm/arm.exp: Add archv6 and thumbv6.
...
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.
Add V6 support.
* config/tc-arm.c (ARM_EXT_V6): New macro.
(ARM_ARCH_V6): Likewise.
(SHIFT_IMMEDIATE): Likewise.
(SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
(SHIFT_ASR_IMMEDIATE): Likewise.
(SHIFT_LSL_IMMMEDIATE): Likewise.
(do_cps): New function.
(do_cpsi): Likewise.
(do_ldrex): Likewise.
(do_pkhbt): Likewise.
(do_pkhtb): Likewise.
(do_qadd16): Likewise.
(do_rev): Likewise.
(do_rfe): Likewise.
(do_sxtah): Likewise.
(do_sxth): Likewise.
(do_setend): Likewise.
(do_smlad): Likewise.
(do_smlald): Likewise.
(do_smmul): Likewise.
(do_ssat): Likewise.
(do_usat): Likewise.
(do_srs): Likewise.
(do_ssat16): Likewise.
(do_usat16): Likewise.
(do_strex): Likewise.
(do_umaal): Likewise.
(do_cps_mode): Likewise.
(do_cps_flags): Likewise.
(do_endian_specifier): Likewise.
(do_pkh_core): Likewise.
(do_sat): Likewise.
(do_sat16): Likewise.
(insns): Add V6 instructions.
(do_t_cps): New function.
(do_t_cpy): Likewise.
(do_t_setend): Likewise.
(THUMB_CPY): New macro.
(tinsns): Add V6 instructions.
(decode_shift): Handle V6 restricted-shift options.
(thumb_mov_compare): Support CPY.
(arm_cores): Add arm1136js and arm1136jfs.
(arm_archs): Add armv6.
(arm_fpus): Add arm1136jfs.
* doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
armv6 options.
* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.
* arm-dis.c (print_arm_insn): Add 'W' macro.
* arm-opc.h (arm_opcodes): Add V6 instructions.
(thumb_opcodes): Likewise.
2003-12-06 01:25:29 +00:00
Jeff Johnston
32edc941e1
2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
...
* ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
format to be the i387 extended float format which is used for
long doubles stored in memory.
2003-12-06 00:17:04 +00:00
Kazu Hirata
aaad4cf36a
* ChangeLog-9197: Fix comment typos.
...
* coffgrok.c: Likewise.
* filemode.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* unwind-ia64.c: Likewise.
2003-12-06 00:06:12 +00:00
gdbadmin
e1f1f9b8c3
*** empty log message ***
2003-12-06 00:00:31 +00:00
Christian Groessler
f69532ae1b
* config/tc-z8k.c (parse_reg): Be case insensitive when checking
...
register names.
(get_ctrl_operand): Be case insensitive when checking ctrl names.
2003-12-05 23:40:04 +00:00
Christian Groessler
24bc63c55a
* gas/z8k/ctrl-names.d: New file.
...
* gas/z8k/ctrl-names.s: New file.
* gas/z8k/z8k.exp: Run new tests.
2003-12-05 23:37:02 +00:00
Alan Modra
15466f2da7
daily update
2003-12-05 23:00:09 +00:00
Michael Snyder
2469ef8b79
2003-12-02 Alexandre Oliva <aoliva@redhat.com>
...
* sh-opc.h: Add support for sh4a and no-fpu variants.
* sh-dis.c: Ditto.
2003-12-05 22:16:11 +00:00