external/binutils.git
23 years ago2000-12-15 Diego Novillo <dnovillo@redhat.com>
Diego Novillo [Sat, 16 Dec 2000 05:45:08 +0000 (05:45 +0000)]
2000-12-15  Diego Novillo  <dnovillo@redhat.com>

* config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
it's not an offset expression.
(intel_e10_1): Ditto. Also, if the operand is an offset expression,
keep the braces '[' and ']' in the output string.
(intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
!= FLAT. There is no such op_modifier.

23 years agoAdd Diego Novillo.
Nick Clifton [Sat, 16 Dec 2000 01:28:21 +0000 (01:28 +0000)]
Add Diego Novillo.

23 years ago2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 15 Dec 2000 21:44:35 +0000 (21:44 +0000)]
2000-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is
  now part of gdbarch_tdep structure.
(sh_gdbarch_init): Initialize SR_REGNUM.

* config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.

23 years agowhoops, remove conflict indicators!
Elena Zannoni [Fri, 15 Dec 2000 20:56:42 +0000 (20:56 +0000)]
whoops, remove conflict indicators!

23 years ago2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 15 Dec 2000 20:54:24 +0000 (20:54 +0000)]
2000-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_do_pseudo_register): Indent properly. Call
  do_dr_register_info() only for DR registers.
(sh_sh4_register_name): Add comments with numbers.
(_initialize_sh_tdep): Move assignment to disassemble printing
  function from here...
(sh_gdbarch_init):...to here. Move some more general settings to
  before the architecture is recognized.

23 years agoMove to the start of the program headers before attempting to read them.
Nick Clifton [Fri, 15 Dec 2000 18:53:04 +0000 (18:53 +0000)]
Move to the start of the program headers before attempting to read them.

23 years agoMulti-arch REGISTER_BYTES_OK.
Andrew Cagney [Fri, 15 Dec 2000 12:33:08 +0000 (12:33 +0000)]
Multi-arch REGISTER_BYTES_OK.

23 years agovasprintf() -> xvasprintf()
Andrew Cagney [Fri, 15 Dec 2000 12:04:03 +0000 (12:04 +0000)]
vasprintf() -> xvasprintf()

23 years agoRemoved (tui and mi) directory prefixes from ChangeLog comments that I
Kevin Buettner [Fri, 15 Dec 2000 03:00:38 +0000 (03:00 +0000)]
Removed (tui and mi) directory prefixes from ChangeLog comments that I
added in last commit.

23 years agoPut mi and tui comments for free -> xfree change in proper ChangeLogs.
Kevin Buettner [Fri, 15 Dec 2000 02:56:42 +0000 (02:56 +0000)]
Put mi and tui comments for free -> xfree change in proper ChangeLogs.

23 years agoApplied solib-svr4.c changes for NetBSD from Matthew Green.
Kevin Buettner [Fri, 15 Dec 2000 02:04:59 +0000 (02:04 +0000)]
Applied solib-svr4.c changes for NetBSD from Matthew Green.

23 years agofree -> xfree changes
Kevin Buettner [Fri, 15 Dec 2000 01:57:51 +0000 (01:57 +0000)]
free -> xfree changes

23 years agoReplace free() with xfree().
Kevin Buettner [Fri, 15 Dec 2000 01:01:51 +0000 (01:01 +0000)]
Replace free() with xfree().

23 years ago2000-12-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 14 Dec 2000 21:38:31 +0000 (21:38 +0000)]
2000-12-14  Kazu Hirata  <kazu@hxi.com>

* peigen.c: Fix formatting.
* som.c: Likewise.
* som.h: Likewise.

23 years agooops - omitted terminating #endif
Nick Clifton [Thu, 14 Dec 2000 20:29:25 +0000 (20:29 +0000)]
oops - omitted terminating #endif

23 years agoIf we don't have <limits.h>, try including <sys/param.h> if we have it.
Nick Clifton [Thu, 14 Dec 2000 20:16:20 +0000 (20:16 +0000)]
If we don't have <limits.h>, try including <sys/param.h> if we have it.

