platform/upstream/binutils.git
21 years agoReverting until I learn how to conform..
David Lecomber [Tue, 9 Sep 2003 23:09:37 +0000 (23:09 +0000)]
Reverting until I learn how to conform..

21 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 22:41:47 +0000 (22:41 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (ppc_push_return_address): Delete function.
(rs6000_push_dummy_call): Set LR to BP_ADDR.
(rs6000_gdbarch_init): Do not set deprecated_push_return_address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.

21 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 9 Sep 2003 22:34:53 +0000 (22:34 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * sim/frv/maddaccs.cgs: move to fr400 subdirectory.
        * sim/frv/msubaccs.cgs: move to fr400 subdirectory.
        * sim/frv/masaccs.cgs: move to fr400 subdirectory.

21 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 9 Sep 2003 22:29:42 +0000 (22:29 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * frv-desc.c: Regenerated.

21 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 9 Sep 2003 22:28:33 +0000 (22:28 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * frv.c (do_media_average): Select machine using a switch.

21 years ago2003-09-09 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 9 Sep 2003 22:27:28 +0000 (22:27 +0000)]
2003-09-09  Dave Brolley  <brolley@redhat.com>

        * frv.cpu (media-dual-complex): Change UNIT to FMALL.
        (conditional-media-dual-complex, media-quad-complex): Likewise.

21 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 22:21:36 +0000 (22:21 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_fix_call_dummy): Delete function.
(rs6000_push_dummy_call): Set the "TOC" register.

21 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 22:10:57 +0000 (22:10 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated
methods "max_register_raw_size", "max_register_virtual_size" or
"register_virtual_size".

21 years ago * MAINTAINERS: Update my e-mail address.
Ian Lance Taylor [Tue, 9 Sep 2003 20:25:58 +0000 (20:25 +0000)]
* MAINTAINERS: Update my e-mail address.

21 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 20:22:37 +0000 (20:22 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_store_struct_return): Delete function.
(rs6000_push_dummy_call): Store the struct return address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.

21 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 18:29:27 +0000 (18:29 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace
"ppc_sysv_abi_push_arguments".
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace
"ppc_sysv_abi_push_arguments".
* rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call"
instead of "push_arguments".
(rs6000_push_dummy_call): Replace "rs6000_push_arguments".

21 years agoThis enables the print elements limits to work with multi-dim arrays
David Lecomber [Tue, 9 Sep 2003 16:58:00 +0000 (16:58 +0000)]
This enables the print elements limits to work with multi-dim arrays
in FORTRAN

21 years agoChange array element access to something similar to way C works.
David Lecomber [Tue, 9 Sep 2003 16:51:54 +0000 (16:51 +0000)]
Change array element access to something similar to way C works.
The old method would drag in the entire array, then look for the
single element.  This method just gets the right element out instead.
Saves memory, and saves a crash for array with (*) as one of the
dimensions when it would previously have allocated (unsigned int) -1 bytes.

21 years ago2003-09-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 15:00:23 +0000 (15:00 +0000)]
2003-09-09  Andrew Cagney  <cagney@redhat.com>

* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
instead of CALL_DUMMY_ADDRESS.

21 years agoCorrect small glitch introduced in ChangeLog by last commit.
Paul N. Hilfinger [Tue, 9 Sep 2003 08:17:44 +0000 (08:17 +0000)]
Correct small glitch introduced in ChangeLog by last commit.

21 years ago2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
Paul N. Hilfinger [Tue, 9 Sep 2003 08:05:43 +0000 (08:05 +0000)]
2003-09-09  Paul N. Hilfinger  <hilfingr@gnat.com>

* p-lang.c: Eliminate "register".
* c-lang.c: Ditto.
* expprint.c: Ditto.
* f-lang.c: Ditto.
* jv-lang.c: Ditto.
* language.c: Ditto.
* m2-lang.c: Ditto.
* parse.c: Ditto.
* scm-lang.c: Ditto.
* objc-lang.c: Ditto.

21 years agoAdd support for v850e1 machine number.
Nick Clifton [Tue, 9 Sep 2003 06:34:54 +0000 (06:34 +0000)]
Add support for v850e1 machine number.

21 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 04:41:32 +0000 (04:41 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.

21 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 03:58:18 +0000 (03:58 +0000)]
2003-09-08  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename
CALL_DUMMY_ADDRESS, change to a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address.
* infcall.c (call_function_by_hand): Ditto.
* sparc-tdep.c (sparc_push_return_address): Ditto.
(sparc_gdbarch_init): Set deprecated_call_dummy_address.
* xstormy16-tdep.c (xstormy16_push_return_address): Replace
CALL_DUMMY_ADDRESS with entry_point_address.
* v850-tdep.c (v850_push_return_address): Ditto.
* s390-tdep.c (s390_push_return_address): Ditto.
* rs6000-tdep.c (ppc_push_return_address): Ditto.
* mn10300-tdep.c (mn10300_push_return_address): Ditto.
* mcore-tdep.c (mcore_push_return_address): Ditto.
* cris-tdep.c (cris_push_return_address): Ditto.
* arm-tdep.c (arm_push_return_address): Ditto.

21 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 03:31:07 +0000 (03:31 +0000)]
2003-09-08  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous
enum.  Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED
and REG_UNMODIFIED to REG_SAME_VALUE.
(execute_cfa_program): Update.
(dwarf2_frame_cache): Update.  Initialize table to
REG_UNSPECIFIED, complain if CFI fails to specify a register's
location.
(dwarf2_frame_prev_register): Update.  Handle REG_UNSPECIFIED.

21 years ago2003-09-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 9 Sep 2003 03:14:02 +0000 (03:14 +0000)]
2003-09-08  Andrew Cagney  <cagney@redhat.com>

* gnu-nat.c: Remove "inline" function attribute.
* alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.

21 years ago*** empty log message ***
gdbadmin [Tue, 9 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 9 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
Kevin Buettner [Mon, 8 Sep 2003 23:21:37 +0000 (23:21 +0000)]
* config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
target.

21 years agoMake frv-tdep.c use new frame mechanisms.
Kevin Buettner [Mon, 8 Sep 2003 23:01:29 +0000 (23:01 +0000)]
Make frv-tdep.c use new frame mechanisms.

21 years ago* dwarf2-frame.c (read_encoded_value): Add support for
Mark Kettenis [Mon, 8 Sep 2003 22:43:40 +0000 (22:43 +0000)]
* dwarf2-frame.c (read_encoded_value): Add support for
DW_EH_PE_aligned encoding.

21 years ago2003-09-08 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 8 Sep 2003 21:30:52 +0000 (21:30 +0000)]
2003-09-08  Michael Chastain  <mec@shout.net>

* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.

21 years ago * infrun.c (normal_stop): Don't print a message if the inferior
Daniel Jacobowitz [Mon, 8 Sep 2003 20:13:48 +0000 (20:13 +0000)]
* infrun.c (normal_stop): Don't print a message if the inferior
has exited.

21 years ago* Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
Jim Blandy [Mon, 8 Sep 2003 19:22:30 +0000 (19:22 +0000)]
* Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
* dbxread.c: #include "gdb_assert.h".
(read_dbx_symtab): If the objfile has no .data section, use the
section index for the .bss section instead.

21 years ago * frame.c (deprecated_safe_get_selected_frame): New function.
Daniel Jacobowitz [Mon, 8 Sep 2003 18:56:03 +0000 (18:56 +0000)]
* frame.c (deprecated_safe_get_selected_frame): New function.
* frame.h (deprecated_safe_get_selected_frame): Add prototype.
* findvar.c (read_var_value): Call it.

21 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 8 Sep 2003 17:26:20 +0000 (17:26 +0000)]
2003-09-08  Dave Brolley  <brolley@redhat.com>

        On behalf of Doug Evans <dje@sebabeach.org>
        * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen.

21 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 8 Sep 2003 17:25:56 +0000 (17:25 +0000)]
2003-09-08  Dave Brolley  <brolley@redhat.com>

        On behalf of Doug Evans <dje@sebabeach.org>
        * Makefile.in (stamp-arch,stamp-cpu, stamp-desc): Pass archfile to cgen.

