binutils-gdb.git
23 years agoAdd emulation of double word load and store instructions.
Nick Clifton [Fri, 8 Dec 2000 01:38:47 +0000 (01:38 +0000)]
Add emulation of double word load and store instructions.

23 years ago#warn -> #warning
Alan Modra [Thu, 7 Dec 2000 23:48:01 +0000 (23:48 +0000)]
#warn -> #warning

23 years ago* Makefile.in (distclean): When cleaning, remove testsuite.
DJ Delorie [Thu, 7 Dec 2000 23:14:29 +0000 (23:14 +0000)]
* Makefile.in (distclean): When cleaning, remove testsuite.

23 years ago* add sid/ delegation
Frank Ch. Eigler [Thu, 7 Dec 2000 21:29:37 +0000 (21:29 +0000)]
* add sid/ delegation

23 years ago2000-12-07 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 7 Dec 2000 19:31:48 +0000 (19:31 +0000)]
2000-12-07  Kazu Hirata  <kazu@hxi.com>

* elf32-ppc.c: Fix formatting.
* elf64-x86-64.c: Likewise.

23 years ago2000-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 7 Dec 2000 16:40:44 +0000 (16:40 +0000)]
2000-12-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields
        {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM.
* sh-tdep.c (sh_sh3e_register_virtual_type,
  sh_sh4_register_virtual_type, sh_do_registers_info,
  sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size,
  sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
  sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
  sh_store_pseudo_register, sh_do_pseudo_register): Ditto.

* sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the
        disassembly print function.
(_initialize_sh_tdep): Initialize tm_print_insn using the function
  pointer.

23 years agoFrom Richard Henderson <rth@twiddle.net>:
Mark Kettenis [Thu, 7 Dec 2000 10:50:50 +0000 (10:50 +0000)]
From Richard Henderson <rth@twiddle.net>:
* alpha-nat.c (supply_gregset, fill_gregset): Use gdb_gregset_t.
(supply_fpregset, fill_fpregset): Use gdb_fpregset_t.

23 years ago* getopt.h obstack.h: Standarize copyright statement.
DJ Delorie [Thu, 7 Dec 2000 02:06:09 +0000 (02:06 +0000)]
* getopt.h obstack.h: Standarize copyright statement.

23 years ago2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Thu, 7 Dec 2000 01:05:04 +0000 (01:05 +0000)]
2000-12-06  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
BFDs containing no sections or empty .text, .data or .bss sections
to be merged, regardless of their flags.

23 years ago2000-12-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 6 Dec 2000 23:53:03 +0000 (23:53 +0000)]
2000-12-06  Fernando Nasser  <fnasser@redhat.com>

* cli/cli-decode.c (add_abbrev_cmd): Reinstate. Add comment saying
that is not currently used.

23 years ago2000-12-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 6 Dec 2000 23:27:41 +0000 (23:27 +0000)]
2000-12-06  Fernando Nasser  <fnasser@redhat.com>

* cli/cli-decode.c (lookup_cmd): Change disabled code into comment.

23 years ago2000-12-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 6 Dec 2000 23:12:12 +0000 (23:12 +0000)]
2000-12-06  Fernando Nasser  <fnasser@redhat.com>

* cli/cli-decode.c (lookup_cmd): Remove old stale copy of this routine
which was not being used for quite some time.

23 years ago2000-12-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 6 Dec 2000 18:59:48 +0000 (18:59 +0000)]
2000-12-06  Kazu Hirata  <kazu@hxi.com>

* elf32-m32r.c: Fix formatting.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-pj.c: Likewise.
* elf32-ppc.c: Likewise.

23 years ago* scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
DJ Delorie [Wed, 6 Dec 2000 16:39:51 +0000 (16:39 +0000)]
* scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
Set DWARF2 sections to a VMA of zero.

23 years agoFix T_SHORT macro conflict.
Alan Modra [Wed, 6 Dec 2000 02:40:55 +0000 (02:40 +0000)]
Fix T_SHORT macro conflict.