23 years ago* configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,
J.T. Conklin [Thu, 14 Dec 2000 20:15:45 +0000 (20:15 +0000)]
* configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,
rs6000-*-lynxos*, sparc-*-sunos4*): Add gdbserver to configdirs.

23 years agoAdd myself as a "FreeBSD native & host" maintainer.
David O'Brien [Thu, 14 Dec 2000 16:50:20 +0000 (16:50 +0000)]
Add myself as a "FreeBSD native & host" maintainer.

Approved by:  Andrew Cagney <ac131313@cygnus.com>
              Message-ID: <3A383037.96AB4C62@cygnus.com>

23 years ago2000-12-13 Michael Chastain <chastain@redhat.com>
Michael Chastain [Thu, 14 Dec 2000 06:17:05 +0000 (06:17 +0000)]
2000-12-13  Michael Chastain  <chastain@redhat.com>

* MAINTAINERS: Add Michael Chastain to Write After Approval list.

23 years agoAdded Michael Chastain with Write After Approval access.
Michael Chastain [Thu, 14 Dec 2000 06:14:57 +0000 (06:14 +0000)]
Added Michael Chastain with Write After Approval access.

23 years ago2000-12-13 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 14 Dec 2000 01:12:43 +0000 (01:12 +0000)]
2000-12-13  Kazu Hirata  <kazu@hxi.com>

* as.h: Fix formatting.
* cgen.h: Likewise.
* dwarf2dbg.c: Likewise.
* input-scrub.c: Likewise.
* read.h: Likewise.

23 years ago2000-12-13 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 13 Dec 2000 22:55:54 +0000 (22:55 +0000)]
2000-12-13  Ben Elliston  <bje@redhat.com>

* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
(defs): New action.

23 years ago2000-12-13 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 13 Dec 2000 21:43:57 +0000 (21:43 +0000)]
2000-12-13  Kazu Hirata  <kazu@hxi.com>

* peigen.c: Fix formatting.

23 years ago* configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
DJ Delorie [Wed, 13 Dec 2000 20:21:52 +0000 (20:21 +0000)]
* configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
configure: Regenerate.

23 years ago* error message improvements for cgen assemblers
Frank Ch. Eigler [Wed, 13 Dec 2000 18:55:02 +0000 (18:55 +0000)]
* error message improvements for cgen assemblers

2000-12-12  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
        error messages over later parse-time ones.

23 years agoaadd conditionals around definition of INT_MAX
Nick Clifton [Wed, 13 Dec 2000 18:48:04 +0000 (18:48 +0000)]
aadd conditionals around definition of INT_MAX

23 years agoAdde dfinition if INT_MAX if limits.h is not included
Nick Clifton [Wed, 13 Dec 2000 18:46:41 +0000 (18:46 +0000)]
Adde dfinition if INT_MAX if limits.h is not included

23 years ago#include <limits.h> only if it exists.
Nick Clifton [Wed, 13 Dec 2000 18:42:28 +0000 (18:42 +0000)]
#include <limits.h> only if it exists.

23 years agoRevert the last beautification with "innocent" whitespace,
Nick Clifton [Wed, 13 Dec 2000 18:28:52 +0000 (18:28 +0000)]
Revert the last beautification with "innocent" whitespace,
it breaks the K&R C preprocessor.

23 years agoRodney Brown's CHECK_FIELD typo fixes.
Alan Modra [Wed, 13 Dec 2000 06:23:56 +0000 (06:23 +0000)]
Rodney Brown's CHECK_FIELD typo fixes.

