Daniel Jacobowitz [Sun, 5 Jan 2003 01:38:41 +0000 (01:38 +0000)]
* gdb.texinfo (Backtraces): Document "set backtrace-below-main".
* gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation.
gdbadmin [Sun, 5 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sat, 4 Jan 2003 23:47:13 +0000 (23:47 +0000)]
* Makefile.in (acconfig_h): Remove incorrect macro.
(config_h): Define.
(osabi.o): Update dependencies.
* configure.tgt: Set gdb_osabi based on target triplet.
* configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
* configure: Regenerated.
* config.in: Regenerated.
* osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
(GDB_OSABI_DEFAULT): Define if not already defined.
(user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
(set_osabi_string): New variables.
(gdbarch_register_osabi): Add new OS ABI to
gdb_osabi_available_names.
(gdbarch_lookup_osabi): Honor specified and default OS ABIs.
(set_osabi, show_osabi): New functions.
(_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
Daniel Jacobowitz [Sat, 4 Jan 2003 23:38:46 +0000 (23:38 +0000)]
* arch-utils.c (gdbarch_info_init): Set osabi to
GDB_OSABI_UNINITIALIZED.
* gdbarch.sh: Add osabi to struct gdbarch and to struct
gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
in gdbarch_list_lookup_by_info and in gdbarch_update_p.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
there's no BFD.
(gdbarch_init_osabi): Remove osabi argument; use info.osabi.
* osabi.h (enum gdb_osabi): Move to defs.h.
(gdbarch_init_osabi): Update prototype.
* defs.h (enum gdb_osabi): Moved here.
* Makefile.in: Update dependencies.
Plus updates to alpha, arm, hppa, i386, mips, ns32k, ppc, sh, sparc, and vax
ports to match.
Daniel Jacobowitz [Sat, 4 Jan 2003 23:07:24 +0000 (23:07 +0000)]
* breakpoint.c (insert_breakpoints): Skip disabled breakpoints
entirely.
(breakpoint_re_set_one): Don't fetch the value for a disabled
watchpoint.
Daniel Jacobowitz [Sat, 4 Jan 2003 23:05:05 +0000 (23:05 +0000)]
Fix PR gdb/844
* lib/gdb.exp (gdb_compile): Handle "quiet" option.
(gdb_compile_pthreads): Pass "quiet" to gdb_compile.
* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
instead of calling gdb_suppress_entire_file.
* gdb.threads/print-threads.exp: Likewise.
* gdb.threads/schedlock.exp: Likewise.
* gdb.threads/killed.exp: Return instead of calling
gdb_suppress_entire_file.
* gdb.threads/linux-dp.exp: Likewise.
* gdb.threads/pthreads.exp: Likewise.
Alan Modra [Sat, 4 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Sat, 4 Jan 2003 22:37:49 +0000 (22:37 +0000)]
gdb/
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
* gdbarch.sh Remove include of "value.h" in gdbarch.h.
(COERCE_FLOAT_TO_DOUBLE): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* Makefile.in: Remove value_h from gdbarch_h.
* valops.c (coerce_float_to_double): New variable.
(default_coerce_float_to_double): Remove.
(standard_coerce_float_to_double): Remove.
(value_arg_coerce): Use coerce_float_to_double.
(_initialize_valops): Add "set coerce-float-to-double".
* value.h (default_coerce_float_to_double): Remove prototype.
(standard_coerce_float_to_double): Remove prototype.
* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
prototyped.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Mark all functions as prototyped.
* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
* alpha-tdep.c (alpha_gdbarch_init): Remove call to
set_gdbarch_coerce_float_to_double.
* arm-tdep.c (arm_gdbarch_init): Likewise.
* frv-tdep.c (frv_gdbarch_init): Likewise.
* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
(mips_coerce_float_to_double): Remove.
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
(rs6000_coerce_float_to_double): Remove.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sh-tdep.c (sh_gdbarch_init): Likewise.
(sh_coerce_float_to_double): Remove.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
(sparc_coerce_float_to_double): Remove.
* v850-tdep.c (v850_gdbarch_init): Likewise.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
(hppa_coerce_float_to_double): Remove prototype.
* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
doc/
* gdb.texinfo (Controlling GDB): Add ABI section. Document
"set coerce-float-to-double".
* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation.
testsuite/
* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
stabs.
* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
* gdb.base/whatis.exp: Always allow (void) after function names.
Dave Anglin [Sat, 4 Jan 2003 22:36:41 +0000 (22:36 +0000)]
* configure.in (LD): Improve test for gcc. Try to set LD to the ld used
by gcc if LD is not defined and we are not doing a Canadian Cross.
* configure: Rebuilt.
Daniel Jacobowitz [Sat, 4 Jan 2003 22:30:21 +0000 (22:30 +0000)]
* gdb.c++/casts.exp: Correct regexp.
Daniel Jacobowitz [Sat, 4 Jan 2003 21:55:54 +0000 (21:55 +0000)]
* regformats/reg-m68k.dat: Remove fpcode and fpflags.
Daniel Jacobowitz [Sat, 4 Jan 2003 21:55:30 +0000 (21:55 +0000)]
* linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31.
Daniel Jacobowitz [Sat, 4 Jan 2003 21:54:54 +0000 (21:54 +0000)]
Update copyright date with last commit.
Daniel Jacobowitz [Sat, 4 Jan 2003 21:51:53 +0000 (21:51 +0000)]
Suggested by Stewart Brown <sb24@avaya.com>:
* c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
in recursive calls. Handle TYPE_CODE_TYPEDEF.
(c_type_print_varspec_suffix): Likewise.
Daniel Jacobowitz [Sat, 4 Jan 2003 20:40:28 +0000 (20:40 +0000)]
* Makefile.am (ldmain.o): Pass BINDIR.
* Makefile.in: Regenerated.
* ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
search path.
Mark Kettenis [Sat, 4 Jan 2003 19:35:15 +0000 (19:35 +0000)]
* configure.in: Don't set and AC_SUBST SUBDIRS.
* configure: Regenerated.
Mark Kettenis [Sat, 4 Jan 2003 19:27:19 +0000 (19:27 +0000)]
* configure.in: Remove code dealing with shared libraries.
* Makefile.in: Remove HLDFLAGS and HLDENV.
* configure: Regenerated.
Mark Kettenis [Sat, 4 Jan 2003 15:37:40 +0000 (15:37 +0000)]
* configure.in: Call AC_CONFIG_HEADER. Don't call
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
Andrew Cagney [Sat, 4 Jan 2003 13:55:30 +0000 (13:55 +0000)]
2003-01-04 Andrew Cagney <
ac131313@redhat.com>
* frame.c (deprecated_frame_xmalloc): New function.
(deprecated_set_frame_saved_regs_hack): New function.
(deprecated_set_frame_extra_info_hack): New function.
* frame.h (deprecated_frame_xmalloc): Declare.
(deprecated_set_frame_saved_regs_hack): Declare.
(deprecated_set_frame_extra_info_hack): Declare.
Michael Chastain [Sat, 4 Jan 2003 04:07:16 +0000 (04:07 +0000)]
2003-01-03 Michael Chastain <mec@shout.net>
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
Daniel Jacobowitz [Sat, 4 Jan 2003 03:59:27 +0000 (03:59 +0000)]
* gdb.base/store.exp: Fix regular expressions.
Stan Cox [Sat, 4 Jan 2003 02:13:46 +0000 (02:13 +0000)]
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.
Stan Cox [Sat, 4 Jan 2003 02:04:44 +0000 (02:04 +0000)]
* Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
(eelf32iq2000.c): New target.
* Makefile.in: Regenerate.
* configure.tgt: Handle iq2000-*-elf.
* emulparams/elf32iq10.sh: New file.
* emulparams/elf32iq2000.sh: New file.
* scripttempl/iq2000.sc: New file.
Mark Kettenis [Sat, 4 Jan 2003 01:03:41 +0000 (01:03 +0000)]
* configure.in: Move code that provides the --enable-gdbtk option
right after the code that handles the --enable-tui option, and
polish it somewhat.
* configure: Regenerated.
Mark Kettenis [Sat, 4 Jan 2003 00:43:24 +0000 (00:43 +0000)]
* configure.in: Rewrite.
* configure: Regenerated.
Mark Kettenis [Sat, 4 Jan 2003 00:34:43 +0000 (00:34 +0000)]
* configure.in: Call AC_GNU_SOURCE. Check for pread64 using
AC_CHECK_FUNCS and remove the old check for pread64.
* acinclude.m4 (AC_GNU_SOURCE): New macro.
* acconfig.h (_GNU_SOURCE): Add.
(HAVE_PREAD64): Remove.
* configure, aclocal.m4, config.in: Regenerated.
gdbadmin [Sat, 4 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Fri, 3 Jan 2003 23:53:48 +0000 (23:53 +0000)]
2003-01-03 Andrew Cagney <
ac131313@redhat.com>
* alpha-tdep.c: Use get_frame_saved_regs.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, xstormy16-tdep.c: Ditto.
Mark Kettenis [Fri, 3 Jan 2003 23:19:28 +0000 (23:19 +0000)]
* configure.in: Remove all use of the SUBDIRS variable; add
directories using the AC_CONFIG_SUBDIRS macro instead. Polish
code providing the --enable-multi-ice option, and move it right in
front of the code that checks whether gdbserver is supported.
Polish that too.
* configure: Regenerated.
* Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
@SUBDIRS@.
Alan Modra [Fri, 3 Jan 2003 23:00:34 +0000 (23:00 +0000)]
daily update
Stan Cox [Fri, 3 Jan 2003 21:47:21 +0000 (21:47 +0000)]
* configure.in: Add iq2000-elf target.
* configure: Regenerate.
* config/tc-iq2000.c: New file.
* config/tc-iq2000.h: Likewise.
Stan Cox [Fri, 3 Jan 2003 21:38:50 +0000 (21:38 +0000)]
* gas/iq2000: New testsuite.
Stan Cox [Fri, 3 Jan 2003 21:12:28 +0000 (21:12 +0000)]
* Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo.
(ALL_MACHINES_CFILES): Add cpu-iq2000.c.
(BFD32_BACKENDS): Add elf32-iq2000.lo.
(BFD32_BACKENDS_CFILES): Add elf32-iq2000.c.
(cpu-iq2000.lo): New target.
* Makefile.in: Regenerate.
* config.bfd: Handle iq2000-*-elf.
* archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000.
(bfd_archures_list): Add bfd_iq2000_arch.
* configure.in: Handle bfd_elf32_iq2000_vec.
* configure: Regenerate.
* reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21,
and BFD_RELOC_IQ2000_UHI16.
* targets.c (bfd_elf32_iq2000_vec): Declare.
(bfd_target_vector): Add bfd_elf32_iq2000_vec.
* elf.c (prep_headers): Set e_machine to EM_IQ2000.
* cpu-iq2000.c: New file.
* elf32-iq2000.c: Likewise.
* libbfd.h: Regenerate.
* bfd-in2.h: Likewise.
David Carlton [Fri, 3 Jan 2003 20:55:46 +0000 (20:55 +0000)]
2003-01-03 David Carlton <carlton@math.stanford.edu>
* gdb.base/psymtab.exp: New file.
* gdb.base/psymtab1.c: Ditto.
* gdb.base/psymtab2.c: Ditto.
Stan Cox [Fri, 3 Jan 2003 19:52:23 +0000 (19:52 +0000)]
* iq2000-asm.c: New file.
* iq2000-desc.c: Likewise.
* iq2000-desc.h: Likewise.
* iq2000-dis.c: Likewise.
* iq2000-ibld.c: Likewise.
* iq2000-opc.c: Likewise.
* iq2000-opc.h: Likewise.
* Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h.
(CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c,
iq2000-ibld.c, iq2000-opc.c.
(ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo,
iq2000-ibld.lo, iq2000-opc.lo.
(CLEANFILES): Add stamp-iq2000.
(IQ2000_DEPS): New macro.
(stamp-iq2000): New target.
* Makefile.in: Regenerate.
* configure.in: Handle bfd_iq2000_arch.
* configure: Regenerate.
Andrew Cagney [Fri, 3 Jan 2003 18:23:01 +0000 (18:23 +0000)]
2003-01-03 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use deprecated_update_frame_base_hack.
* avr-tdep.c, cris-tdep.c: Ditto.
* mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
Stan Cox [Fri, 3 Jan 2003 18:03:18 +0000 (18:03 +0000)]
* dis-asm.h (print_insn_iq2000): Declare.
* common.h (EM_IQ2000): Define.
* iq2000.h: New file.
Joel Brobecker [Fri, 3 Jan 2003 15:34:59 +0000 (15:34 +0000)]
Revert the previous change, as it was checked in by mistake.
Joel Brobecker [Fri, 3 Jan 2003 15:29:29 +0000 (15:29 +0000)]
(parse_symbol): Skip stProc entries which storage class is not scText.
These do not define "real" procedures.
(parse_partial_symbols): Likewise.
Fixes [C102-001].
Mark Kettenis [Fri, 3 Jan 2003 14:45:47 +0000 (14:45 +0000)]
* configure.in: Remove --enable-netrom option.
* configure: Regenerated.
Mark Kettenis [Fri, 3 Jan 2003 14:10:08 +0000 (14:10 +0000)]
* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
declaration for `struct re_pattern_buffer' instead.
* Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
Joel Brobecker [Fri, 3 Jan 2003 14:01:47 +0000 (14:01 +0000)]
* mdebugread.c (parse_symbol): Count until the stEnd matching
the structure name.
Richard Sandiford [Fri, 3 Jan 2003 11:04:26 +0000 (11:04 +0000)]
* ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.
Nick Clifton [Fri, 3 Jan 2003 08:21:43 +0000 (08:21 +0000)]
oops - omitted from previous delta - a reworking of the linker relaxation code.
gdbadmin [Fri, 3 Jan 2003 00:01:32 +0000 (00:01 +0000)]
*** empty log message ***
Alan Modra [Thu, 2 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 2 Jan 2003 22:59:01 +0000 (22:59 +0000)]
* configure.in: Remove --with-cpu option.
subscripts. Remove evil changequotes here.
* acconfig.h (TARGET_CPU_DEFAULT): Remove.
* config.in, configure: Regenerated.
Mark Kettenis [Thu, 2 Jan 2003 22:49:31 +0000 (22:49 +0000)]
* acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
* configure.in: Cleanup section that sources GDB and BFD configure
subscripts. Remove evil changequotes here.
* config.in, configure: Regenerated.
Andrew Cagney [Thu, 2 Jan 2003 22:20:47 +0000 (22:20 +0000)]
2003-01-02 Andrew Cagney <
ac131313@redhat.com>
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
frame accessor methods.
* alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
* s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
Chris Demetriou [Thu, 2 Jan 2003 22:04:55 +0000 (22:04 +0000)]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (print_insn_args): Use position extracted by "+A"
to calculate size for "+B". Redo code for "+C" so it shares
the same style as "+A" and "+B" now do.
Richard Sandiford [Thu, 2 Jan 2003 21:31:32 +0000 (21:31 +0000)]
bfd/
* elfxx-mips.c: Include libiberty.h.
(elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove.
(mips_set_isa_flags): New function, split out from...
(_bfd_mips_elf_final_write_processing): ...here. Only call
mips_set_isa_flags if the EF_MIPS_MACH bits are clear.
(mips_mach_extensions): New array.
(mips_32bit_flags_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks.
Use mips_32bit_flags_p to check if one binary is 32-bit and the
other is 64-bit. When adopting IBFD's architecture, adopt the
bfd_mach as well as the flags.
ld/testsuite/
* ld-mips-elf/jr.s: New file.
* ld-mips-elf/mips-elf-flags.exp: New test.
Richard Sandiford [Thu, 2 Jan 2003 21:17:59 +0000 (21:17 +0000)]
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
Chris Demetriou [Thu, 2 Jan 2003 21:07:00 +0000 (21:07 +0000)]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c: Update copyright years.
(print_insn_arg): Rename to...
(print_insn_args): This, returning void. Process the whole
string of args rather than a single one. Reindent.
(print_insn_mips): Update to match the above.
H.J. Lu [Thu, 2 Jan 2003 20:51:02 +0000 (20:51 +0000)]
2003-01-02 H.J. Lu <hjl@gnu.org>
* Makefile.in (DESTDIR): New.
(install-info): Use it.
Mark Kettenis [Thu, 2 Jan 2003 20:29:15 +0000 (20:29 +0000)]
* configure.in: Remove UI_OUT configuration code.
* ada-lang.c: Update assuming UI_OUT is always true.
* Makefile.in (UIOUT_CFLAGS): Remove.
* configure: Regenerated.
* TODO: Remove blurb about elimination of -DUI_OUT.
Mark Kettenis [Thu, 2 Jan 2003 20:12:29 +0000 (20:12 +0000)]
* configure.in: Move code that provides the --enable-gdbcli,
--enable-gdbmi options right before the code that handles the
--enable-tui option. Polish a bit.
* configure: Regenerated.
Chris Demetriou [Thu, 2 Jan 2003 20:03:09 +0000 (20:03 +0000)]
[ gas/ChangeLog ]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c: Update copyright years to include 2003.
(mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
Additionally, clean up their code slightly and clean up their
comments some more.
* doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
[ gas/testsuite/ChangeLog ]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* gas/mips/elf_arch_mips32r2.d: Fix file description comment.
[ include/opcode/ChangeLog ]
2003-01-02 Chris Demetriou <cgd@broadcom.com>
* mips.h: Update copyright years to include 2002 (which had
been missed previously) and 2003. Make comments about "+A",
"+B", and "+C" operand types more descriptive.
Mark Kettenis [Thu, 2 Jan 2003 19:35:31 +0000 (19:35 +0000)]
* configure.in: Rewrite check for GNU regex and the
--without-included regex option, and move it into the "Checks for
library functions" section. This makes us use the system regex
again by default on systems with version 2 of the GNU C library.
This was apparently broken.
* gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
* acconfig.h (USE_INCLUDED_REGEX): Remove.
* config.in, configure: Regenerated.
Mark Kettenis [Thu, 2 Jan 2003 16:54:56 +0000 (16:54 +0000)]
* configure.in: Move code that provides the --enable-tui option
before the "Checks for libraries" section. Polish the code
somewhat and set need_curses to yes if we build the TUI. Rewrite
code that looks for a library providing termcap functionality to
match more closely what's done in the Readline library, and move
it into to the "Checks for libraries" section.
* configure: Regenerated.
* Makefile.in (TERMCAP): Remove variable.
* config/i386/go32.mh (TERMCAP): Remove variable.
Andrew Cagney [Thu, 2 Jan 2003 16:40:33 +0000 (16:40 +0000)]
2003-01-02 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS: Mention gdb_mbuild.sh.
* gdb_mbuild.sh: Rewrite.
Mark Kettenis [Thu, 2 Jan 2003 14:47:01 +0000 (14:47 +0000)]
* configure.in: Fix typo in last change.
* config.in, configure: Regenerated.
Andrew Cagney [Thu, 2 Jan 2003 14:40:35 +0000 (14:40 +0000)]
2003-01-02 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in: Remove obsolete code.
Andrew Cagney [Thu, 2 Jan 2003 14:36:48 +0000 (14:36 +0000)]
2003-01-02 Andrew Cagney <
ac131313@redhat.com>
* stabs.texinfo: Remove obsolete text.
* gdbint.texinfo: Ditto.
* gdb.texinfo: Ditto.
Andrew Cagney [Thu, 2 Jan 2003 14:27:27 +0000 (14:27 +0000)]
2003-01-02 Andrew Cagney <
ac131313@redhat.com>
* valarith.c (value_binop): Delete obsolete code and comments.
* configure.host: Ditto.
* buildsym.h (make_blockvector): Ditto.
* buildsym.c (make_blockvector): Ditto.
* defs.h (enum language): Ditto.
(chill_demangle): Ditto.
* elfread.c (elf_symtab_read): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
(set_cu_language): Ditto.
(handle_producer): Ditto.
* expprint.c (print_subexp): Ditto.
* gdbtypes.c (chill_varying_type): Ditto.
* gdbtypes.h (builtin_type_chill_bool): Ditto.
(builtin_type_chill_char, builtin_type_chill_long): Ditto.
(builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
(chill_varying_type): Ditto.
* language.h (_LANG_chill): Ditto.
* language.c (binop_result_type, integral_type): Ditto.
(character_type, string_type, structured_type): Ditto.
(lang_bool_type, binop_type_check): Ditto.
* stabsread.h (os9k_stabs): Ditto.
* stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
(define_symbol, read_type, read_struct_fields): Ditto.
(read_array_type, read_enum_type, read_huge_number): Ditto.
(read_range_type, start_stabs): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* symtab.c (symbol_init_language_specific): Ditto.
(symbol_init_demangled_name, symbol_demangled_name): Ditto.
* symtab.h (struct general_symbol_info): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* typeprint.c (typedef_print): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* valops.c (value_cast, search_struct_field, value_slice): Delete
obsolete code.
(varying_to_slice): Delete function.
* value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
(varying_to_slice): Delete declaration.
* MAINTAINERS: Update.
Mark Kettenis [Thu, 2 Jan 2003 11:45:34 +0000 (11:45 +0000)]
* configure.in: Reorganize "Checks for library functions section"
a bit. Remove check for `btowc' and `isascii' functions.
* configure: Regenerated.
Nick Clifton [Thu, 2 Jan 2003 11:26:17 +0000 (11:26 +0000)]
Rework IP2k linker relxation.
Mark Kettenis [Thu, 2 Jan 2003 11:14:33 +0000 (11:14 +0000)]
* acconfig.h (_MSE_INT_H): Remove.
* configure.in: Create "Checks for header files" section, and move
appropriate tests there. Don't check for objlist.h, wchar.h,
wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
misdetection fix. Also add "Checks for types", "Checks for
compiler characteristics" and "Checks for library functions"
sections.
* config.in, configure: Regenerated.
Nick Clifton [Thu, 2 Jan 2003 10:26:41 +0000 (10:26 +0000)]
Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.
Kazu Hirata [Thu, 2 Jan 2003 03:53:53 +0000 (03:53 +0000)]
* ldfile.c: Fix comment typos.
* ldlang.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
Daniel Jacobowitz [Thu, 2 Jan 2003 01:20:26 +0000 (01:20 +0000)]
* doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
$(CPU_DOCS)".
* doc/Makefile.in: Regenerate.
Mark Kettenis [Thu, 2 Jan 2003 00:51:28 +0000 (00:51 +0000)]
* configure.in: Create "Checks for programs" section, and move
appropriate tests there.
Daniel Jacobowitz [Thu, 2 Jan 2003 00:50:57 +0000 (00:50 +0000)]
* src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.
Daniel Jacobowitz [Thu, 2 Jan 2003 00:47:44 +0000 (00:47 +0000)]
Suggested by Manfred Hollstein <manfred.h@gmx.net>:
* Makefile.am (ld.1): Depend on configdoc.texi
and ldver.texi.
* Makefile.in: Regenerated.
gdbadmin [Thu, 2 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Wed, 1 Jan 2003 23:50:46 +0000 (23:50 +0000)]
* configure.in: Create "Checks for libraries" section, and move
appropriate tests there. Cleanup check for wctype in libw. Use
AC_SEARCH_LIBS to see whether we need libsocket.
* configure: Regenerated.
Alan Modra [Wed, 1 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update
Dave Anglin [Wed, 1 Jan 2003 16:56:34 +0000 (16:56 +0000)]
* config/obj-elf.c (special_sections): Work around HP's incorrect usage
of .init and .fini sections for array initializers and finalizers.
Chris Demetriou [Wed, 1 Jan 2003 01:06:13 +0000 (01:06 +0000)]
2002-12-31 Chris Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Move "di" into the
right order alphabetically, and make all hex constants use
lower-case letters.
gdbadmin [Wed, 1 Jan 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 31 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Tom Tromey [Tue, 31 Dec 2002 22:51:53 +0000 (22:51 +0000)]
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.
Chris Demetriou [Tue, 31 Dec 2002 21:31:32 +0000 (21:31 +0000)]
2002-12-31 Chris Demetriou <cgd@broadcom.com>
* sim-main.h (check_branch_bug, mark_branch_bug): Remove.
* mips.igen: Remove all invocations of check_branch_bug and
mark_branch_bug.
Andreas Schwab [Tue, 31 Dec 2002 18:00:11 +0000 (18:00 +0000)]
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.
Mark Kettenis [Tue, 31 Dec 2002 13:05:02 +0000 (13:05 +0000)]
* configure.in: Remove bzero and bcopy from call to AC_CHECK_FUNCS.
* config.in, configure: Regenerated.
Mark Kettenis [Tue, 31 Dec 2002 12:41:00 +0000 (12:41 +0000)]
* gdb_dirent.h: Cleanup and update code to match the example in
the Autoconf manual.
* configure.in: Call AC_HEADER_DIRENT. Remove dirent.h,
sys/ndir.h, sys/dir.h and ndir.h from call to AC_CHECK_HEADERS.
* configure: Regenerated.
Chris Demetriou [Tue, 31 Dec 2002 08:11:18 +0000 (08:11 +0000)]
[ gas/ChangeLog ]
2002-12-31 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
the "+D" operand, which will be used only by the disassembler.
[ gas/testsuite/ChangeLog ]
2002-12-31 Chris Demetriou <cgd@broadcom.com>
* gas/mips/cp0sel-names-mips32.d: New test.
* gas/mips/cp0sel-names-mips32r2.d: New test.
* gas/mips/cp0sel-names-mips64.d: New test.
* gas/mips/cp0sel-names-numeric.d: New test.
* gas/mips/cp0sel-names-sb1.d: New test.
* gas/mips/cp0sel-names.s: New test source file.
* gas/mips/mips.exp: Run new tests.
[ include/opcode/ChangeLog ]
2002-12-31 Chris Demetriou <cgd@broadcom.com>
* mips.h: Note that the "+D" operand type name is now used.
[ opcodes/ChangeLog ]
2002-12-31 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_cp0sel_name): New structure.
(mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2)
(mips_cp0sel_names_sb1): New arrays.
(mips_arch_choice): New structure members "cp0sel_names" and
"cp0sel_names_len".
(mips_arch_choices): Add references to new cp0sel_names arrays
as appropriate, and make all existing entries reference
appropriate mips_XXX_names_numeric arrays rather than simply
using NULL.
(mips_cp0sel_names, mips_cp0sel_names_len): New variables.
(lookup_mips_cp0sel_name): New function.
(set_default_mips_dis_options): Set mips_cp0sel_names and
mips_cp0sel_names_len as appropriate. Remove now-unnecessary
checks for NULL register name arrays.
(parse_mips_dis_option): Likewise.
(print_insn_arg): Handle "+D" operand type.
* mips-opc.c (mips_builtin_opcodes): Add new "+D" variants
of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register
names symbolically.
Chris Demetriou [Tue, 31 Dec 2002 07:42:20 +0000 (07:42 +0000)]
[ gas/testsuite/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* gas/mips/elf_arch_mips1.d: New test.
* gas/mips/elf_arch_mips2.d: New test.
* gas/mips/elf_arch_mips3.d: New test.
* gas/mips/elf_arch_mips4.d: New test.
* gas/mips/elf_arch_mips5.d: New test.
* gas/mips/elf_arch_mips32.d: New test.
* gas/mips/elf_arch_mips32r2.d: New test.
* gas/mips/elf_arch_mips64.d: New test.
* gas/mips/empty.s: New test source file.
* gas/mips/mips.exp: Run new tests.
* gas/mips/elf_ase_mips16.d: Change to use empty.s
* gas/mips/elf_ase_mips16.s: Remove.
Nick Clifton [Tue, 31 Dec 2002 07:40:56 +0000 (07:40 +0000)]
oops - omitted from previous delta
Chris Demetriou [Tue, 31 Dec 2002 07:35:09 +0000 (07:35 +0000)]
fix date on last entry. *sigh*
Chris Demetriou [Tue, 31 Dec 2002 07:29:29 +0000 (07:29 +0000)]
[ bfd/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case.
* archures.c (bfd_mach_mipsisa32r2): New define.
* bfd-in2.h: Regenerate.
* cpu-mips.c (I_mipsisa32r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa32r2.
* elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2.
(_bfd_mips_elf_final_write_processing): Add
bfd_mach_mipsisa32r2 case.
(_bfd_mips_elf_merge_private_bfd_data): Handle merging of
binaries marked as using MIPS32 Release 2.
[ binutils/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
changes in MIPS -M options.
[ gas/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
CPU variants.
* configure: Regenerate.
* config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
(macro_build): Handle "K" operand.
(macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
CPU_HAS_DROR and CPU_HAS_ROR are currently used.
(mips_ip): New variable "lastpos", and implement "+A", "+B",
and "+C" operands for MIPS32 Release 2 ins/ext instructions.
Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
(validate_mips_insn): Implement "+" as a way to extend the
allowed operands, and implement "K", "+A", "+B", and "+C"
operands.
(OPTION_MIPS32R2): New define.
(md_longopts): Add entry for OPTION_MIPS32R2.
(OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
(md_parse_option): Handle OPTION_MIPS32R2.
(s_mipsset): Reimplement handling of ".set mipsN" options
and add support for ".set mips32r2".
(mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
(md_show_usage): Document "-mips32r2" option.
* doc/as.texinfo: Document "-mips32r2" option.
* doc/c-mips.texi: Likewise.
[ gas/testsuite/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* gas/mips/cp0-names-mips32r2.d: New test.
* gas/mips/hwr-names-mips32r2.d: New test.
* gas/mips/hwr-names-numeric.d: New test.
* gas/mips/hwr-names.s: New test source file.
* gas/mips/mips32r2.d: New test.
* gas/mips/mips32r2.s: New test source file.
* gas/mips/mips32r2-ill.l: New test.
* gas/mips/mips32r2-ill.s: New test source file.
* gas/mips/mips.exp: Add mips32r2 architecture data array
entry. Run new tests mentioned above.
[ include/elf/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* mips.h (E_MIPS_ARCH_32R2): New define.
[ include/opcode/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* mips.h: Document "+" as the start of two-character operand
type names, and add new "K", "+A", "+B", and "+C" operand types.
(OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB)
(OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New
defines.
[ opcodes/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric)
(mips_hwr_names_mips3264r2): New arrays.
(mips_arch_choice): New "hwr_names" member.
(mips_arch_choices): Adjust for structure change, and add a new
entry for "mips32r2" ISA.
(mips_hwr_names): New variable.
(set_default_mips_dis_options): Set mips_hwr_names.
(parse_mips_dis_option): New "hwr-names" option which sets
mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names.
(print_insn_arg): Change return type to "int"
and use that to indicate number of characters consumed.
Add support for "+" operand extension character, "+A", "+B",
"+C", and "K" operands.
(print_insn_mips): Adjust for changes to print_insn_arg.
(print_mips_disassembler_options): Adjust for "hwr-names"
addition and "reg-names" change.
* mips-opc (I33): New define (shorthand for INSN_ISA32R2).
(mips_builtin_opcodes): Note that "nop" and "ssnop" are special
forms of "sll". Add new MIPS32 Release 2 instructions: ehb,
di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2,
rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh.
Note that hardware rotate instructions (ror, rorv) can be
used on MIPS32 Release 2, and add the official mnemonics
for them (rotr, rotrv) and the similar "rotl" mnemonic for
left-rotate.
Adam Fedor [Tue, 31 Dec 2002 04:48:32 +0000 (04:48 +0000)]
objc-exp.y (parse_number): Cast sscanf arguments to proper type.
(yylex): Initialize c to avoid uninitialized warning.
Daniel Jacobowitz [Tue, 31 Dec 2002 03:28:41 +0000 (03:28 +0000)]
* configure.in (baseargs): Don't remove first configure argument.
* configure: Regenerated.
gdbadmin [Tue, 31 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 30 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Nick Clifton [Mon, 30 Dec 2002 19:25:13 +0000 (19:25 +0000)]
Add support for msp430.
Nick Clifton [Mon, 30 Dec 2002 12:37:58 +0000 (12:37 +0000)]
(HAVE_REALPATH): New entry.
(HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
Nick Clifton [Mon, 30 Dec 2002 11:44:51 +0000 (11:44 +0000)]
New win32 topics: 'symbol aliasing' and 'export dll symbols'.
Nick Clifton [Mon, 30 Dec 2002 10:50:32 +0000 (10:50 +0000)]
Added some more pseudo opcodes for system call processing.
Kazu Hirata [Mon, 30 Dec 2002 02:47:27 +0000 (02:47 +0000)]
* doc/fdl.texi: Revert the last change.
gdbadmin [Mon, 30 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***