23 years ago2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Tue, 5 Dec 2000 23:57:36 +0000 (23:57 +0000)]
2000-12-05  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
        * gdb.base/miscexprs.exp: Ditto.
        * gdb.base/pointers.exp:  Ditto.
        * gdb.c++/derivation.exp: Ditto.
        * gdb.c++/local.exp:      Ditto.
        * gdb.c++/namespace.exp:  Ditto.
        * gdb.c++/overload.exp:   Ditto.
        * gdb.c++/ref-types.exp:  Ditto.

23 years ago2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Tue, 5 Dec 2000 23:14:40 +0000 (23:14 +0000)]
2000-12-05  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/constvars.exp: Test result of "up" command.
        * gdb.base/miscexprs.exp: Ditto.
        * gdb.base/pointers.exp:  Ditto.
        * gdb.base/scope.exp:     Ditto.
        * gdb.c++/derivation.exp: Ditto.
        * gdb.c++/local.exp:      Ditto.
        * gdb.c++/namespace.exp:  Ditto.
        * gdb.c++/overload.exp:   Ditto.
        * gdb.c++/ref-types.exp:  Ditto.

23 years ago* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
DJ Delorie [Tue, 5 Dec 2000 19:08:13 +0000 (19:08 +0000)]
* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
name before allocating the dyn_string.

23 years ago2000-12-05 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 5 Dec 2000 18:51:08 +0000 (18:51 +0000)]
2000-12-05  Kazu Hirata  <kazu@hxi.com>

* config/tc-mips.c: Fix formatting.

23 years ago* gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
Mark Kettenis [Tue, 5 Dec 2000 18:28:25 +0000 (18:28 +0000)]
* gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
* symfile.h (MAX_SECTIONS): Increase to 64.

23 years agoAdd Jason Merrill as DWARF2 maintainer.
Nick Clifton [Tue, 5 Dec 2000 18:24:37 +0000 (18:24 +0000)]
Add Jason Merrill as DWARF2 maintainer.

23 years ago2000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 5 Dec 2000 17:50:28 +0000 (17:50 +0000)]
2000-12-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of
        DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used
        anywhere.
        * sh-tdep.c (sh_gdbarch_init): Don't initialize
        DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM.

23 years ago* cp-demangle.c: s/new_abi/v3/.
DJ Delorie [Tue, 5 Dec 2000 16:51:29 +0000 (16:51 +0000)]
* cp-demangle.c: s/new_abi/v3/.
* cplus-dem.c: Likewise.
(current_demangling_style): Now auto_demangling.
(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
(main): Use standard symbol chars for auto_demangling.

23 years ago* demangle.h: Change "new_abi" to "v3" everywhere.
DJ Delorie [Tue, 5 Dec 2000 16:49:47 +0000 (16:49 +0000)]
* demangle.h: Change "new_abi" to "v3" everywhere.

23 years ago2000-12-05 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 5 Dec 2000 13:20:10 +0000 (13:20 +0000)]
2000-12-05  Kazu Hirata  <kazu@hxi.com>

* elf32-fr30.c: Fix formatting.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-i860.c: Likewise.
* elf32-i960.c: Likewise.

23 years ago2000-12-04 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 5 Dec 2000 03:15:31 +0000 (03:15 +0000)]
2000-12-04  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * utils.c (internal_verror): Fix typo in error msg.

23 years ago2000-12-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 5 Dec 2000 00:56:44 +0000 (00:56 +0000)]
2000-12-05  Ben Elliston  <bje@redhat.com>

* Make-common.in (cgen-defs): New target.
(cgen-decode): Pass $(EXTRAFILES).

23 years agoAdd outputting_stabs_line_debug varaible and D10v code to use it
Nick Clifton [Tue, 5 Dec 2000 00:56:09 +0000 (00:56 +0000)]
Add outputting_stabs_line_debug varaible and D10v code to use it

23 years ago2000-12-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 5 Dec 2000 00:46:04 +0000 (00:46 +0000)]
2000-12-05  Ben Elliston  <bje@redhat.com>

* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-outfile-suffix options.

23 years ago* gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM,
Andrew Cagney [Tue, 5 Dec 2000 00:44:34 +0000 (00:44 +0000)]
* gdbint.texinfo (ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM,
DWARF2_REG_TO_REGNUM): Document.

23 years ago* Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.
Mark Kettenis [Mon, 4 Dec 2000 23:27:59 +0000 (23:27 +0000)]
* Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.