23 years agoEliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
Jim Wilson [Tue, 12 Dec 2000 22:56:36 +0000 (22:56 +0000)]
Eliminate ia64 compiler warnings.  Fix ia64 gas testsuite again.
*  elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
* config/tc-ia64.h (ia64_init): Add prototype.
* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
argument.
* ia64_gen.c (insert_deplist): Cast sizeof result to int.
(print_dependency_table): Print NULL if semantics field not set.
(insert_opcode_dependencies): Mark cmp parameter as unused.
(print_main_table): Use fprintf_vma to print long long fields.
(main): Mark argv paramter as unused.  Convert to old style definition.
* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
* ia64-asmtab.c: Regnerate.

23 years agoIgnore sections with zero size.
Nick Clifton [Tue, 12 Dec 2000 22:54:39 +0000 (22:54 +0000)]
Ignore sections with zero size.

23 years ago* ld.texinfo: Add notes about --whole-archive and gcc.
DJ Delorie [Tue, 12 Dec 2000 22:37:20 +0000 (22:37 +0000)]
* ld.texinfo: Add notes about --whole-archive and gcc.

23 years ago2000-12-12 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 12 Dec 2000 21:25:54 +0000 (21:25 +0000)]
2000-12-12  Kazu Hirata  <kazu@hxi.com>

* m68klinux.c: Fix formatting.
* m68knetbsd.c: Likewise.
* mipsbsd.c: Likewise.
* netbsd-core.c: Likewise.
* netbsd.h: Likewise.
* newsos3.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* nlmswap.h: Likewise.
* nlm-target.h: Likewise.
* ns32knetbsd.c: Likewise.

23 years ago2000-12-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 12 Dec 2000 21:21:39 +0000 (21:21 +0000)]
2000-12-12  H.J. Lu  <hjl@gnu.org>

* dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.

* read.h (outputting_stabs_line_debug): Change it to int.
* stabs.c (outputting_stabs_line_debug): Likewise.

23 years agoAdd EM_X86_64.
Nick Clifton [Tue, 12 Dec 2000 20:58:46 +0000 (20:58 +0000)]
Add EM_X86_64.

23 years agoIn sim/common:
Geoffrey Keating [Tue, 12 Dec 2000 20:54:13 +0000 (20:54 +0000)]
In sim/common:
* sim-endian.h: Don't have parameters on macro definitions which
are simply renaming functions, to permit use of XCONCAT2 in both
the macro name and the arguments in a use of such a definition.
In sim/ppc:
* sim-endian.h: Don't have parameters on macro definitions which
are simply renaming functions, to permit use of XCONCAT2 in both
the macro name and the arguments in a use of such a definition.

23 years agoAdd link option to allow undefiedn symbols in shared libraries
Nick Clifton [Tue, 12 Dec 2000 20:53:02 +0000 (20:53 +0000)]
Add link option to allow undefiedn symbols in shared libraries

23 years ago * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
Geoffrey Keating [Tue, 12 Dec 2000 20:48:45 +0000 (20:48 +0000)]
* config/obj-bout.c (obj_crawl_symbol_chain): Don't take
the address of a function result.

23 years ago* configure.in: Disable language-specific target libraries for
Alexandre Oliva [Tue, 12 Dec 2000 20:33:05 +0000 (20:33 +0000)]
* configure.in: Disable language-specific target libraries for
languages that aren't enabled.

23 years ago * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
Geoffrey Keating [Tue, 12 Dec 2000 20:15:21 +0000 (20:15 +0000)]
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
.fixup is actually read/write.
* emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.

23 years ago2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Geoffrey Keating [Tue, 12 Dec 2000 20:05:16 +0000 (20:05 +0000)]
2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn.
(shlib): Fix typo SHILB -> SHLIB.
(md_parse_option): Likewise.
(ppc_elf_validate_fix): Likewise:
* config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.

23 years agoRemove spurious whitespace
Nick Clifton [Tue, 12 Dec 2000 19:37:01 +0000 (19:37 +0000)]
Remove spurious whitespace

23 years agoFix formatting.
Nick Clifton [Tue, 12 Dec 2000 19:36:32 +0000 (19:36 +0000)]
Fix formatting.

23 years agoAdd el segundo tests
Nick Clifton [Tue, 12 Dec 2000 19:32:56 +0000 (19:32 +0000)]
Add el segundo tests
Fix formatting

