binutils-gdb.git
22 years ago2002-10-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 4 Oct 2002 22:17:36 +0000 (22:17 +0000)]
2002-10-04  Michael Snyder  <msnyder@redhat.com>

* m32r-stub.c (handle_exception): Make sure exception is "trap"
before treating it as a single-step event.

22 years ago2002-10-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 4 Oct 2002 07:40:42 +0000 (07:40 +0000)]
2002-10-03  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
3.x.

22 years ago2002-10-03 Adam Fedor <fedor@gnu.org>
Adam Fedor [Fri, 4 Oct 2002 01:18:48 +0000 (01:18 +0000)]
2002-10-03  Adam Fedor  <fedor@gnu.org>

* objc-lang.c: ARI fixes.  Change string.h to gdb_string.h.
(objc_demangle): Remove assignment in if statements, Replace
free with xfree.
(add_msglist): Likewise.
(end_msglist): Likewise.
(complare_selectors): Likewise.
(selectors_info): Likewise.
(compare_classes): Likewise.
(classes_info): Likewise.
(print_object_command): Likewise.
(find_objc_msgcall_submethod): Replace PTR with void *.
* objc-lang.h: Remove check for __STDC__.

22 years ago*** empty log message ***
gdbadmin [Fri, 4 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 4 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-10-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 3 Oct 2002 23:56:24 +0000 (23:56 +0000)]
2002-10-03  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
        more compatible with non-embedded targets.
        * ld-mips-elf/branch-misc-2.d: Likewise.

        * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded
        PIC tests.
        (elf): New variable, to control whether generic ELF tests are run.
        (embedded_elf): New variable, to control whether ELF tests
        requiring embedded PIC or embedded relocs are run.