23 years ago * readelf.c (process_section_headers): Handle linkonce.wi sections.
Jason Merrill [Mon, 4 Dec 2000 16:34:44 +0000 (16:34 +0000)]
    * readelf.c (process_section_headers): Handle linkonce.wi sections.
        (display_debug_section): Likewise.
        (display_debug_info): Display CU header before bailing.

23 years agoFix dwarf2read.c related crash in which section index was not being
Kevin Buettner [Mon, 4 Dec 2000 15:55:09 +0000 (15:55 +0000)]
Fix dwarf2read.c related crash in which section index was not being
initialized properly.

23 years ago2000-12-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 4 Dec 2000 04:05:45 +0000 (04:05 +0000)]
2000-12-04  Ben Elliston  <bje@redhat.com>

* cgen-ops.h (SUBWORDSIQI): Mask off top bits.
(SUBWORDSIUQI): Likewise.
(SUBWORDDIHI): Likewise.
(SUBWORDDIQI): New function.

23 years agoMultiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
Andrew Cagney [Mon, 4 Dec 2000 04:01:16 +0000 (04:01 +0000)]
Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.

23 years ago2000-12-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 4 Dec 2000 00:57:57 +0000 (00:57 +0000)]
2000-12-04  Ben Elliston  <bje@redhat.com>

* cgen-trace.c (disassemble_insn): Remove unused declaration.
* cgen-scache.c (scache_option_handler): Remove unused local var.

23 years agoSuppress support of DEMON swi's in XScale mode.
Nick Clifton [Sun, 3 Dec 2000 23:28:46 +0000 (23:28 +0000)]
Suppress support of DEMON swi's in XScale mode.

23 years agooops - omitted from previous deltas
Nick Clifton [Sun, 3 Dec 2000 22:12:00 +0000 (22:12 +0000)]
oops - omitted from previous deltas

23 years agoAdd MIPS64 instructions and tests
Nick Clifton [Sun, 3 Dec 2000 22:10:02 +0000 (22:10 +0000)]
Add MIPS64 instructions and tests

23 years agoRemove all uses of M1.
Nick Clifton [Sun, 3 Dec 2000 21:58:27 +0000 (21:58 +0000)]
Remove all uses of M1.

23 years agoUse the WR_HILO, RD_HILO, MOD_HILO, and MOD_LO macros.
Nick Clifton [Sun, 3 Dec 2000 21:49:06 +0000 (21:49 +0000)]
Use the WR_HILO, RD_HILO, MOD_HILO, and MOD_LO macros.

23 years agoFinish off adding MIPS32 instructions.
Nick Clifton [Sun, 3 Dec 2000 21:34:08 +0000 (21:34 +0000)]
Finish off adding MIPS32 instructions.

23 years agoMore test case alignments.
Nick Clifton [Sun, 3 Dec 2000 20:57:19 +0000 (20:57 +0000)]
More test case alignments.

23 years agooops - fix typo
Nick Clifton [Sun, 3 Dec 2000 20:51:44 +0000 (20:51 +0000)]
oops - fix typo

23 years agoFix tests to align to a 16 byte boundary.
Nick Clifton [Sun, 3 Dec 2000 20:50:35 +0000 (20:50 +0000)]
Fix tests to align to a 16 byte boundary.

23 years ago2000-12-03 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sun, 3 Dec 2000 20:44:04 +0000 (20:44 +0000)]
2000-12-03  Kazu Hirata  <kazu@hxi.com>

* elf32-arm.h: Fix formatting.
* elf32-avr.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-d10v.c: Likewise.
* elf32-d30v.c: Likewise.
* elf-hppa.h: Likewise.
* elf-m10200.c: Likewise.
* elf-m10300.c: Likewise.

23 years ago2000-12-03 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sun, 3 Dec 2000 06:49:23 +0000 (06:49 +0000)]
2000-12-03  Kazu Hirata  <kazu@hxi.com>

* tc-a29k.c: Fix formatting.
* tc-alpha.c: Likewise.
* tc-arm.c: Likewise.
* tc-cris.c: Likewise.
* tc-hppa.c: Likewise.
* tc-i370.c: Likewise.
* tc-i386.c: Likewise.
* tc-i860.c: Likewise.
* tc-i960.c: Likewise.
* tc-ia64.c: Likewise.
* tc-m68hc11.c: Likewise.
* tc-m68k.c: Likewise.
* tc-m88k.c: Likewise.
* tc-pj.c: Likewise.
* tc-ppc.c: Likewise.
* tc-sh.c: Likewise.
* tc-sparc.c: Likewise.
* tc-tahoe.c: Likewise.
* tc-vax.c: Likewise.