23 years agoFix formatting
Nick Clifton [Tue, 12 Dec 2000 19:29:24 +0000 (19:29 +0000)]
Fix formatting

23 years agoFix formatting
Nick Clifton [Tue, 12 Dec 2000 19:28:12 +0000 (19:28 +0000)]
Fix formatting

23 years agoFix Formatting.
Nick Clifton [Tue, 12 Dec 2000 19:25:07 +0000 (19:25 +0000)]
Fix Formatting.

23 years agoFix formatting.
Nick Clifton [Tue, 12 Dec 2000 19:23:16 +0000 (19:23 +0000)]
Fix formatting.

23 years agoUpdate copyright dates
Nick Clifton [Tue, 12 Dec 2000 19:19:57 +0000 (19:19 +0000)]
Update copyright dates

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 22:36:26 +0000 (22:36 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * Makefile.in (CONFIG_LOBS): New macro.  Configured to the files
        that must be added to the gdblib itself.
        (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS.
        (INIT_FILES): Include CONFIG_OBS.
        (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it.
        (kdb): Ditto.
        * configure.in (CONFIG_LOBS): New variable. Object files that must
        be added to gdblib for the specific configuration.
        * configure: Regenerate.

23 years ago2000-12-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 11 Dec 2000 21:49:36 +0000 (21:49 +0000)]
2000-12-11  H.J. Lu  <hjl@gnu.org>

* gas/i386/intel.d: Adjusted for the a.out assembler.
* gas/i386/intel.s: Likewise.

23 years ago2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 11 Dec 2000 21:34:27 +0000 (21:34 +0000)]
2000-12-11  Michael Snyder  <msnyder@cleaver.cygnus.com>

* sh-tdep.c (sh_extract_struct_value_address): Protoize.

2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

* blockframe.c (get_prev_frame): Add missing paren omitted in
last check-in.

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 21:11:16 +0000 (21:11 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS,
        SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS,
        SUBDIR_GDBTK_CFLAGS): New macros.  For gdbtk subdir.
        * configure.in: Fix typo.  It is CONFIG_OBS not CONFIG_OJS.
        Use the SUBDIR_GDBTK_* macros instead of hard coded file names.
        * configure: Regenerate.

23 years ago2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Mon, 11 Dec 2000 21:10:15 +0000 (21:10 +0000)]
2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * blockframe.c (get_prev_frame): Zero all fields of prev by
        default using memset (instead of one at a time).

