Michael Snyder [Fri, 14 Jan 2005 00:58:15 +0000 (00:58 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* main.c: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:55:36 +0000 (00:55 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* interps.c: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:51:43 +0000 (00:51 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* infrun.c: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:48:32 +0000 (00:48 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* infcmd.c: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:25:00 +0000 (00:25 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* hpux-thread.c: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:23:41 +0000 (00:23 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* hppa-hpux-tdep.c: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:21:19 +0000 (00:21 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdbcore.h: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:19:14 +0000 (00:19 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdbcmd.h: Whitespace tweaks.
Michael Snyder [Fri, 14 Jan 2005 00:16:53 +0000 (00:16 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdb-events[.c, .h, .sh]: Whitespace tweaks.
gdbadmin [Fri, 14 Jan 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 13 Jan 2005 23:56:25 +0000 (23:56 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* corefile.c: Whitespace tweaks.
Michael Snyder [Thu, 13 Jan 2005 23:52:28 +0000 (23:52 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* completer.c: Whitespace tweaks.
Michael Snyder [Thu, 13 Jan 2005 23:45:29 +0000 (23:45 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* coff-solib.c: Whitespace tweaks.
* coff-solib.h: Whitespace tweaks.
Michael Snyder [Thu, 13 Jan 2005 23:39:40 +0000 (23:39 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli-out.c: Whitespace tweaks.
Michael Snyder [Thu, 13 Jan 2005 23:35:54 +0000 (23:35 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* breakpoint.c: Whitespace tweaks.
Michael Snyder [Thu, 13 Jan 2005 23:31:17 +0000 (23:31 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli/cli-interp.c: Tweak comments, per coding standard.
Alan Modra [Thu, 13 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Thu, 13 Jan 2005 22:08:27 +0000 (22:08 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* breakpoint.c (gdb_breakpoint_query): Update, use
catch_exceptions_with_msg.
(do_captured_breakpoint): Add uiout parameter.
(gdb_breakpoint): Update, use catch_exceptions_with_msg.
* mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
gdb_thread_select. Return MI_CMD_ERROR instead of
MI_CMD_CAUGHT_ERROR.
(mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
(enum captured_mi_execute_command_actions): Delete
EXECUTE_COMMAND_DISPLAY_ERROR.
(captured_mi_execute_command): Delete code handling
MI_CMD_CAUGHT_ERROR.
(mi_execute_command): Don't check for
EXECUTE_COMMAND_DISPLAY_ERROR.
* mi/mi-cmd-break.c (breakpoint_notify): Update call to
gdb_breakpoint_query.
(mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
* mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
* gdb.h (gdb_thread_select, gdb_list_thread_ids)
(gdb_breakpoint, gdb_breakpoint_query): Add error_message
parameter.
* thread.c (thread_command): Update call.
(gdb_thread_select, gdb_list_thread_ids): Update, call
catch_exceptions_with_msg.
Andrew Cagney [Thu, 13 Jan 2005 18:15:02 +0000 (18:15 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_execute_command): Use catch_exception,
eliminate call to error_last_message.
(captured_mi_execute_command): Change return type to void.
Andrew Cagney [Thu, 13 Jan 2005 02:35:39 +0000 (02:35 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.c (exception_none): New variable.
* Makefile.in: Update dependencies.
* interps.c: Include "exceptions.h".
(interpreter_exec_cmd, interp_exec): Update to return "struct
exception"
* exceptions.h (no_exception): Declare.
* tui/tui-interp.c (tui_exec): Update to return "struct exception"
* mi/mi-interp.c: Include "exceptions.h".
(mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
'struct exception".
* cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
(do_captured_execute_command): Update to use catch_exception.
* interps.h: Include "exceptions.h".
(interp_exec_ftype, interp_exec): Return "struct exception".
Andrew Cagney [Thu, 13 Jan 2005 00:12:50 +0000 (00:12 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (throw_reason): Rename throw_exception.
(enum errors, struct exception): Define.
(catch_exception_ftype): Define.
(catch_exception, throw_exception): Declare.
* exceptions.c (throw_exception): Rewrite.
(throw_reason): New function.
(struct catcher, catcher_state_machine): Replace "reason" with
"exception", delete "gdberrmsg".
(catch_exception): New function.
(catcher_init): Replace "gdberrmsg" parameter with "exception".
(catch_errors, catch_exceptions_with_msg): Re-implement passing
exception to catcher_init.
* utils.c (error_silent, error_stream_1): Use throw_reason.
(internal_verror, quit): Ditto.
* breakpoint.c (insert_catchpoint, break_command_1): Ditto.
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
* remote.c (remote_open_1, interrupt_query): Ditto.
gdbadmin [Thu, 13 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 12 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Wed, 12 Jan 2005 22:12:24 +0000 (22:12 +0000)]
* configure.in: Be sure to invoke config.sub using the shell.
* configure: Regenerate.
Mark Kettenis [Wed, 12 Jan 2005 21:54:13 +0000 (21:54 +0000)]
* i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
"regcache.h", "gdb_assert.h" and "bsd-uthread.h".
(i386fbsd_jmp_buf_reg_offset): New variable.
(i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
functions.
(i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (i386fbsd-tdep.o): Update dependency.
* config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
Mark Kettenis [Wed, 12 Jan 2005 21:43:35 +0000 (21:43 +0000)]
* bsd-uthread.h: New file.
* bsd-uthread.c: New file.
* Makefile.in (bsd_uthread_h): New variable.
(ALLDEPFILES): Add bsd-uthread.c.
(bsd-uthread.o): New dependency.
Mark Kettenis [Wed, 12 Jan 2005 20:52:18 +0000 (20:52 +0000)]
* solib.h Update copyright year.
(struct so_list): Forward declaration.
(solib_read_symbols): New prototype.
* solib.c (solib_read_symbols): New function.
(solib_add): Call solib_read_symbols to read in symbols.
(update_solib_list): Call observer_notify_solib_loaded.
Mark Kettenis [Wed, 12 Jan 2005 20:48:08 +0000 (20:48 +0000)]
* observer.texi (GDB Observers): Document "solib_loaded".
Mark Kettenis [Wed, 12 Jan 2005 20:36:59 +0000 (20:36 +0000)]
* i386bsd-nat.c: Update copyright year. Don't include
<sys/param.h> and <sys/user.h>.
(register_u_addr, kernel_u_size): Remove functions.
* config/i386/obsd.mh (NAT_FILE): Remove.
* config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
* config/i386/nm-obsd.h: Remove file.
H.J. Lu [Wed, 12 Jan 2005 19:40:20 +0000 (19:40 +0000)]
2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode.
H.J. Lu [Wed, 12 Jan 2005 19:12:52 +0000 (19:12 +0000)]
gas/testsuite/
2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386/i386.exp: Run "sib".
* gas/i386/sib.d: New file.
* gas/i386/sib.s: Likewise.
opcodes/
2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB.
Andrew Cagney [Wed, 12 Jan 2005 19:12:29 +0000 (19:12 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.c: Include "gdb_string.h".
(enum catcher_state, struct catcher): Define.
(current_catcher): New global, replaces catch_return;
(catch_return): Delete.
(throw_exception): Use current_catcher->buf;
(catcher_init, catcher_pop, catcher_state_machine): New functions.
(catcher): Delete.
(struct catch_errors_args): Delete.
(do_catch_errors): Delete.
(catch_exceptions): Replace body with call to
catch_exceptions_with_msg.
(catcher): Delete.
(catch_exceptions_with_msg, catch_errors): Re-implement using
catcher_state_machine.
Andrew Cagney [Wed, 12 Jan 2005 18:31:35 +0000 (18:31 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (enum return_reason, RETURN_MASK)
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
(return_mask, throw_exception, catch_exceptions_ftype)
(catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
(catch_command_errors_ftype, catch_command_errors): Move to
exceptions.h.
* exceptions.c, exceptions.h: New files.
* top.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
(throw_exception, catcher, catch_exceptions)
(catch_exceptions_with_msg, struct catch_errors_args)
(do_catch_errors, catch_errors, struct captured_command_args)
(do_captured_command, catch_command_errors): Move to exceptions.c.
* wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
* tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
* symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
* remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
* remote-e7000.c, objc-lang.c, ocd.c: Ditto.
* remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
* main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
* hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
* corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
* ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
exceptions.o. Update all dependencies.
Andrew Cagney [Wed, 12 Jan 2005 17:12:46 +0000 (17:12 +0000)]
Index: sh/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mn10300/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: erc32/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: frv/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: h8300/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: m32r/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mcore/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mips/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: v850/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: common/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* common.m4: New file, based on of aclocal.m4.
Index: arm/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Andrew Cagney [Wed, 12 Jan 2005 16:23:24 +0000 (16:23 +0000)]
Index: m32r/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: m68hc11/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mcore/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mips/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mn10300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ppc/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: testsuite/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: v850/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: erc32/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: frv/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: h8300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: igen/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ChangeLog
2005-01-11 Andrew Cagney <cagney@gnu.org>
* Makefile.in (autoconf-common autoheader-common): Add --force to
autoconf and autoheader.
(autoconf-common autoheader-common)
(autoconf-install autoheader-install): Check for configure.ac, not
configure.in.
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: arm/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: common/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
* configure: Regenerated to track ../common/aclocal.m4 changes.
Alan Modra [Wed, 12 Jan 2005 11:28:28 +0000 (11:28 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries.
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for
reaching PLT.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and
R_PPC_RELAX32PC_PLT.
Nick Clifton [Wed, 12 Jan 2005 10:57:15 +0000 (10:57 +0000)]
(s_iq2000_set): Fix thinko parsing ignored_arguments array.
gdbadmin [Wed, 12 Jan 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Kaz Kojima [Tue, 11 Jan 2005 23:55:14 +0000 (23:55 +0000)]
* ld-sh/shared-1.d: Update for changed dynamic syms.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.
Mark Kettenis [Tue, 11 Jan 2005 23:04:33 +0000 (23:04 +0000)]
* config/i386/nm-fbsd.h: Update copyright year.
Don't include "config/nm-bsd.h".
(KERNEL_U_SIZE): Remove macro.
(kernel_u_size): Remove prototype.
Alan Modra [Tue, 11 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 11 Jan 2005 22:24:40 +0000 (22:24 +0000)]
* config/vax/nbsdaout.mh (NAT_FILE): Remove.
* config/vax/nm-nbsdaout.h: Remove file.
DJ Delorie [Tue, 11 Jan 2005 21:01:13 +0000 (21:01 +0000)]
merge from gcc
Nick Clifton [Tue, 11 Jan 2005 11:58:49 +0000 (11:58 +0000)]
PR binutils/637
* doc/binutils.texi (c++filt): Use uppercase CXXFILT in the footnote in order
to prevent the sed script in the Makefile from converting it into c++filt.
Alan Modra [Tue, 11 Jan 2005 09:36:46 +0000 (09:36 +0000)]
* configure.host: Correct sed patterns for last change.
Alan Modra [Tue, 11 Jan 2005 09:32:53 +0000 (09:32 +0000)]
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning
symbols.
* elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
* elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
* elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Likewise.
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise.
* elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
* elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
Alan Modra [Tue, 11 Jan 2005 08:30:35 +0000 (08:30 +0000)]
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
.dynsbss flags.
Elena Zannoni [Tue, 11 Jan 2005 03:54:35 +0000 (03:54 +0000)]
2005-01-10 Elena Zannoni <ezannoni@redhat.com>
* MAINTAINERS: Remove self from sh/sh64 maintainership.
gdbadmin [Tue, 11 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 10 Jan 2005 23:38:36 +0000 (23:38 +0000)]
2005-01-10 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
maintainer.
Alan Modra [Mon, 10 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 10 Jan 2005 22:45:28 +0000 (22:45 +0000)]
2005-01-10 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
changes to CRIS.
Andrew Cagney [Mon, 10 Jan 2005 22:35:00 +0000 (22:35 +0000)]
2005-01-10 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
COMMIT means can approve).
Mark Kettenis [Mon, 10 Jan 2005 20:56:17 +0000 (20:56 +0000)]
* vax-nat.c: Update copyright year. Include "inf-ptrace.h".
(vax_register_u_offset): Make statuc.
(_initialize_vax_nat): Construct and add target vector.
* config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o. Add inf-ptrace.o.
* Makefile.in (vax-nat.o): Update dependencies.
Mark Kettenis [Mon, 10 Jan 2005 20:36:38 +0000 (20:36 +0000)]
* inf-ptrace.h: Update copyright year. Sync comment with
inf-ptrace.c.
(inf_ptrace_trad_target): New prototype.
* inf-ptrace.c: Update copyright year. Include "regcache.h" and
"gdb_assert.h"
(inf_ptrace_target): Add comment.
(inf_ptrace+register_u_offset): New variable.
(inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
(inf_ptrace_store_register, inf_ptrace_store_registers)
(inf_ptrace_trad_target): New functions.
* Makefile.in (inf-ptrace.o): Update dependencies.
H.J. Lu [Mon, 10 Jan 2005 17:28:37 +0000 (17:28 +0000)]
2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
BZ 635
readelf.c (saved_base_address): Removed.
(decode_64bit_range): Likewise.
(decode_range): Likewise.
(display_64bit_debug_ranges): Likewise.
(debug_info): Add range_lists, num_range_lists and
max_range_lists.
(read_and_display_attr_value): Handle do_debug_ranges.
(process_debug_info): Likewise.
(display_debug_ranges): Rewrite.
(process_object): Free range_lists.
H.J. Lu [Mon, 10 Jan 2005 17:22:49 +0000 (17:22 +0000)]
2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
* write.c (write_object_file): Disallow a symbol equated to
common symbol.
Nick Clifton [Mon, 10 Jan 2005 16:33:51 +0000 (16:33 +0000)]
Add support for maxq10 and maxq20 machine values
Andrew Cagney [Mon, 10 Jan 2005 16:14:50 +0000 (16:14 +0000)]
Index: arm/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Replace configure.in. Requires autoconf 2.59 and
correctly calls AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: common/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: erc32/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: frv/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: h8300/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: igen/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: m32r/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: m68hc11/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mcore/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mips/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mn10300/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: ppc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/d10v-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/frv-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/m32r-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/mips64el-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: v850/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Corinna Vinschen [Mon, 10 Jan 2005 15:58:23 +0000 (15:58 +0000)]
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
Nick Clifton [Mon, 10 Jan 2005 15:45:00 +0000 (15:45 +0000)]
PR binutils/609
* ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this to determine
whether config.make_executable should be set to FALSE in conjunction with
config.fatal_warnings.
(info_msg, minfo, lfinof): Pass FALSE as the extra argument.
(einfo): Pass TRUE as the extra argument.
Nick Clifton [Mon, 10 Jan 2005 14:57:32 +0000 (14:57 +0000)]
(linux targets): Use "${CC} -dumpspecs" instead of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
(ia64-*-aix): Delete - this target is obsolete, and would be broken by this patch.
Eric Botcazou [Mon, 10 Jan 2005 11:23:01 +0000 (11:23 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.
Andreas Schwab [Mon, 10 Jan 2005 09:54:50 +0000 (09:54 +0000)]
binutils/:
* configure.in: Don't define SKIP_ZEROES.
* configure: Regenerate.
* objdump.c (disassemble_data): Set skip_zeroes and
skip_zeroes_at_end in disasm_info to defaults.
(DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
(DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
always define.
(disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
objdump_disasm_info.
include/:
* dis-asm.h (struct disassemble_info): Add skip_zeroes and
skip_zeroes_at_end.
opcodes/:
* disassemble.c (disassemble_init_for_target) <case
bfd_arch_ia64>: Set skip_zeroes to 16.
<case bfd_arch_tic4x>: Set skip_zeroes to 32.
gdbadmin [Mon, 10 Jan 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 9 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Eric Botcazou [Sun, 9 Jan 2005 19:49:22 +0000 (19:49 +0000)]
* elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc
to zero the structure.
(create_got_section): Use BFD_ASSERT instead of abort.
Eric Botcazou [Sun, 9 Jan 2005 19:48:28 +0000 (19:48 +0000)]
* elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and
'srelgot' fields.
(create_got_section): New function.
(sparc64_elf_create_dynamic_sections): Likewise.
(sparc64_elf_check_relocs): Invoke create_got_section instead of
_bfd_elf_create_got_section. Use the sgot and srelgot shortcuts.
(sparc64_elf_size_dynamic_sections): Use the srelgot shortcut.
(sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts.
(sparc64_elf_finish_dynamic_symbol): Likewise.
(sparc64_elf_finish_dynamic_sections): Use the sgot shortcut.
(elf_backend_create_dynamic_sections): Define to
sparc64_elf_create_dynamic_sections.
Mark Kettenis [Sun, 9 Jan 2005 18:02:50 +0000 (18:02 +0000)]
* configure.ac: Provide prerequisite headers when checking
<link.h>, <sys/proc.h> and <sys/user.h>.
* configure: Regenerate.
Andreas Schwab [Sun, 9 Jan 2005 14:12:07 +0000 (14:12 +0000)]
* gas/i386/intel16.d: Ignore trailing text with #pass.
* gas/i386/intelok.d: Likewise.
* gas/i386/prefix.d: Likewise.
* gas/i386/sub.d: Likewise.
* gas/i386/padlock.d: Likewise.
* gas/i386/x86_64.d: Likewise.
Eric Botcazou [Sun, 9 Jan 2005 09:26:55 +0000 (09:26 +0000)]
* elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.
* elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.
gdbadmin [Sun, 9 Jan 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 8 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 8 Jan 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Fri, 7 Jan 2005 23:43:37 +0000 (23:43 +0000)]
* config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
tm-ppc-eabi.h instead of the removed tm-nbsd.h.
Andrew Cagney [Fri, 7 Jan 2005 23:37:38 +0000 (23:37 +0000)]
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Andrew Cagney [Fri, 7 Jan 2005 23:25:38 +0000 (23:25 +0000)]
2005-01-07 Andrew Cagney <cagney@gnu.org>
* fr30-elf, d30v-elf: Delete directory.
Mark Kettenis [Fri, 7 Jan 2005 23:12:06 +0000 (23:12 +0000)]
* config/ia64/tm-linux.h: Tweak comment. Update copyright year.
Don't include "tm-ia64.h".
* config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
* config/ia64/tm-ia64.h: Remove. Move contents ...
* ia64-tdep.h: ... here. Update copyright year.
Alan Modra [Fri, 7 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Fri, 7 Jan 2005 21:53:26 +0000 (21:53 +0000)]
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: gdbserver/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
Andrew Cagney [Fri, 7 Jan 2005 16:22:33 +0000 (16:22 +0000)]
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
to configdirs.
Andrew Cagney [Fri, 7 Jan 2005 15:17:01 +0000 (15:17 +0000)]
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Jakub Jelinek [Fri, 7 Jan 2005 09:52:00 +0000 (09:52 +0000)]
* bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
PT_DYNAMIC segment, unless .dynamic.
gdbadmin [Fri, 7 Jan 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 6 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Eric Botcazou [Thu, 6 Jan 2005 18:05:17 +0000 (18:05 +0000)]
* configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
(sparc64-sun-solaris2*): New host.
Paul Brook [Thu, 6 Jan 2005 16:18:25 +0000 (16:18 +0000)]
2005-01-06 Paul Brook <paul@codesourcery.com>
bfd/
* config.bfd: Add entry for arm-*-vxworks and arm-*-windiss.
* configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec.
* configure: Regenerate.
* elf32-arm.c: Add VxWorks target bfd.
(USE_REL): Remove.
(elf32_arm_link_hash_table): Add use_rel.
(elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate,
elf32_arm_relocate_section): Replace USE_REL with runtime check.
Correct offset calculation for RELA case.
(elf_backend_may_use_rel_p, elf_backend_may_use_rela_p,
elf_backend_default_use_rela_p, elf_backend_rela_normal): Define.
(elf32_arm_vxworks_link_hash_table_create): New function.
* targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration.
(bfd_elf32_littlearm_vxworks_vec): Ditto.
(_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec.
gas/
* config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
(md_begin): Handle TE_VXWORKS for FP defaults.
(md_apply_fix3): Correct rela offsets.
(elf32_arm_target_format): Add VxWorks targets.
ld/
* Makefie.am: Add earmelf_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make arm-*-vxworks a separate case.
* emulparams/armelf_vxworks.sh: New function.
Paul Brook [Thu, 6 Jan 2005 16:17:25 +0000 (16:17 +0000)]
* configure.tgt: Set em=vxworks for *-*-vxworks.
* config/te-vxworks.h: New File.
Paul Brook [Thu, 6 Jan 2005 15:30:57 +0000 (15:30 +0000)]
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
Alan Modra [Thu, 6 Jan 2005 09:03:56 +0000 (09:03 +0000)]
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and
multi_toc_needed.
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define.
(ppc64_elf_check_relocs): Update references to has_gp_reloc.
(ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit.
(ppc64_elf_next_toc_section): Heed no_multi_toc.
(ppc64_elf_reinit_toc): Set multi_toc_needed.
(toc_adjusting_stub_needed): Rewrite.
(ppc64_elf_next_input_section): Use multi_toc_needed to shortcut
toc tests. Adjust for toc_adjusting_stub_needed changes.
(ppc64_elf_size_stubs): Update references to has_gp_reloc.
* elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype.
* section.c: Expand comment on backend bits.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
ld/
* emultempl/ppc64elf.em (no_multi_toc): New var.
(gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
(OPTION_NO_MULTI_TOC): Define.
(PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
Alan Modra [Thu, 6 Jan 2005 08:41:05 +0000 (08:41 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
toc adjusting stub, do not test source section flags.
gdbadmin [Thu, 6 Jan 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 5 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Wed, 5 Jan 2005 22:51:47 +0000 (22:51 +0000)]
* ia64-tdep.c: Include "osabi.h".
(native_find_global_pointer): Delete.
(ia64_find_global_pointer): Renamed from
generic_elf_find_global_pointer.
(FIND_GLOBAL_POINTER): Delete. Change all users to call
ia64_find_global_pointer instead.
(ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
to ia64_linux_sigcontext_register_address and
ia64_linux_write_pc. Don't set tdep->find_global_pointer.
(_initialize_ia64_tdep): Call gdbarch_register instead of
deprecated register_gdbarch_init.
(struct gdbarch_tdep): Remove find_global_pointer field and move
to ...
* ia64-tdep.h (struct gdbarch_tdep): ... here.
(ia64_linux_sigcontext_register_address): Remove declaration.
(ia64_linux_getunwind_table): Likewise.
(ia64_linux_write_pc): Likewise.
* ia64-linux-tdep.c: Include "osabi.h".
(ia64_linux_sigcontext_register_address): Make static.
(ia64_linux_write_pc): Likewise.
(ia64_linux_init_abi): New.
(_initialize_ia64_linux_tdep): New.
* Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
$(osabi_h).
H.J. Lu [Wed, 5 Jan 2005 17:29:41 +0000 (17:29 +0000)]
2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_loc): Display base address
specifiers. Always output <End of list>.
Kevin Buettner [Wed, 5 Jan 2005 17:04:49 +0000 (17:04 +0000)]
Eliminate ia64-aix-tdep.c.
H.J. Lu [Wed, 5 Jan 2005 16:15:47 +0000 (16:15 +0000)]
2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (have_frame_base): New.
(need_base_address): Likewise.
(saved_base_address): Likewise.
(decode_location_expression): Return 1 if DW_AT_frame_base is
needed.
(debug_info): Add base_address and a have_frame_base pointer.
(read_and_display_attr_value): Replace saved_DW_AT_low_pc with
saved_base_address. Record base address. Set have_frame_base.
Record if a location list has DW_AT_frame_base. Display if a
location expression has no DW_AT_frame_base but needs one. Set
saved_base_address only if needed.
(process_debug_info): Clear have_frame_base, saved_base_address
and set need_base_address.
(display_debug_loc): Display if a location expression has no
DW_AT_frame_base but needs one. Display if start >= end. Don't
adjust for section address. Properly handle base address.
(process_object): Free the have_frame_base pointer in
debug_info.
Nick Clifton [Wed, 5 Jan 2005 16:03:23 +0000 (16:03 +0000)]
PR binutils/614
* ldmisc.c (vfinfo): Alter output to conform to the GNU Coding Standard's
specification for parsable error messages.
Andrew Cagney [Wed, 5 Jan 2005 15:43:50 +0000 (15:43 +0000)]
2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Committed by Andrew Cagney.
* ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
* alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
* amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
* arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
* armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
* aix-thread.c (_initialize_aix_thread): Get rid of the
deprecated_add_show_from_set call.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* command.h (add_setshow_enum_cmd): Add arguments for returning
new list elements.
* cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Modify calls to
add_setshow_enum_cmd.
Eric Botcazou [Wed, 5 Jan 2005 15:24:56 +0000 (15:24 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from STABS debugging sections again.