23 years ago2000-12-03 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 3 Dec 2000 04:23:54 +0000 (04:23 +0000)]
2000-12-03  Ben Elliston  <bje@redhat.com>

* sim-profile.c (profile_option_handler): Remove unused prof_nr.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Stephane Carrez [Sat, 2 Dec 2000 17:13:44 +0000 (17:13 +0000)]
2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove elf_flags, cleanup.
(gdbarch_tdep): Likewise.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Stephane Carrez [Sat, 2 Dec 2000 17:07:04 +0000 (17:07 +0000)]
2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* m68hc11-tdep.c (SOFT_D1_REGNUM): Soft registers start at 14.
(m68hc11_register_names): Add null for register 13.

23 years ago2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Stephane Carrez [Sat, 2 Dec 2000 16:55:37 +0000 (16:55 +0000)]
2000-12-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

* m68hc11-tdep.c (m68hc11_frame_args_address): Fix args address
computation.
(m68hc11_frame_init_saved_regs): Frame pointer is saved only if
the symbol exist.
(m68hc11_analyze_instruction): New function.
(m6811_prologue, m6812_prologue): New prologue description tables.
(m68hc11_guess_from_prologue): Use the above.
(m68hc11_gdbarch_init): Setup gdbarch_tdep for the prologue
descriptions.

23 years agoAdd check for vfork() to configure.in. Cleanup uses.
Andrew Cagney [Sat, 2 Dec 2000 15:40:56 +0000 (15:40 +0000)]
Add check for vfork() to configure.in.  Cleanup uses.

23 years ago* ser-unix.c (wait_for): Initialize the FD_SET before every select
Andrew Cagney [Sat, 2 Dec 2000 14:56:20 +0000 (14:56 +0000)]
* ser-unix.c (wait_for): Initialize the FD_SET before every select
call.
(ser_unix_wait_for): Ditto.

23 years agoReally check-in:
Andrew Cagney [Sat, 2 Dec 2000 14:08:22 +0000 (14:08 +0000)]
Really check-in:
* Makefile.in (varobj.o): Delete special .c.o rule supressing
-Werror flag.

23 years ago* m32r-rom.c (m32r_load_section): Update to match
Andrew Cagney [Sat, 2 Dec 2000 13:43:26 +0000 (13:43 +0000)]
* m32r-rom.c (m32r_load_section): Update to match
bfd_map_over_sections's ``func'' arg.

23 years ago* mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
Andrew Cagney [Sat, 2 Dec 2000 13:25:26 +0000 (13:25 +0000)]
* mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
``fmt''.  Make ``offset'' a CORE_ADDR.
(print_unpack): Delete.
(extended_offset): Construct and return a CORE_ADDR.
(fetch_mips_16): Return an int.  Don't assume short is 16 bits.
(unpack_mips16): Rewrite.  Add ``extension'' parameter instead of
incorrectly guessing if the instruction had an extension.
(map16): Delete array.
(mips16_op): Delete macro.
(extended_mips16_next_pc): Rewrite of old mips16_next_pc function.
When an extended instruction do a recursive call.
(mips16_next_pc): Call extended_mips16_next_pc.
(mips_next_pc): Cleanup.

23 years ago* ser-e7kpc.c (e7000pc_setstopbits): New function.
Andrew Cagney [Sat, 2 Dec 2000 11:37:15 +0000 (11:37 +0000)]
* ser-e7kpc.c (e7000pc_setstopbits): New function.
(e7000pc_ops): Add e7000pc_setstopbits.

* remote-e7000.c (e7000_detach, e7000_resume,
e7000_xfer_inferior_memory, e7000_files_info, e7000_files_info,
e7000_insert_breakpoint, e7000_remove_breakpoint, e7000_kill):
Update function signature to match target vector.

* h8300-tdep.c (h8300_command, h8300h_command, h8300s_command):
h8500-tdep.c (small_command, big_command, medium_command,
compact_command): Update function signature to match add_cmd.

