binutils-gdb.git
15 years agodaily update
Alan Modra [Sun, 8 Feb 2009 23:59:35 +0000 (23:59 +0000)]
daily update

15 years ago * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert
Dave Anglin [Sun, 8 Feb 2009 17:08:31 +0000 (17:08 +0000)]
* elf64-hppa.c: Remove PARAMS macro.  Replace PTR with void *.  Convert
functions to C90.
* elf64-hppa.h: Likewise.

15 years ago*** empty log message ***
gdbadmin [Sun, 8 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
Daniel Jacobowitz [Sat, 7 Feb 2009 20:41:09 +0000 (20:41 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
inside the loop.  Only call addrmap_set_empty if the compilation unit
had DW_AT_high_pc and DW_AT_low_pc.  Update call to
scan_partial_symbols.
(scan_partial_symbols): Take NEED_PC argument and pass it along with
LOWPC and HIGHPC.
(add_partial_namespace): Take NEED_PC argument and pass it through.
(add_partial_subprogram): Take NEED_PC argument.  Update the addrmap
if necessary.

15 years ago * NEWS: Mention inspecting extra signal information, $_siginfo,
Pedro Alves [Sat, 7 Feb 2009 15:00:57 +0000 (15:00 +0000)]
* NEWS: Mention inspecting extra signal information, $_siginfo,
and the qXfer:siginfo:read and qXfer:siginfo:write packets.

15 years ago * linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
Pedro Alves [Sat, 7 Feb 2009 14:50:25 +0000 (14:50 +0000)]
* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
isn't defined.

15 years ago*** empty log message ***
Eli Zaretskii [Sat, 7 Feb 2009 10:02:27 +0000 (10:02 +0000)]
*** empty log message ***

15 years ago(Basic Python): Fix change from 2009-02-04.
Eli Zaretskii [Sat, 7 Feb 2009 09:59:31 +0000 (09:59 +0000)]
(Basic Python): Fix change from 2009-02-04.
(Commands In Python): Fix COMMAND_* constants in last change.  Use @kbd for
interactive input.  Add cross-references and index entries.

15 years ago * object.cc (Sized_relobj::do_layout): Make info message start
Ian Lance Taylor [Sat, 7 Feb 2009 01:05:15 +0000 (01:05 +0000)]
* object.cc (Sized_relobj::do_layout): Make info message start
with lower case letter.

15 years ago * binary.cc: Fix file comment.
Ian Lance Taylor [Sat, 7 Feb 2009 01:03:32 +0000 (01:03 +0000)]
* binary.cc: Fix file comment.

15 years agodaily update
Alan Modra [Sat, 7 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 7 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * options.h (enum Incremental_disposition): Define.
Ian Lance Taylor [Fri, 6 Feb 2009 23:49:43 +0000 (23:49 +0000)]
* options.h (enum Incremental_disposition): Define.
(class General_options): Add new options: --incremental,
--incremental_changed, --incremental_unchanged,
--incremental_unknown.  Add incremental_disposition_ and
implicit_incremental_ fields.
(General_options::incremental_disposition): New function.
(class Position_dependent_options): Add incremental_disposition
option.
(Position_dependent_options::copy_from_options): Set incremental
dispositions.
* options.cc (General_options::parse_incremental_changed): New
function.
        (General_options::parse_incremental_unchanged): New function.
        (General_options::parse_incremental_unknown): New function.
        (General_options::General_options): Initialize new fields
incremental_disposition_ and implicit_incremental_.
        (General_options::finalize): Check for uasge of --incremental-*
without --incremental.

15 years ago * i386.h: Add comment regarding sse* insns and prefixes.
Doug Evans [Fri, 6 Feb 2009 23:14:34 +0000 (23:14 +0000)]
* i386.h: Add comment regarding sse* insns and prefixes.

15 years ago * amd64-linux-nat.c (compat_int_t, compat_uptr_t, compat_time_t)
Pedro Alves [Fri, 6 Feb 2009 23:06:58 +0000 (23:06 +0000)]
* amd64-linux-nat.c (compat_int_t, compat_uptr_t, compat_time_t)
(compat_timer_t, compat_clock_t, struct compat_timeval)
(compat_sigval_t, compat_siginfo_t): New types.
(cpt_si_pid, cpt_si_uid, cpt_si_timerid, cpt_si_overrun)
(cpt_si_status, cpt_si_utime, cpt_si_stime, cpt_si_ptr)
(cpt_si_addr, cpt_si_band, cpt_si_fd): New defines.
(compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
(amd64_linux_siginfo_fixup): New.
* linux-nat.c (linux_nat_siginfo_fixup): New.
(siginfo_fixup): New.
(linux_xfer_siginfo): Use siginfo_fixup to convert between the
siginfo layout expected by ptrace and the siginfo layout of the
inferior.
(linux_nat_set_siginfo_fixup): New.
* linux-nat.h (linux_nat_set_siginfo_fixup): Declare.

15 years ago2009-02-06 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Fri, 6 Feb 2009 22:59:01 +0000 (22:59 +0000)]
2009-02-06  Pedro Alves  <pedro@codesourcery.com>

gdb/
* target.h (enum target_object): Add new TARGET_OBJECT_SIGNAL_INFO.
* infrun.c (siginfo_value_read, siginfo_value_write): New.
(siginfo_value_funcs): New.
(siginfo_make_value): New.
(_initialize_infrun): Create the $_siginfo convenience variable.
* gdbtypes.h (append_composite_type_field_aligned): Declare.
* gdbtypes.c (append_composite_type_field): Rename to...
(append_composite_type_field_aligned): ... this.  Add ALIGNMENT
argument.  Handle it.
(append_composite_type_field): Rewrite on top of
append_composite_type_field_aligned.
* value.h (internalvar_make_value): New typedef.
(struct internalvar) <make_value>: New field.
(create_internalvar_type_lazy): Declare.
* value.c (create_internalvar): Clear make_value.
(create_internalvar_type_lazy): New.
(value_of_internalvar): If make_value is set use it.
(preserve_values): Skip internal variables that don't have a
value.
* gdbarch.sh (get_siginfo_type): New.
* gdbarch.h, gdbarch.c: Regenerate.

* linux-tdep.h, linux-tdep.c: New.
* amd64-linux-tdep.c: Include "linux-tdep.h".
(amd64_linux_init_abi): Register linux_get_siginfo_type and
linux_get_siginfo_mapper.
* i386-linux-tdep.c: Include "linux-tdep.h".
(i386_linux_init_abi): Register linux_get_siginfo_type and
linux_get_siginfo_mapper.
* arm-linux-tdep.c: Include "linux-tdep.h".
(i386_linux_init_abi): Register linux_get_siginfo_type and
linux_get_siginfo_mapper.

* linux-nat.c (linux_xfer_siginfo): New.
(linux_nat_xfer_partial): Handle TARGET_OBJECT_SIGNAL_INFO.
* remote.c (PACKET_qXfer_siginfo_read)
(PACKET_qXfer_siginfo_write): New.
(feature remote_protocol_features): Add "qXfer:siginfo:read" and
"qXfer:siginfo:write" features.
(remote_xfer_partial): Handle TARGET_OBJECT_SIGNAL_INFO.
(_initialize_remote): Add "set/show remote read-siginfo-object"
and "set/show remote write-siginfo-object" commands.

* Makefile.in (ALL_TARGET_OBS): Add linux-tdep.o.
(HFILES_NO_SRCDIR): Add linux-tdep.h.
(ALLDEPFILES): Add linux-tdep.c.

* configure.tgt (arm*-*-linux* | arm*-*-uclinux*)
(i[34567]86-*-linux*, x86_64-*-linux*): Add linux-tdep.o to
gdb_target_obs.

2009-02-06  Pedro Alves  <pedro@codesourcery.com>

gdb/gdbserver/
* server.c (handle_query): Report qXfer:siginfo:read and
qXfer:siginfo:write as supported and handle them.
* target.h (struct target_ops) <qxfer_siginfo>: New field.
* linux-low.c (linux_xfer_siginfo): New.
(linux_target_ops): Set it.

2009-02-06  Pedro Alves  <pedro@codesourcery.com>

gdb/doc/
* gdb.texinfo (Signals): Document $_siginfo.
(Convenience Variables): Mention $_siginfo.
(Remote Configuration): Document qXfer:siginfo:read,
qXfer:siginfo:write packets, and the read-siginfo-object,
write-siginfo-object commands.

2009-02-06  Pedro Alves  <pedro@codesourcery.com>

gdb/testsuite/
* gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.

15 years agogdb/
Pedro Alves [Fri, 6 Feb 2009 22:50:52 +0000 (22:50 +0000)]
gdb/
2009-02-06  Jim Blandy  <jimb@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>
    Vladimir Prus  <vladimir@codesourcery.com>
    Pedro Alves  <pedro@codesourcery.com>

* defs.h (enum lval_type): New value: lval_computed.
* value.h (struct lval_funcs): New type.
(allocate_computed_value, value_computed_funcs)
(value_computed_closure): New declarations.
* value.c (struct value): Add a structure to the location union
for computed lvalues, containing 'funcs' and 'closure' members.
(allocate_computed_value, value_computed_funcs)
(value_computed_closure): New functions.
(value_free): For computed lvalues, call the closure's
'free_closure' function before freeing the value itself.
(value_copy): If we're copying an lval_computed value, call the
closure's 'copy_closure' function.
(set_value_component_location): If the original value is a
computed lvalue, then call the closure's 'copy_closure' function.
(value_of_internalvar): If an internal variable's value is a
computed lvalue, make retrieving its value produce an equivalent
computed lvalue.
* valops.c (value_fetch_lazy): Unlazy computed lvalues by calling
their read function.
(value_assign): Assign to computed lvalues by calling their write
function.

gdb/doc/
2009-02-06  Pedro Alves  <pedro@codesourcery.com>

* gdbint.texinfo (Values): New chapter.

15 years ago * linux-nat.c (linux_nat_wait): Adjust.
Pedro Alves [Fri, 6 Feb 2009 22:21:26 +0000 (22:21 +0000)]
* linux-nat.c (linux_nat_wait): Adjust.
(linux_nat_pid_to_str): Adjust.  Remove call to thread_db_init.
* linux-nat.h (thread_db_init): Delete declaration.
* linux-thread-db.c (target_beneath): Delete.
(thread_db_init): Delete.
(thread_db_detach): Use find_target_beneath.
(thread_db_wait): Adjust interface.  Use find_target_beneath.
(thread_db_mourn_inferior): Use find_target_beneath.
(thread_db_can_async_p, thread_db_is_async_p, thread_db_async)
(thread_db_async_mask): Delete.
(thread_db_pid_to_str): Adjust interface.  Use
find_target_beneath.
(thread_db_get_thread_local_address): Adjust interface.  Use
find_target_beneath.
(init_thread_db_ops): Delete references to delete functions.
* target.c (update_current_target): Don't inherit or default
to_wait.  Don't inherit to_pid_to_str and
to_get_thread_local_address.
(target_translate_tls_address): Look for a pushed target that
implements to_get_thread_local_address, and use it instead of
checking for target_get_thread_local_address_p.
(target_wait, target_pid_to_str): Reimplement as functions.
(dummy_pid_to_str): New.
(init_dummy_target): Register it.
(debug_to_wait): Delete.
* target.h (struct target_ops): Make to_wait, to_pid_to_str and
to_get_thread_local_address accept a pointer to struct target_ops.
(target_wait): Delete macro, and declare as function.
(target_pid_to_str): Likewise.
(target_get_thread_local_address)
(target_get_thread_local_address_p): Delete.
(noprocess): Add NORETURN and ATTR_NORETURN tags.
* inf-ptrace.c (inf_ptrace_wait): Adjust.
(inf_ptrace_pid_to_str): New.
(inf_ptrace_target): Use inf_ptrace_pid_to_str.
* aix-thread.c (aix_thread_wait, aix_thread_pid_to_str): Adjust.
* bsd-kvm.c (bsd_kvm_pid_to_str): Adjust.
* bsd-uthread.c (bsd_uthread_wait, bsd_uthread_pid_to_str):
Adjust.
* corelow.c (core_pid_to_str): Adjust.
* darwin-nat.c (darwin_wait, darwin_pid_to_str): Adjust.
* dec-thread.c (dec_thread_wait, dec_thread_pid_to_str): Adjust.
* gnu-nat.c (gnu_wait, gnu_pid_to_str): Adjust.
* go32-nat.c (go32_wait, go32_pid_to_str): Adjust.
* hpux-thread.c (hpux_thread_wait): Adjust.
* inf-ttrace.c (inf_ttrace_wait, inf_ttrace_pid_to_str): Adjust.
* monitor.c (monitor_wait, monitor_pid_to_str): Adjust.
* nto-procfs.c (procfs_wait, procfs_pid_to_str): Adjust.
* procfs.c (procfs_pid_to_str): Adjust.
* remote-m32r-sdi.c (m32r_wait, m32r_pid_to_str): Adjust.
* remote-mips.c (mips_wait): Adjust.
* remote-sim.c (gdbsim_wait, gdbsim_pid_to_str): Adjust.
* remote.c (remote_wait, remote_pid_to_str)
(remote_get_thread_local_address): Adjust.
* rs6000-nat.c (rs6000_wait): Adjust.
* sol-thread.c (procfs_pid_to_str): Adjust declaration.
(sol_thread_wait, solaris_pid_to_str): Adjust.
* spu-linux-nat.c (spu_child_wait): Adjust.
* windows-nat.c (windows_wait, windows_pid_to_str): Adjust.

15 years agogdb/
Thiago Jung Bauermann [Fri, 6 Feb 2009 21:33:59 +0000 (21:33 +0000)]
gdb/
2009-02-06  Tom Tromey  <tromey@redhat.com>

* Makefile.in (SUBDIR_PYTHON_OBS): Add python-cmd.o.
(SUBDIR_PYTHON_SRCS): Add python-cmd.c.
(python-cmd.o): New target.
* cli/cli-decode.c (set_cmd_completer): Add self parameter to
completer prototype.
(add_cmd): Initialize destroyer member of cmd_list_element. Use
make_symbol_completion_list_fn as completer.
(delete_cmd): Call destroyer if one is set.
* cli/cli-decode.h (cmd_list_element): Add cmd parameter to
completer member.  Add destroyer member.
(set_cmd_completer): Add self parameter to
completer prototype.
* command.h (set_cmd_completer): Add cmd parameter to
completer prototype.
* completer.c (noop_completer, filename_completer,
location_completer, expression_completer, command_completer): Adapt
to new completer prototype.
(complete_line_internal): Pass new parameter to completer function.
* completer.h (noop_completer, filename_completer,
location_completer, expression_completer, command_completer): Adapt
prototypes to new completer prototype.
* interps.c (interpreter_completer): Adapt to new completer
prototype.
* python/python-cmd.c: New file.
* python/python-internal.h (gdbpy_initialize_commands): Add
prototype.
(gdbpy_doc_cst): Add forward declaration.
* python/python.c (gdbpy_doc_cst): Declare.
(_initialize_python): Call gdbpy_initialize_commands.  Initialize
gdbpy_doc_cst.
* symtab.c (make_symbol_completion_list_fn): New function.
* symtab.h (make_symbol_completion_list_fn): Add prototype.

gdb/doc/
2009-02-06  Tom Tromey  <tromey@redhat.com>

* gdb.texinfo (Python API): Add entry for Commands In Python.
(Commands In Python): New node.

gdb/testsuite/
2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* gdb.python/python-cmd.exp: New file.

15 years ago2009-02-06 Chris Demetriou <cgd@google.com>
Chris Demetriou [Fri, 6 Feb 2009 19:20:10 +0000 (19:20 +0000)]
2009-02-06  Chris Demetriou  <cgd@google.com>

* gold.h (gold_undefined_symbol): Change to take only a Symbol
pointer and to report location as the file name associated with
the symbol.
(gold_undefined_symbol_at_location): New function to replace the
old gold_undefined_symbol functionality.
* target-reloc.h (relocate_section): Update to use
gold_undefined_symbol_at_location.
* symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
Call gold_undefined_symbol function rather than gold_error.
* errors.h (Errors::undefined_symbol): Take location as a
string, rather than calculating it from a relocation.
* errors.cc (Errors::fatal): Print "fatal error:" before the
formatted message.
(Errors::error, Errors::error_at_location): Print "error: "
before the formatted message.
(Errors::undefined_symbol): Take location as a string, rather
than calculating it from a relocation.
(gold_undefined_symbol_at_location): New function akin to
old gold_undefined_symbol, calculates location from relocation.
(gold_undefined_symbol): Change to take only a Symbol pointer
and to report location as the file name associated with the symbol.
* testsuite/debug_msg.sh: Update for changed error messages.
* testsuite/undef_symbol.sh: Likewise.

15 years ago * lib/ld-lib.exp (check_gc_sections_available): Return 0 for
Joseph Myers [Fri, 6 Feb 2009 16:56:12 +0000 (16:56 +0000)]
* lib/ld-lib.exp (check_gc_sections_available): Return 0 for
*-*-mingw*.

15 years ago * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
Joseph Myers [Fri, 6 Feb 2009 14:11:00 +0000 (14:11 +0000)]
* elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
.sbss handling.

15 years ago PR 9814
Nick Clifton [Fri, 6 Feb 2009 12:51:52 +0000 (12:51 +0000)]
    PR 9814
        * config/tc-arm.c (MODE_RECORDED): New define.
        (output_inst): Record the thumb_mode in the current frag.
        (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
        (arm_init_frag): Only set the tc_frag_data field if it has not
        already been set.

15 years ago* gas/mips/beq.d: Make no assumptions about the symbols used as
Nick Clifton [Fri, 6 Feb 2009 12:20:12 +0000 (12:20 +0000)]
* gas/mips/beq.d: Make no assumptions about the symbols used as
        branch targets in the disassembly, or the names of the relocs
        produced.
        * gas/mips/bge.d: Likewise.
        * gas/mips/bgeu.d: Likewise.
        * gas/mips/blt.d: Likewise.
        * gas/mips/bltu.d: Likewise.
        * gas/mips/mips32-sf32.d: Likewise.
        * gas/mips/mips1-fp.d: Likewise.
        * gas/mips/branch-misc-1.d: Skip for the mips-ecoff target.
        * gas/mips/branch-misc-2-64.d: Likewise.
        * gas/mips/branch-misc-2.d: Likewise.
        * gas/mips/branch-misc-2pic-64.d: Likewise.
        * gas/mips/branch-misc-2pic.d: Likewise.
        * gas/mips/branch-swap.d: Likewise.

15 years ago * gas/elf/symtab.d: But do not run the test for the Alpha or HPPA
Nick Clifton [Fri, 6 Feb 2009 12:09:40 +0000 (12:09 +0000)]
    * gas/elf/symtab.d: But do not run the test for the Alpha or HPPA
        ports.

15 years agoUpdated Vietnamese translation.
Nick Clifton [Fri, 6 Feb 2009 10:47:33 +0000 (10:47 +0000)]
Updated Vietnamese translation.

15 years ago2009-02-06 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 6 Feb 2009 08:48:29 +0000 (08:48 +0000)]
2009-02-06  Tristan Gingold  <gingold@adacore.com>

* gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.

15 years ago * target.c (target_get_osdata): Check for equal or higher than
Pedro Alves [Fri, 6 Feb 2009 02:08:48 +0000 (02:08 +0000)]
* target.c (target_get_osdata): Check for equal or higher than
process_stratum, not dummy_stratum.

15 years agogas/testsuite/
Peter Bergner [Fri, 6 Feb 2009 01:50:54 +0000 (01:50 +0000)]
gas/testsuite/
* gas/ppc/booke.s ("dcbt", "dcbtst"): New tests.
* gas/ppc/booke.d: Likewise.
* gas/ppc/power4_32.s: Likewise.
* gas/ppc/power4_32.d: Likewise.

opcodes/
        * ppc-opc.c: Update copyright year.
        (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
        ordering for POWER4 and later and use the correct Server ordering.

15 years ago * remote.c (extended_remote_can_run): Delete.
Pedro Alves [Fri, 6 Feb 2009 01:23:00 +0000 (01:23 +0000)]
* remote.c (extended_remote_can_run): Delete.
(init_remote_ops): Don't register it.
* target.c (target_get_osdata): Don't check for target_can_run.
Instead any target that has already been pushed, otherwise
fallback to the default run target..

15 years ago * target.c (target_create_inferior, target_detach)
Pedro Alves [Fri, 6 Feb 2009 00:27:58 +0000 (00:27 +0000)]
* target.c (target_create_inferior, target_detach)
(target_mourn_inferior, target_attach, target_close): Do target
debug output.
(debug_to_attach, debug_to_detach, debug_to_create_inferior)
(debug_to_mourn_inferior, debug_to_close): Delete.
(setup_target_debug): Adjust.

15 years agodaily update
Alan Modra [Fri, 6 Feb 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 6 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * target.h (target_stopped_data_address_p): Delete declaration,
Pedro Alves [Thu, 5 Feb 2009 23:30:33 +0000 (23:30 +0000)]
* target.h (target_stopped_data_address_p): Delete declaration,
and don't define as macro.
* target.c (target_stopped_data_address_p): Delete.

15 years ago2009-02-05 Catherine Moore <clm@codesourcery.com>
Joseph Myers [Thu, 5 Feb 2009 21:58:41 +0000 (21:58 +0000)]
2009-02-05  Catherine Moore  <clm@codesourcery.com>

* gas/elf/elf.exp: Really run the symtab test.

15 years ago * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
Joseph Myers [Thu, 5 Feb 2009 21:54:43 +0000 (21:54 +0000)]
* ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.

15 years ago * emulparams/m68kelf.sh: Add newline at end of file.
Joseph Myers [Thu, 5 Feb 2009 21:52:36 +0000 (21:52 +0000)]
* emulparams/m68kelf.sh: Add newline at end of file.

15 years agogdb/
Thiago Jung Bauermann [Thu, 5 Feb 2009 21:16:09 +0000 (21:16 +0000)]
gdb/
2009-02-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
    Tom Tromey  <tromey@redhat.com>

* python/python-utils.c (target_string_to_unicode): New function.
* python/python-internal.h (target_string_to_unicode): New prototype.
* python/python-value.c (valpy_string): New function.
(value_object_methods): Add `string' entry.

gdb/doc/
2009-02-05  Tom Tromey  <tromey@redhat.com>

* gdb.texinfo (Values From Inferior): Document Value.string.

15 years ago * target.h (target_tid_to_str): Delete.
Pedro Alves [Thu, 5 Feb 2009 18:54:50 +0000 (18:54 +0000)]
* target.h (target_tid_to_str): Delete.
* thread.c (print_thread_info, thread_apply_all_command)
(thread_apply_command, thread_command, do_captured_thread_select):
Use target_pid_to_str instead of target_tid_to_str.
* linux-fork.c (delete_fork_command): Likewise.

15 years ago * frame.c (has_stack_frames): Make public.
Pedro Alves [Thu, 5 Feb 2009 17:28:21 +0000 (17:28 +0000)]
* frame.c (has_stack_frames): Make public.
(get_prev_frame): Don't allow a NULL this_frame anymore.
* frame.h (has_stack_frames): Declare.
* varobj.c (find_frame_addr_in_frame_chain): Don't ever pass NULL
to get_prev_frame, instead start at get_current_frame.
(varobj_create): Check has_stack_frames before getting any frame;
eliminate one usage of deprecated_safe_get_selected_frame.

15 years agogdb/
Thiago Jung Bauermann [Thu, 5 Feb 2009 16:40:34 +0000 (16:40 +0000)]
gdb/
2009-02-05  Tom Tromey  <tromey@redhat.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* python/python.c (GdbMethods): Move to bottom of file.
(get_parameter, execute_gdb_command, gdbpy_write,
gdbpy_flush): Remove forward declarations.
(eval_python_from_control_command): Fix error checking of function
PyRun_SimpleString.  Fix error string.
(python_command): Likewise.
(execute_gdb_command): Added from_tty argument.

gdb/doc/
2009-02-05  Tom Tromey  <tromey@redhat.com>

* gdb.texinfo (Basic Python): Document execute's from_tty
argument.

15 years ago* Makefile.tpl (stage_last): Define $r and $s before using
Andreas Schwab [Thu, 5 Feb 2009 15:45:55 +0000 (15:45 +0000)]
* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS).
* Makefile.in: Regenerate

15 years ago2009-02-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 5 Feb 2009 13:59:18 +0000 (13:59 +0000)]
2009-02-05  Tristan Gingold  <gingold@adacore.com>

* gdb.base/sigbpt.exp: Detect which signal is received when a NULL
pointer is dereferenced and use this signal name in regexp.
* gdb.base/signull.exp: Ditto.
* gdb.base/sigbpt.c (main): Catch SIGBUS too.
* gdb.base/signull.c (main): Ditto.

15 years ago2009-02-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
Thiago Jung Bauermann [Thu, 5 Feb 2009 12:16:25 +0000 (12:16 +0000)]
2009-02-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* language.h (language_dfn): Add la_get_string member.
(LA_GET_STRING): New macro.
(default_get_string): New prototype.
* language.c (default_get_string): New function.
(unknown_language_defn, auto_language_defn, local_language_defn): Use
default_get_string for la_get_string.
* c-lang.c (c_get_string): New function.
(c_language_defn, cplus_language_defn, asm_language_defn): Use
c_get_string for la_get_string.
(minimal_language_defn): Likewise
* ada-lang.c (ada_language_defn): Likewise.
* f-lang.c (f_language_defn): Use default_get_string for
la_get_string.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (p_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
* typeprint.c (type_to_string): New function.
* value.h (type_to_string): New prototype.
* valprint.c (val_print_string): Factor out code for reading string
from the inferior into its own function.  Put 2 spaces after period
in comments.
(read_string): New function.
* valprint.h (read_string): New prototype.

15 years ago2009-01-07 Pierre Muller <muller@ics.u-strasbg.fr>
Tom Tromey [Thu, 5 Feb 2009 00:13:43 +0000 (00:13 +0000)]
2009-01-07  Pierre Muller  <muller@ics.u-strasbg.fr>
    Tom Tromey  <tromey@redhat.com>

PR breakpoints/8079:
* breakpoint.c (print_one_breakpoint): Use exp_string field
to display expression of watchpoints.
(mention): Likewise.
(watch_command_1): Remove trailing whitespace from expression.
* printcmd.c (struct display) <exp_string>: New field.
(display_command): Set exp_string.
(free_display): Free exp_string.
(clear_displays): Use free_display.
(do_one_display): Print exp_string.
(display_info): Likewise.

15 years ago*** empty log message ***
gdbadmin [Thu, 5 Feb 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 5 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agogdb/
Thiago Jung Bauermann [Wed, 4 Feb 2009 21:55:40 +0000 (21:55 +0000)]
gdb/
2009-02-04  Tom Tromey  <tromey@redhat.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>
    Phil Muldoon  <pmuldoon@redhat.com>

* python/python-internal.h (gdbpy_get_value_from_history): Rename
prototype to gdbpy_history.
(gdbpy_is_string): Declare.
(python_string_to_host_string): Declare.
* python/python-utils.c (gdbpy_is_string): New function.
(unicode_to_encoded_string): New function.
(unicode_to_target_string): Use it.
(python_string_to_host_string): New function.
* python/python-value.c (valpy_address): New function.
(convert_value_from_python): Use gdbpy_is_string.  Change to throw
Python exception instead of a GDB exception on error.  Properly check
Python booleans.
(valpy_getitem): Convert field name to host string.  Handle array
accesses.  Adapt to new behaviour of convert_value_from_python.
(valpy_new): Adapt to new behaviour of convert_value_from_python.
(enum valpy_opcode) <VALPY_LSH, VALPY_RSH, VALPY_BITAND,
VALPY_BITXOR, VALPY_BITOR>: New constants.
(valpy_binop): Update.  Adapt to new behaviour of
convert_value_from_python.
(valpy_invert): New function.
(valpy_lsh): Likewise.
(valpy_rsh): Likewise.
(valpy_and): Likewise.
(valpy_or): Likewise.
(valpy_xor): Likewise.
(valpy_richcompare): Call convert_value_from_python instead of doing
conversions itself.
(is_intlike, valpy_int, valpy_long, valpy_float): New functions.
(gdbpy_get_value_from_history): Rename
function to gdbpy_history.
(gdbpy_initialize_values): Don't set tp_new.
(value_object_type): Add valpy_new.
(value_object_methods): Add `address' entry.
(value_object_as_number): Update for new methods.
* python/python.c (GdbMethods): Rename entry from
`get_value_from_history' to `history'.

gdb/doc/
2009-02-04  Tom Tromey  <tromey@redhat.com>

* gdb.texinfo (Basic Python): Document gdb.history.

gdb/testsuite/
2009-02-04  Tom Tromey  <tromey@redhat.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* gdb.python/python-value.exp: Use `gdb.history' instead of
`gdb.value_from_history'.
(test_value_numeric_ops): Add test for conversion of enum constant.
* gdb.python/python-value.c (enum e): New type.
(evalue): New global.
(main): Use argv.

15 years ago * gdb.ada/uninitialized_vars: New test program.
Jerome Guitton [Wed, 4 Feb 2009 18:09:38 +0000 (18:09 +0000)]
* gdb.ada/uninitialized_vars: New test program.
* gdb.ada/uninitialized_vars.exp: New testcase.

15 years agoFix a type in the last entry.
Jerome Guitton [Wed, 4 Feb 2009 17:48:45 +0000 (17:48 +0000)]
Fix a type in the last entry.

15 years ago * ada-lang.c (ada_template_to_fixed_record_type_1): Check size
Jerome Guitton [Wed, 4 Feb 2009 17:46:36 +0000 (17:46 +0000)]
* ada-lang.c (ada_template_to_fixed_record_type_1): Check size
of type to guard against a crash.

15 years agoFix my ChangeLog entry date.
Eric B. Weddington [Wed, 4 Feb 2009 16:25:34 +0000 (16:25 +0000)]
Fix my ChangeLog entry date.

15 years agogas/
H.J. Lu [Wed, 4 Feb 2009 16:03:31 +0000 (16:03 +0000)]
gas/

2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (January, 2009)
* config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
(CPU_FLAGS_AVX_MATCH): Updated.
(CPU_FLAGS_32BIT_MATCH): Likewise.
(cpu_flags_match): Likewise.

gas/testsuite/

2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (January, 2009)
* gas/i386/arch-avx-1-3.l: New.
* gas/i386/arch-avx-1-3.s: Likewise.
* gas/i386/arch-avx-1-4.l: Likewise.
* gas/i386/arch-avx-1-4.s: Likewise.
* gas/i386/arch-avx-1-5.l: Likewise.
* gas/i386/arch-avx-1-5.s: Likewise.
* gas/i386/arch-avx-1-6.l: Likewise.
* gas/i386/arch-avx-1-6.s: Likewise.

* gas/i386/arch-10.s: Add vpclmul instructions.
* gas/i386/arch-avx-1.s: Likewise.
* gas/i386/avx.s: Likewise.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/x86-64-avx.s: Likewise.

* gas/i386/sse2avx.s: Add pclmul instructions.
* gas/i386/x86-64-sse2avx.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-avx-1.d: Likewise.
* gas/i386/arch-avx-1-1.l: Likewise.
* gas/i386/arch-avx-1-2.l: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.

* gas/i386/i386.exp: Run arch-avx-1-3, arch-avx-1-4,
arch-avx-1-5 and arch-avx-1-6.

opcodes/

2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (January, 2009)
* i386-dis.c (PREFIX_VEX_3A44): New.
(VEX_LEN_3A44_P_2): Likewise.
(PREFIX_VEX_3A48): Updated.
(VEX_LEN_3A4C_P_2): Likewise.
(prefix_table): Add PREFIX_VEX_3A44.
(vex_table): Likewise.
(vex_len_table): Add VEX_LEN_3A44_P_2.

* i386-opc.tbl: Add PCLMUL + AVX instructions.
* i386-tbl.h: Regenerated.

15 years ago * value.c (value_from_contents_and_address): Always return
Jerome Guitton [Wed, 4 Feb 2009 15:49:30 +0000 (15:49 +0000)]
* value.c (value_from_contents_and_address): Always return
a lval_memory value, even if address is null.

15 years ago PR 9812
Ian Lance Taylor [Wed, 4 Feb 2009 15:18:51 +0000 (15:18 +0000)]
PR 9812
* reduced_debug_output.h
(Output_reduced_debug_abbrev_section::failed): Use format for
gold_warning.
(Output_reduced_debug_info_section::faild): Likewise.

15 years ago2008-12-05 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 4 Feb 2009 15:10:50 +0000 (15:10 +0000)]
2008-12-05  Tristan Gingold  <gingold@adacore.com>

* i386-darwin-tdep.c (darwin_sigtramp_p): New function.
(i386_darwin_sigcontext_addr): Ditto.
(amd64_darwin_sigcontext_addr): Ditto.
(darwin_dwarf_signal_frame_p): Ditto.
(i386_darwin_init_abi): Handle signal frames, use the const for
sc_num_regs.
(x86_darwin_init_abi_64): Ditto.

15 years ago2009-02-04 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 4 Feb 2009 14:49:41 +0000 (14:49 +0000)]
2009-02-04  Tristan Gingold  <gingold@adacore.com>

* i386-tdep.c (i386_sigtramp_p): Make it public.
* i386-tdep.h (i386_sigtramp_p): Declare.

15 years ago(I forgot to commit the ChangeLog file in my last commit).
Tristan Gingold [Wed, 4 Feb 2009 14:48:38 +0000 (14:48 +0000)]
(I forgot to commit the ChangeLog file in my last commit).

2009-02-04  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_symfile_read): Read minsymtab also from
shared libraries.
(macho_symfile_read): Try to read dwarf2 frame info from main
object file, but not from OSO files.
(macho_symfile_offsets): Update section names for latest BFD
changes.
* i386-darwin-tdep.c (i386_darwin_init_abi): Call set_solib_ops.
(x86_darwin_init_abi_64): Ditto.
* solib-darwin.c: New file.
* solib-darwin.h: New file.
* configure.tgt: Add solib.o solib-darwin.o for Darwin.

15 years agoAdd a missing Changelog entry:
Jerome Guitton [Wed, 4 Feb 2009 11:41:44 +0000 (11:41 +0000)]
Add a missing Changelog entry:

2009-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
    Jerome Guitton  <guitton@adacore.com>

* configure, config.in: Regenerated.
* configure.ac: Add --with-system-gdbinit.
* main.c (get_init_files): New.
(captured_main): Use get_init_files.  Load system gdbinit before
$HOME/.gdbinit.
(print_gdb_help): Print location of init files.

15 years ago PR 9805
Nick Clifton [Wed, 4 Feb 2009 09:13:22 +0000 (09:13 +0000)]
    PR 9805
        * ld.texinfo (--allow-shlib-undefined): Correct description of
        default settings and tidy up the rest of the entry.

15 years ago2009-02-04 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 4 Feb 2009 08:47:56 +0000 (08:47 +0000)]
2009-02-04  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_symfile_read): Read minsymtab also from
shared libraries.
(macho_symfile_read): Try to read dwarf2 frame info from main
object file, but not from OSO files.
(macho_symfile_offsets): Update section names for latest BFD
changes.
* i386-darwin-tdep.c (i386_darwin_init_abi): Call set_solib_ops.
(x86_darwin_init_abi_64): Ditto.
* solib-darwin.c: New file.
* solib-darwin.h: New file.
* configure.tgt: Add solib.o solib-darwin.o for Darwin.

15 years ago2009-02-04 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 4 Feb 2009 08:42:11 +0000 (08:42 +0000)]
2009-02-04  Tristan Gingold  <gingold@adacore.com>