23 years ago2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 11 Dec 2000 21:04:04 +0000 (21:04 +0000)]
2000-12-11  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sh-tdep.c (sh_extract_struct_value_address): For consistancy,
        change decl from "CORE_ADDR static" to "static CORE_ADDR".

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 20:21:57 +0000 (20:21 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * configure.in: Fix typos.  It is CONFIG_SRCS not CONFIG_SRS.
        * configure: Regenerate.

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 18:59:47 +0000 (18:59 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * configure.in: Fix a couple of typos in the handling of the
        enable_gdbcli option.  Make it check enableval for the result
        of AC_ARG_ENABLE.
        * configure: Regenerate.

23 years ago * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux
Jeff Law [Mon, 11 Dec 2000 17:55:58 +0000 (17:55 +0000)]
    * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux
        compatibility.

23 years ago * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
Jan Hubicka [Mon, 11 Dec 2000 14:01:46 +0000 (14:01 +0000)]
* tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
references.
(intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
otherwise.
* tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
(No_dSuf): Kill.

* i386.h (*_Suf): Remove No_dSuf.
(d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
Remove.
(i386_optab): Remove 'd' in the suffixes.

23 years ago * NEWS: Add note about x86_64 architecture.
Jan Hubicka [Mon, 11 Dec 2000 13:49:46 +0000 (13:49 +0000)]
* NEWS: Add note about x86_64 architecture.
* MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.

23 years ago2000-12-11 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 11 Dec 2000 07:14:34 +0000 (07:14 +0000)]
2000-12-11  Ben Elliston  <bje@redhat.com>

* cgen-ops.h (SUBWORDDFDI): New function.

23 years agoReplace #warning with #error
Alan Modra [Mon, 11 Dec 2000 03:43:05 +0000 (03:43 +0000)]
Replace #warning with #error

23 years agoAdd 0x91 as an FPE SWI.
Nick Clifton [Mon, 11 Dec 2000 03:08:17 +0000 (03:08 +0000)]
Add 0x91 as an FPE SWI.

23 years agoFix v850 test failures
Nick Clifton [Sat, 9 Dec 2000 23:44:17 +0000 (23:44 +0000)]
Fix v850 test failures

23 years agoAdd tic54x and tms320c54x to expected cpus list.
Nick Clifton [Sat, 9 Dec 2000 23:33:24 +0000 (23:33 +0000)]
Add tic54x and tms320c54x to expected cpus list.

23 years agoPrevent re-read of instruction from wrong address.
Nick Clifton [Sat, 9 Dec 2000 23:20:59 +0000 (23:20 +0000)]
Prevent re-read of instruction from wrong address.

23 years agoUpdate to match latest assembler output.
Nick Clifton [Sat, 9 Dec 2000 22:55:52 +0000 (22:55 +0000)]
Update to match latest assembler output.

23 years ago2000-12-09 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sat, 9 Dec 2000 22:35:05 +0000 (22:35 +0000)]
2000-12-09  Michael Chastain  <chastain@redhat.com>

* gdb.base/break.exp (test_clear_command): Use a marker function
rather than 'main' for the test function.  Also move this
test to an execution point where the marker function names are
guaranteed to be bound to functions.  (Executing tests after a
'finish' from main runs into name conflicts with local names
in __libc_start_main).

23 years agoRegenerate fr30-dis.c
Nick Clifton [Sat, 9 Dec 2000 22:22:33 +0000 (22:22 +0000)]
Regenerate fr30-dis.c

23 years agoExpect the srec_test to fail for ARM targets because the -oformat linker
Nick Clifton [Sat, 9 Dec 2000 20:24:34 +0000 (20:24 +0000)]
Expect the srec_test to fail for ARM targets because the -oformat linker
command switch cannot be used.

23 years agoPass dwarf2_find_line_info as last parameter to invocation of
Nick Clifton [Sat, 9 Dec 2000 20:12:57 +0000 (20:12 +0000)]
Pass dwarf2_find_line_info as last parameter to invocation of
_bfd_dwarf2_find_nearest_line.

23 years agoAdd - before rms to be more portable.
DJ Delorie [Sat, 9 Dec 2000 16:10:41 +0000 (16:10 +0000)]
Add - before rms to be more portable.

23 years agoAdd xscale to list of Rel targets
Nick Clifton [Sat, 9 Dec 2000 01:59:22 +0000 (01:59 +0000)]
Add xscale to list of Rel targets

23 years ago2000-12-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sat, 9 Dec 2000 01:54:51 +0000 (01:54 +0000)]
2000-12-08  Kazu Hirata  <kazu@hxi.com>

* elf64-alpha.c: Fix formatting.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.

23 years agoFixup whitespace
Nick Clifton [Sat, 9 Dec 2000 01:53:57 +0000 (01:53 +0000)]
Fixup whitespace

23 years agoGeneralize DWARF2 and COFF support.
Nick Clifton [Fri, 8 Dec 2000 22:50:07 +0000 (22:50 +0000)]
Generalize DWARF2 and COFF support.

23 years ago2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Fri, 8 Dec 2000 20:12:36 +0000 (20:12 +0000)]
2000-12-08  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * dwarf2read.c (DWARF2_REG_TO_REGNUM): New macro.  Provide default
        definition.  Will be used to translate between the compiler's
        register numbering and GDB's (for register variables etc).
        (new_symbol): Use DWARF2_REG_TO_REGNUM to translate register ids.