23 years agoAdd MIPS SB1 machine
Nick Clifton [Sat, 2 Dec 2000 01:10:33 +0000 (01:10 +0000)]
Add MIPS SB1 machine

23 years agoAdd MIPS V and MIPS 64 machine numbers
Nick Clifton [Sat, 2 Dec 2000 00:55:22 +0000 (00:55 +0000)]
Add MIPS V and MIPS 64 machine numbers

23 years agoAdd mips32 tests.
Nick Clifton [Fri, 1 Dec 2000 23:52:12 +0000 (23:52 +0000)]
Add mips32 tests.

23 years agoFix whitespace
Nick Clifton [Fri, 1 Dec 2000 23:50:11 +0000 (23:50 +0000)]
Fix whitespace

23 years agoAdd MIPS32 as a seperate MIPS architecture
Nick Clifton [Fri, 1 Dec 2000 21:35:38 +0000 (21:35 +0000)]
Add MIPS32 as a seperate MIPS architecture

23 years agoAdd initialiser for membership field
Nick Clifton [Fri, 1 Dec 2000 20:06:36 +0000 (20:06 +0000)]
Add initialiser for membership field

23 years ago2000-12-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 1 Dec 2000 20:05:48 +0000 (20:05 +0000)]
2000-12-01  Fernando Nasser  <fnasser@redhat.com>

* p-exp.y: Define strncasecmp as strnicmp for MSVC.
(yylex): Use strncasecmp, not strnicmp.

23 years agoImprove MIPS32 support
Nick Clifton [Fri, 1 Dec 2000 20:05:32 +0000 (20:05 +0000)]
Improve MIPS32 support

23 years agoFix testcase and test results
Nick Clifton [Fri, 1 Dec 2000 19:11:20 +0000 (19:11 +0000)]
Fix testcase and test results

23 years agoWhen calculating offsets, don't accept as constant the difference between the
Nick Clifton [Fri, 1 Dec 2000 19:06:15 +0000 (19:06 +0000)]
When calculating offsets, don't accept as constant the difference between the
addresses of symbols in two different sections.

23 years agoExpect mips16 nops to be used for padding when mips16 code generation is
Nick Clifton [Fri, 1 Dec 2000 18:57:08 +0000 (18:57 +0000)]
Expect mips16 nops to be used for padding when mips16 code generation is
enabled.

23 years agoUpdate RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:37:16 +0000 (18:37 +0000)]
Update RTEMS targets

23 years agoUpdate RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:28:58 +0000 (18:28 +0000)]
Update RTEMS targets

23 years agoUpdate RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:19:20 +0000 (18:19 +0000)]
Update RTEMS targets

23 years agoReally delete elf64-ia64.c this time.
Nick Clifton [Fri, 1 Dec 2000 18:15:22 +0000 (18:15 +0000)]
Really delete elf64-ia64.c this time.