* solist.h (struct target_so_ops): Comment fallback behavior for
operation same.

15 years ago * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
Alan Modra [Wed, 4 Feb 2009 02:43:17 +0000 (02:43 +0000)]
* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
during relocatable link.

15 years ago * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
Alan Modra [Wed, 4 Feb 2009 02:42:57 +0000 (02:42 +0000)]
* elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.

15 years ago*** empty log message ***
gdbadmin [Wed, 4 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 3 Feb 2009 23:59:38 +0000 (23:59 +0000)]
daily update

15 years ago* gas/mep/relocs.d: Updated for new configuration.
DJ Delorie [Tue, 3 Feb 2009 21:58:20 +0000 (21:58 +0000)]
* gas/mep/relocs.d: Updated for new configuration.
* gas/mep/complex-relocs.exp: Likewise.

15 years ago * completer.c (add_struct_fields): Check type_name against NULL
Tom Tromey [Tue, 3 Feb 2009 19:20:02 +0000 (19:20 +0000)]
* completer.c (add_struct_fields): Check type_name against NULL
before use.

15 years ago * MAINTAINERS: Update Elena's email address.
Joel Brobecker [Tue, 3 Feb 2009 18:51:38 +0000 (18:51 +0000)]
    * MAINTAINERS: Update Elena's email address.