21 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 8 Sep 2003 17:25:35 +0000 (17:25 +0000)]
2003-09-08  Dave Brolley  <brolley@redhat.com>

        On behalf of Doug Evans <dje@sebabeach.org>
        * Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen.
        Remove copying of .cpu file to cgen/cpu, no longer needed.

21 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 8 Sep 2003 17:24:59 +0000 (17:24 +0000)]
2003-09-08  Dave Brolley  <brolley@redhat.com>

        On behalf of Doug Evans <dje@sebabeach.org>
        * cgen.sh: New arg archfile.
        * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
        cgen-cpu-decode,cgen-desc): Update call to cgen.sh.

21 years ago2003-09-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 8 Sep 2003 17:24:05 +0000 (17:24 +0000)]
2003-09-08  Dave Brolley  <brolley@redhat.com>

        On behalf of Doug Evans <dje@sebabeach.org>
        * Makefile.am (run-cgen): Pass new args archfile and opcfile
        to cgen.sh.
        (stamp-ip2k,stamp-m32r,stamp-fr30,stamp-frv,stamp-openrisc,
        stamp-iq2000,stamp-xstormy16): Pass paths of .cpu and .opc files
        to cgen.sh.
        (stamp-frv): Delete hardcoded path spec workaround.
        * Makefile.in: Regenerate.
        * cgen.sh: New args archfile and opcfile.  Pass on to cgen.