23 years ago2000-12-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 1 Dec 2000 18:01:38 +0000 (18:01 +0000)]
2000-12-01  Fernando Nasser  <fnasser@redhat.com>

        * cli/cli-decode.c: New file. Handle lists of commands, their decoding
        and documentation.
        (add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
        add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
        add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
        add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
        help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
        undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
        lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
        Moved here from command.c.
        (add_info, add_info_alias, add_com, add_com_alias): Moved here from
        top.c.
        * cli/cli-decode.h: Definitions/declarations for the above.
        * cli/cli-cmds.c: New file.  GDB CLI commands.
        (error_no_arg, info_command, show_command, help_command, show_version,
        quit_command, pwd_command, cd_command, echo_command, shell_escape,
        make_command, show_user, set_debug, show_debug, init_cmd_lists):
        Moved here from top.c.
        (apropos_command): Moved here from command.c.
        (complete_command, source_command): Moved here (part) from top.c.
        (is_complete_command): New function. Checks if a command is the
        "complete" command.
        (init_cli_cmds): New function. Add commands to the CLI (from code
        previously in top.c.
        * cli/cli-cmds.h: Definitions/declarations for the above.
        * cli/cli-script.c: New file. GDB CLI command scripting.
        (build_command_line, get_command_line, print_command_lines,
        print_command_line, execute_user_command, execute_control_command,
        while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
        insert_args, realloc_body_list, read_next_line,
        recurse_read_control_structure, read_command_lines, free_command_lines,
        do_free_command_lines_cleanup, make_cleanup_free_command_lines,
        validate_comname, user_defined_command, define_command,
        document_command, source_cleanup_lines, do_fclose_cleanup,
        show_user_1): Moved here from top.c.
        (script_from_file): New function. Implements execution of a script
        contained in a file (part of code for the source_command() that used
        to exist in top.c).
        * cli/cli-script.h: Definitions/declarations for the above.
        * cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
        (parse_auto_binary_operation, parse_binary_operation,
        do_setshow_command, cmd_show_list): Moved here from command.c.
        * cli/cli-setshow.h: Definitions/declarations for the above.
        * top.c: Remove all CLI code, except the command loop.
        (gdb_init): Call init_cli_cmds().
        * command.c: Remove obsolete file.
        * command.h: Mark as DEPRECATED.
        * gdbcmd.h: Ditto.
        * call-cmds.h: Ditto.
        * Makefile.in (SFILES): Remove command.c.
        (COMMON_OBS): Remove command.o.
        (command.o): Remove obsolete target.
        (cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
        Refer to CLI header files.
        (cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
        (SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
        SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
        SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
        subdirectory.
        * configure.in (enable_gdbcli): New option. Include the CLI in the
        executable (cannot be disabled yet).
        (CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
        CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
        the corresponding SUBDIR_CLI_* macros if CLI requested.
        * configure: Regenerate.

23 years ago2000-11-30 Philip Blundell <pb@futuretv.com>
Phil Blundell [Fri, 1 Dec 2000 17:11:57 +0000 (17:11 +0000)]
2000-11-30  Philip Blundell  <pb@futuretv.com>

* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
even in non BFD_ASSEMBLER case.

23 years ago2000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 1 Dec 2000 10:40:10 +0000 (10:40 +0000)]
2000-10-27  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (yylex): avoid problem with symbol name
starting as a operator name.

23 years ago2000-11-30 Diego Novillo <dnovillo@redhat.com>
Diego Novillo [Fri, 1 Dec 2000 03:08:32 +0000 (03:08 +0000)]
2000-11-30  Diego Novillo  <dnovillo@redhat.com>

* tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
syntax.

2000-11-30  Diego Novillo  <dnovillo@redhat.com>

* intel.s, intel.d: New test for @GOT references.

23 years ago2000-11-30 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 1 Dec 2000 00:43:47 +0000 (00:43 +0000)]
2000-11-30  Fernando Nasser  <fnasser@redhat.com>

        * linespec.h: New file. Declarations for linespec.c.
        * linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c,
        symtab.c, tracepoint.c: Include the above.
        * completer.c: New file. Line completion stuff for GDB.
        (get_gdb_completer_word_break_characters,
        get_gdb_completer_quote_characters): New functions. Accessors for
        useful completer internal data.
        (filename_completer, line_completion_function, skip_quoted): Moved
        here from top.c.
        * completer.h: New file. Declarations for the above.
        * linespec.c (decode_line_1): Use
        get_gdb_completer_word_break_characters and
        get_gdb_completer_quote_characters.
        * top.c: Include completer.h.
        (filename_completer, line_completion_function, skip_quoted):
        Moved to completer.c.
        * corefile.c, exec.c, source.c, symfile.c, linespec.c: Include
        completer.h.
        * Makefile.in (SFILES): Add completer.c.
        (COMMON_OBS): Add completer.o.
        (completer.o): New target.
        (linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o,
        symtab.o, tracepoint.o): Add linespec.h to dependencies list.
        (corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h
        to dependencies list.

24 years agoAdd support for x86_64-*-linux-gnu* target
Nick Clifton [Thu, 30 Nov 2000 19:30:33 +0000 (19:30 +0000)]
Add support for x86_64-*-linux-gnu* target

24 years agoAdd support for x86_64-*-linux-gnu* target
Nick Clifton [Thu, 30 Nov 2000 19:16:54 +0000 (19:16 +0000)]
Add support for x86_64-*-linux-gnu* target

24 years agoAdd x86-64 support files.
Nick Clifton [Thu, 30 Nov 2000 19:05:18 +0000 (19:05 +0000)]
Add x86-64 support files.

24 years ago* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
DJ Delorie [Thu, 30 Nov 2000 15:35:54 +0000 (15:35 +0000)]
* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.

24 years ago * emulparams/crislinux.sh (ENTRY): Change back to _start.
Hans-Peter Nilsson [Thu, 30 Nov 2000 15:08:44 +0000 (15:08 +0000)]
* emulparams/crislinux.sh (ENTRY): Change back to _start.
(TEXT_START_SYMBOLS): Remove conditional setting of __start.

* scripttempl/crisaout.sc: Change all RELOCATING not related to
merging non-a.out sections into CONSTRUCTING.

24 years ago2000-11-30 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 30 Nov 2000 08:04:42 +0000 (08:04 +0000)]
2000-11-30  Kazu Hirata  <kazu@hxi.com>

* xcofflink.c: Fix formatting.

24 years agoRegenerate gdbarch.c.
Andrew Cagney [Thu, 30 Nov 2000 03:30:52 +0000 (03:30 +0000)]
Regenerate gdbarch.c.

24 years agoAdd support for ARM's v5TE architecture and Intel's XScale extenstions
Nick Clifton [Thu, 30 Nov 2000 01:55:12 +0000 (01:55 +0000)]
Add support for ARM's v5TE architecture and Intel's XScale extenstions

24 years agoAdd GNU Free Documentation License
Nick Clifton [Thu, 30 Nov 2000 01:54:16 +0000 (01:54 +0000)]
Add GNU Free Documentation License

24 years agoTurn Gnu Free Documentation License intoa comment
Nick Clifton [Wed, 29 Nov 2000 21:45:14 +0000 (21:45 +0000)]
Turn Gnu Free Documentation License intoa comment

24 years ago * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
Richard Henderson [Wed, 29 Nov 2000 21:42:41 +0000 (21:42 +0000)]
    * dwarf2dbg.c: Rewrite from scratch.  Queue all debugging output
        until dwarf2_finish; use relaxation to get cross-fragment offsets;
        thread multiple subsegments properly; handle multiple code
        sections properly; emit proper compilation unit info for assembler
        generated debugging.

        * as.h (enum _relax_state): Add rs_dwarf2dbg.
        * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
        (dwarf2dbg_estimate_size_before_relax): Declare.
        (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
        * write.c: Include dwarf2dbg.h.
        (cvt_frag_to_fill): Handle rs_dwarf2dbg.
        (relax_segment): Likewise.

24 years ago* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
DJ Delorie [Wed, 29 Nov 2000 20:14:48 +0000 (20:14 +0000)]
* libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

24 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 20:07:08 +0000 (20:07 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.

* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

24 years ago* hashtab.c (higher_prime_number): Use a table, rather than a
DJ Delorie [Wed, 29 Nov 2000 19:19:10 +0000 (19:19 +0000)]
* hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.

24 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 19:17:37 +0000 (19:17 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

24 years agoFix -Wuninitialized warnings.
Andrew Cagney [Wed, 29 Nov 2000 14:41:34 +0000 (14:41 +0000)]
Fix -Wuninitialized warnings.

24 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 29 Nov 2000 04:56:32 +0000 (04:56 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* elf32-mips.c: Fix formatting.

24 years ago (parse_reg): Parse names case-insensitively.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:53:51 +0000 (23:53 +0000)]
(parse_reg): Parse names case-insensitively.

24 years ago (sh_elf_cons): Cast *input_line_pointer to unsigned char when
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:48:44 +0000 (23:48 +0000)]
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.

24 years ago * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:42:53 +0000 (23:42 +0000)]
* sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
(print_insn_ppi): Make nib1, nib2, nib3 unsigned.
Initialize variable dc to NULL.
(print_insn_shx): Remove unused label d_reg_n.

24 years ago * gas/sh/err.exp: New, framework for error-testing.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:39:19 +0000 (23:39 +0000)]
* gas/sh/err.exp: New, framework for error-testing.
* gas/sh/err-1.s: New test.

24 years ago * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:33:45 +0000 (23:33 +0000)]
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where instead of as_bad.  Tweak error message
accordingly.  Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.

24 years ago Change sourceware.cygnus.com to sources.redhat.com.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:10:05 +0000 (23:10 +0000)]
Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".