external/binutils.git
18 years agodaily update
Alan Modra [Sun, 29 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
Mark Kettenis [Sun, 29 Jan 2006 21:30:17 +0000 (21:30 +0000)]
* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.

18 years ago* amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
Mark Kettenis [Sun, 29 Jan 2006 21:19:31 +0000 (21:19 +0000)]
* amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
Fixes PR tdep/2075.

18 years agomerge from gcc
DJ Delorie [Sun, 29 Jan 2006 20:07:09 +0000 (20:07 +0000)]
merge from gcc

18 years ago*** empty log message ***
gdbadmin [Sun, 29 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 28 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 28 Jan 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 27 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * MAINTAINERS: Use a consistent email address for brobecker.
Joel Brobecker [Fri, 27 Jan 2006 21:27:07 +0000 (21:27 +0000)]
    * MAINTAINERS: Use a consistent email address for brobecker.

18 years ago * infcmd.c (post_create_inferior): Fix copy/paste error introduced
Joel Brobecker [Fri, 27 Jan 2006 20:05:27 +0000 (20:05 +0000)]
    * infcmd.c (post_create_inferior): Fix copy/paste error introduced
        in the previous change.

18 years agoAdding myself as DLX maintainer
Nikolaos Kavvadias [Fri, 27 Jan 2006 19:42:35 +0000 (19:42 +0000)]
Adding myself as DLX maintainer

18 years ago* pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:" as
Nick Clifton [Fri, 27 Jan 2006 17:18:13 +0000 (17:18 +0000)]
* pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:" as
informational message, not a warning.

18 years ago2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Jan 2006 14:32:04 +0000 (14:32 +0000)]
2006-01-27  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2218
* ld-pie/pie.exp: New file.
* ld-pie/weakundef.c: Likewise.
* ld-pie/weakundef.out: Likewise.

* lib/ld-lib.exp (run_ld_link_exec_tests): Fix nesting. Support
building PIE and shared library.

18 years ago2006-01-27 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 27 Jan 2006 14:11:43 +0000 (14:11 +0000)]
2006-01-27  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
objects.

18 years ago*** empty log message ***
gdbadmin [Fri, 27 Jan 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 26 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-16 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 26 Jan 2006 18:56:02 +0000 (18:56 +0000)]
2006-01-16  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Set with_gnu_as, with_gnu_ld, with_newlib earlier.
Set md_exec_prefix.  Use ACX_CHECK_INSTALLED_TARGET_TOOL to find
the assembler, linker and binutils.
* configure: Regenerate.

config:
2006-01-16  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Test $with_build_time_tools.
(ACX_PATH_SEP): New.
(ACX_TOOL_DIRS): Move here from the gcc directory.
(ACX_CHECK_INSTALLED_TARGET_TOOL): New.
(GCC_TARGET_TOOL): Do not use a host tool if we found a target tool
with a complete path in either $with_build_time_tools or $exec_prefix.

18 years ago* mips-opc.c: Add I33 masks to these MIPS32R2 instructions: prefx,
David Ung [Thu, 26 Jan 2006 15:14:57 +0000 (15:14 +0000)]
* mips-opc.c: Add I33 masks to these MIPS32R2 instructions: prefx,
ceil.l.d, ceil.l.s, cvt.d.l, cvt.l.d, cvt.l.s, cvt.s.l, floor.l.d,
floor.l.s, ldxc1, lwxc1, madd.d, madd.s, msub.d, msub.s, nmadd.d,
nmadd.s, nmsub.d, nmsub.s, recip.d, recip.s, round.l.d, rsqrt.d,
rsqrt.s, sdxc1, swxc1, trunc.l.d, trunc.l.s.

18 years agoAdd new Vietnamese translation
Nick Clifton [Thu, 26 Jan 2006 14:43:56 +0000 (14:43 +0000)]
Add new Vietnamese translation

18 years ago* config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
Bob Wilson [Thu, 26 Jan 2006 05:21:43 +0000 (05:21 +0000)]
* config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.

18 years ago*** empty log message ***
gdbadmin [Thu, 26 Jan 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 25 Jan 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-25 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 25 Jan 2006 21:15:42 +0000 (21:15 +0000)]
2006-01-25  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Testsuite): Explain how to run selected tests.

18 years ago2006-01-24 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 25 Jan 2006 18:48:57 +0000 (18:48 +0000)]
2006-01-24  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Frames): Document the basics of GDB's register
unwinding model, and explain the existence of the "sentinel" frame.

