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
Michael Snyder
bbf5b05dbf
Don't blame aoliva for my work.
2003-12-05 22:00:39 +00:00
Mark Kettenis
2af2aeb01d
From Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
...
* dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
column instead of translating it.
2003-12-05 21:14:49 +00:00
Nick Clifton
2acb89ed54
Fix SH compilation problems introduced by previous delta
2003-12-05 11:55:01 +00:00
Nick Clifton
d3793eaa60
Fixes for use of ARM_26D reloc in arm-wince toolchain.
2003-12-05 11:30:18 +00:00
Michael Chastain
362ff85603
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR c++/1465.
Fix for PR c++/1377.
* cp-support.h (cp_lookup_rtti_type): New function.
* cp-support.c (cp_lookup_rtti_type): New function.
* gnu-v2-abi.c: Update copyright years.
(gnuv2_rtti_type): Call cp_lookup_rtti_type.
* gnu-v3-abi.c: Update copyright years.
(gnuv3_rtti_type): Call cp_lookup_rtti_type.
2003-12-05 04:25:09 +00:00
Michael Snyder
aeadede63f
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 02:02:32 +00:00
Michael Snyder
88da98f3d4
2003-12-03 Alexandre Oliva <aoliva@redhat.com>
...
* config/tc-sh.c: Add support for sh4a and no-fpu variants,
with appropriate additions to md_show_usage.
* testsuite/gas/sh/basic.exp: Call tests for sh4a.
* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
New files, tests for sh4a and related variants.
* doc/c-sh.texi: Document new -isa options.
* doc/c-sh64.texi: Ditto.
* NEWS: Mention new support for sh4a.
2003-12-05 01:59:55 +00:00
Michael Chastain
b74b6d0b9f
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.
2003-12-05 01:53:46 +00:00
Joel Brobecker
149d821b1e
* stabsread.c (read_type): Save a reference to types that are defined
...
as cross references to other types.
2003-12-05 00:45:39 +00:00
gdbadmin
d97d0546d3
*** empty log message ***
2003-12-05 00:00:01 +00:00