15 years agobfd:
Joseph Myers [Tue, 3 Feb 2009 18:16:04 +0000 (18:16 +0000)]
bfd:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
* archures.c (bfd_mach_mips_xlr): Define.
* bfd-in2.h: Regenerate.
* cpu-mips.c (I_xlr): Define.
(arch_info_struct): Add XLR entry.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
(mips_set_isa_flags): Handle bfd_mach_mips_xlr
(mips_mach_extensions): Add XLR entry.

binutils:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.

gas:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
M_MSGWAIT and M_MSGWAIT_T.
(mips_cpu_info_table): Add XLR entry.
* doc/c-mips.texi (-march): Document xlr.

gas/testsuite:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* gas/mips/mips.exp (xlr): New architecture.
(xlr-ext): Run test.
* gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New.

include/elf:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* mips.h (E_MIPS_MACH_XLR): Define.

include/opcode:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* mips.h (INSN_XLR): Define.
(INSN_CHIP_MASK): Update.
(CPU_XLR): Define.
(OPCODE_IS_MEMBER): Update.
(M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define.

opcodes:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
(mips_arch_choices): Add XLR entry.
* mips-opc.c (XLR): Define.
(mips_builtin_opcodes): Add XLR instructions.

15 years ago/gas:
Eric B. Weddington [Tue, 3 Feb 2009 17:24:36 +0000 (17:24 +0000)]
/gas:
2009-01-29  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Add ata6289.
* doc/c-avr.texi: Likewise.

15 years ago/bfd:
Eric B. Weddington [Tue, 3 Feb 2009 17:21:02 +0000 (17:21 +0000)]
/bfd:
2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>

* elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.

15 years ago PR 9797
Nick Clifton [Tue, 3 Feb 2009 17:04:53 +0000 (17:04 +0000)]
    PR 9797
        * ld.texinfo (Constants): Document the base-encoding suffixes
        supported in linker scripts.

15 years agobinutils/
H.J. Lu [Tue, 3 Feb 2009 15:56:59 +0000 (15:56 +0000)]
binutils/

2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Move --as-needed change to ...
* ../ld/NEWS: Here.

ld/

2009-02-03  Alan Modra  <amodra@bigpond.net.au>

* NEWS: Mention --as-needed change.

15 years agobfd:
Joseph Myers [Tue, 3 Feb 2009 15:54:05 +0000 (15:54 +0000)]
bfd:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am
and install-pdf-recursive targets. Define pdfdir.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate
* doc/Makefile.in: Regenerate.

binutils:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

etc:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* configure: Regenerate.

gas:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

gprof:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets. Define pdf__strip_dir.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.

ld:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets. Define pdf__strip_dir.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.

opcodes:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* Makefile.am: Add install-pdf target.
* po/Make-in: Add install-pdf target.
* Makefile.in: Regenerate.

15 years ago2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 3 Feb 2009 15:48:50 +0000 (15:48 +0000)]
2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9784
* NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.