23 years ago2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Fri, 8 Dec 2000 19:59:25 +0000 (19:59 +0000)]
2000-12-08  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * alpha-tdep.c: Fix typo in comment.
        * dbxread.c: Fix typo in comment.
        * fr30-tdep.c: Fix typo: newline missing after comment.
        * mcore-tdep.c: Fix typo in comment.

23 years ago* gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):
J.T. Conklin [Fri, 8 Dec 2000 19:46:08 +0000 (19:46 +0000)]
* gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):
Removed unused variables and declarations.
* gdbserver/low-linux.c (buf2, environ, query, quit, quit_flag):
Likewise.
* gdbserver/low-nbsd.c (buf2, environ, quit, quit_flag):
Likewise.
* gdbserver/low-sparc.c (buf2, environ, query, quit, quit_flag):
Likewise.
* gdbserver/low-sun.c (buf2, environ, query, quit, quit_flag):
Likewise.

* gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
gdbserver/low-nbsd.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c
(create_inferior): Update comment.

* gdbserver/low-nbsd.c (initialize_arch, fetch_inferior_registers,
store_inferior_registers): Provide implementations for the m68k
and ns32k.
* config/m68k/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
* config/ns32k/nbsd.mt (GDBSERVER_DEPFILES): Likewise.
* configure.tgt (m68*-*-netbsd*, ns32k-*-netbsd*): Add gdbserver
to configdirs.
-------------------------------------------------------------------

23 years ago2000-12-07 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 8 Dec 2000 19:30:32 +0000 (19:30 +0000)]
2000-12-07  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/finish.exp: New test for gdb's "finish" command.
        * gdb.base/return2.exp: New test for gdb's "return" command.
        * gdb.base/return2.c: New source file for above.

23 years ago2000-12-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 8 Dec 2000 18:34:32 +0000 (18:34 +0000)]
2000-12-08  Kazu Hirata  <kazu@hxi.com>

* coffgen.c: Fix formatting.
* elf32-i386.c: Likewise.
* elf32-i960.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-sparc.c: Likewise.
* elf-m10300.c: Likewise.

23 years ago2000-12-07 Andrew Haley <aph@redhat.com>
Andrew Haley [Fri, 8 Dec 2000 17:25:47 +0000 (17:25 +0000)]
2000-12-07  Andrew Haley  <aph@redhat.com>

        * readelf.c (display_debug_frames): Only display columns that are
        referenced by the frame debug info.

23 years ago* safe-ctype.c: New file.
DJ Delorie [Fri, 8 Dec 2000 16:37:01 +0000 (16:37 +0000)]
* safe-ctype.c: New file.
* Makefile.in (CFILES): Add safe-ctype.c.
(REQUIRED_OFILES): Add safe-ctype.o.

* argv.c: Define ISBLANK and use it, not isspace.
* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
before calling TOLOWER(c)/TOUPPER(c).

23 years agoActually add safe-ctype.h
Christopher Faylor [Fri, 8 Dec 2000 03:28:41 +0000 (03:28 +0000)]
Actually add safe-ctype.h

23 years ago* safe-ctype.h: New file.
Christopher Faylor [Fri, 8 Dec 2000 03:26:46 +0000 (03:26 +0000)]
* safe-ctype.h: New file.

23 years ago2000-11-15 Jim Blandy <jimb@redhat.com>
Michael Chastain [Fri, 8 Dec 2000 01:52:41 +0000 (01:52 +0000)]
2000-11-15  Jim Blandy  <jimb@redhat.com>

* sim_calls.c: Doc fix.
(sim_fetch_register, sim_store_register): Call
gdbarch_register_name directly, instead of going through
REGISTER_NAME macro.

23 years agooops - remove redundant prototype introduced in previous delta
Nick Clifton [Fri, 8 Dec 2000 01:39:48 +0000 (01:39 +0000)]
oops - remove redundant prototype introduced in previous delta

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.