18 years ago * words.h (natural32): Define as "int".
Mark Mitchell [Wed, 25 Jan 2006 17:29:44 +0000 (17:29 +0000)]
* words.h (natural32): Define as "int".

18 years ago*** empty log message ***
gdbadmin [Wed, 25 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * words.h (signed32): Define as "int".
Mark Mitchell [Tue, 24 Jan 2006 23:48:01 +0000 (23:48 +0000)]
* words.h (signed32): Define as "int".
(unsigned32): Define as "unsigned int".

18 years agodaily update
Alan Modra [Tue, 24 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago PR gdb/1914
Daniel Jacobowitz [Tue, 24 Jan 2006 22:34:34 +0000 (22:34 +0000)]
PR gdb/1914
* fork-child.c (fork_inferior): Don't call
solib_create_inferior_hook.
* infcmd.c (post_create_inferior): Call solib_add,
solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
(attach_command): Don't call solib_add or
re_enable_breakpoints_in_shlibs.  Call post_create_inferior
instead.
* remote.c (remote_open_1): Don't call solib_create_inferior_hook
or observer_notify_inferior_created.  Call post_create_inferior
instead.
* corelow.c: Don't include "observer.h".
(solib_add_stub): Deleted.
(core_open): Don't call observer_notify_inferior_created or
solib_add_stub.  Call post_create_inferior instead.
* inf-ptrace.c: Don't include "observer.h".
(inf_ptrace_attach): Don't call observer_notify_inferior_created.
* inf-ttrace.c: Don't include "observer.h".
(inf_ttrace_attach): Don't call observer_notify_inferior_created.
* inferior.h (solib_create_inferior_hook): Remove redundant
prototype.
* inftarg.c: Don't include "observer.h".
(child_attach): Don't call observer_notify_inferior_created.
* Makefile.in: Update dependencies.

18 years ago * infcmd.c: Include "observer.h".
Daniel Jacobowitz [Tue, 24 Jan 2006 22:09:28 +0000 (22:09 +0000)]
* infcmd.c: Include "observer.h".
(post_create_inferior): New function.
(run_command_1): Call it.  Also call proceed.
* inferior.h (post_create_inferior): New prototype.
* Makefile.in (infcmd.o): Update.

* gnu-nat.c (gnu_create_inferior): Don't call proceed.
* go32-nat.c (go32_create_inferior): Likewise.
* nto-procfs.c (procfs_create_inferior): Likewise.
* procfs.c (procfs_create_inferior): Likewise.
* remote-sim.c (gdbsim_create_inferior): Likewise.
* remote.c (extended_remote_create_inferior)
(extended_remote_async_create_inferior): Likewise.
* win32-nat.c (win32_create_inferior): Likewise.
* wince.c (child_create_inferior): Likewise.

* monitor.c (monitor_create_inferior): Don't call proceed.
Set the PC manually.
* ocd.c (ocd_create_inferior): Likewise.
* remote-e7000.c (e7000_create_inferior): Likewise.
* remote-m32r-sdi.c (m32r_create_inferior): Likewise.
* remote-mips.c (mips_create_inferior): Likewise.
* remote-rdp.c (remote_rdp_create_inferior): Likewise.
* remote-sds.c (sds_create_inferior): Likewise.
* remote-st.c (st2000_create_inferior): Likewise.

* inf-ptrace.c (inf_ptrace_create_inferior): Don't call
proceed or observer_notify_inferior_created.
* inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
* inftarg.c (child_create_inferior): Likewise.

18 years ago * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
Daniel Jacobowitz [Tue, 24 Jan 2006 21:50:26 +0000 (21:50 +0000)]
* linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
after mourning the inferior.

18 years ago2006-01-24 Jim Blandy <jimb@redhat.com>
Jim Blandy [Tue, 24 Jan 2006 21:21:12 +0000 (21:21 +0000)]
2006-01-24  Jim Blandy  <jimb@redhat.com>

* valarith.c (binop_user_defined_p): Handle refs to typedefs.

18 years agoReviewed and approved by Jim Blandy and Daniel Jacobowitz
Fred Fish [Tue, 24 Jan 2006 15:20:10 +0000 (15:20 +0000)]
Reviewed and approved by Jim Blandy and Daniel Jacobowitz

2006-01-24  Fred Fish  <fnf@specifix.com>
* parse.c (source.h): Include.
(parse_exp_in_context):  Use static source context if no
other context found.

18 years ago*** empty log message ***
gdbadmin [Tue, 24 Jan 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 23 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agosim/ChangeLog:
Jim Blandy [Mon, 23 Jan 2006 22:10:41 +0000 (22:10 +0000)]
sim/ChangeLog:
2005-10-06  Jim Blandy  <jimb@redhat.com>

Add simulator for Renesas M32C and M16C.

* m32c: New directory.
* configure.ac: Add entry for Renesas M32C.
* configure: Regenerate.

sim/m32c/ChangeLog:
2005-10-06  Jim Blandy  <jimb@redhat.com>

Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
with further work from Jim Blandy <jimb@redhat.com> and
Kevin Buettner <kevinb@redhat.com>.

* ChangeLog: New.
* Makefile.in: New.
* blinky.S: New.
* config.in: New.
* configure: New.
* configure.in: New.
* cpu.h: New.
* gdb-if.c: New.
* gloss.S: New.
* int.c: New.
* int.h: New.
* load.c: New.
* load.h: New.
* m32c.opc: New.
* main.c: New.
* mem.c: New.
* mem.h: New.
* misc.c: New.
* misc.h: New.
* opc2c.c: New.
* r8c.opc: New.
* reg.c: New.
* safe-fgets.c: New.
* safe-fgets.h: New.
* sample.S: New.
* sample.ld: New.
* sample2.c: New.
* srcdest.c: New.
* syscalls.c: New.
* syscalls.h: New.
* trace.c: New.
* trace.h: New.

18 years ago2006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 23 Jan 2006 17:35:22 +0000 (17:35 +0000)]
2006-01-23  Andrew Stubbs  <andrew.stubbs@st.com>

* sh-tdep.c: Include reggroups.h.
(sh_register_reggroup_p): New function.
(sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
* Makefile.in (sh-tdep.o): Add dependency on reggroups.h.

18 years ago2006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 23 Jan 2006 16:28:37 +0000 (16:28 +0000)]
2006-01-23  Andrew Stubbs  <andrew.stubbs@st.com>

* cli/cli-cmds.c: Include fcntl.h.
(source_command): Use the GDB search path to find script files.

doc/
* gdb.texinfo (Choosing files): Mention that -directory is used
for script files.
(Specifying source directories): Likewise.
(Command files): Explain how script files are found.

18 years ago PR tdep/2029
Daniel Jacobowitz [Mon, 23 Jan 2006 01:49:43 +0000 (01:49 +0000)]
PR tdep/2029
Suggested by Till Straumann <strauman@slac.stanford.edu>:
* rs6000-tdep.c (skip_prologue): Update check for later mtlr
instructions.  Handle PIC bcl.

18 years ago * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
Daniel Jacobowitz [Mon, 23 Jan 2006 01:47:32 +0000 (01:47 +0000)]
* gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
files.

18 years ago*** empty log message ***
gdbadmin [Mon, 23 Jan 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 22 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * config/djgpp/README: Typo fix.
Daniel Jacobowitz [Sun, 22 Jan 2006 20:24:15 +0000 (20:24 +0000)]
* config/djgpp/README: Typo fix.
* config/djgpp/fnchange.lst: Update.

18 years ago* sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
Mark Kettenis [Sun, 22 Jan 2006 20:07:38 +0000 (20:07 +0000)]
* sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
(sparc_address_from_register): New prototype.
(sparcnbsd_step_trap): New prototype.
* sparc-tdep.c (sparc_address_from_register): Make globally
visible.
(sparc_analyze_control_transfer): Change prototype to accept
`struct gdbarch *' as first argument.  Allow for optional hnadling
for trap instructions.
(sparc_step_trap): New function.
(sparc_software_single_step): Adjust call to
sparc_analyze_control_trabsfer.
(sparc32_gdbarch_init): Initialize TDEP->step_trap.
* sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
(sparc32nbsd_init_abi): Set TDEP->step_trap.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.

18 years ago* sparc-tdep.c (sparc32_return_value): Convert to use
Mark Kettenis [Sun, 22 Jan 2006 16:33:34 +0000 (16:33 +0000)]
* sparc-tdep.c (sparc32_return_value): Convert to use
RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
RETURN_VALUE_STRUCT_CONVENTION.
(sparc32_extract_struct_value_address): Remove.

18 years ago*** empty log message ***
gdbadmin [Sun, 22 Jan 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 21 Jan 2006 23:05:33 +0000 (23:05 +0000)]
daily update

18 years ago * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
Daniel Jacobowitz [Sat, 21 Jan 2006 22:25:07 +0000 (22:25 +0000)]
* avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
(avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.

18 years ago * solib.c (info_sharedlibrary_command): Avoid internal_error.
Daniel Jacobowitz [Sat, 21 Jan 2006 22:23:27 +0000 (22:23 +0000)]
* solib.c (info_sharedlibrary_command): Avoid internal_error.

18 years ago(Backtrace): Describe how to get backtrace of all the threads in a
Eli Zaretskii [Sat, 21 Jan 2006 21:14:10 +0000 (21:14 +0000)]
(Backtrace): Describe how to get backtrace of all the threads in a
multi-threaded program.
(Threads): The threadno argument of "thread apply" can be a range of numbers.

18 years ago* i386-tdep.c (i386_mxcsr_type): New variable.
Mark Kettenis [Sat, 21 Jan 2006 20:59:50 +0000 (20:59 +0000)]
* i386-tdep.c (i386_mxcsr_type): New variable.
(i386_init_types): Initialize i386_mxcsr_type.
(i386_register_type): Return i386_mxcsr_type for %mxcsr.
* i386-tdep.c (i386_mxcsr_type): New extern.
* amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
%mxcsr.

18 years agomerge from gcc
DJ Delorie [Sat, 21 Jan 2006 04:28:49 +0000 (04:28 +0000)]
merge from gcc

18 years ago * Makefile.in (remote-rdi.o): Remove.
Mark Mitchell [Sat, 21 Jan 2006 01:29:04 +0000 (01:29 +0000)]
* Makefile.in (remote-rdi.o): Remove.
(rdi-share/libangsd.a): Likewise.
* README: Don't mention remote-rdi.c.
* NEWS: Mention removal of rdi-share.
* configure.ac: Don't configure rdi-share subdirectory.
* remote-rdi.c: Remove.
* config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
(TDEPLIBS): Remove rdi-share/libangsd.a.
* rdi-share/Makefile.am: Remove.
* rdi-share/Makefile.in: Likewise.
* rdi-share/README.CYGNUS: Likewise.
* rdi-share/aclocal.m4: Likewise.
* rdi-share/adp.h: Likewise.
* rdi-share/adperr.h: Likewise.
* rdi-share/angel.h: Likewise.
* rdi-share/angel_bytesex.c: Likewise.
* rdi-share/angel_bytesex.h: Likewise.
* rdi-share/angel_endian.h: Likewise.
* rdi-share/ardi.c: Likewise.
* rdi-share/ardi.h: Likewise.
* rdi-share/armdbg.h: Likewise.
* rdi-share/buffers.h: Likewise.
* rdi-share/chandefs.h: Likewise.
* rdi-share/channels.h: Likewise.
* rdi-share/chanpriv.h: Likewise.
* rdi-share/configure: Likewise.
* rdi-share/configure.in: Likewise.
* rdi-share/crc.c: Likewise.
* rdi-share/crc.h: Likewise.
* rdi-share/dbg_conf.h: Likewise.
* rdi-share/dbg_cp.h: Likewise.
* rdi-share/dbg_hif.h: Likewise.
* rdi-share/dbg_rdi.h: Likewise.
* rdi-share/devclnt.h: Likewise.
* rdi-share/devices.h: Likewise.
* rdi-share/devsw.c: Likewise.
* rdi-share/devsw.h: Likewise.
* rdi-share/drivers.c: Likewise.
* rdi-share/drivers.h: Likewise.
* rdi-share/etherdrv.c: Likewise.
* rdi-share/ethernet.h: Likewise.
* rdi-share/host.h: Likewise.
* rdi-share/hostchan.c: Likewise.
* rdi-share/hostchan.h: Likewise.
* rdi-share/hsys.c: Likewise.
* rdi-share/hsys.h: Likewise.
* rdi-share/logging.c: Likewise.
* rdi-share/logging.h: Likewise.
* rdi-share/msgbuild.c: Likewise.
* rdi-share/msgbuild.h: Likewise.
* rdi-share/params.c: Likewise.
* rdi-share/params.h: Likewise.
* rdi-share/rx.c: Likewise.
* rdi-share/rxtx.h: Likewise.
* rdi-share/serdrv.c: Likewise.
* rdi-share/serpardr.c: Likewise.
* rdi-share/sys.h: Likewise.
* rdi-share/tx.c: Likewise.
* rdi-share/unixcomm.c: Likewise.
* rdi-share/unixcomm.h: Likewise.

18 years ago* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
Mark Kettenis [Sat, 21 Jan 2006 00:04:20 +0000 (00:04 +0000)]
* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
Change type of last argument to `gdb_byte *'.

18 years ago*** empty log message ***
gdbadmin [Sat, 21 Jan 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* hppa-tdep.h (hppa_in_solib_call_trampoline)
Mark Kettenis [Fri, 20 Jan 2006 23:37:07 +0000 (23:37 +0000)]
* hppa-tdep.h (hppa_in_solib_call_trampoline)
(hppa_skip_trampoline_code): New prototypes.
* hppa-tdep.c (struct insn_pattern): New.
(hppa_long_branch_stub, hppa_long_branch_pic_stub)
(hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
here from hppa-linux-tdep.c
(HPPA_MAX_INSN_PATTERN_LEN): New define.
(hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
(hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
functions based on functions removed from hppa-linux-tdep.c.
* hppa-linux-tdep.c (hppa_long_branch_stub)
(hppa_long_branch_pic_stub, hppa_import_stub)
(hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
(insns_match_pattern_relaxed, hppa_linux_in_dyncall)
(hppa_linux_in_solib_call_trampoline)
(hppa_linux_skip_trampoline_code): Removed.
(hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
hppa_in_solib_call_trampoline and skip_trampoline_code to
hppa_skip_trampoline_code.
* hppabsd-tdep.c (hppabsd_init_abi): Set
TDEP->in_solib_call_trampoline and skip_trampoline_code.

18 years ago * gdb.cp/maint.exp: Set complaints to a positive value.
Daniel Jacobowitz [Fri, 20 Jan 2006 23:08:48 +0000 (23:08 +0000)]
* gdb.cp/maint.exp: Set complaints to a positive value.

18 years agodaily update
Alan Modra [Fri, 20 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agogdb/ChangeLog:
Jim Blandy [Fri, 20 Jan 2006 22:31:07 +0000 (22:31 +0000)]
gdb/ChangeLog:
2006-01-20  Jim Blandy  <jimb@redhat.com>

* MAINTAINERS: Change my E-mail address.

18 years agogdb/ChangeLog:
Jim Blandy [Fri, 20 Jan 2006 21:58:16 +0000 (21:58 +0000)]
gdb/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

* configure.ac: Add -Wno-pointer-sign to list of build warnings.
* configure: Regenerated.

gdb/doc/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
of warning flags.

18 years ago * MAINTAINERS: Overhaul.
Daniel Jacobowitz [Fri, 20 Jan 2006 20:50:15 +0000 (20:50 +0000)]
* MAINTAINERS: Overhaul.

18 years ago * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
Jie Zhang [Fri, 20 Jan 2006 17:22:50 +0000 (17:22 +0000)]
* config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
in load immediate intruction.

18 years ago * config/bfin-parse.y (value_match): Use correct conversion
Jie Zhang [Fri, 20 Jan 2006 16:57:09 +0000 (16:57 +0000)]
* config/bfin-parse.y (value_match): Use correct conversion
specifications in template string for __FILE__ and __LINE__.
(binary): Ditto.
(unary): Ditto.

18 years ago*** empty log message ***
gdbadmin [Fri, 20 Jan 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 19 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2006-01-18 Roger Sayle <roger@eyesopen.com>
Eric Christopher [Thu, 19 Jan 2006 01:06:48 +0000 (01:06 +0000)]
2006-01-18  Roger Sayle  <roger@eyesopen.com>

* emultempl/irix.em: Use lbasename instead of basename.

18 years ago*** empty log message ***
gdbadmin [Thu, 19 Jan 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 18 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* amd64-tdep.c (amd64_sse_type): Remove.
Mark Kettenis [Wed, 18 Jan 2006 21:26:47 +0000 (21:26 +0000)]
* amd64-tdep.c (amd64_sse_type): Remove.
(amd64_register_info): Use i386_eflags_type and i386_sse_type
where appropriate.
(AMD64_NUM_REGS): Use ARRAY_SIZE.
(amd64_register_type): Remove code to build amd_sse_type.
* i386-tdep.c (i386_eflag_type): New variable.
(i386_mmx_type, i386_sse_type): Make global.
(i386_init_types): New function.
(i386_build_mmx_type, i386_build_sse_type): Remove functions.
(i386_register_type): Return i386_eflag_type, i386_sse_type and
i386_mmx_type when appropriate.
(_initialize_i386_tdep): Call i386_init_types.
* i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
Declare extern.
Based on a previous patch form Michal Ludvig:

18 years agoBased on a previous patch form Michal Ludvig:
Mark Kettenis [Wed, 18 Jan 2006 21:24:19 +0000 (21:24 +0000)]
Based on a previous patch form Michal Ludvig:
* gdbtypes.c (append_flags_type_flag, init_flags_type): New
functions.
(is_integral_type, rank_one_type, recursive_dump_type): Add
support for TYPE_CODE_FLAGS.
* gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
(append_flags_type_field, init_flags_type): New prototypes.
* ada-valprint.c (ada_val_print_1): Add support for
TYPE_CODE_FLAGS.
* c-valprint.c (c_val_print): Likewise.
* f-valprint.c (f_val_print): Likewise.
* p-valprint.c (pascal_val_print): Likewise.
* valprint.c (val_print_type_code_flags): New function.
* valprint.h (val_print_type_code_flags): New prototype.
* value.c (unpack_long, value_from_longest): Add support for
TYPE_CODE_FLAGS.

18 years agoinclude/elf/ChangeLog:
Alexandre Oliva [Wed, 18 Jan 2006 21:07:51 +0000 (21:07 +0000)]
include/elf/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
* i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
New.
* x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
R_X86_64_TLSDESC): New.
bfd/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-i386.c (elf_howto_table): New relocations.
(R_386_tls): Adjust.
(elf_i386_reloc_type_lookup): Map new relocations.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf_i386_link_hash_entry): Add tlsdesc_got field.
(struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
(elf_i386_local_tlsdesc_gotent): New macro.
(struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
(elf_i386_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
(elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_check_relocs): Likewise.  Allocate space for
local_tlsdesc_gotent.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(allocate_dynrelocs): Count function PLT relocations.  Reserve
space for TLS descriptors and relocations.
(elf_i386_size_dynamic_sections): Reserve space for TLS
descriptors and relocations.  Set up sgotplt_jump_table_size.
Don't zero reloc_count in srelplt.
(elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
(elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf_backend_always_size_sections): Define.
* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
(R_X86_64_standard): Adjust.
(x86_64_reloc_map): Map new relocs.
(elf64_x86_64_rtype_to_howto): New, split out of...
(elf64_x86_64_info_to_howto): ... this function, and...
(elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
(struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
(elf64_x86_64_local_tlsdesc_gotent): New macro.
(struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
tlsdesc_got and sgotplt_jump_table_size fields.
(elf64_x86_64_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf64_x86_64_link_hash_table_create): Initialize new fields.
(elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(elf64_x86_64_check_relocs): Likewise.  Allocate space for
local_tlsdesc_gotent.
(elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(allocate_dynrelocs): Count function PLT relocations.  Reserve
space for TLS descriptors and relocations.
(elf64_x86_64_size_dynamic_sections): Reserve space for TLS
descriptors and relocations.  Set up sgotplt_jump_table_size,
tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
and DT_TLSDESC_GOT.
(elf64_x86_64_always_size_sections): New.  Set up
_TLS_MODULE_BASE_.
(elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
(elf_backend_always_size_sections): Define.
binutils/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
DT_TLSDESC_PLT.
gas/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
(optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
displacement bits.
(build_modrm_byte): Set up zero modrm for TLS desc calls.
(lex_got): Handle @tlsdesc and @tlscall.
(md_apply_fix, tc_gen_reloc): Handle the new relocations.
ld/testsuite/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
Add new tests.
* ld-i386/pcrel16.d: Add -melf_i386.
* ld-i386/pcrel8.d: Likewise.
* ld-i386/tlsbindesc.dd: New.
* ld-i386/tlsbindesc.rd: New.
* ld-i386/tlsbindesc.s: New.
* ld-i386/tlsbindesc.sd: New.
* ld-i386/tlsbindesc.td: New.
* ld-i386/tlsdesc.dd: New.
* ld-i386/tlsdesc.rd: New.
* ld-i386/tlsdesc.s: New.
* ld-i386/tlsdesc.sd: New.
* ld-i386/tlsdesc.td: New.
* ld-i386/tlsgdesc.dd: New.
* ld-i386/tlsgdesc.rd: New.
* ld-i386/tlsgdesc.s: New.
* ld-x86-64/x86-64.exp: Run new tests.
* ld-x86-64/tlsbindesc.dd: New.
* ld-x86-64/tlsbindesc.rd: New.
* ld-x86-64/tlsbindesc.s: New.
* ld-x86-64/tlsbindesc.sd: New.
* ld-x86-64/tlsbindesc.td: New.
* ld-x86-64/tlsdesc.dd: New.
* ld-x86-64/tlsdesc.pd: New.
* ld-x86-64/tlsdesc.rd: New.
* ld-x86-64/tlsdesc.s: New.
* ld-x86-64/tlsdesc.sd: New.
* ld-x86-64/tlsdesc.td: New.
* ld-x86-64/tlsgdesc.dd: New.
* ld-x86-64/tlsgdesc.rd: New.
* ld-x86-64/tlsgdesc.s: New.

18 years agomerge from gcc
DJ Delorie [Wed, 18 Jan 2006 21:05:51 +0000 (21:05 +0000)]
merge from gcc

18 years agofix typo
Arnold Metselaar [Wed, 18 Jan 2006 15:00:22 +0000 (15:00 +0000)]
fix typo

18 years agoAdd tests for instructions with offsets.
Arnold Metselaar [Wed, 18 Jan 2006 14:52:11 +0000 (14:52 +0000)]
Add tests for instructions with offsets.

18 years agofixes related to indexed operands
Arnold Metselaar [Wed, 18 Jan 2006 13:48:46 +0000 (13:48 +0000)]
fixes related to indexed operands

18 years agoPR binutils/1391
Nick Clifton [Wed, 18 Jan 2006 11:01:09 +0000 (11:01 +0000)]
PR binutils/1391
* objcopy.c (copy_object): For PE format targets set the VMA of a newly
  created gnu_debuglink section to a non-zero, aligned, contiguous value.
* Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
* Makefile.in: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Wed, 18 Jan 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* MAINTAINERS: Very belatedly remove myself from from the list of people caught
Christopher Faylor [Tue, 17 Jan 2006 23:42:28 +0000 (23:42 +0000)]
* MAINTAINERS: Very belatedly remove myself from from the list of people caught
up in the paper trail.

18 years agodaily update
Alan Modra [Tue, 17 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agogdb/ChangeLog:
Jim Blandy [Tue, 17 Jan 2006 22:30:29 +0000 (22:30 +0000)]
gdb/ChangeLog:
2006-01-17  Jim Blandy  <jimb@redhat.com>

* symtab.h (struct general_symbol_info): Use gdb_byte for
value.bytes.
* stabsread.c (define_symbol): Use gdb_byte for the buffer holding
a floating-point constant's value.
* dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
to char *.
* findvar.c (read_var_value): Eliminate needless temporary.

18 years agogdb/ChangeLog:
Jim Blandy [Tue, 17 Jan 2006 22:27:21 +0000 (22:27 +0000)]
gdb/ChangeLog:
2006-01-17  Jim Blandy  <jimb@redhat.com>

* dwarf2-frame.c (dwarf2_read_section): Update forward declaration
to match prior change to dwarf2_read_section's type.

18 years ago2006-01-16 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Tue, 17 Jan 2006 22:21:13 +0000 (22:21 +0000)]
2006-01-16  Paul Gilliam  <pgilliam@us.ibm.com>

* ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
* rs6000-tdep.c (insn_changes_sp_or_jumps)
(rs6000_in_function_epilogue_p): New functions.
(rs6000_gdbarch_init): Set in_function_epilogue_p.

18 years ago2006-01-17 Jim Blandy <jimb@redhat.com>
Jim Blandy [Tue, 17 Jan 2006 22:01:42 +0000 (22:01 +0000)]
2006-01-17  Jim Blandy  <jimb@redhat.com>

* dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
(struct line_header, struct partial_die_info, struct dwarf_block):
Use gdb_byte for members that refer to Dwarf section contents.
(dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
dwarf_decode_macros, load_comp_unit, load_partial_dies,
locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
read_8_bytes, read_address, read_attribute, read_attribute_value,
read_comp_unit, read_comp_unit_head, read_die_and_children,
read_die_and_siblings, read_full_die, read_indirect_string,
read_initial_length, read_n_bytes, read_offset, read_partial_die,
read_signed_leb128, read_string, read_unsigned_leb128,
skip_children, skip_leb128, skip_one_die): Same.

18 years agoUse unsigned char to hold data to be disassembled.
Arnold Metselaar [Tue, 17 Jan 2006 21:15:56 +0000 (21:15 +0000)]
Use unsigned char to hold data to be disassembled.

18 years ago PR binutils/1486
Andreas Schwab [Tue, 17 Jan 2006 17:39:20 +0000 (17:39 +0000)]
PR binutils/1486
binutils/:
* configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
* configure: Regenerate.
* objdump.c (struct objdump_disasm_info): Don't check for
DISASSEMBLER_NEEDS_RELOCS.
(objdump_print_addr): Likewise.
(disassemble_bytes): Check disassembler_needs_relocs from
disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
at compile-time.
(disassemble_section): Likewise.
(disassemble_data): Initialize it.

include/:
* dis-asm.h (struct disassemble_info): Add
disassembler_needs_relocs.

objdump/:
* disassemble.c (disassemble_init_for_target): Set
disassembler_needs_relocs for bfd_arch_arm.

18 years ago2006-01-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 17 Jan 2006 17:12:58 +0000 (17:12 +0000)]
2006-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2096
* dwarf2.c (comp_unit_contains_address): Update comment.
(_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
lma.  Return TRUE only if both comp_unit_contains_address and
comp_unit_find_nearest_line return TRUE.
(_bfd_dwarf2_find_line): Use section's vma, instead of lma.

18 years ago * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
Alan Modra [Tue, 17 Jan 2006 15:32:41 +0000 (15:32 +0000)]
* elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
(bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
elf_gc_mark_dynamic_ref_symbol.  Make global.
(bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
* elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
(ppc64_elf_gc_mark_dynamic_ref): New function.

18 years ago * complaints.c (stop_whining): Make signed.
Daniel Jacobowitz [Tue, 17 Jan 2006 14:57:43 +0000 (14:57 +0000)]
* complaints.c (stop_whining): Make signed.
* linux-thread-db.c (thread_db_store_registers): Use gdb_byte.

18 years ago * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
Daniel Jacobowitz [Tue, 17 Jan 2006 14:47:31 +0000 (14:47 +0000)]
* dwarf2read.c, remote-fileio.c, remote.h: Update copyright
notices.

18 years ago * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
Daniel Jacobowitz [Tue, 17 Jan 2006 14:30:20 +0000 (14:30 +0000)]
* dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
(read_offset): Change BYTES_READ argument to unsigned int.
(dwarf2_build_psymtabs_easy, read_comp_unit_head)
(create_all_comp_units, dwarf2_get_pc_bounds)
(dwarf_decode_line_header, var_decode_location)
(dwarf_decode_macros): Change local BYTES_READ variables to
unsigned int.
(read_indirect_string): Remove obsolete cast.

18 years ago * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
Daniel Jacobowitz [Tue, 17 Jan 2006 14:11:16 +0000 (14:11 +0000)]
* remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
argument.
(remote_fileio_func_open, remote_fileio_func_rename)
(remote_fileio_func_unlink, remote_fileio_func_stat)
(remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
(remote_fileio_func_system): Cast the arguments to
remote_read_bytes and remote_write_bytes.
(remote_fileio_func_read, remote_fileio_func_write): Use a
gdb_byte buffer.
* remote.h (remote_read_bytes, remote_write_bytes): Update
prototypes.
* remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
(threadref_to_int): Replace bogus char * cast.
(remote_unpack_thread_info_response): Use int for tag.
(remote_threads_extra_info, remote_check_symbols): Cast string
arguments to hex2bin.
(remote_wait): Use a char buffer for packets and a gdb_byte
buffer for registers.
(remote_async_wait): Likewise.
(remote_prepare_to_store, store_register_using_P)
(remote_store_registers): Use gdb_byte buffers.
(remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
for MYADDR and char buffers for strings.
(remote_xfer_partial): Add casts for string operations on READBUF.
(remote_rcmd): Cast strings passed to bin2hex.

18 years ago * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
Alan Modra [Tue, 17 Jan 2006 13:00:16 +0000 (13:00 +0000)]
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.

18 years agoUpdate copyright date
Nick Clifton [Tue, 17 Jan 2006 11:09:56 +0000 (11:09 +0000)]
Update copyright date

18 years agoPR binutils/2159
Nick Clifton [Tue, 17 Jan 2006 10:34:43 +0000 (10:34 +0000)]
PR binutils/2159
* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused parameters.

18 years ago*** empty log message ***
gdbadmin [Tue, 17 Jan 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agosplit changelogs
Alan Modra [Mon, 16 Jan 2006 23:15:07 +0000 (23:15 +0000)]
split changelogs

18 years agodaily update
Alan Modra [Mon, 16 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * aclocal.m4: Regenerate.
Mark Mitchell [Mon, 16 Jan 2006 22:36:36 +0000 (22:36 +0000)]
* aclocal.m4: Regenerate.

18 years agoSync top level config files from the master config repository
Nick Clifton [Mon, 16 Jan 2006 17:34:37 +0000 (17:34 +0000)]
Sync top level config files from the master config repository

18 years ago2006-01-16 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 16 Jan 2006 16:23:30 +0000 (16:23 +0000)]
2006-01-16  Paul Brook  <paul@codesourcery.com>

opcodes/
* m68k-opc.c(m68k_opcodes): Fix opcodes for ColdFire f?abss,
f?add?, and f?sub? instructions.

gas/testsuite/
* gas/m68k/all.exp: Add mcf-fpu.
* gas/m68k/mcf-fpu.d: New file.
* gas/m68k/mcf-fpu.s: New file.