21 years ago * archures.c: Add new machine names for hppa.
Joel Brobecker [Mon, 8 Sep 2003 16:46:02 +0000 (16:46 +0000)]
    * archures.c: Add new machine names for hppa.
        * bfd-in2.h: Regenerate.
        * cpu-hppa.c: Use the new machine names.

21 years ago * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
Corinna Vinschen [Mon, 8 Sep 2003 11:26:21 +0000 (11:26 +0000)]
* Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
(sh64-tdep.o): Add dependencies.
* configure.tgt: Add FIXME to sh-*-linux*.
* sh-tdep.c: Move sh64 support to sh64-tdep.c.
(sh_gdbarch_init): Always set correct sh_show_regs function
pointer.  Call sh64_gdbarch_init() if machine type is sh5.
* sh-tdep.h: Move sh64 support to sh64-tdep.c.
* sh64-tdep.c: New file, containing all sh64 related code from
sh-tdep.c.
* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
* config/sh/linux.mt (TDEPFILES): Ditto.
* config/sh/nbsd.mt (TDEPFILES): Ditto.
* config/sh/tm-sh.h: Drop REGISTER_TYPE definition.
* config/sh/wince.mt (TDEPFILES): Ditto.

21 years ago2003-09-07 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 8 Sep 2003 02:00:11 +0000 (02:00 +0000)]
2003-09-07  Michael Chastain  <mec@shout.net>

* gdb.cp/classes.exp: Accommodate both 'syntax error' and
'parse error'.