* doc/binutils.texi: Document --prefix=PREFIX and
--prefix-strip=LEVEL.

* objdump.c: Include "filenames.h".
(prefix): New.
(prefix_strip): Likewise.
(prefix_length): Likewise.
(usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
(option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
(long_options): Likewise.
(show_line): Handle prefix and prefix_strip.
(main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.

* readelf.c (PATH_MAX): Moved to ...
* sysdep.h: Here.

15 years agonew files accidentally omitted from previous delta
Nick Clifton [Tue, 3 Feb 2009 14:48:32 +0000 (14:48 +0000)]
new files accidentally omitted from previous delta

15 years ago M68K TLS support.
Nick Clifton [Tue, 3 Feb 2009 14:36:47 +0000 (14:36 +0000)]
    M68K TLS support.

        ld/testsuite/
        * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
        * ld-m68k/got-multigot-14-ok.d: Update.
        * ld-m68k/m68k-got.exp: Update.
        * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
        * ld-m68k/got-negative-14-ok.d: Update.
        * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
        * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
        * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
        * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
        New test sources.
        * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
        New test sources.
        * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
        * ld-m68k/m68k.exp: Run new tests.
        (merge isa-a isa-a:nodiv): Fix.

        gas/testsuite/
        * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
        * gas/m68k/all.exp: Run it.

        gas/
        * config/m68k-parse.h (enum pic_relocation): Add values for TLS
        relocations.
        * config/m68k-parse.y (yylex): Parse TLS relocations.
        * config/tc-m68k.c (m68k_elf_cons): New static function.
        (md_pseudo_table): Use it.
        (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
        relocations.
        (md_apply_fix): Fix to set thread local flag.
        (m68k_elf_suffix): New static function; helper for m68k_elf_cons.

        include/elf/
        * m68k.h: Map TLS relocations to numbers.

        bfd/
        * bfd-in2.h: Regenerate.
        * elf32-m68k.c: Handle 2-slot GOT entries.  Rename variables and
        fields from n_entries to n_slots where appropriate, update comments.
        (HOWTO): Add TLS relocations.
        (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
        (enum elf_m68k_got_offset_size): New enum.
        (struct elf_m68k_got_entry.type): Move field to ...
        (struct elf_m68k_got_entry_key): ... here.  Update all uses.
        (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
        functions.
        (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
        functions.
        (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
        fields into n_entries array.  Update comments.
        (elf_m68k_init_got): Simplify, update all uses.
        (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
        (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
        GOT entries; update name, update all uses.
        (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
        (elf_m68k_get_got_entry): Update.
        (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
        simplify.
        (elf_m68k_remove_got_entry_type): Simplify.
        (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
        (elf_m68k_can_merge_gots): Update.
        (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
        (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
        GOT entries, simplify.
        (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
        (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
        field, remove obsoleted local_n_entries field.
        (elf_m68k_partition_multi_got_2): New static function.
        (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
        update.
        (elf_m68k_remove_got_entry_type): Update.
        (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
        (elf_m68k_check_relocs): Handle TLS relocations.  Remove unnecessary
        update of sgot->size and srelgot->size.
        (elf_m68k_gc_sweep_hook): Update.
        (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
        (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
        TLS relocations.
        * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
        * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.

15 years ago PR 9779
Nick Clifton [Tue, 3 Feb 2009 10:58:46 +0000 (10:58 +0000)]
    PR 9779
        * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
        indexed addressing for symbolic expressions.

15 years ago* elf32-mep.c (config_names): Regenerate configuration.
DJ Delorie [Tue, 3 Feb 2009 02:15:57 +0000 (02:15 +0000)]
* elf32-mep.c (config_names): Regenerate configuration.

* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.

15 years ago * breakpoint (update_watchpoint): Minor comment adjustment.
Joel Brobecker [Tue, 3 Feb 2009 01:09:35 +0000 (01:09 +0000)]
    * breakpoint (update_watchpoint): Minor comment adjustment.

15 years agoFix ChangeLog to point to the correct bug, PR gdb/9594.
Tom Tromey [Tue, 3 Feb 2009 01:09:01 +0000 (01:09 +0000)]
Fix ChangeLog to point to the correct bug, PR gdb/9594.

gdb/testsuite
* gdb.cp/cpcompletion.exp: Name the test "pr9594".
* gdb.cp/pr2489.cc: Rename...
* gdb.cp/pr9594.cc: ... to this.

15 years agogdb
Tom Tromey [Tue, 3 Feb 2009 01:00:40 +0000 (01:00 +0000)]
gdb
PR gdb/2489:
* completer.c (count_struct_fields): Count method names.
(add_struct_fields): Add matching method names.
gdb/testsuite
* gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
* gdb.cp/pr2489.cc: New file.
* gdb.cp/cpcompletion.exp: New file.

15 years agodaily update
Alan Modra [Tue, 3 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 3 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
Doug Evans [Mon, 2 Feb 2009 23:18:05 +0000 (23:18 +0000)]
* config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
(SC_PATH_TKCONFIG): Don't exit 0 if tkconfig fails.
(SC_LOAD_TCLCONFIG): Quote all uses of TCL_BIN_DIR, it may contain
"# no Tcl configs found".
(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.

* gdb/configure.ac (gdbkt): Check both no_tcl/no_tk first, before
doing any further tcl/tk configury.  Don't configure gdbtk if
tcl or tk check fails.
* gdb/aclocal.m4: Regenerate.
* gdb/configure: Regenerate.
* gdb/gdbtk/plugins/aclocal.m4: Regenerate.
* gdb/gdbtk/plugins/configure: Regenerate.

15 years agogdb
Tom Tromey [Mon, 2 Feb 2009 21:50:13 +0000 (21:50 +0000)]
gdb
PR exp/9059:
* valops.c (find_overload_match): Follow typedefs before taking
address of object argument.
gdb/testsuite
PR exp/9059:
* gdb.cp/call-c.exp: Add regression test.
* gdb.cp/call-c.cc (FooHandle): New typedef.
(main): New variable 'handle'.

15 years ago * elf-bfd.h (bfd_elf_get_str_section): Don't declare.
Alan Modra [Mon, 2 Feb 2009 03:52:38 +0000 (03:52 +0000)]
* elf-bfd.h (bfd_elf_get_str_section): Don't declare.
(bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
* elf.c (bfd_elf_get_str_section): Make static.
(bfd_elf_find_section): Delete.
* libbfd.h: Regenerate.

15 years agodaily update
Alan Modra [Mon, 2 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 2 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * target.h (target_waitstatus_to_string): Declare.
Doug Evans [Sun, 1 Feb 2009 23:31:03 +0000 (23:31 +0000)]
* target.h (target_waitstatus_to_string): Declare.
* target.c (target_waitstatus_to_string): New function.  Copied from
debug_to_wait.  Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY,
TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE,
TARGET_WAITKIND_NO_HISTORY.
(debug_to_wait): Call it.
* infrun.c (wait_for_inferior): If debug_infrun, print result of
target_wait.
(fetch_inferior_event): Ditto.

15 years agobfd/
Jan Kratochvil [Sun, 1 Feb 2009 12:05:25 +0000 (12:05 +0000)]
bfd/
* elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
(_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.

ld/testsuite/
* ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
* ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.

15 years ago * script.cc (Lazy_demangler): New class.
Ian Lance Taylor [Sun, 1 Feb 2009 00:45:28 +0000 (00:45 +0000)]
* script.cc (Lazy_demangler): New class.
        (Version_script_info::get_symbol_version_helper): Demangle a
symbol only once.

15 years agodaily update
Alan Modra [Sun, 1 Feb 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 1 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agobinutils/
Alan Modra [Sat, 31 Jan 2009 11:44:38 +0000 (11:44 +0000)]
binutils/
* NEWS: Mention --as-needed change.
ld/
* ld.texinfo (--as-needed): Update.
bfd/
* elflink.c (on_needed_list): New function.
(elf_link_add_object_symbols): Link in --as-needed libs if they
satisfy undefined symbols in other libs.

15 years ago*** empty log message ***
gdbadmin [Sat, 31 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 31 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.
Tom Tromey [Fri, 30 Jan 2009 22:14:52 +0000 (22:14 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.

15 years ago PR 8145.
Vladimir Prus [Fri, 30 Jan 2009 18:43:05 +0000 (18:43 +0000)]
PR 8145.
* thread.c (do_captured_list_thread_ids): Report the current
thread id.