22 years ago2002-10-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 3 Oct 2002 23:53:09 +0000 (23:53 +0000)]
2002-10-03  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips-no-jalx.l: Make error message regexps accomodate
        tools which target a specific CPU by default.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 22:34:58 +0000 (22:34 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * ui-out.h (ui_out_field_fmt_int): New prototype.
        * ui-out.c (ui_out_field_fmt_int): New function allowing specification
        of field width and alignment.
        * stack.c (print_frame_info_base): When printing frame level, use
        ui_out_field_fmt_int with a width of 2 and left alignment.  Fix for
        PR gdb/192

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 22:33:15 +0000 (22:33 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-return.exp: Change expected frame output to remove extraneous
        space in level field when frame level is single digit.  Part of
        fix for PR gdb/192.
        * mi-stack.exp: Ditto.
        * mi1-return.exp: Ditto.
        * mi1-stack.exp: Ditto.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 22:31:31 +0000 (22:31 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * gdbmi.texinfo: Fix examples that show frames to remove
        extraneous blank in level field.  Part of fix for PR gdb/192.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 22:30:01 +0000 (22:30 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int
        interface definition.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 20:23:56 +0000 (20:23 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * MAINTAINERS: Add self to Write After Approval list.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 20:03:55 +0000 (20:03 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-var-block.exp: Change expected output from -var-update
        command to expect list format for "changelist".  Fix for
        PR gdb/672.
        * mi-var-cmd.exp: Ditto.
        * mi-var-child: Ditto.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 20:02:13 +0000 (20:02 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672.  For m2,
        output list begin and end for "changelist" rather than tuple begin/end.
        (varobj_update_one): For m2, add tuple begin and end for varobj
        update output.

22 years ago2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 3 Oct 2002 19:08:53 +0000 (19:08 +0000)]
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.

22 years agoadd target specific commands; add myself to contributors list
Marko Mlinar [Thu, 3 Oct 2002 05:56:40 +0000 (05:56 +0000)]
add target specific commands; add myself to contributors list

22 years ago * contig/tc-sh.c (sh_local_pcrel): New.
Kaz Kojima [Thu, 3 Oct 2002 04:58:28 +0000 (04:58 +0000)]
* contig/tc-sh.c (sh_local_pcrel): New.
(sh_force_relocation): Use sh_local_pcrel.
(md_pcrel_from_section): Check the relocation type whether it
should be resolved locally. Use S_FORCE_RELOC.
* testsuite/gas/sh/pcrel2.d: Check code also.

22 years ago2002-10-02 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 3 Oct 2002 02:34:07 +0000 (02:34 +0000)]
2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

* infcmd.c (interrupt_target_command_wrapper): Delete.
(interrupt_target_command): Make non static.
(nofp_registers_info): Make static.
* stack.c (return_command_wrapper): Delete.
(return_command): Make non static.

22 years ago2002-10-02 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 3 Oct 2002 01:23:50 +0000 (01:23 +0000)]
2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

* event-top.c (gdb_setup_readline): New function. Code moved from
_initialize_event_loop().
(_initialize_event_loop): Call gdb_setup_readline().

22 years ago* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*
Stephen Clarke [Thu, 3 Oct 2002 00:56:06 +0000 (00:56 +0000)]
* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*
symbol generation.
* gas/sh/sh64/ptc64-noexp-1.d: Likewise.

22 years ago*** empty log message ***
gdbadmin [Thu, 3 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 3 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-10-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 2 Oct 2002 23:28:54 +0000 (23:28 +0000)]
2002-10-02  Andrew Cagney  <ac131313@redhat.com>

* infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
* gdbarch.h, gdbarch.c: Re-generate.

22 years ago Fix PR gdb/778
Daniel Jacobowitz [Wed, 2 Oct 2002 22:01:53 +0000 (22:01 +0000)]
    Fix PR gdb/778
        * gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef
        before recursing.
        * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value
        of fill_in_vptr_fieldno.

22 years ago* ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
Stephen Clarke [Wed, 2 Oct 2002 21:56:50 +0000 (21:56 +0000)]
* ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
ld-sh/sh64/gotplt.s: New test.

22 years ago* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
Stephen Clarke [Wed, 2 Oct 2002 21:53:40 +0000 (21:53 +0000)]
* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
(sh_elf_link_hash_newfunc): Initialize it.
(allocate_dynrelocs): Transfer gotplt refs from plt.refcount
to got.refcount for symbols that are forced local or when
we have direct got refs.
(sh_elf_gc_sweep_hook): Adjust gotplt_refcount.  Use it
to correctly adjust got.refcount and plt.refcount.
(sh_elf_copy_indirect_symbol): Copy gotplt_refcount across.
(sh_elf_check_relocs): Increment gotplt_refcount.

22 years ago* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
Jim Blandy [Wed, 2 Oct 2002 21:46:56 +0000 (21:46 +0000)]
* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.

22 years ago2002-10-02 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 2 Oct 2002 21:33:59 +0000 (21:33 +0000)]
2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

        * inferior.h (registers_info, stepi_command, nexti_command,
        continue_command, interrupt_target_command): Export from infcmd.c.
        * frame.h (args_info, selected_frame_level_changed_hook,
        return_command): Export from stack.c.
        * v850ice.c (stepi_command, nexti_command, continue_command): use
        prototypes from inferior.h.
        * tracepoint.c (registers_info, args_info, locals_info): Use
        prototypes from frame.h and inferior.h.
        * Makefile.in (mi-main.o): Add dependency on frame.h.

2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

        * mi-main.c (mi_cmd_exec_return): Don't use
        return_command_wrapper, use return_command instead.
        (mi_cmd_exec_interrupt): Don't use
        interrupt_target_command_wrapper, use interrupt_target_command
        instead.
        (return_command_wrapper, interrupt_target_command_wrapper):
        Delete.
        Include frame.h.

2002-10-02  Elena Zannoni  <ezannoni@redhat.com>

        * tui-hooks.c (selected_frame_level_changed_hook): Use the one
        exported from frame.h.

22 years ago2002-10-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 2 Oct 2002 21:21:47 +0000 (21:21 +0000)]
2002-10-02  Andrew Cagney  <ac131313@redhat.com>

* rs6000-tdep.c (rs6000_store_struct_return): Store struct_return
value in register 3 adjusted by ppc_gp0_regnum.

22 years ago* ld-sh/sh64/cmpct1.sd : Fix linked file name.
Stephen Clarke [Wed, 2 Oct 2002 21:19:59 +0000 (21:19 +0000)]
* ld-sh/sh64/cmpct1.sd : Fix linked file name.
* ld-sh/sh64/crange3.dd: Likewise.

22 years ago2002-10-02 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 2 Oct 2002 21:18:57 +0000 (21:18 +0000)]
2002-10-02  Andrew Cagney  <ac131313@redhat.com>

* rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 19:14:25 +0000 (19:14 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:29:04 +0000 (06:29 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:22:08 +0000 (06:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Remove material now in src-release.  (Finally!)
* Makefile.in: Regenerate.

22 years agoadd myself to the Write After Approval list.
Marko Mlinar [Wed, 2 Oct 2002 06:06:06 +0000 (06:06 +0000)]
add myself to the Write After Approval list.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:37:46 +0000 (05:37 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Restore my original patch by syncing with gcc version.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:22:11 +0000 (05:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Bring following over from gcc:

2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>

* configure.in (s390*-*-linux*): Enable libgcj.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 04:40:23 +0000 (04:40 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Regenerate.  This really ought to fix things. :sigh:

22 years ago * configure: Move stray lines back to where they belong.
Alan Modra [Wed, 2 Oct 2002 03:47:32 +0000 (03:47 +0000)]
* configure: Move stray lines back to where they belong.

22 years ago * configure: Move stray line back to where it belongs.
Alan Modra [Wed, 2 Oct 2002 02:41:36 +0000 (02:41 +0000)]
* configure: Move stray line back to where it belongs.

22 years ago * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
Alan Modra [Wed, 2 Oct 2002 02:21:52 +0000 (02:21 +0000)]
* emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.

22 years ago* mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
Alexandre Oliva [Wed, 2 Oct 2002 01:28:55 +0000 (01:28 +0000)]
* mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
of the section for the N64 ABI, fixed.

22 years ago* config/mips/tm-irix6.h: Include solib.h.
Alexandre Oliva [Wed, 2 Oct 2002 01:27:59 +0000 (01:27 +0000)]
* config/mips/tm-irix6.h: Include solib.h.

22 years ago*** empty log message ***
gdbadmin [Wed, 2 Oct 2002 00:00:13 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 2 Oct 2002 00:00:12 +0000 (00:00 +0000)]
daily update

22 years ago2002-10-01 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 1 Oct 2002 23:51:43 +0000 (23:51 +0000)]
2002-10-01  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
GNU operators.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:35:42 +0000 (23:35 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Insert configure-target target, for src-release.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:21:51 +0000 (23:21 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Finish reverting change which Andrew Cagney started
reverting.  Should fix bustage.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:58:14 +0000 (22:58 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:34:16 +0000 (22:34 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: New file.  Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.

22 years ago2002-10-01 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 1 Oct 2002 21:15:43 +0000 (21:15 +0000)]
2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
        and that "mi0" syntax has been removed.

2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * gdb.texinfo (Mode Options): Update --interpreter option.  "mi2"
        and "mi1" instead of "mi1" and "mi0".

2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * mi-main.c (mi2_command_loop): New function.
        (mi0_command_loop): Delete function.
        (_initialize_mi_main): Recognize, and default to, "mi2".  Do not
        recognize "mi0".
        * mi-out.c (mi_table_begin): Remove mi0 code.
        (mi_table_body, mi_table_end): Ditto.
        (mi_table_header, mi_open, mi_close): Ditto.

22 years ago2002-09-30 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 1 Oct 2002 19:26:05 +0000 (19:26 +0000)]
2002-09-30  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
* ppc-sysv-tdep.c: #include "gdb_string.h".
* remote-sds.c (getmessage): Add semicolon after 'retry' label to
pacify GCC.

22 years ago2002-10-01 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 1 Oct 2002 16:01:37 +0000 (16:01 +0000)]
2002-10-01  Andrew Cagney  <ac131313@redhat.com>

* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.

22 years ago2002-10-01 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 1 Oct 2002 14:57:55 +0000 (14:57 +0000)]
2002-10-01  Andrew Cagney  <ac131313@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
"vrsave"'s register number.

22 years agobfd/
Jakub Jelinek [Tue, 1 Oct 2002 10:43:37 +0000 (10:43 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Fix
movl foo@indntpoff, %eax IE->LE transition.
ld/testsuite/
* ld-i386/i386.exp: Add tlsindntpoff test.
* ld-i386/tlsindntpoff.s: New test.
* ld-i386/tlsindntpoff.dd: New test.

22 years agobfd/
Jakub Jelinek [Tue, 1 Oct 2002 09:15:34 +0000 (09:15 +0000)]
bfd/
* elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD
sequence and its transitions.
ld/testsuite/
* ld-x86-64/tlspic1.s: Change TLSGD sequences.
* ld-x86-64/tlsbinpic.s: Likewise.
* ld-x86-64/tlspic.dd: Adjust.

22 years agobfd/
Jakub Jelinek [Tue, 1 Oct 2002 09:10:46 +0000 (09:10 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32
to st_value + addend in non-code sections.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve
R_X86_64_DTPOFF32 to st_value + addend in non-code sections.

ld/testsuite/
* ld-i386/i386.exp: Add tlsg test.
* ld-i386/tlsg.s: New test.
* ld-i386/tlsg.sd: New test.
* ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-i386/tlsbinpic.s: Likewise.
* ld-x86-64/x86-64.exp: Add tlsg test.
* ld-x86-64/tlsg.s: New test.
* ld-x86-64/tlsg.sd: New test.
* ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-x86-64/tlsbinpic.s: Likewise.

22 years ago * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
Alan Modra [Tue, 1 Oct 2002 06:15:33 +0000 (06:15 +0000)]
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
(TC_FORCE_RELOCATION): Tidy arg.

22 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 1 Oct 2002 04:37:47 +0000 (04:37 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/mips.exp: Undo the last change.

22 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 1 Oct 2002 03:27:56 +0000 (03:27 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.

22 years ago2002-09-30 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 1 Oct 2002 01:30:10 +0000 (01:30 +0000)]
2002-09-30  Andrew Cagney  <ac131313@redhat.com>

* mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
use frame_unwind_signed_register to obtain the PC.
(mips_frame_chain): Handle a generic dummy frame.
(mips_init_extra_frame_info): When a generic dummy frame, don't
re-compute the frame base.
(mips_pop_frame): Handle generic dummy frames.
(mips_gdbarch_init): When generic dummy frames, set
use_generic_dummy_frames, push_dummy_frame to
generic_push_dummy_frame, pc_in_call_dummy to
generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
generic_save_dummy_frame_tos.

22 years ago2002-09-30 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 1 Oct 2002 01:24:01 +0000 (01:24 +0000)]
2002-09-30  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c (generic_find_dummy_frame): Rewrite.  Only test
against TOP when TOP was explictly set.
(generic_push_dummy_frame): Set TOP to zero.

22 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 1 Oct 2002 00:12:26 +0000 (00:12 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the
rest of output.

22 years ago*** empty log message ***
gdbadmin [Tue, 1 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 1 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-09-30 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 30 Sep 2002 21:25:47 +0000 (21:25 +0000)]
2002-09-30  Elena Zannoni  <ezannoni@redhat.com>

* event-loop.c (start_event_loop): Rename variable 'result' to
'gdb_result', to avoid conflicts with upcoming intepreters changes.

22 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Sep 2002 21:12:24 +0000 (21:12 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and
empic3_g2 on Linux/mips.

22 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Sep 2002 20:59:11 +0000 (20:59 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/vr4120.d: Pass -m mips:4120 to objdump.

22 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 30 Sep 2002 20:18:52 +0000 (20:18 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

* mi-out.c (mi_version): New function.
* mi-out.h (mi_version): Declare.

22 years agoFix handling of v850e bit-twiddle instructions.
Jim Wilson [Mon, 30 Sep 2002 20:11:08 +0000 (20:11 +0000)]
Fix handling of v850e bit-twiddle instructions.
* simops.c (OP_E6077E0): And op1 with 7 after reading register, not
before.
(BIT_CHANGE_OP): Likewise.

22 years ago * gdb-events.sh (selected_thread_changed): New event.
Keith Seitz [Mon, 30 Sep 2002 20:06:53 +0000 (20:06 +0000)]
    * gdb-events.sh (selected_thread_changed): New event.
        * gdb-events.c: Regenerated.
        * gdb-events.h: Regenerated.

22 years ago * MAINTAINERS: Add self to Write After Approval list.
Hans-Peter Nilsson [Mon, 30 Sep 2002 16:05:31 +0000 (16:05 +0000)]
* MAINTAINERS: Add self to Write After Approval list.

22 years ago * disasm.c: New file.
Fernando Nasser [Mon, 30 Sep 2002 15:57:26 +0000 (15:57 +0000)]
* disasm.c: New file.
* disasm.h: New file.
* mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
(compare_lines): Ditto.
(dump_insns): Ditto.
(do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument. (do_assembly_only): Ditto.
(do_disassembly): Renamed to gdb_disassembly and moved to disasm.c.
Sdded uiout argument.
* Makefile.in: Add new files.  Reorder SFILES list. Update dependencies. Include libgdb.a later in the insight executable.

22 years agoFix date in last commit.
Richard Sandiford [Mon, 30 Sep 2002 12:08:05 +0000 (12:08 +0000)]
Fix date in last commit.

22 years ago[gas/]
Richard Sandiford [Mon, 30 Sep 2002 12:04:54 +0000 (12:04 +0000)]
[gas/]
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
(hilo_interlocks): True for CPU_VR5500.
(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
(mips_fix_vr4122_bugs): New.
(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
(mips_emit_delays): Likewise.
(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
[M_ROLI]: Likewise ror if CPU_HAS_ROR.
(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
(OPTION_ELF_BASE): Bump.
(md_parse_option): Handle the new options.
(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
vr5400 and vr5500.

[gas/testsuite/]
* gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to...
* gas/mips/vr4111.[sd]: ...this new test.
* gas/mips/vr4120.[sd],
* gas/mips/vr4122.[sd],
* gas/mips/vr5400.[sd],
* gas/mips/vr5500.[sd]: New tests.
* mips.exp: Run them.

22 years ago[include/opcode/]
Richard Sandiford [Mon, 30 Sep 2002 11:58:10 +0000 (11:58 +0000)]
[include/opcode/]
* mips.h: Update comment for new opcodes.
(OP_MASK_VECBYTE, OP_SH_VECBYTE): New.
(OP_MASK_VECALIGN, OP_SH_VECALIGN): New.
(INSN_4111, INSN_4120, INSN_5400, INSN_5500): New.
(CPU_VR4120, CPU_VR5400, CPU_VR5500): New.
(OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags.
Don't match CPU_R4111 with INSN_4100.

[opcodes/]
* mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
(mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
and bfd_mach_mips5500.
* mips-opc.c (V1): Include INSN_4111 and INSN_4120.
(N411, N412, N5, N54, N55): New convenience defines.
(mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
Change dmadd16 and madd16 from V1 to N411.

22 years ago[include/elf]
Richard Sandiford [Mon, 30 Sep 2002 11:53:56 +0000 (11:53 +0000)]
[include/elf]
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.

[bfd/]
* archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New.
(bfd_mach_mips5500): New.
* cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New.
(arch_info_struct): Add corresponding entries here.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
(_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120,
bfd_mach_mips5400 and bfd_mach_mips5500.
(_bfd_mips_elf_mach_extends_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Use it to help merge
the EF_MIPS_MACH flags.
* bfd-in2.h: Regenerate.

22 years agoAdd cpu directory.
Nick Clifton [Mon, 30 Sep 2002 10:34:06 +0000 (10:34 +0000)]
Add cpu directory.

22 years ago * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
Alan Modra [Mon, 30 Sep 2002 09:31:31 +0000 (09:31 +0000)]
* scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.

22 years ago * gdb.texinfo (Packets): Fix typos "alligned".
Hans-Peter Nilsson [Mon, 30 Sep 2002 07:08:26 +0000 (07:08 +0000)]
* gdb.texinfo (Packets): Fix typos "alligned".
Correct z3/Z3 description.  Correct z4/Z4 title.

22 years ago2002-09-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Sep 2002 06:32:00 +0000 (06:32 +0000)]
2002-09-29  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (md_apply_fix3): Subtract the symbol value
twice if howto->pcrel_offset is true.

22 years ago * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
Alan Modra [Mon, 30 Sep 2002 05:54:51 +0000 (05:54 +0000)]
* ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.

22 years ago * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
Alan Modra [Mon, 30 Sep 2002 05:25:20 +0000 (05:25 +0000)]
* ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
* ld-powerpc/powerpc.exp: New.

22 years agoNo need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.
H.J. Lu [Mon, 30 Sep 2002 04:23:40 +0000 (04:23 +0000)]
No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.

22 years ago * ld-i386/reloc.s, ld-i386/reloc.d: New.
Alan Modra [Mon, 30 Sep 2002 03:35:18 +0000 (03:35 +0000)]
* ld-i386/reloc.s, ld-i386/reloc.d: New.
* ld-i386/i386.exp: Run new test.

22 years ago * emultempl/elf32.em (output_rel_find): Always place orphan loadable
Alan Modra [Mon, 30 Sep 2002 03:34:46 +0000 (03:34 +0000)]
* emultempl/elf32.em (output_rel_find): Always place orphan loadable
reloc sections just before .rel.plt/.rela.plt.
(gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
Only put loadable reloc sections in hold_rel.

22 years ago2002-09-29 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 30 Sep 2002 00:52:27 +0000 (00:52 +0000)]
2002-09-29  Elena Zannoni  <ezannoni@redhat.com>

* tui.c (tui_show_source): Don't access current_source_symtab, use
accessor function instead.  Include source.h and symtab.h
* tuiDisassem.c (tuiShowDisassemAndUpdateSource,
tuiVerticalDisassemScroll): Use accessor functions for current
source line and symtab.  Include source.h.
* tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
for current source line and symtab.  Include source.h.
* tuiWin.c (_makeVisibleWithNewHeight): Ditto.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
tuiHorizontalSourceScroll): Ditto.
* tuiSource.c (tuiVerticalSourceScroll): Ditto.

22 years agodaily update
Alan Modra [Mon, 30 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Mon, 30 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-09-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 29 Sep 2002 23:59:49 +0000 (23:59 +0000)]
2002-09-29  H.J. Lu <hjl@gnu.org>

* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
* ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.

22 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 29 Sep 2002 17:19:28 +0000 (17:19 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

Revert below (note that src does not contain Makefile.tpl):
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.

22 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 29 Sep 2002 16:32:15 +0000 (16:32 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
bfd/elf64-alpha-fbsd.c.

22 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 29 Sep 2002 16:20:21 +0000 (16:20 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
i386gnu-tdep.c.

22 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 29 Sep 2002 16:12:36 +0000 (16:12 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Revert accidentally applied changes.

22 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 29 Sep 2002 15:59:34 +0000 (15:59 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.

2002-09-28  Richard Earnshaw  <rearnsha@arm.com>

* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise.  Also enable
libjava on arm-*-elf.

22 years agoZap __FUNCTION__.
Andrew Cagney [Sun, 29 Sep 2002 15:25:30 +0000 (15:25 +0000)]
Zap __FUNCTION__.

22 years agoDelete no-longer-needed tests.
Andrew Cagney [Sun, 29 Sep 2002 14:20:32 +0000 (14:20 +0000)]
Delete no-longer-needed tests.

22 years ago*** empty log message ***
gdbadmin [Sun, 29 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 29 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
Jason Thorpe [Sat, 28 Sep 2002 23:15:50 +0000 (23:15 +0000)]
* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
.got sections.