21 years agodaily update
Alan Modra [Mon, 8 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 8 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * lin-lwp.c (detach_callback): Don't call stop_wait_callback.
Daniel Jacobowitz [Sun, 7 Sep 2003 18:49:44 +0000 (18:49 +0000)]
* lin-lwp.c (detach_callback): Don't call stop_wait_callback.
(stop_wait_callback): Handle !lp->signalled also.
(lin_lwp_has_pending, flush_callback): New functions.
(lin_lwp_wait): Call flush_callback.
* linux-proc.c (linux_proc_add_line_to_sigset): New function.
(linux_proc_pending_signals): New function.
* linux-nat.h (linux_proc_pending_signals): Add prototype.

21 years ago* gdb.arch/i386-prologue.exp: Add checks for saved registers.
Mark Kettenis [Sun, 7 Sep 2003 16:38:00 +0000 (16:38 +0000)]
* gdb.arch/i386-prologue.exp: Add checks for saved registers.

21 years ago From Nick Kelsey <nickk@ubicom.com>:
Daniel Jacobowitz [Sun, 7 Sep 2003 15:15:01 +0000 (15:15 +0000)]
From Nick Kelsey <nickk@ubicom.com>:
* infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
when the stop PC is at the beginning of a function also.

21 years agoFix description of comment character for PPC.
Nick Clifton [Sun, 7 Sep 2003 12:28:09 +0000 (12:28 +0000)]
Fix description of comment character for PPC.

21 years ago * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
Daniel Jacobowitz [Sun, 7 Sep 2003 01:36:00 +0000 (01:36 +0000)]
* arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
(arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.

21 years ago*** empty log message ***
gdbadmin [Sun, 7 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 7 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Sat, 6 Sep 2003 23:51:12 +0000 (23:51 +0000)]
merge from gcc

21 years ago * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
Stephane Carrez [Sat, 6 Sep 2003 21:09:40 +0000 (21:09 +0000)]
* elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
all_local_syms member.
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms
to get the local symbols.

21 years ago* sol-thread.c: Include "gdb_string.h".
Mark Kettenis [Sat, 6 Sep 2003 21:09:21 +0000 (21:09 +0000)]
* sol-thread.c: Include "gdb_string.h".

21 years ago * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
Stephane Carrez [Sat, 6 Sep 2003 20:55:50 +0000 (20:55 +0000)]
* elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
(elf_backend_special_sections): Define.a

PR savannah/4950:
* elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors
section is read-only.

21 years ago PR savannah/4358:
Stephane Carrez [Sat, 6 Sep 2003 20:43:05 +0000 (20:43 +0000)]
PR savannah/4358:
* config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
overflow complain.

21 years agodaily update
Alan Modra [Sat, 6 Sep 2003 00:00:13 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 6 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoAdd support for v850e1 instructions
Nick Clifton [Fri, 5 Sep 2003 17:46:52 +0000 (17:46 +0000)]
Add support for v850e1 instructions

21 years agogas/
Richard Sandiford [Fri, 5 Sep 2003 07:18:27 +0000 (07:18 +0000)]
gas/
* config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION.

gas/testsuite/
* gas/frv/reloc1.[sd]: New test.
* gas/frv/allinsn.exp: Run it.

21 years ago*** empty log message ***
gdbadmin [Fri, 5 Sep 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 5 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* configure: Regenerate.
DJ Delorie [Thu, 4 Sep 2003 22:53:35 +0000 (22:53 +0000)]
* configure: Regenerate.

21 years ago2003-09-04 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 4 Sep 2003 22:46:10 +0000 (22:46 +0000)]
2003-09-04  Dave Brolley  <brolley@redhat.com>

        * frv.cpu (register-transfer): Pass in all attributes in on argument.
        Update all callers.
        (conditional-register-transfer): Ditto.
        (cache-preload): Ditto.
        (floating-point-conversion): Ditto.
        (floating-point-neg): Ditto.
        (float-abs): Ditto.
        (float-binary-op-s): Ditto.
        (conditional-float-binary-op): Ditto.
        (ne-float-binary-op): Ditto.
        (float-dual-arith): Ditto.
        (ne-float-dual-arith): Ditto.

21 years ago* gcore.c: Reorder include files in alphabetical order. Include
Mark Kettenis [Thu, 4 Sep 2003 21:05:49 +0000 (21:05 +0000)]
* gcore.c: Reorder include files in alphabetical order.  Include
"gdb_assert.h".  Various coding style fixes.
(derive_stack_segment, derive_heap_segment): Replace check for
non-null BOTTOM and TOP with gdb_assert.
(derive_heap_segment): Replace check for successful creation of
ZERO with gdb_assert.
(make_mem_sec): Use bfd_section_lma to set OSEC->lma.

21 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 4 Sep 2003 21:03:37 +0000 (21:03 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* thread-db.c (verbose_dlsym): New function.
(thread_db_load): Use verbose_dlsym
(thread_db_new_objfile): Print that libthread_db was loaded, and
that thread debugging was enabled.

21 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 4 Sep 2003 18:55:35 +0000 (18:55 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* configure.tgt: Add "mips64*-*-*" target.  Delete
mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*,
mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*,
mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*,
mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*,
mips*-sony-*, and mips64*-*-elf* targets.
* config/mips/embedl.mt: Delete file.
* config/mips/embedl64.mt: Delete file.
* config/mips/mips.mt: Delete file.
* config/mips/mips64.mt: Delete file.
* config/mips/tm-embed.h: Delete file.
* config/mips/embed.mt (TM_FILE): Set to "tm-mips.h".
* config/mips/embed64.mt: Delete out-of-date comment.

21 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 4 Sep 2003 18:04:25 +0000 (18:04 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Set
"have_nonsteppable_watchpoint".
* config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* mips-tdep.c (mips_dump_tdep): Do not print
HAVE_NONSTEPPABLE_WATCHPOINT.
(mips_gdbarch_init): Set "have_nonsteppable_watchpoint".
* config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
* config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.

21 years ago * breakpoint.c (watchpoint_check): Remove accidentally checked in
Corinna Vinschen [Thu, 4 Sep 2003 17:41:48 +0000 (17:41 +0000)]
* breakpoint.c (watchpoint_check): Remove accidentally checked in
unused code.  Add comment.

21 years ago * breakpoint.c (watchpoint_check): Check for pc being in an
Corinna Vinschen [Thu, 4 Sep 2003 17:24:53 +0000 (17:24 +0000)]
* breakpoint.c (watchpoint_check): Check for pc being in an
epilogue if watchpoint frame couldn't be found.

21 years ago2003-09-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 4 Sep 2003 16:48:42 +0000 (16:48 +0000)]
2003-09-04  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Re-generate all dependencies.

21 years agoMatch GNU/KFreeBSD with new kfreebsd*-gnu triplet.
Nick Clifton [Thu, 4 Sep 2003 12:33:44 +0000 (12:33 +0000)]
Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.

21 years agoMake it clear what should be done with patches to the top level configure files
Nick Clifton [Thu, 4 Sep 2003 12:30:27 +0000 (12:30 +0000)]
Make it clear what should be done with patches to the top level configure files
(other than config.guess and config.sub).
Add binutils@sources.redhat.com as an address to which patches can be sent.

21 years agoAdd binutils support for v850e1 processor
Nick Clifton [Thu, 4 Sep 2003 11:04:38 +0000 (11:04 +0000)]
Add binutils support for v850e1 processor

21 years ago * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
Alan Modra [Thu, 4 Sep 2003 01:52:18 +0000 (01:52 +0000)]
* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
ppc_cpu selection rather than replacing.
(ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
(md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.

21 years ago * ppc-dis.c (struct dis_private): New.
Alan Modra [Thu, 4 Sep 2003 01:51:37 +0000 (01:51 +0000)]
* ppc-dis.c (struct dis_private): New.
(powerpc_dialect): Make static.  Accept -Many in addition to existing
options.  Save dialect in dis_private.
(print_insn_big_powerpc): Retrieve dialect from dis_private.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Call powpc_dialect here.  Remove unnecessary
efs/altivec check.  Try harder to disassemble if given -Many.
* ppc-opc.c (insert_fxm): Expand comment.
(PPC, PPCCOM, PPC32, PPC64, PPCVEC): Remove PPC_OPCODE_ANY.
(POWER, POWER2, PPCPWR2, POWER32, COM, COM32, M601, PWRCOM): Likewise.
(POWER4): Remove PPCCOM.
(PPCONLY): Don't define.  Update all occurrences to PPC.

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 4 Sep 2003 00:05:52 +0000 (00:05 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* arch-utils.h (legacy_print_insn): Delete declaration.
* arch-utils.c (legacy_print_insn): Delete function.
* disasm.c (deprecated_tm_print_insn_info): Delete.
(_initialize_disasm): Delete function, contained code initializing
deprecated_tm_print_insn_info.
* gdbarch.sh (deprecated_tm_print_insn): Delete.
(deprecated_tm_print_insn_info): Delete.
(TARGET_PRINT_INSN): Do not provide a default.
* gdbarch.h, gdbarch.c: Re-generate.

21 years ago*** empty log message ***
gdbadmin [Thu, 4 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 4 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Sep 2003 23:46:58 +0000 (23:46 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* disasm.c (fprintf_disasm): New function.
(gdb_disassemble_info): Call "init_disassemble_info", instead of
INIT_DISASSEMBLE_INFO_NO_ARCH.  Do not initialize "insn_sets",
reverts 2003-08-14 change.
(_initialize_disasm): Call "init_disassemble_info", instead of
INIT_DISASSEMBLE_INFO_NO_ARCH.

21 years agoIndex: opcodes/ChangeLog
Andrew Cagney [Wed, 3 Sep 2003 23:43:18 +0000 (23:43 +0000)]
Index: opcodes/ChangeLog
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* dis-init.c (init_disassemble_info): New file and function.
* Makefile.am (CFILES): Add "dis-init.c".
(libopcodes_la_SOURCES): Add "dis-init.c".
(dis-init.lo): Specify dependencies.
* Makefile.in: Regenerate.

Index: include/ChangeLog
2003-08-27  Andrew Cagney  <cagney@redhat.com>

* dis-asm.h (init_disassemble_info): Declare.
(INIT_DISASSEMBLE_INFO): Redefine as a call to
init_disassemble_info.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto.

Index: binutils/ChangeLog
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* objdump.c: Refer to init_disassemble_info in comments.
(disassemble_data): Replace INIT_DISASSEMBLE_INFO with
init_disassemble_info.

21 years ago003-09-03 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 3 Sep 2003 23:12:21 +0000 (23:12 +0000)]
003-09-03  Dave Brolley  <brolley@redhat.com>

        * cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.

21 years ago2003-09-03 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 3 Sep 2003 23:09:56 +0000 (23:09 +0000)]
2003-09-03  Dave Brolley  <brolley@redhat.com>

        * frv-*: Regenerated.

21 years ago2003-09-03 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 3 Sep 2003 23:03:45 +0000 (23:03 +0000)]
2003-09-03  Dave Brolley  <brolley@redhat.com>

        * frv.opc (parse_A, parse_A0, parse_A1): New parse handlers.
        * frv.cpu (UNIT): Add IALL, FMALL, FMLOW, STORE, SCAN, DCPL, MDUALACC,
        MCLRACC-1.
        (A): Removed operand.
        (A0,A1): New operands replace operand A.
        (mnop): Now a real insn
        (mclracc): Removed insn.
        (mclracc-0, mclracc-1): New insns replace mclracc.
        (all insns): Use new UNIT attributes.

21 years agoSpelling fix by the ChangeLog police.
Ben Elliston [Wed, 3 Sep 2003 22:40:45 +0000 (22:40 +0000)]
Spelling fix by the ChangeLog police.

21 years ago2003-09-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 3 Sep 2003 22:36:07 +0000 (22:36 +0000)]
2003-09-03  Michael Snyder  <msnyder@redhat.com>

  * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].

21 years ago2003-09-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 3 Sep 2003 21:56:01 +0000 (21:56 +0000)]
2003-09-03  Michael Snyder  <msnyder@redhat.com>

        * sim/frv/fr500/mclracc.cgs: Change mach to 'all',
        to be consistant with other tests in the directory.

21 years ago2003-09-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 3 Sep 2003 21:51:57 +0000 (21:51 +0000)]
2003-09-03  Michael Snyder  <msnyder@redhat.com>

* sim/frv/interrupts/Ipipe-fr400.cgs: New file.
* sim/frv/interrupts/Ipipe-fr500.cgs: New file.
* sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Sep 2003 21:01:44 +0000 (21:01 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
* config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
* symfile.c (syms_from_objfile): Update.
(reread_symbols): `Update
* exec.c (exec_file_attach): Update.
(exec_file_attach): Update.
* config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
2003-08-29 change.
* config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.

21 years ago * arm-tdep.c: Include frame-unwind.h, frame-base.h, and
Daniel Jacobowitz [Wed, 3 Sep 2003 20:46:02 +0000 (20:46 +0000)]
* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
trad-frame.h.
(arm_get_cache): Delete macro.
(struct arm_prologue_cache): Update comments.  Make saved_regs into
a trad_frame_saved_reg pointer.  Remove unwound_pc; rename unwound_sp
to prev_sp.
(thumb_scan_prologue): Update for cache changes.  Don't call
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_scan_prologue): Update for cache changes.  Take NEXT_FRAME
argument and use it in desperation search for our prologue.  Do not
search past the specified PC.
(arm_make_prologue_cache): Simplify.

(arm_prologue_this_id, arm_prologue_prev_register)
(arm_prologue_unwind, arm_prologue_unwind_sniffer)
(arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
(arm_sigtramp_this_id, arm_sigtramp_prev_register)
(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
(arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.

(arm_frame_chain_valid, arm_find_callers_reg)
(arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
(arm_pop_frame): Delete obsolete methods.
(arm_minimal_frame_chain, arm_minimal_frame_info): Delete.

(arm_gdbarch_init): Update for new frame methods.  Register prologue
and sigtramp unwinders.  Set the default frame base method.

* Makefile.in (arm-tdep.o): Update dependencies.
* varobj.c (find_frame_addr_in_frame_chain): Call
get_frame_base_address.
* std-regs.c (value_of_builtin_frame_fp_reg): Likewise.

21 years ago * arm-tdep.c (arm_minimal_frame_chain): Renamed from
Daniel Jacobowitz [Wed, 3 Sep 2003 20:45:03 +0000 (20:45 +0000)]
* arm-tdep.c (arm_minimal_frame_chain): Renamed from
arm_frame_chain.  Take NEXT_FRAME and CACHE arguments.
Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
(arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
Take NEXT_FRAME and CACHE arguments.  Call
FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
Set unwound_pc in CACHE instead of modifying the frame argument.
Don't bother checking the frame type when looking for sigtramp
frames.
(arm_make_prologue_cache, arm_frame_chain)
(arm_init_extra_frame_info): New functions.

21 years ago * arm-tdep.c (arm_get_cache): Define.
Daniel Jacobowitz [Wed, 3 Sep 2003 20:44:26 +0000 (20:44 +0000)]
* arm-tdep.c (arm_get_cache): Define.
(struct arm_prologue_cache): Renamed from frame_extra_info.  Add
unwound_sp, unwound_pc, and saved_regs.
(thumb_scan_prologue): Take a cache instead of the frame.
(arm_scan_prologue): Likewise.
(arm_frame_chain): Create a temporary cache for arm_scan_prologue
instead of a temporary frame.
(arm_init_extra_frame_info): Allocate and use a cache.
(arm_frame_saved_pc, arm_pop_frame): Use the cache.

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Sep 2003 18:52:23 +0000 (18:52 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
* config/mips/wince.mt (TM_CLIBS): Ditto.
* config/sh/wince.mt (TM_CLIBS): Ditto.
* config/pa/hppa64.mt (TM_CLIBS): Delete.
* config/sparc/sp64.mt (CC): Delete.

21 years ago * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
Andreas Schwab [Wed, 3 Sep 2003 18:46:52 +0000 (18:46 +0000)]
* Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).

21 years agoDo not skip section symbols that are used in relocs.
Nick Clifton [Wed, 3 Sep 2003 16:06:12 +0000 (16:06 +0000)]
Do not skip section symbols that are used in relocs.

21 years ago2003-09-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 3 Sep 2003 15:02:51 +0000 (15:02 +0000)]
2003-09-03  Andrew Cagney  <cagney@redhat.com>

* defs.h: Do not include "arch-utils.h".
(GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
GDB_MULTI_ARCH_PURE.
* configure.in (GDB_MULTI_ARCH): Do not define.
* configure, config.in: Regenerate.
* configure.tgt: Do not set variable "gdb_multi_arch".
* config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
* config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
* config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
* config/v850/v850.mt (TM_FILE): Delete disabled definition.
* config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
* config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
* config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
* config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
* config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
* config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
* config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
* config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.

21 years agoAdd *kfreebsd-gnu configuration support
Nick Clifton [Wed, 3 Sep 2003 09:32:21 +0000 (09:32 +0000)]
Add *kfreebsd-gnu configuration support

21 years agoUse bfd_map_over_sections to walk section chain.
Nick Clifton [Wed, 3 Sep 2003 08:26:52 +0000 (08:26 +0000)]
Use bfd_map_over_sections to walk section chain.
Do not dump the contents of an empty section.

21 years agomerge from gcc
DJ Delorie [Wed, 3 Sep 2003 00:03:18 +0000 (00:03 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Wed, 3 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 3 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* configure.in: Ensure arguments to sed are properly spaced.
DJ Delorie [Tue, 2 Sep 2003 23:21:43 +0000 (23:21 +0000)]
* configure.in: Ensure arguments to sed are properly spaced.
* configure: Regenerate.

21 years ago * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES
Daniel Jacobowitz [Tue, 2 Sep 2003 17:59:13 +0000 (17:59 +0000)]
* configure.in: Update AC_PREREQ to 2.57.  Use AC_CONFIG_FILES
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
Specify AC_CONFIG_AUX_DIR.
* aclocal.m4: Regenerated with aclocal-1.7.
* configure: Regenerated with autoconf 2.57.
* Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.

21 years ago * ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries.
Alan Modra [Tue, 2 Sep 2003 04:15:29 +0000 (04:15 +0000)]
* ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries.
Move duplicate mnemonic entries together.  Use RS instead of RT on
all mt*.
* ppc-dis.c: Convert to ISO C.