Joel Brobecker [Sun, 12 Jan 2003 11:49:14 +0000 (11:49 +0000)]
* hpread.c (set_namestring): New procedure replacing the
SET_NAMESTRING macro.
(hpread_build_psymtabs): Replace calls to SET_NAMESTRING
by calls to set_namestring.
gdbadmin [Sun, 12 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 11 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 11 Jan 2003 06:24:12 +0000 (06:24 +0000)]
* read.c (get_absolute_expr): New, split out from..
(get_absolute_expression): ..here.
* read.h (get_absolute_expr): Declare.
* config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
Trim size to arch bits_per_address, and test for negative input
via get_absolute_expr.
Joel Brobecker [Sat, 11 Jan 2003 02:13:23 +0000 (02:13 +0000)]
* hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
a compilation warning.
(hpread_process_one_debug_symbol): Likewise.
David Carlton [Sat, 11 Jan 2003 01:01:04 +0000 (01:01 +0000)]
2003-01-10 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Rename variable 's' to
'file_symtab'.
(decode_all_digits): Rename argument 's' to 'file_symtab'.
(decode_dollar): Ditto.
(decode_variable): Ditto.
(symbol_found): Ditto.
Michael Chastain [Sat, 11 Jan 2003 00:43:53 +0000 (00:43 +0000)]
2003-01-09 Michael Chastain <mec@shout.net>
From Chet Ramey, <chet@po.cwru.edu>, the readline maintainer:
* display.c: Fix perverse screen refresh with UTF-8.
gdbadmin [Sat, 11 Jan 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 10 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Michael Chastain [Fri, 10 Jan 2003 22:51:57 +0000 (22:51 +0000)]
2003-01-09 Michael Chastain <mec@shout.net>
* gdbint.texinfo (Configuring @value{GDBN} for Release): Delete.
(Create a Release): Add new instructions for new @file{src-release}.
Document existing instructions for @file{Makefile.in} as
being for @value{GDBN} 5.3.1 or earlier.
Nathanael Nerode [Fri, 10 Jan 2003 21:43:31 +0000 (21:43 +0000)]
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
* Makefile.in: Regenerate.
* configure: Regenerate.
Michael Chastain [Fri, 10 Jan 2003 20:55:04 +0000 (20:55 +0000)]
2003-01-09 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
Corinna Vinschen [Fri, 10 Jan 2003 20:14:02 +0000 (20:14 +0000)]
* win32-nat.c (set_process_privilege): New function.
(child_attach): Call set_process_privilege() to enable the
SE_DEBUG_NAME user privilege if available in process token.
Joel Brobecker [Fri, 10 Jan 2003 15:39:10 +0000 (15:39 +0000)]
* hpread.c (hpread_process_one_debug_symbol): Fix a small
compilation error in the previous revision.
Ben Elliston [Fri, 10 Jan 2003 05:27:17 +0000 (05:27 +0000)]
2003-01-10 Ben Elliston <bje@redhat.com>
* README.Cygnus: Rename from this ..
* README: .. to this.
Ben Elliston [Fri, 10 Jan 2003 04:51:58 +0000 (04:51 +0000)]
* remove duplicated entry from 2002-05-17 on 2002-05-20.
* s/SWI_TARGET_SWITCHES/SIM_TARGET_SWITCHES/.
DJ Delorie [Fri, 10 Jan 2003 03:27:26 +0000 (03:27 +0000)]
merge from gcc
gdbadmin [Fri, 10 Jan 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 9 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 9 Jan 2003 22:51:37 +0000 (22:51 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise. PLTGOT16_HA too.
David Carlton [Thu, 9 Jan 2003 21:34:15 +0000 (21:34 +0000)]
2003-01-09 David Carlton <carlton@math.stanford.edu>
* linespec.c: Update copyright.
Chris Demetriou [Thu, 9 Jan 2003 21:26:53 +0000 (21:26 +0000)]
2003-01-09 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual
order, and handle (ignore) -mips32r2.
Andrew Cagney [Thu, 9 Jan 2003 21:08:45 +0000 (21:08 +0000)]
Roll ChangeLog / ChangeLog-2002.
DJ Delorie [Thu, 9 Jan 2003 20:50:25 +0000 (20:50 +0000)]
* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.
Alexandre Oliva [Thu, 9 Jan 2003 20:45:29 +0000 (20:45 +0000)]
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.
Daniel Jacobowitz [Thu, 9 Jan 2003 19:18:04 +0000 (19:18 +0000)]
* gdb.base/detach.exp: New test.
Daniel Jacobowitz [Thu, 9 Jan 2003 19:14:46 +0000 (19:14 +0000)]
* lin-lwp.c (child_wait): Ignore exit statuses for processes other
than inferior_ptid.
(lin_lwp_wait): Ignore exit statuses for unknown LWPs.
Andrew Cagney [Thu, 9 Jan 2003 18:53:21 +0000 (18:53 +0000)]
2003-01-09 Andrew Cagney <
ac131313@redhat.com>
* frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
Update comments.
* frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
(frame_saved_regs_zalloc): Update.
(frame_saved_regs_register_unwind): Update.
(create_new_frame): Update.
(get_prev_frame): Update.
(frame_extra_info_zalloc): Update.
(deprecated_get_frame_saved_regs): Update.
* dwarf2cfi.c (cfi_init_extra_frame_info): Update.
* cris-tdep.c: Update comment.
Daniel Jacobowitz [Thu, 9 Jan 2003 18:50:28 +0000 (18:50 +0000)]
* Makefile.in (ALL_SUBDIRS): New variable.
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
Andrew Cagney [Thu, 9 Jan 2003 18:46:02 +0000 (18:46 +0000)]
2003-01-09 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Mention
frame_saved_regs_zalloc and frame_extra_info_zalloc as the way to
allocate memory.
Andrew Cagney [Thu, 9 Jan 2003 18:30:32 +0000 (18:30 +0000)]
2003-01-09 Andrew Cagney <
ac131313@redhat.com>
* somsolib.h: Fix function indentation.
* disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
* gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
* demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
* alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
* somsolib.c, inftarg.c: Remove assignment in if conditional.
Andrew Cagney [Thu, 9 Jan 2003 18:03:38 +0000 (18:03 +0000)]
2003-01-09 Andrew Cagney <
ac131313@redhat.com>
* infrun.c (follow_fork): Use ISO C definition.
* expprint.c (print_subexp): Use xfree instead of free.
* charset.c: Include "gdb_string.h" instead of <string.h>.
(register_iconv_charsets): Use ISO C definition.
(host_charset, target_charset): Ditto.
* Makefile.in (charset.o): Update dependencies.
(mi-cmd-env.o): Update dependencies.
Index: mi/ChangeLog
2003-01-09 Andrew Cagney <
ac131313@redhat.com>
* mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>.
Move all includes to after "defs.h".
David Carlton [Thu, 9 Jan 2003 17:10:39 +0000 (17:10 +0000)]
2003-01-09 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.
Daniel Jacobowitz [Thu, 9 Jan 2003 16:40:14 +0000 (16:40 +0000)]
* ldmain.c (main): Make sure ld_sysroot is initialized.
DJ Delorie [Thu, 9 Jan 2003 14:39:43 +0000 (14:39 +0000)]
merge from gcc
Klee Dienes [Thu, 9 Jan 2003 08:35:28 +0000 (08:35 +0000)]
2002-01-08 Klee Dienes <kdienes@apple.com>
* Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c.
(BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c.
* Makefile.in: Regenerate.
Klee Dienes [Thu, 9 Jan 2003 08:32:26 +0000 (08:32 +0000)]
2003-01-08 Klee Dienes <kdienes@apple.com>
* Makefile.am (ALL_MACHINES): Add msp430-dis.lo.
* Makefile.in: Regenerate.
Andrew Cagney [Thu, 9 Jan 2003 00:45:08 +0000 (00:45 +0000)]
2003-01-08 Andrew Cagney <
ac131313@redhat.com>
* gdb_mbuild.sh: Add --keep option. When specified, keep the
build directories. Save edited gdb output in Mbuild.log. If a
build fails, remove any final GDB executable.
Andrew Cagney [Thu, 9 Jan 2003 00:24:50 +0000 (00:24 +0000)]
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.
gdbadmin [Thu, 9 Jan 2003 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 8 Jan 2003 23:49:15 +0000 (23:49 +0000)]
2003-01-08 Andrew Cagney <
ac131313@redhat.com>
* gdb_mbuild.sh: Edit the output of `maint print architecture'
replacing hex constants with function names and stripping leading
file name directory prefixes.
Alan Modra [Wed, 8 Jan 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 8 Jan 2003 22:47:46 +0000 (22:47 +0000)]
2003-01-08 Andrew Cagney <cagney@redhat.com>
* gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
get_frame_base.
David Carlton [Wed, 8 Jan 2003 22:40:18 +0000 (22:40 +0000)]
2003-01-08 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Move code into decode_variable.
(decode_variable): New function.
Chris Demetriou [Wed, 8 Jan 2003 22:09:32 +0000 (22:09 +0000)]
[ ChangeLog ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
[ dejagnu/ChangeLog ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
[ readline/ChangeLog.gdb ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
Alexandre Oliva [Wed, 8 Jan 2003 22:00:53 +0000 (22:00 +0000)]
* elfn32-mips.c (prev_reloc_section): New.
(GET_RELOC_ADDEND): Use it. Parenthesize macro arguments.
(SET_RELOC_ADDEND): Parenthesize macro argument.
Andrew Cagney [Wed, 8 Jan 2003 21:44:55 +0000 (21:44 +0000)]
2003-01-08 Andrew Cagney <
ac131313@redhat.com>
* mn10300-tdep.c (analyze_dummy_frame): Fix typo.
Andrew Cagney [Wed, 8 Jan 2003 19:45:23 +0000 (19:45 +0000)]
2003-01-08 Andrew Cagney <cagney@redhat.com>
* cris-tdep.c (cris_frame_init_saved_regs): Use
get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
saved_regs buffer.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
* mcore-tdep.c (analyze_dummy_frame): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
Daniel Jacobowitz [Wed, 8 Jan 2003 18:38:47 +0000 (18:38 +0000)]
* minsyms.c (lookup_minimal_symbol): Update comment.
(lookup_minimal_symbol_text): Update comment. Use the hash table.
(lookup_minimal_symbol_solib_trampoline): Likewise.
Andrew Cagney [Wed, 8 Jan 2003 18:04:06 +0000 (18:04 +0000)]
2003-01-08 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_init_extra_frame_info): Use
frame_relative_level.
Andrew Cagney [Wed, 8 Jan 2003 17:21:30 +0000 (17:21 +0000)]
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_frame_extra_info.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, xstormy16-tdep.c: Ditto.
Kazu Hirata [Wed, 8 Jan 2003 17:18:29 +0000 (17:18 +0000)]
* run.c (usage): Fix typos.
Andrew Cagney [Wed, 8 Jan 2003 15:56:38 +0000 (15:56 +0000)]
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_next_frame.
* arm-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: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
Chris Demetriou [Wed, 8 Jan 2003 07:36:47 +0000 (07:36 +0000)]
2003-01-07 Chris Demetriou <cgd@broadcom.com>
* mips.h: Fix missing space in comment.
(INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5)
(INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right
by four bits.
Alan Modra [Wed, 8 Jan 2003 02:55:52 +0000 (02:55 +0000)]
* ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.
Dave Anglin [Wed, 8 Jan 2003 02:19:23 +0000 (02:19 +0000)]
* elf32-hppa.c (final_link_relocate): For all DP relative relocations,
adjust addil instructions if the symbol has no section.
Andrew Cagney [Wed, 8 Jan 2003 01:53:38 +0000 (01:53 +0000)]
2003-01-07 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_frame_base.
* 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, mn10200-tdep.c: Ditto.
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.
Christopher Faylor [Wed, 8 Jan 2003 01:19:55 +0000 (01:19 +0000)]
* configure: Regenerate with proper autoconf 2.13.
gdbadmin [Wed, 8 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 7 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 7 Jan 2003 22:53:09 +0000 (22:53 +0000)]
2003-01-07 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_get_frame_context): New function.
(deprecated_set_frame_context): New function.
* frame.h (deprecated_get_frame_context): Declare.
(deprecated_set_frame_context): Declare.
* dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
(cfi_init_extra_frame_info): Use deprecated_set_frame_context.
Christopher Faylor [Tue, 7 Jan 2003 21:58:19 +0000 (21:58 +0000)]
* configure.in: Add AC_PREREQ for consistency.
* configure: Regenerate.
DJ Delorie [Tue, 7 Jan 2003 21:27:58 +0000 (21:27 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
on operand type.
(xstormy16_md_apply_fix3): Use adjustment.
DJ Delorie [Tue, 7 Jan 2003 21:26:29 +0000 (21:26 +0000)]
* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.
DJ Delorie [Tue, 7 Jan 2003 21:26:13 +0000 (21:26 +0000)]
* elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not
partial_inplace.
Andrew Cagney [Tue, 7 Jan 2003 19:19:00 +0000 (19:19 +0000)]
2003-01-07 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_set_frame_next_hack): New function.
(deprecated_set_frame_prev_hack): New function.
* frame.h (deprecated_set_frame_next_hack): Declare.
(deprecated_set_frame_prev_hack): Declare.
* mcore-tdep.c (analyze_dummy_frame): Use
deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
David Carlton [Tue, 7 Jan 2003 17:05:49 +0000 (17:05 +0000)]
2003-01-07 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Move code into decode_dollar.
(decode_dollar): New function.
Andrew Cagney [Tue, 7 Jan 2003 16:29:22 +0000 (16:29 +0000)]
zap #define FRAME_C.
Andrew Cagney [Tue, 7 Jan 2003 16:22:29 +0000 (16:22 +0000)]
2003-01-07 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (arm_init_extra_frame_info): Use
deprecated_update_frame_base_hack.
* xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
(fix_frame_pointer): Ditto.
(mn10300_analyze_prologue): Ditto.
Andrew Cagney [Tue, 7 Jan 2003 14:51:11 +0000 (14:51 +0000)]
2003-01-07 Andrew Cagney <cagney@redhat.com>
* xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
extra_info using frame_extra_info_zalloc.
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
* sh-tdep.c (sh_init_extra_frame_info): Ditto.
(sh64_init_extra_frame_info): Ditto.
* mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
* s390-tdep.c (s390_init_extra_frame_info): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
* mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
* frv-tdep.c (frv_init_extra_frame_info): Ditto.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
* ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
* h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
* d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
* cris-tdep.c (cris_init_extra_frame_info): Ditto.
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
* alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Use
deprecated_set_frame_extra_info_hack.
* mcore-tdep.c (analyze_dummy_frame): Ditto.
Andreas Schwab [Tue, 7 Jan 2003 13:12:35 +0000 (13:12 +0000)]
* elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for
PC relative relocations.
(elf_m68k_discard_copies): Set it here instead.
Joel Brobecker [Tue, 7 Jan 2003 07:09:25 +0000 (07:09 +0000)]
* mdebugread.c (parse_symbol): Skip stProc entries which storage
class is not scText. These do not define "real" procedures.
(parse_partial_symbols): Likewise.
Michael Chastain [Tue, 7 Jan 2003 03:31:27 +0000 (03:31 +0000)]
2003-01-06 Michael Chastain <mec@shout.net>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
When selecting a thread, 'line' and 'file' are optional.
* gdb.mi/mi1-pthreads.exp: Likewise.
gdbadmin [Tue, 7 Jan 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
Michael Snyder [Mon, 6 Jan 2003 23:12:29 +0000 (23:12 +0000)]
chael Snyder <msnyder@redhat.com>
* lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
\10qCVS: Committing in .
Alan Modra [Mon, 6 Jan 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 6 Jan 2003 21:50:25 +0000 (21:50 +0000)]
2003-01-06 Andrew Cagney <
ac131313@redhat.com>
* frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
* frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
* arm-tdep.c (arm_frame_chain): Allocate caller_fi using
deprecated_frame_xmalloc_with_cleanup.
* m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
deprecated_frame_xmalloc.
* mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
* mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
Andrew Cagney [Mon, 6 Jan 2003 20:45:30 +0000 (20:45 +0000)]
2003-01-06 Andrew Cagney <cagney@redhat.com>
* x86-64-linux-tdep.c: Include "osabi.h".
* Makefile.in (x86-64-linux-tdep.o): Update dependencies.
Andrew Cagney [Mon, 6 Jan 2003 20:04:11 +0000 (20:04 +0000)]
2003-01-06 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
Andrew Cagney [Mon, 6 Jan 2003 18:49:09 +0000 (18:49 +0000)]
2003-01-06 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS (Target Instruction Set Architectures): Update
arm-elf. Can be built with -Werror, has been multiarched.
* value.h (unpack_long): Make buffer parameter constant.
(unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
* scm-lang.h (scm_parse): Ditto.
* defs.h (extract_typed_address, extract_address): Ditto.
(extract_long_unsigned_integer): Ditto.
* inferior.h (unsigned_pointer_to_address): Ditto.
(signed_pointer_to_address): Ditto.
* gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
* gdbarch.h, gdbarch.c: Regenerate.
* findvar.c (extract_long_unsigned_integer): Update.
(extract_address): Update.
(extract_typed_address): Update.
(unsigned_pointer_to_address): Update.
* values.c (unpack_long): Update.
(unpack_double): Update.
(unpack_pointer): Update.
(unpack_field_as_long): Update.
* d10v-tdep.c (d10v_pointer_to_address): Update.
* avr-tdep.c (avr_pointer_to_address): Update.
* scm-lang.c (scm_unpack): Update.
* findvar.c (signed_pointer_to_address): Update.
Andrew Cagney [Mon, 6 Jan 2003 18:36:08 +0000 (18:36 +0000)]
2003-01-06 Andrew Cagney <
ac131313@redhat.com>
* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.
Andreas Schwab [Mon, 6 Jan 2003 18:10:32 +0000 (18:10 +0000)]
* lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
failures.
Daniel Jacobowitz [Mon, 6 Jan 2003 16:14:01 +0000 (16:14 +0000)]
* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
(GENSCRIPTS): Add @use_sysroot@.
* Makefile.in: Regenerated.
* configure.host: Move setting of NATIVE_LIB_DIRS to...
* configure.tgt: ... here. Use ${target} instead of ${host}
for NATIVE_LIB_DIRS.
* configure.in: Add --with-sysroot.
* configure: Regenerated.
* genscripts.sh: Accept use_sysroot option. Set new variables
NATIVE and USE_LIBPATH. Prepend "=" to directory names if
$use_sysroot. Don't search $tool_lib if $use_sysroot.
* ldfile.c (ldfile_add_library_path): Handle leading '='.
* ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
(ld_sysroot): New variable.
(main): Initialize ld_sysroot.
* ldmain.h (ld_sysroot): New extern.
* emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
searching $EMULATION_LIBPATH.
(gld${EMULATION_NAME}_add_sysroot): New function.
(gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
(gld${EMULATION_NAME}_after_open): Likewise. Only search
environment variables if $NATIVE.
* ld.texinfo (Options): Mention "=" prefix in the description of -L.
* NEWS: Mention --with-sysroot.
* emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
instead of setting LIB_PATH.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64_sparc.sh: Likewise.
* emulparams/elf64ppc.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
* emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
Michal Ludvig [Mon, 6 Jan 2003 14:47:37 +0000 (14:47 +0000)]
2003-01-06 Michal Ludvig <mludvig@suse.cz>
* x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
since it is in i386-tdep.c.
Joel Brobecker [Mon, 6 Jan 2003 10:28:05 +0000 (10:28 +0000)]
* alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
failure introduced in the previous change.
Chris Demetriou [Mon, 6 Jan 2003 01:57:40 +0000 (01:57 +0000)]
2003-01-05 Richard Sandiford <rsandifo@redhat.com>
* Makefile.in (tmp-run-multi): Fix mips16 filter.
gdbadmin [Mon, 6 Jan 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 5 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Michael Chastain [Sun, 5 Jan 2003 17:10:33 +0000 (17:10 +0000)]
2003-01-05 Michael Chastain <mec@shout.net>
* README: Remove references to deleted remote-*.c files:
remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
remote-nrom.c, remote-os9k.c, remote-udi.c.
Mark Kettenis [Sun, 5 Jan 2003 14:07:03 +0000 (14:07 +0000)]
* i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
* x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
i386_get_longjmp_target.
Andrew Cagney [Sun, 5 Jan 2003 13:31:26 +0000 (13:31 +0000)]
2003-01-05 Andrew Cagney <
ac131313@redhat.com>
* arm-tdep.c (prologue_cache): Change to a pointer.
(_initialize_arm_tdep): Allocate prologue_cache.
(check_prologue_cache): Update.
(save_prologue_cache): Update.
(arm_gdbarch_init): Update.
Chris Demetriou [Sun, 5 Jan 2003 07:56:59 +0000 (07:56 +0000)]
2003-01-04 Richard Sandiford <rsandifo@redhat.com>
Andrew Cagney <
ac131313@redhat.com>
Gavin Romig-Koch <gavin@redhat.com>
Graydon Hoare <graydon@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Dave Brolley <brolley@redhat.com>
Chris Demetriou <cgd@broadcom.com>
* configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
(sim_mach_default): New variable.
(mips64vr-*-*, mips64vrel-*-*): New configurations.
Add a new simulator generator, MULTI.
* configure: Regenerate.
* Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
(multi-run.o): New dependency.
(SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables.
(tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules.
(tmp-multi): Combine them.
(BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi.
(clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
(distclean-extra): New rule.
* sim-main.h: Include bfd.h.
(MIPS_MACH): New macro.
* mips.igen (vr4120, vr5400, vr5500): New models.
(clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
* vr.igen: Replace with new version.
Chris Demetriou [Sun, 5 Jan 2003 06:13:51 +0000 (06:13 +0000)]
2003-01-04 Chris Demetriou <cgd@broadcom.com>
* configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
* configure: Regenerate.
Daniel Jacobowitz [Sun, 5 Jan 2003 04:59:28 +0000 (04:59 +0000)]
* stabsread.c (update_method_name_from_physname): Call complaint()
instead of error.
Daniel Jacobowitz [Sun, 5 Jan 2003 04:34:39 +0000 (04:34 +0000)]
* gdb.texinfo (Controlling GDB): Add @kindex for
"show osabi".
(Backtraces): Add @kindex's for backtrace-below-main.
Christopher Faylor [Sun, 5 Jan 2003 03:04:10 +0000 (03:04 +0000)]
* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
Daniel Jacobowitz [Sun, 5 Jan 2003 02:03:57 +0000 (02:03 +0000)]
* gdb.texinfo (Controlling GDB): Document "set osabi".
Daniel Jacobowitz [Sun, 5 Jan 2003 01:39:56 +0000 (01:39 +0000)]
* arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
* hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
* blockframe.c: Include "gdbcmd.h" and "command.h".
(backtrace_below_main): New variable.
(file_frame_chain_valid, func_frame_chain_valid)
(nonnull_frame_chain_valid, generic_file_frame_chain_valid)
(generic_func_frame_chain_valid): Remove functions.
(frame_chain_valid, do_flush_frames_sfunc): New functions.
(_initialize_blockframe): New function.
* Makefile.in (blockframe.o): Update dependencies.
* frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
comment. Call frame_chain_valid ().
* frame.h: Remove old prototypes. Add prototype for
frame_chain_valid and update comments to match.
* gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
Remove old comment.
* gdbarch.h: Regenerated.
* gdbarch.c: Regenerated.
Plus updates to all other targets not to provide a FRAME_CHAIN_VALID.
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 ***